v1alpha1

package
v0.1.1-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: kubernetes.KubeFoxGroup, 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 ComponentSet

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

	Spec   ComponentSetSpec   `json:"spec,omitempty"`
	Status ComponentSetStatus `json:"status,omitempty"`
}

func (*ComponentSet) DeepCopy

func (in *ComponentSet) DeepCopy() *ComponentSet

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

func (*ComponentSet) DeepCopyInto

func (in *ComponentSet) DeepCopyInto(out *ComponentSet)

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

func (*ComponentSet) DeepCopyObject

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

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

func (*ComponentSet) GetSpec

func (obj *ComponentSet) GetSpec() any

func (*ComponentSet) String

func (r *ComponentSet) String() string

type ComponentSetList

type ComponentSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ComponentSet `json:"items" validate:"dive"`
}

func (*ComponentSetList) DeepCopy

func (in *ComponentSetList) DeepCopy() *ComponentSetList

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

func (*ComponentSetList) DeepCopyInto

func (in *ComponentSetList) DeepCopyInto(out *ComponentSetList)

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

func (*ComponentSetList) DeepCopyObject

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

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

func (*ComponentSetList) String

func (r *ComponentSetList) String() string

type ComponentSetSpec

type ComponentSetSpec struct {
	Deployments map[uri.Key]*Deployment `json:"deployments,omitempty" validate:"dive"`
}

func (*ComponentSetSpec) DeepCopy

func (in *ComponentSetSpec) DeepCopy() *ComponentSetSpec

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

func (*ComponentSetSpec) DeepCopyInto

func (in *ComponentSetSpec) DeepCopyInto(out *ComponentSetSpec)

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

type ComponentSetStatus

type ComponentSetStatus struct {
	Components  map[common.ComponentKey]*common.ComponentStatus `json:"components,omitempty" validate:"dive"`
	Deployments map[uri.Key]*common.DeploymentStatus            `json:"deployments,omitempty" validate:"dive"`
}

func (*ComponentSetStatus) DeepCopy

func (in *ComponentSetStatus) DeepCopy() *ComponentSetStatus

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

func (*ComponentSetStatus) DeepCopyInto

func (in *ComponentSetStatus) DeepCopyInto(out *ComponentSetStatus)

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

type Deployment

type Deployment struct {
	Components []*common.ComponentProps `json:"components,omitempty" validate:"dive"`
}

func (*Deployment) DeepCopy

func (in *Deployment) DeepCopy() *Deployment

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

func (*Deployment) DeepCopyInto

func (in *Deployment) DeepCopyInto(out *Deployment)

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

type Platform

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

	Spec   common.PlatformSpec   `json:"spec,omitempty"`
	Status common.PlatformStatus `json:"status,omitempty"`
}

func (*Platform) DeepCopy

func (in *Platform) DeepCopy() *Platform

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

func (*Platform) DeepCopyInto

func (in *Platform) DeepCopyInto(out *Platform)

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

func (*Platform) DeepCopyObject

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

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

func (*Platform) GetSpec

func (obj *Platform) GetSpec() any

func (*Platform) String

func (r *Platform) String() string

type PlatformList

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

func (*PlatformList) DeepCopy

func (in *PlatformList) DeepCopy() *PlatformList

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

func (*PlatformList) DeepCopyInto

func (in *PlatformList) DeepCopyInto(out *PlatformList)

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

func (*PlatformList) DeepCopyObject

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

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

type Release

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

	Spec   ReleaseSpec          `json:"spec,omitempty"`
	Status common.ReleaseStatus `json:"status,omitempty"`
}

func (*Release) DeepCopy

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

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

func (*Release) DeepCopyObject

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

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

func (*Release) GetSpec

func (obj *Release) GetSpec() any

func (*Release) String

func (r *Release) String() string

type ReleaseComponent

type ReleaseComponent struct {
	common.ComponentProps `json:",inline"`

	App    string          `json:"app"`
	Routes []*common.Route `json:"routes,omitempty" validate:"dive"`
}

func (*ReleaseComponent) DeepCopy

func (in *ReleaseComponent) DeepCopy() *ReleaseComponent

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

func (*ReleaseComponent) DeepCopyInto

func (in *ReleaseComponent) DeepCopyInto(out *ReleaseComponent)

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

type ReleaseList

type ReleaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Release `json:"items" validate:"dive"`
}

func (*ReleaseList) DeepCopy

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto

func (in *ReleaseList) DeepCopyInto(out *ReleaseList)

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

func (*ReleaseList) DeepCopyObject

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

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

type ReleaseSpec

type ReleaseSpec struct {
	common.EnvironmentProp   `json:",inline"`
	common.EnvironmentIdProp `json:",inline"`
	common.SystemProp        `json:",inline"`
	common.SystemIdProp      `json:",inline"`

	Components []*ReleaseComponent `json:"components,omitempty" validate:"dive"`
}

func (*ReleaseSpec) DeepCopy

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto

func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)

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