v1

package
v0.0.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the hossted.com v1 API group +kubebuilder:object:generate=true +groupName=hossted.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "hossted.com", Version: "v1"}

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

type HelmInfo struct {
	Name        string `json:"name,omitempty"`
	Namespace   string `json:"namespace,omitempty"`
	AppUUID     string `json:"appUUID,omitempty"`
	Revision    int    `json:"revision,omitempty"`
	Updated     string `json:"updated,omitempty"`
	Status      string `json:"status,omitempty"`
	Chart       string `json:"chart,omitempty"`
	AppVersion  string `json:"appVersion,omitempty"`
	HosstedHelm bool   `json:"hossted_helm,omitempty"`
}

Define HelmInfo struct

func (*HelmInfo) DeepCopy

func (in *HelmInfo) DeepCopy() *HelmInfo

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

func (*HelmInfo) DeepCopyInto

func (in *HelmInfo) DeepCopyInto(out *HelmInfo)

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

type Hosstedproject

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

	Spec   HosstedprojectSpec   `json:"spec,omitempty"`
	Status HosstedprojectStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=hp,scope=Cluster Hosstedproject is the Schema for the hosstedprojects API

func (*Hosstedproject) DeepCopy

func (in *Hosstedproject) DeepCopy() *Hosstedproject

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

func (*Hosstedproject) DeepCopyInto

func (in *Hosstedproject) DeepCopyInto(out *Hosstedproject)

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

func (*Hosstedproject) DeepCopyObject

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

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

type HosstedprojectList

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

HosstedprojectList contains a list of Hosstedproject

func (*HosstedprojectList) DeepCopy

func (in *HosstedprojectList) DeepCopy() *HosstedprojectList

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

func (*HosstedprojectList) DeepCopyInto

func (in *HosstedprojectList) DeepCopyInto(out *HosstedprojectList)

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

func (*HosstedprojectList) DeepCopyObject

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

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

type HosstedprojectSpec

type HosstedprojectSpec struct {
	Stop           bool     `json:"stop,omitempty"`
	DenyNamespaces []string `json:"denyNamespaces,omitempty"`
}

HosstedprojectSpec defines the desired state of Hosstedproject

func (*HosstedprojectSpec) DeepCopy

func (in *HosstedprojectSpec) DeepCopy() *HosstedprojectSpec

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

func (*HosstedprojectSpec) DeepCopyInto

func (in *HosstedprojectSpec) DeepCopyInto(out *HosstedprojectSpec)

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

type HosstedprojectStatus

type HosstedprojectStatus struct {
	ClusterUUID             string            `json:"clusterUUID,omitempty"`
	EmailID                 string            `json:"email_id,omitempty"`
	LastReconciledTimestamp string            `json:"lastReconcileTimestamp,omitempty"`
	ReconciledHelmReleases  map[string]string `json:"reconcileHelmReleases,omitempty"`
	HelmStatus              []HelmInfo        `json:"helmStatus,omitempty"`
	Revision                []int             `json:"revision,omitempty"`
}

HosstedprojectStatus defines the observed state of Hosstedproject

func (*HosstedprojectStatus) DeepCopy

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

func (*HosstedprojectStatus) DeepCopyInto

func (in *HosstedprojectStatus) DeepCopyInto(out *HosstedprojectStatus)

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