Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the travis v1 API group +k8s:deepcopy-gen=package,register +groupName=travis.operator.com
Package v1 contains API Schema definitions for the travis v1 API group +k8s:deepcopy-gen=package,register +groupName=travis.operator.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "travis.operator.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type AppService ¶
type AppService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AppServiceSpec `json:"spec,omitempty"` Status AppServiceStatus `json:"status,omitempty"` }
AppService is the Schema for the appservices API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*AppService) DeepCopy ¶
func (in *AppService) DeepCopy() *AppService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppService.
func (*AppService) DeepCopyInto ¶
func (in *AppService) DeepCopyInto(out *AppService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppService) DeepCopyObject ¶
func (in *AppService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppServiceList ¶
type AppServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AppService `json:"items"` }
AppServiceList contains a list of AppService
func (*AppServiceList) DeepCopy ¶
func (in *AppServiceList) DeepCopy() *AppServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceList.
func (*AppServiceList) DeepCopyInto ¶
func (in *AppServiceList) DeepCopyInto(out *AppServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppServiceList) DeepCopyObject ¶
func (in *AppServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppServiceSpec ¶
type AppServiceSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Size *int32 `json:"size"` Image string `json:"image"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` Envs []corev1.EnvVar `json:"envs,omitempty"` Ports []corev1.ServicePort `json:"ports,omitempty"` ExternalTrafficPolicy corev1.ServiceExternalTrafficPolicyType `json:"externalTrafficPolicy,omitempty"` }
AppServiceSpec defines the desired state of AppService +k8s:openapi-gen=true
func (*AppServiceSpec) DeepCopy ¶
func (in *AppServiceSpec) DeepCopy() *AppServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceSpec.
func (*AppServiceSpec) DeepCopyInto ¶
func (in *AppServiceSpec) DeepCopyInto(out *AppServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppServiceStatus ¶
type AppServiceStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html appsv1.DeploymentStatus `json:",inline"` }
AppServiceStatus defines the observed state of AppService +k8s:openapi-gen=true
func (*AppServiceStatus) DeepCopy ¶
func (in *AppServiceStatus) DeepCopy() *AppServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceStatus.
func (*AppServiceStatus) DeepCopyInto ¶
func (in *AppServiceStatus) DeepCopyInto(out *AppServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.