Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the podinfo-app v1 API group +kubebuilder:object:generate=true +groupName=podinfo-app.podinfo.vayner.me
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "podinfo-app.podinfo.vayner.me", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { Repository string `json:"repository,omitempty"` Tag string `json:"tag,omitempty"` }
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodInfoInstance ¶
type PodInfoInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodInfoInstanceSpec `json:"spec,omitempty"` Status PodInfoInstanceStatus `json:"status,omitempty"` }
PodInfoInstance is the Schema for the podinfoinstances API
func (*PodInfoInstance) DeepCopy ¶
func (in *PodInfoInstance) DeepCopy() *PodInfoInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodInfoInstance.
func (*PodInfoInstance) DeepCopyInto ¶
func (in *PodInfoInstance) DeepCopyInto(out *PodInfoInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodInfoInstance) DeepCopyObject ¶
func (in *PodInfoInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodInfoInstanceList ¶
type PodInfoInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PodInfoInstance `json:"items"` }
PodInfoInstanceList contains a list of PodInfoInstance
func (*PodInfoInstanceList) DeepCopy ¶
func (in *PodInfoInstanceList) DeepCopy() *PodInfoInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodInfoInstanceList.
func (*PodInfoInstanceList) DeepCopyInto ¶
func (in *PodInfoInstanceList) DeepCopyInto(out *PodInfoInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodInfoInstanceList) DeepCopyObject ¶
func (in *PodInfoInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodInfoInstanceSpec ¶
type PodInfoInstanceSpec struct { // Foo is an example field of PodInfoInstance. Edit podinfoinstance_types.go to remove/update ReplicaCount int32 `json:"replicaCount,omitempty"` Resources Resources `json:"resources,omitempty"` Image Image `json:"image,omitempty"` UI UI `json:"ui,omitempty"` Redis Redis `json:"redis,omitempty"` }
PodInfoInstanceSpec defines the desired state of PodInfoInstance
func (*PodInfoInstanceSpec) DeepCopy ¶
func (in *PodInfoInstanceSpec) DeepCopy() *PodInfoInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodInfoInstanceSpec.
func (*PodInfoInstanceSpec) DeepCopyInto ¶
func (in *PodInfoInstanceSpec) DeepCopyInto(out *PodInfoInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodInfoInstanceStatus ¶
type PodInfoInstanceStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file AppDeployment Status `json:"appDeployment,omitempty"` AppService Status `json:"appService,omitempty"` RedisDeployment Status `json:"redis,omitempty"` RedisService Status `json:"redisService,omitempty"` }
PodInfoInstanceStatus defines the observed state of PodInfoInstance
func (*PodInfoInstanceStatus) DeepCopy ¶
func (in *PodInfoInstanceStatus) DeepCopy() *PodInfoInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodInfoInstanceStatus.
func (*PodInfoInstanceStatus) DeepCopyInto ¶
func (in *PodInfoInstanceStatus) DeepCopyInto(out *PodInfoInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Redis ¶
type Redis struct { Enabled bool `json:"enabled,omitempty"` Image Image `json:"image,omitempty"` Resources Resources `json:"resources,omitempty"` }
func (*Redis) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redis.
func (*Redis) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct { MemoryRequest string `json:"memoryRequest,omitempty"` MemoryLimit string `json:"memoryLimit,omitempty"` CPURequest string `json:"cpuRequest,omitempty"` CPULimit string `json:"cpuLimit,omitempty"` }
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Status ¶
type Status struct { Name string `json:"name,omitempty"` Errors []string `json:"errors,omitempty"` }
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.