Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec DeploymentSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status DeploymentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Deployment object
func AppsV1Deployment ¶
func AppsV1Deployment(deployment apps_v1.Deployment) *Deployment
AppsV1Deployment maps a Deployment type from API group apps/v1 to our type.
func AppsV1beta1Deployment ¶
func AppsV1beta1Deployment(deployment apps_v1beta1.Deployment) *Deployment
AppsV1beta1Deployment maps a Deployment type from API group apps/v1beta1 to our type.
func AppsV1beta2Deployment ¶
func AppsV1beta2Deployment(deployment apps_v1beta2.Deployment) *Deployment
AppsV1beta2Deployment maps a Deployment type from API group apps/v1beta2 to our type.
type DeploymentSpec ¶
type DeploymentSpec struct {
Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}
DeploymentSpec object
type DeploymentStatus ¶
type DeploymentStatus struct {
AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"`
}
DeploymentStatus object
type ReplicaSet ¶
type ReplicaSet struct { metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ReplicaSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ReplicaSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
ReplicaSet object
func AppsV1ReplicaSet ¶
func AppsV1ReplicaSet(replicaSet apps_v1.ReplicaSet) *ReplicaSet
AppsV1ReplicaSet maps a ReplicaSet type from API group apps/v1 to our type.
func AppsV1beta2ReplicaSet ¶
func AppsV1beta2ReplicaSet(replicaSet apps_v1beta2.ReplicaSet) *ReplicaSet
AppsV1beta2ReplicaSet maps a ReplicaSet type from API group apps/v1beta2 to our type.
func ExtensionsV1beta1ReplicaSet ¶
func ExtensionsV1beta1ReplicaSet(replicaSet extensions_v1beta1.ReplicaSet) *ReplicaSet
ExtensionsV1beta1ReplicaSet maps a ReplicaSet type from API group extensions/v1beta1 to our type.
type ReplicaSetSpec ¶
type ReplicaSetSpec struct {
Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}
ReplicaSetSpec object
type ReplicaSetStatus ¶
type ReplicaSetStatus struct {
Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`
}
ReplicaSetStatus object