Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DaemonSetKind = resource.Kind{ Group: "apps", Version: "v1", Kind: "DaemonSet", Scoped: true, }
View Source
var DaemonSetResource = resource.Type{ Kind: DaemonSetKind, Name: "daemonsets", }
View Source
var DeploymentKind = resource.Kind{ Group: "apps", Version: "v1", Kind: "Deployment", Scoped: true, }
View Source
var DeploymentResource = resource.Type{ Kind: DeploymentKind, Name: "deployments", }
View Source
var ReplicaSetKind = resource.Kind{ Group: "apps", Version: "v1", Kind: "ReplicaSet", Scoped: true, }
View Source
var ReplicaSetResource = resource.Type{ Kind: ReplicaSetKind, Name: "replicasets", }
View Source
var StatefulSetKind = resource.Kind{ Group: "apps", Version: "v1", Kind: "StatefulSet", Scoped: true, }
View Source
var StatefulSetResource = resource.Type{ Kind: StatefulSetKind, Name: "statefulsets", }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { DaemonSetsClient DeploymentsClient ReplicaSetsClient StatefulSetsClient }
type DaemonSet ¶
func NewDaemonSet ¶
type DaemonSetsClient ¶
type DaemonSetsClient interface {
DaemonSets() DaemonSetsReader
}
func NewDaemonSetsClient ¶
func NewDaemonSetsClient(resources resource.Client, filter resource.Filter) DaemonSetsClient
type DaemonSetsReader ¶
type DaemonSetsReader interface { Get(ctx context.Context, name string) (*DaemonSet, error) List(ctx context.Context) ([]*DaemonSet, error) }
func NewDaemonSetsReader ¶
func NewDaemonSetsReader(client resource.Client, filter resource.Filter) DaemonSetsReader
type Deployment ¶
type Deployment struct { *resource.Resource Object *appsv1.Deployment ReplicaSetsReference }
func NewDeployment ¶
func NewDeployment(deployment *appsv1.Deployment, client resource.Client) *Deployment
type DeploymentsClient ¶
type DeploymentsClient interface {
Deployments() DeploymentsReader
}
func NewDeploymentsClient ¶
func NewDeploymentsClient(resources resource.Client, filter resource.Filter) DeploymentsClient
type DeploymentsReader ¶
type DeploymentsReader interface { Get(ctx context.Context, name string) (*Deployment, error) List(ctx context.Context) ([]*Deployment, error) }
func NewDeploymentsReader ¶
func NewDeploymentsReader(client resource.Client, filter resource.Filter) DeploymentsReader
type ReplicaSet ¶
type ReplicaSet struct { *resource.Resource Object *appsv1.ReplicaSet corev1.PodsReference }
func NewReplicaSet ¶
func NewReplicaSet(replicaSet *appsv1.ReplicaSet, client resource.Client) *ReplicaSet
type ReplicaSetsClient ¶
type ReplicaSetsClient interface {
ReplicaSets() ReplicaSetsReader
}
func NewReplicaSetsClient ¶
func NewReplicaSetsClient(resources resource.Client, filter resource.Filter) ReplicaSetsClient
type ReplicaSetsReader ¶
type ReplicaSetsReader interface { Get(ctx context.Context, name string) (*ReplicaSet, error) List(ctx context.Context) ([]*ReplicaSet, error) }
func NewReplicaSetsReader ¶
func NewReplicaSetsReader(client resource.Client, filter resource.Filter) ReplicaSetsReader
type ReplicaSetsReference ¶
type ReplicaSetsReference interface { ReplicaSets() ReplicaSetsReader corev1.PodsReference }
func NewReplicaSetsReference ¶
func NewReplicaSetsReference(resources resource.Client, filter resource.Filter) ReplicaSetsReference
type StatefulSet ¶
type StatefulSet struct { *resource.Resource Object *appsv1.StatefulSet corev1.PodsReference }
func NewStatefulSet ¶
func NewStatefulSet(statefulSet *appsv1.StatefulSet, client resource.Client) *StatefulSet
type StatefulSetsClient ¶
type StatefulSetsClient interface {
StatefulSets() StatefulSetsReader
}
func NewStatefulSetsClient ¶
func NewStatefulSetsClient(resources resource.Client, filter resource.Filter) StatefulSetsClient
type StatefulSetsReader ¶
type StatefulSetsReader interface { Get(ctx context.Context, name string) (*StatefulSet, error) List(ctx context.Context) ([]*StatefulSet, error) }
func NewStatefulSetsReader ¶
func NewStatefulSetsReader(client resource.Client, filter resource.Filter) StatefulSetsReader
Source Files ¶
Click to show internal directories.
Click to hide internal directories.