Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{
Group: "arman.com",
Version: "v1alpha1",
}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Arman ¶
type Arman struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ArmanSpec `json:"spec,omitempty"` Status ArmanStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Arman) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arman.
func (*Arman) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Arman) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArmanList ¶
type ArmanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Arman `json:"items,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ArmanList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArmanList.
func (*ArmanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArmanList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArmanSpec ¶
type ArmanSpec struct { DeploymentName string `json:"deploymentName"` DeploymentImage string `json:"deploymentImage"` Replicas *int32 `json:"replicas"` ServiceName string `json:"serviceName"` ServicePort int32 `json:"servicePort"` ServiceType string `json:"serviceType"` ServiceTargetPort int32 `json:"serviceTargetPort"` }
func (*ArmanSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArmanSpec.
func (*ArmanSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArmanStatus ¶
type ArmanStatus struct {
AvailableReplicas int32 `json:"availableReplicas"`
}
func (*ArmanStatus) DeepCopy ¶
func (in *ArmanStatus) DeepCopy() *ArmanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArmanStatus.
func (*ArmanStatus) DeepCopyInto ¶
func (in *ArmanStatus) DeepCopyInto(out *ArmanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.