v1alpha1

package
v0.0.0-...-61d5f24 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the myplatform v1alpha1 API group +kubebuilder:object:generate=true +groupName=myplatform.dexterposh.github.io

Index

Constants

View Source
const (
	Organization = "dexterposh"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "myplatform.dexterposh.github.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 InhouseApp

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

	Spec   InhouseAppSpec   `json:"spec,omitempty"`
	Status InhouseAppStatus `json:"status,omitempty"`
}

InhouseApp is the Schema for the inhouseapps API

func (*InhouseApp) DeepCopy

func (in *InhouseApp) DeepCopy() *InhouseApp

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

func (*InhouseApp) DeepCopyInto

func (in *InhouseApp) DeepCopyInto(out *InhouseApp)

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

func (*InhouseApp) DeepCopyObject

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

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

type InhouseAppList

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

InhouseAppList contains a list of InhouseApp

func (*InhouseAppList) DeepCopy

func (in *InhouseAppList) DeepCopy() *InhouseAppList

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

func (*InhouseAppList) DeepCopyInto

func (in *InhouseAppList) DeepCopyInto(out *InhouseAppList)

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

func (*InhouseAppList) DeepCopyObject

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

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

type InhouseAppSpec

type InhouseAppSpec struct {

	// AppId uniquely identifies an app on MyPlatform
	AppId string `json:"appId"`

	// Language mentions the programming language for the app on the platform
	// +kubebuilder:validation:Enum=csharp;python;go
	Language string `json:"language"`

	// OS specifies the type of Operating System
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=windows;linux
	// +kubebuilder:default:=linux
	OS string `json:"os"`

	// InstanceSize is the T-Shirt size for the deployment
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=small;medium;large
	// +kubebuilder:default:=small
	InstanceSize string `json:"instanceSize"`

	// EnvironmenType specifies the type of environment
	// +kubebuilder:validation:Enum=dev;test;prod
	EnvironmentType string `json:"environmentType"`

	// Replicas indicate the replicas to mantain
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=1
	Replicas int32 `json:"replicas"`
}

InhouseAppSpec defines the desired state of InhouseApp

func (*InhouseAppSpec) DeepCopy

func (in *InhouseAppSpec) DeepCopy() *InhouseAppSpec

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

func (*InhouseAppSpec) DeepCopyInto

func (in *InhouseAppSpec) DeepCopyInto(out *InhouseAppSpec)

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

type InhouseAppStatus

type InhouseAppStatus struct {

	// Pods are the name of the Pods hosting the App
	Pods []string `json:"pods"`
}

InhouseAppStatus defines the observed state of InhouseApp

func (*InhouseAppStatus) DeepCopy

func (in *InhouseAppStatus) DeepCopy() *InhouseAppStatus

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

func (*InhouseAppStatus) DeepCopyInto

func (in *InhouseAppStatus) DeepCopyInto(out *InhouseAppStatus)

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