v1alpha1

package
v0.0.0-...-af62b61 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the practice v1alpha1 API group +kubebuilder:object:generate=true +groupName=practice.shipa.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "practice.shipa.io", 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
)

Functions

This section is empty.

Types

type Ryan

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

	Spec   RyanSpec   `json:"spec,omitempty"`
	Status RyanStatus `json:"status,omitempty"`
}

Ryan is the Schema for the ryans API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="AppVersion",type=string,JSONPath=`.status.appVersion`

func (*Ryan) DeepCopy

func (in *Ryan) DeepCopy() *Ryan

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

func (*Ryan) DeepCopyInto

func (in *Ryan) DeepCopyInto(out *Ryan)

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

func (*Ryan) DeepCopyObject

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

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

type RyanList

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

RyanList contains a list of Ryan

func (*RyanList) DeepCopy

func (in *RyanList) DeepCopy() *RyanList

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

func (*RyanList) DeepCopyInto

func (in *RyanList) DeepCopyInto(out *RyanList)

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

func (*RyanList) DeepCopyObject

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

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

type RyanSpec

type RyanSpec struct {
	// ResourceName is the name of the resource to watch
	ResourceName string `json:"resourceName"`

	// API version of the resource to watch, reserved for future when we support more than just deployment
	//+kubebuilder:default="apps/v1"
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind of the resource to watch, reserved for future when we support more than just deployment
	//+kubebuilder:default="Deployment"
	Kind string `json:"kind,omitempty"`
}

RyanSpec defines the desired state of Ryan

func (*RyanSpec) DeepCopy

func (in *RyanSpec) DeepCopy() *RyanSpec

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

func (*RyanSpec) DeepCopyInto

func (in *RyanSpec) DeepCopyInto(out *RyanSpec)

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

type RyanStatus

type RyanStatus struct {
	// ReleaseName is the name of the helm release
	ReleaseName string `json:"releaseName"`

	// AppName is the helm app name
	AppName string `json:"appName"`

	// AppVersion is the helm app version
	AppVersion string `json:"appVersion"`
}

RyanStatus defines the observed state of Ryan

func (*RyanStatus) DeepCopy

func (in *RyanStatus) DeepCopy() *RyanStatus

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

func (*RyanStatus) DeepCopyInto

func (in *RyanStatus) DeepCopyInto(out *RyanStatus)

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