Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the grpcdemo v1 API group +kubebuilder:object:generate=true +groupName=grpcdemo.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "grpcdemo.example.com", 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 DemoServices ¶
type DemoServices struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DemoServicesSpec `json:"spec,omitempty"` Status DemoServicesStatus `json:"status,omitempty"` }
DemoServices is the Schema for the demoservices API
func (*DemoServices) DeepCopy ¶
func (in *DemoServices) DeepCopy() *DemoServices
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoServices.
func (*DemoServices) DeepCopyInto ¶
func (in *DemoServices) DeepCopyInto(out *DemoServices)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoServices) DeepCopyObject ¶
func (in *DemoServices) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoServicesList ¶
type DemoServicesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DemoServices `json:"items"` }
DemoServicesList contains a list of DemoServices
func (*DemoServicesList) DeepCopy ¶
func (in *DemoServicesList) DeepCopy() *DemoServicesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoServicesList.
func (*DemoServicesList) DeepCopyInto ¶
func (in *DemoServicesList) DeepCopyInto(out *DemoServicesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DemoServicesList) DeepCopyObject ¶
func (in *DemoServicesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DemoServicesSpec ¶
type DemoServicesSpec struct { // Foo is an example field of DemoServices. Edit DemoServices_types.go to remove/update Services []Service `json:"services"` }
DemoServicesSpec defines the desired state of DemoServices
func (*DemoServicesSpec) DeepCopy ¶
func (in *DemoServicesSpec) DeepCopy() *DemoServicesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoServicesSpec.
func (*DemoServicesSpec) DeepCopyInto ¶
func (in *DemoServicesSpec) DeepCopyInto(out *DemoServicesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DemoServicesStatus ¶
type DemoServicesStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Name string `json:"name"` Status string `json:"status"` }
DemoServicesStatus defines the observed state of DemoServices
func (*DemoServicesStatus) DeepCopy ¶
func (in *DemoServicesStatus) DeepCopy() *DemoServicesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DemoServicesStatus.
func (*DemoServicesStatus) DeepCopyInto ¶
func (in *DemoServicesStatus) DeepCopyInto(out *DemoServicesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
Resources defines the desired resources for limits and requests
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 Service ¶
type Service struct { Name string `json:"name"` Image string `json:"image"` Version string `json:"version"` Replicas int32 `json:"replicas"` Limits Resources `json:"limits"` Requests Resources `json:"requests"` }
Service defines the desired state of a Service
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.