Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.mononoke.local
Index ¶
- Constants
- Variables
- type SpringBootApplication
- func (in *SpringBootApplication) DeepCopy() *SpringBootApplication
- func (in *SpringBootApplication) DeepCopyInto(out *SpringBootApplication)
- func (in *SpringBootApplication) DeepCopyObject() runtime.Object
- func (r *SpringBootApplication) Default()
- func (a *SpringBootApplication) GetStatus() apis.ResourceStatus
- func (r *SpringBootApplication) PodTemplate() *corev1.PodTemplateSpec
- type SpringBootApplicationList
- type SpringBootApplicationSpec
- type SpringBootApplicationStatus
- func (in *SpringBootApplicationStatus) DeepCopy() *SpringBootApplicationStatus
- func (in *SpringBootApplicationStatus) DeepCopyInto(out *SpringBootApplicationStatus)
- func (rs *SpringBootApplicationStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (rs *SpringBootApplicationStatus) GetObservedGeneration() int64
- func (*SpringBootApplicationStatus) GetReadyConditionType() apis.ConditionType
- func (rs *SpringBootApplicationStatus) InitializeConditions()
- func (rs *SpringBootApplicationStatus) IsReady() bool
- func (rs *SpringBootApplicationStatus) MarkDeploymentNotOwned(name string)
- func (rs *SpringBootApplicationStatus) PropagateDeploymentStatus(crs *appsv1.DeploymentStatus)
Constants ¶
const ( SpringBootApplicationConditionReady = apis.ConditionReady SpringBootApplicationConditionDeploymentReady apis.ConditionType = "DeploymentReady" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "apps.mononoke.local", Version: "v1alpha1"} // 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 )
var (
SpringBootApplicationLabelKey = GroupVersion.Group + "/spring-boot-application"
)
Functions ¶
This section is empty.
Types ¶
type SpringBootApplication ¶
type SpringBootApplication struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SpringBootApplicationSpec `json:"spec,omitempty"` Status SpringBootApplicationStatus `json:"status,omitempty"` }
SpringBootApplication is the Schema for the springbootapplications API
func (*SpringBootApplication) DeepCopy ¶
func (in *SpringBootApplication) DeepCopy() *SpringBootApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpringBootApplication.
func (*SpringBootApplication) DeepCopyInto ¶
func (in *SpringBootApplication) DeepCopyInto(out *SpringBootApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpringBootApplication) DeepCopyObject ¶
func (in *SpringBootApplication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SpringBootApplication) Default ¶
func (r *SpringBootApplication) Default()
func (*SpringBootApplication) GetStatus ¶
func (a *SpringBootApplication) GetStatus() apis.ResourceStatus
func (*SpringBootApplication) PodTemplate ¶
func (r *SpringBootApplication) PodTemplate() *corev1.PodTemplateSpec
type SpringBootApplicationList ¶
type SpringBootApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SpringBootApplication `json:"items"` }
SpringBootApplicationList contains a list of SpringBootApplication
func (*SpringBootApplicationList) DeepCopy ¶
func (in *SpringBootApplicationList) DeepCopy() *SpringBootApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpringBootApplicationList.
func (*SpringBootApplicationList) DeepCopyInto ¶
func (in *SpringBootApplicationList) DeepCopyInto(out *SpringBootApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpringBootApplicationList) DeepCopyObject ¶
func (in *SpringBootApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpringBootApplicationSpec ¶
type SpringBootApplicationSpec struct { // Template pod // +optional Template *corev1.PodTemplateSpec `json:"template,omitempty"` // TargetContainer is name or index of the container to advise in the template // Defaults to the first container // +optional TargetContainer *intstr.IntOrString `json:"targetContainer,omitempty"` // ApplicationProperties to be included in the target application container // +optional ApplicationProperties map[string]string `json:"applicationProperties,omitempty"` }
SpringBootApplicationSpec defines the desired state of SpringBootApplication
func (*SpringBootApplicationSpec) DeepCopy ¶
func (in *SpringBootApplicationSpec) DeepCopy() *SpringBootApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpringBootApplicationSpec.
func (*SpringBootApplicationSpec) DeepCopyInto ¶
func (in *SpringBootApplicationSpec) DeepCopyInto(out *SpringBootApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpringBootApplicationSpec) Default ¶
func (s *SpringBootApplicationSpec) Default()
type SpringBootApplicationStatus ¶
type SpringBootApplicationStatus struct { apis.Status `json:",inline"` // TargetContainer is the container targeted within the template // +optional TargetContainer string `json:"targetContainer,omitempty"` // AppliedOpinions lists opinions applied to the application AppliedOpinions []string `json:"appliedOpinions,omitempty"` }
SpringBootApplicationStatus defines the observed state of SpringBootApplication
func (*SpringBootApplicationStatus) DeepCopy ¶
func (in *SpringBootApplicationStatus) DeepCopy() *SpringBootApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpringBootApplicationStatus.
func (*SpringBootApplicationStatus) DeepCopyInto ¶
func (in *SpringBootApplicationStatus) DeepCopyInto(out *SpringBootApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpringBootApplicationStatus) GetCondition ¶
func (rs *SpringBootApplicationStatus) GetCondition(t apis.ConditionType) *apis.Condition
func (*SpringBootApplicationStatus) GetObservedGeneration ¶
func (rs *SpringBootApplicationStatus) GetObservedGeneration() int64
func (*SpringBootApplicationStatus) GetReadyConditionType ¶
func (*SpringBootApplicationStatus) GetReadyConditionType() apis.ConditionType
func (*SpringBootApplicationStatus) InitializeConditions ¶
func (rs *SpringBootApplicationStatus) InitializeConditions()
func (*SpringBootApplicationStatus) IsReady ¶
func (rs *SpringBootApplicationStatus) IsReady() bool
func (*SpringBootApplicationStatus) MarkDeploymentNotOwned ¶
func (rs *SpringBootApplicationStatus) MarkDeploymentNotOwned(name string)
func (*SpringBootApplicationStatus) PropagateDeploymentStatus ¶
func (rs *SpringBootApplicationStatus) PropagateDeploymentStatus(crs *appsv1.DeploymentStatus)