Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the pilot v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pilot.neo9.fr
Package v1alpha1 contains API Schema definitions for the pilot v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=pilot.neo9.fr
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type Application
- type ApplicationHealthCheck
- type ApplicationList
- type ApplicationPod
- type ApplicationResources
- type ApplicationSecret
- type ApplicationService
- type ApplicationSpec
- type ApplicationStatus
- type ApplicationType
Constants ¶
const ( JAVA ApplicationType = "java" WEB = "web" NODEJS = "nodejs" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "pilot.neo9.fr", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶ added in v0.2.0
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApplicationSpec `json:"spec,omitempty"` Status ApplicationStatus `json:"status,omitempty"` }
Application is the Schema for the applications API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationHealthCheck ¶
type ApplicationHealthCheck struct {
Path string `json:"path"`
}
func (*ApplicationHealthCheck) DeepCopy ¶
func (in *ApplicationHealthCheck) DeepCopy() *ApplicationHealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationHealthCheck.
func (*ApplicationHealthCheck) DeepCopyInto ¶
func (in *ApplicationHealthCheck) DeepCopyInto(out *ApplicationHealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Application `json:"items"` }
ApplicationList contains a list of Application
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationPod ¶
type ApplicationPod struct {
Secrets []ApplicationSecret `json:"secrets"`
}
func (*ApplicationPod) DeepCopy ¶
func (in *ApplicationPod) DeepCopy() *ApplicationPod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPod.
func (*ApplicationPod) DeepCopyInto ¶
func (in *ApplicationPod) DeepCopyInto(out *ApplicationPod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationResources ¶
func (*ApplicationResources) DeepCopy ¶
func (in *ApplicationResources) DeepCopy() *ApplicationResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationResources.
func (*ApplicationResources) DeepCopyInto ¶
func (in *ApplicationResources) DeepCopyInto(out *ApplicationResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSecret ¶
func (*ApplicationSecret) DeepCopy ¶
func (in *ApplicationSecret) DeepCopy() *ApplicationSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSecret.
func (*ApplicationSecret) DeepCopyInto ¶
func (in *ApplicationSecret) DeepCopyInto(out *ApplicationSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationService ¶
type ApplicationService struct { Port int32 `json:"port,omitempty"` TargetPort int32 `json:"targetPort,omitempty"` }
func (*ApplicationService) DeepCopy ¶
func (in *ApplicationService) DeepCopy() *ApplicationService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationService.
func (*ApplicationService) DeepCopyInto ¶
func (in *ApplicationService) DeepCopyInto(out *ApplicationService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSpec ¶
type ApplicationSpec struct { Replicas int32 `json:"replicas,omitempty"` Type ApplicationType `json:"type"` Repository string `json:"repository"` Tag string `json:"tag,omitempty"` InitTag string `json:"initTag,omitempty"` Service ApplicationService `json:"service,omitempty"` Resources ApplicationResources `json:"resources,omitempty"` HealthCheck ApplicationHealthCheck `json:"healthCheck,omitempty"` Pod ApplicationPod `json:"pod,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
ApplicationSpec defines the desired state of Application +k8s:openapi-gen=true
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatus ¶
type ApplicationStatus struct { }
ApplicationStatus defines the observed state of Application +k8s:openapi-gen=true
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationType ¶
type ApplicationType string