v1beta1

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: UPL-1.0 Imports: 7 Imported by: 4

Documentation

Overview

Package v1beta1 contains API Schema definitions for the verrazzano v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=verrazzano.io

Package v1beta1 contains API Schema definitions for the verrazzano v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=verrazzano.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "verrazzano.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type HelidonApp

type HelidonApp struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HelidonAppSpec   `json:"spec,omitempty"`
	Status HelidonAppStatus `json:"status,omitempty"`
}

HelidonApp is the Schema for the helidonapps API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=ha +genclient +genclient:noStatus

func (*HelidonApp) DeepCopy

func (in *HelidonApp) DeepCopy() *HelidonApp

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

func (*HelidonApp) DeepCopyInto

func (in *HelidonApp) DeepCopyInto(out *HelidonApp)

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

func (*HelidonApp) DeepCopyObject

func (in *HelidonApp) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HelidonAppList

type HelidonAppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HelidonApp `json:"items"`
}

HelidonAppList contains a list of HelidonApp

func (*HelidonAppList) DeepCopy

func (in *HelidonAppList) DeepCopy() *HelidonAppList

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

func (*HelidonAppList) DeepCopyInto

func (in *HelidonAppList) DeepCopyInto(out *HelidonAppList)

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

func (*HelidonAppList) DeepCopyObject

func (in *HelidonAppList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HelidonAppSpec

type HelidonAppSpec struct {

	// User defined description of the the HelidonApp custom resource
	Description string `json:"description"`
	// The name of the Helidon application
	Name string `json:"name"`
	// The namespace for the Helidon application
	Namespace string `json:"namespace"`
	// The docker image to pull
	Image string `json:"image"`
	// The Kubernetes docker secrets for pulling images
	// +listType=set
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
	// The Kubernetes pull policy for pulling the image
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
	// The Kubernetes ServiceAccount name to run this pod
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
	// Number of replicas to create.
	// This is a pointer to distinguish between explicit zero and not specified.
	// Defaults to 1.
	Replicas *int32 `json:"replicas,omitempty"`
	// Port to be used for service - defaults to 8080
	Port int32 `json:"port,omitempty"`
	// Port to be used for service targetPort - defaults to 8080
	TargetPort int32 `json:"targetPort,omitempty"`
	// Array of environment variables for image
	// +listType=set
	Env []corev1.EnvVar `json:"env,omitempty"`
	// InitContainers holds a list of initialization containers that should
	// be run before starting the main container in this pod.
	// +listType=set
	InitContainers []corev1.Container `json:"initContainers,omitempty"`
	// Containers to be included in the pod
	// +listType=set
	Containers []corev1.Container `json:"containers,omitempty"`
	// Volumes to be created in the pod
	// +listType=set
	Volumes []corev1.Volume `json:"volumes,omitempty"`
}

HelidonAppSpec defines the desired state of HelidonApp +k8s:openapi-gen=true

func (*HelidonAppSpec) DeepCopy

func (in *HelidonAppSpec) DeepCopy() *HelidonAppSpec

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

func (*HelidonAppSpec) DeepCopyInto

func (in *HelidonAppSpec) DeepCopyInto(out *HelidonAppSpec)

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

type HelidonAppStatus

type HelidonAppStatus struct {

	// State of the Helidon deployment
	State string `json:"state,omitempty"`
	// Message associated with latest action
	LastActionMessage string `json:"lastActionMessage,omitempty"`
	// Time stamp for latest action
	LastActionTime string `json:"lastActionTime,omitempty"`
}

HelidonAppStatus defines the observed state of HelidonApp +k8s:openapi-gen=true

func (*HelidonAppStatus) DeepCopy

func (in *HelidonAppStatus) DeepCopy() *HelidonAppStatus

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

func (*HelidonAppStatus) DeepCopyInto

func (in *HelidonAppStatus) DeepCopyInto(out *HelidonAppStatus)

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

Jump to

Keyboard shortcuts

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