v1alpha1

package
v0.0.0-...-87e1093 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "arman.com",
	Version: "v1alpha1",
}

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type Arman

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

	Spec   ArmanSpec   `json:"spec,omitempty"`
	Status ArmanStatus `json:"status,omitempty"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Arman) DeepCopy

func (in *Arman) DeepCopy() *Arman

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

func (*Arman) DeepCopyInto

func (in *Arman) DeepCopyInto(out *Arman)

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

func (*Arman) DeepCopyObject

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

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

type ArmanList

type ArmanList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Arman `json:"items,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ArmanList) DeepCopy

func (in *ArmanList) DeepCopy() *ArmanList

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

func (*ArmanList) DeepCopyInto

func (in *ArmanList) DeepCopyInto(out *ArmanList)

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

func (*ArmanList) DeepCopyObject

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

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

type ArmanSpec

type ArmanSpec struct {
	DeploymentName    string `json:"deploymentName"`
	DeploymentImage   string `json:"deploymentImage"`
	Replicas          *int32 `json:"replicas"`
	ServiceName       string `json:"serviceName"`
	ServicePort       int32  `json:"servicePort"`
	ServiceType       string `json:"serviceType"`
	ServiceTargetPort int32  `json:"serviceTargetPort"`
}

func (*ArmanSpec) DeepCopy

func (in *ArmanSpec) DeepCopy() *ArmanSpec

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

func (*ArmanSpec) DeepCopyInto

func (in *ArmanSpec) DeepCopyInto(out *ArmanSpec)

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

type ArmanStatus

type ArmanStatus struct {
	AvailableReplicas int32 `json:"availableReplicas"`
}

func (*ArmanStatus) DeepCopy

func (in *ArmanStatus) DeepCopy() *ArmanStatus

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

func (*ArmanStatus) DeepCopyInto

func (in *ArmanStatus) DeepCopyInto(out *ArmanStatus)

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