Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct {
LastTransitionTime time.Time `json:"lastTransitionTime"`
Message string `json:"message"`
Reason string `json:"reason"`
Status string `json:"status"`
Type string `json:"type"`
}
func (*Condition) HoursSince ¶
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
jobs
func (*Job) LastStatusChange ¶
type JobResultType ¶
type JobResultType string
const ( JobComplete JobResultType = "Complete" JobFailed JobResultType = "Failed" )
type JobSet ¶
type JobSet struct {
// contains filtered or unexported fields
}
func LoadJobSetFromFile ¶
static load functions
func LoadJobsetFromKubectl ¶
needs pods passed n so can return the pods for the appropriate job
func (*JobSet) With ¶
With returns a NEW JobSet with this additional filter filter needs to be a valid jsonata filter for items field, eg: "[metadata.name~>`/kube/i`]"
func (*JobSet) WithNamespace ¶
func (*JobSet) WithType ¶
func (ps *JobSet) WithType(t JobResultType) *JobSet
Type is the result of the job, eg: Complete or Failed
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) LastStatusChange ¶
type NodeSet ¶
type NodeSet struct {
// contains filtered or unexported fields
}
func LoadNodeSetFromFile ¶
func LoadNodesetFromKubectl ¶
type Pod ¶
type Pod struct {
// contains filtered or unexported fields
}
func (*Pod) LastStatusChange ¶
type PodSet ¶
type PodSet struct {
// contains filtered or unexported fields
}
func LoadPodSetFromFile ¶
func LoadPodsetFromKubectl ¶
func (*PodSet) With ¶
With returns a NEW PodSet with this additional filter filter needs to be a valid jsonata filter for items field, eg: "[metadata.name~>`/kube/i`]"
func (*PodSet) WithIsHealthy ¶
func (*PodSet) WithNamespace ¶
Click to show internal directories.
Click to hide internal directories.