v1alpha1

package
v0.0.0-...-cb5c30f Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the ahora v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ahora.dev

Package v1alpha1 contains API Schema definitions for the ahora v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ahora.dev

Index

Constants

This section is empty.

Variables

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

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

Functions

Types

type SPA

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

	Spec   SPASpec   `json:"spec,omitempty"`
	Status SPAStatus `json:"status,omitempty"`
}

SPA is the Schema for the spas API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=spas,scope=Namespaced

func (*SPA) DeepCopy

func (in *SPA) DeepCopy() *SPA

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

func (*SPA) DeepCopyInto

func (in *SPA) DeepCopyInto(out *SPA)

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

func (*SPA) DeepCopyObject

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

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

type SPAList

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

SPAList contains a list of SPA

func (*SPAList) DeepCopy

func (in *SPAList) DeepCopy() *SPAList

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

func (*SPAList) DeepCopyInto

func (in *SPAList) DeepCopyInto(out *SPAList)

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

func (*SPAList) DeepCopyObject

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

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

type SPASpec

type SPASpec struct {
	Replicas       *int32                      `json:"replicas"`
	SPAArchiveURL  string                      `json:"SPAArchiveURL"`
	Hosts          []string                    `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"`
	TLS            []v1beta1.IngressTLS        `json:"tls"`
	Paths          []v1beta1.HTTPIngressPath   `json:"paths" protobuf:"bytes,1,rep,name=paths"`
	Resources      corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"`
	LivenessProbe  *corev1.Probe               `json:"livenessProbe,omitempty" protobuf:"bytes,10,opt,name=livenessProbe"`
	ReadinessProbe *corev1.Probe               `json:"readinessProbe,omitempty" protobuf:"bytes,11,opt,name=readinessProbe"`
}

SPASpec defines the desired state of SPA +k8s:openapi-gen=true

func (*SPASpec) DeepCopy

func (in *SPASpec) DeepCopy() *SPASpec

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

func (*SPASpec) DeepCopyInto

func (in *SPASpec) DeepCopyInto(out *SPASpec)

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

type SPAStatus

type SPAStatus struct {
}

SPAStatus defines the observed state of SPA +k8s:openapi-gen=true

func (*SPAStatus) DeepCopy

func (in *SPAStatus) DeepCopy() *SPAStatus

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

func (*SPAStatus) DeepCopyInto

func (in *SPAStatus) DeepCopyInto(out *SPAStatus)

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