Documentation ¶
Index ¶
- type Client
- func (c *Client) Events(ctx context.Context, id string) ([]*Event, error)
- func (c *Client) GetPods(ctx context.Context, id string) ([]v1.Pod, error)
- func (c *Client) Logs(ctx context.Context, id string, tailLines int64, each func(l *LogEntry)) error
- func (c *Client) WatchEvents(ctx context.Context, f func(ev *Event)) error
- func (c *Client) WatchPods(ctx context.Context, f func(eventType string, p *Pod)) error
- type ContainerStatus
- type Event
- type EventObjectReference
- type LogEntry
- type Pod
- type PodCondition
- type PodStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewLocalClient ¶
func (*Client) WatchEvents ¶
type ContainerStatus ¶
type EventObjectReference ¶
type PodCondition ¶
type PodStatus ¶
type PodStatus struct { Phase string `json:"phase"` Conditions []PodCondition `json:"conditions"` Message string `json:"message"` Reason string `json:"reason"` NodeName string `json:"nodeName"` PodIP string `json:"podIp"` StartTime time.Time `json:"startTime"` ContainerStatus ContainerStatus `json:"containerStatus"` }
Click to show internal directories.
Click to hide internal directories.