Kill LivenessProbe.Type

This commit is contained in:
Tim Hockin
2014-09-27 21:16:30 -07:00
parent 04cdf286a4
commit 1c02af3d16
14 changed files with 56 additions and 52 deletions

View File

@@ -171,8 +171,6 @@ type ExecAction struct {
// LivenessProbe describes a liveness probe to be examined to the container.
// TODO: pass structured data to the actions, and document that data here.
type LivenessProbe struct {
// Type of liveness probe. Current legal values "http", "tcp"
Type string `yaml:"type,omitempty" json:"type,omitempty"`
// HTTPGetProbe parameters, required if Type == 'http'
HTTPGet *HTTPGetAction `yaml:"httpGet,omitempty" json:"httpGet,omitempty"`
// TCPSocketProbe parameter, required if Type == 'tcp'