Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildFromFlagsConfig ¶
type BuildFromFlagsConfig struct {
// contains filtered or unexported fields
}
func NewBuildFromFlagsConfig ¶
func NewBuildFromFlagsConfig(path string) *BuildFromFlagsConfig
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) ListJobs ¶
func (client Client) ListJobs() (*OwnersList, error)
func (Client) ListReplicaSets ¶
func (client Client) ListReplicaSets() (*OwnersList, error)
type Configurator ¶
type IClient ¶
type IClient interface { ListPods() (*[]models.Pod, error) ListNodes() (*[]models.Node, error) ListNamespaces() (*[]models.Namespace, error) }
func NewKubernetesClient ¶
func NewKubernetesClient(configurator Configurator) (IClient, error)
type InClusterConfig ¶
type InClusterConfig struct{}
func NewInClusterConfig ¶
func NewInClusterConfig() *InClusterConfig
type Owner ¶
type Owner struct {
Name, Type string
}
func FindOwnerByReference ¶
func FindOwnerByReference(ownerReferences *[]metav1.OwnerReference) *Owner
type OwnersList ¶
Click to show internal directories.
Click to hide internal directories.