{"modulePath":"github.com/openshift/serving","version":"v0.10.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package readiness\n\n## Constants\n\n```go\nconst (\n\n\t// PollTimeout is set equal to the queue-proxy's ExecProbe timeout to take\n\t// advantage of the full window\n\tPollTimeout = 10 * time.Second\n)\n```\n\n## Functions\n\n```go\nfunc DecodeProbe(jsonProbe string) (*corev1.Probe, error)\n```\nDecodeProbe takes a json serialised \\*corev1.Probe and returns a Probe or an error.\n\n```go\nfunc EncodeProbe(rp *corev1.Probe) (string, error)\n```\nEncodeProbe takes \\*corev1.Probe object and returns marshalled Probe JSON string and an error.\n\n## Types\n\n```go\ntype Probe struct {\n\t*corev1.Probe\n\t// contains filtered or unexported fields\n}\n```\nProbe wraps a corev1.Probe along with a count of consecutive, successful probes\n\n```go\nfunc NewProbe(v1p *corev1.Probe) *Probe\n```\nNewProbe returns a pointer a new Probe\n\n```go\nfunc (p *Probe) Count() int32\n```\nCount function fetches current probe count\n\n```go\nfunc (p *Probe) IsAggressive() bool\n```\nIsAggressive indicates whether the Knative probe with aggressive retries should be used.\n\n```go\nfunc (p *Probe) ProbeContainer() bool\n```\nProbeContainer executes the defined Probe against the user-container\n\n","path":"github.com/openshift/serving/pkg/queue/readiness","name":"readiness","synopsis":"","isRedistributable":true}
