v1alpha1

package
v0.0.0-...-7f751fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.mononoke.local

Index

Constants

View Source
const (
	SpringBootApplicationConditionReady                              = apis.ConditionReady
	SpringBootApplicationConditionDeploymentReady apis.ConditionType = "DeploymentReady"
)

Variables

View Source
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
)
View Source
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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpringBootApplicationList.

func (*SpringBootApplicationList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpringBootApplicationSpec.

func (*SpringBootApplicationSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpringBootApplicationStatus.

func (*SpringBootApplicationStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SpringBootApplicationStatus) GetCondition

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL