v1beta1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +groupName=apps.ysicing.me

Package v1beta1 contains API Schema definitions for the apps v1beta1 API group +kubebuilder:object:generate=true +groupName=apps.ysicing.me

Index

Constants

This section is empty.

Variables

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

	SchemeGroupVersion = GroupVersion

	// 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
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type Ingress

type Ingress struct {
	Class       string `json:"class,omitempty"`
	Hostname    string `json:"hostname"`
	Port        int32  `json:"port"`
	ExternalDns bool   `json:"edns,omitempty"`
	TLS         string `json:"tls,omitempty"`
}

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

type Service

type Service struct {
	Type  string        `json:"type,omitempty"`
	Ports []ServicePort `json:"ports"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

type ServicePort

type ServicePort struct {
	Name     string `json:"name,omitempty"`
	Port     int32  `json:"port"`
	Protocol string `json:"protocol,omitempty"`
}

func (*ServicePort) DeepCopy

func (in *ServicePort) DeepCopy() *ServicePort

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

func (*ServicePort) DeepCopyInto

func (in *ServicePort) DeepCopyInto(out *ServicePort)

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

type Volume

type Volume struct {
	Type       string        `json:"type"`
	HostPath   string        `json:"hostpath,omitempty"`
	MountPaths []VolumeMount `json:"mountPaths"`
}

func (*Volume) DeepCopy

func (in *Volume) DeepCopy() *Volume

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

func (*Volume) DeepCopyInto

func (in *Volume) DeepCopyInto(out *Volume)

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

type VolumeMount

type VolumeMount struct {
	MountPath string `json:"mountPath"`
	ReadOnly  bool   `json:"read,omitempty"`
	SubPath   string `json:"subPath,omitempty"`
}

func (*VolumeMount) DeepCopy

func (in *VolumeMount) DeepCopy() *VolumeMount

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

func (*VolumeMount) DeepCopyInto

func (in *VolumeMount) DeepCopyInto(out *VolumeMount)

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

type Web

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

	Spec   WebSpec   `json:"spec,omitempty"`
	Status WebStatus `json:"status,omitempty"`
}

Web is the Schema for the webs API

func (*Web) DeepCopy

func (in *Web) DeepCopy() *Web

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

func (*Web) DeepCopyInto

func (in *Web) DeepCopyInto(out *Web)

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

func (*Web) DeepCopyObject

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

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

type WebList

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

WebList contains a list of Web

func (*WebList) DeepCopy

func (in *WebList) DeepCopy() *WebList

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

func (*WebList) DeepCopyInto

func (in *WebList) DeepCopyInto(out *WebList)

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

func (*WebList) DeepCopyObject

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

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

type WebSpec

type WebSpec struct {
	Image      string                      `json:"image"`
	PullPolicy string                      `json:"pull,omitempty"`
	Replicas   *int32                      `json:"replicas,omitempty"`
	Resources  corev1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	Envs    []corev1.EnvVar `json:"envs,omitempty"`
	Volume  Volume          `json:"volume,omitempty"`
	Service Service         `json:"service,omitempty"`
	Ingress Ingress         `json:"ingress,omitempty"`
}

WebSpec defines the desired state of Web

func (*WebSpec) DeepCopy

func (in *WebSpec) DeepCopy() *WebSpec

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

func (*WebSpec) DeepCopyInto

func (in *WebSpec) DeepCopyInto(out *WebSpec)

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

type WebStatus

type WebStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Ready bool `json:"ready"`
}

WebStatus defines the observed state of Web

func (*WebStatus) DeepCopy

func (in *WebStatus) DeepCopy() *WebStatus

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

func (*WebStatus) DeepCopyInto

func (in *WebStatus) DeepCopyInto(out *WebStatus)

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
JackTT - Gopher 🇻🇳