cluster

package
v4.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package api is the internal version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	ClusterChartInfoStorage = builders.NewApiResourceWithStorage(
		InternalChartInfo,
		func() runtime.Object { return &ChartInfo{} },
		func() runtime.Object { return &ChartInfoList{} },
		NewChartInfoREST,
	)
	NewChartInfoREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewChartInfoRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewChartInfoRESTFunc  NewRESTFunc
	ClusterFeatureStorage = builders.NewApiResourceWithStorage(
		InternalFeature,
		func() runtime.Object { return &Feature{} },
		func() runtime.Object { return &FeatureList{} },
		NewFeatureREST,
	)
	NewFeatureREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewFeatureRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewFeatureRESTFunc        NewRESTFunc
	ClusterHelmReleaseStorage = builders.NewApiResourceWithStorage(
		InternalHelmRelease,
		func() runtime.Object { return &HelmRelease{} },
		func() runtime.Object { return &HelmReleaseList{} },
		NewHelmReleaseREST,
	)
	NewHelmReleaseREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewHelmReleaseRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewHelmReleaseRESTFunc NewRESTFunc
	InternalChartInfo      = builders.NewInternalResource(
		"chartinfos",
		"ChartInfo",
		func() runtime.Object { return &ChartInfo{} },
		func() runtime.Object { return &ChartInfoList{} },
	)
	InternalChartInfoStatus = builders.NewInternalResourceStatus(
		"chartinfos",
		"ChartInfoStatus",
		func() runtime.Object { return &ChartInfo{} },
		func() runtime.Object { return &ChartInfoList{} },
	)
	InternalFeature = builders.NewInternalResource(
		"features",
		"Feature",
		func() runtime.Object { return &Feature{} },
		func() runtime.Object { return &FeatureList{} },
	)
	InternalFeatureStatus = builders.NewInternalResourceStatus(
		"features",
		"FeatureStatus",
		func() runtime.Object { return &Feature{} },
		func() runtime.Object { return &FeatureList{} },
	)
	InternalHelmRelease = builders.NewInternalResource(
		"helmreleases",
		"HelmRelease",
		func() runtime.Object { return &HelmRelease{} },
		func() runtime.Object { return &HelmReleaseList{} },
	)
	InternalHelmReleaseStatus = builders.NewInternalResourceStatus(
		"helmreleases",
		"HelmReleaseStatus",
		func() runtime.Object { return &HelmRelease{} },
		func() runtime.Object { return &HelmReleaseList{} },
	)
	// Registered resources and subresources
	ApiVersion = builders.NewApiGroup("cluster.loft.sh").WithKinds(
		InternalChartInfo,
		InternalChartInfoStatus,
		InternalFeature,
		InternalFeatureStatus,
		InternalHelmRelease,
		InternalHelmReleaseStatus,
	)

	// Required by code generated by go2idl
	AddToScheme = (&runtime.SchemeBuilder{
		ApiVersion.SchemeBuilder.AddToScheme,
		RegisterDefaults,
	}).AddToScheme
	SchemeBuilder = ApiVersion.SchemeBuilder

	SchemeGroupVersion = ApiVersion.GroupVersion
)
View Source
var CachedClient client.Client

CachedClient will be injected during startup and then passed to the rest storages

View Source
var CachedManagementClient client.Client

CachedManagementClient will be injected during startup and then passed to the rest storages

View Source
var Config *rest.Config

Config will be injected during startup and then passed to the rest storages

View Source
var UncachedClient client.Client

UncachedClient will be injected during startup and then passed to the rest storages

View Source
var UncachedManagementClient client.Client

UncachedManagementClient will be injected during startup and then passed to the rest storages

Functions

func Kind

func Kind(kind string) schema.GroupKind

Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Required by code generated by go2idl Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Bash

type Bash struct {
	Script      string `json:"script,omitempty"`
	Image       string `json:"image,omitempty"`
	ClusterRole string `json:"clusterRole,omitempty"`
}

func (*Bash) DeepCopy

func (in *Bash) DeepCopy() *Bash

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

func (*Bash) DeepCopyInto

func (in *Bash) DeepCopyInto(out *Bash)

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

type Chart

type Chart struct {
	Name                  string          `json:"name,omitempty"`
	Version               string          `json:"version,omitempty"`
	RepoURL               string          `json:"repoURL,omitempty"`
	Username              string          `json:"username,omitempty"`
	UsernameRef           *ChartSecretRef `json:"usernameRef,omitempty"`
	Password              string          `json:"password,omitempty"`
	PasswordRef           *ChartSecretRef `json:"passwordRef,omitempty"`
	InsecureSkipTlsVerify bool            `json:"insecureSkipTlsVerify,omitempty"`
}

func (*Chart) DeepCopy

func (in *Chart) DeepCopy() *Chart

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

func (*Chart) DeepCopyInto

func (in *Chart) DeepCopyInto(out *Chart)

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

type ChartInfo

type ChartInfo struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ChartInfoSpec   `json:"spec,omitempty"`
	Status            ChartInfoStatus `json:"status,omitempty"`
}

func (*ChartInfo) DeepCopy

func (in *ChartInfo) DeepCopy() *ChartInfo

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

func (*ChartInfo) DeepCopyInto

func (in *ChartInfo) DeepCopyInto(out *ChartInfo)

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

func (*ChartInfo) DeepCopyObject

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

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

func (ChartInfo) GetGeneration

func (pc ChartInfo) GetGeneration() int64

func (*ChartInfo) GetObjectMeta

func (pc *ChartInfo) GetObjectMeta() *metav1.ObjectMeta

func (*ChartInfo) GetSpec

func (pc *ChartInfo) GetSpec() interface{}

func (*ChartInfo) GetStatus

func (pc *ChartInfo) GetStatus() interface{}

func (ChartInfo) NewStatus

func (ChartInfo) NewStatus() interface{}

func (*ChartInfo) SetGeneration

func (pc *ChartInfo) SetGeneration(generation int64)

func (*ChartInfo) SetSpec

func (pc *ChartInfo) SetSpec(s interface{})

func (*ChartInfo) SetStatus

func (pc *ChartInfo) SetStatus(s interface{})

type ChartInfoList

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

func (*ChartInfoList) DeepCopy

func (in *ChartInfoList) DeepCopy() *ChartInfoList

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

func (*ChartInfoList) DeepCopyInto

func (in *ChartInfoList) DeepCopyInto(out *ChartInfoList)

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

func (*ChartInfoList) DeepCopyObject

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

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

type ChartInfoRegistry

type ChartInfoRegistry interface {
	ListChartInfos(ctx context.Context, options *internalversion.ListOptions) (*ChartInfoList, error)
	GetChartInfo(ctx context.Context, id string, options *metav1.GetOptions) (*ChartInfo, error)
	CreateChartInfo(ctx context.Context, id *ChartInfo) (*ChartInfo, error)
	UpdateChartInfo(ctx context.Context, id *ChartInfo) (*ChartInfo, error)
	DeleteChartInfo(ctx context.Context, id string) (bool, error)
}

Registry is an interface for things that know how to store ChartInfo. +k8s:deepcopy-gen=false

func NewChartInfoRegistry

func NewChartInfoRegistry(sp builders.StandardStorageProvider) ChartInfoRegistry

NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.

type ChartInfoSpec

type ChartInfoSpec struct {
	Chart Chart `json:"chart,omitempty"`
}

func (*ChartInfoSpec) DeepCopy

func (in *ChartInfoSpec) DeepCopy() *ChartInfoSpec

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

func (*ChartInfoSpec) DeepCopyInto

func (in *ChartInfoSpec) DeepCopyInto(out *ChartInfoSpec)

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

type ChartInfoStatus

type ChartInfoStatus struct {
	Metadata *Metadata `json:"metadata,omitempty"`
	Readme   string    `json:"readme,omitempty"`
	Values   string    `json:"values,omitempty"`
}

func (*ChartInfoStatus) DeepCopy

func (in *ChartInfoStatus) DeepCopy() *ChartInfoStatus

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

func (*ChartInfoStatus) DeepCopyInto

func (in *ChartInfoStatus) DeepCopyInto(out *ChartInfoStatus)

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

type ChartInfoStatusStrategy

type ChartInfoStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type ChartInfoStrategy

type ChartInfoStrategy struct {
	builders.DefaultStorageStrategy
}

ChartInfo Functions and Structs

+k8s:deepcopy-gen=false

type ChartSecretRef

type ChartSecretRef struct {
	ProjectSecretRef *ProjectSecretRef `json:"projectSecretRef,omitempty"`
}

func (*ChartSecretRef) DeepCopy

func (in *ChartSecretRef) DeepCopy() *ChartSecretRef

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

func (*ChartSecretRef) DeepCopyInto

func (in *ChartSecretRef) DeepCopyInto(out *ChartSecretRef)

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

type Feature

type Feature struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FeatureSpec   `json:"spec,omitempty"`
	Status            FeatureStatus `json:"status,omitempty"`
}

func (*Feature) DeepCopy

func (in *Feature) DeepCopy() *Feature

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

func (*Feature) DeepCopyInto

func (in *Feature) DeepCopyInto(out *Feature)

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

func (*Feature) DeepCopyObject

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

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

func (Feature) GetGeneration

func (pc Feature) GetGeneration() int64

func (*Feature) GetObjectMeta

func (pc *Feature) GetObjectMeta() *metav1.ObjectMeta

func (*Feature) GetSpec

func (pc *Feature) GetSpec() interface{}

func (*Feature) GetStatus

func (pc *Feature) GetStatus() interface{}

func (Feature) NewStatus

func (Feature) NewStatus() interface{}

func (*Feature) SetGeneration

func (pc *Feature) SetGeneration(generation int64)

func (*Feature) SetSpec

func (pc *Feature) SetSpec(s interface{})

func (*Feature) SetStatus

func (pc *Feature) SetStatus(s interface{})

type FeatureList

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

func (*FeatureList) DeepCopy

func (in *FeatureList) DeepCopy() *FeatureList

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

func (*FeatureList) DeepCopyInto

func (in *FeatureList) DeepCopyInto(out *FeatureList)

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

func (*FeatureList) DeepCopyObject

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

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

type FeatureRegistry

type FeatureRegistry interface {
	ListFeatures(ctx context.Context, options *internalversion.ListOptions) (*FeatureList, error)
	GetFeature(ctx context.Context, id string, options *metav1.GetOptions) (*Feature, error)
	CreateFeature(ctx context.Context, id *Feature) (*Feature, error)
	UpdateFeature(ctx context.Context, id *Feature) (*Feature, error)
	DeleteFeature(ctx context.Context, id string) (bool, error)
}

Registry is an interface for things that know how to store Feature. +k8s:deepcopy-gen=false

func NewFeatureRegistry

func NewFeatureRegistry(sp builders.StandardStorageProvider) FeatureRegistry

NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.

type FeatureSpec

type FeatureSpec struct {
}

func (*FeatureSpec) DeepCopy

func (in *FeatureSpec) DeepCopy() *FeatureSpec

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

func (*FeatureSpec) DeepCopyInto

func (in *FeatureSpec) DeepCopyInto(out *FeatureSpec)

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

type FeatureStatus

type FeatureStatus struct {
	pkglicenseapi.Feature `json:",inline"`
	Internal              bool `json:"internal,omitempty"`
	Used                  bool `json:"used,omitempty"`
}

func (*FeatureStatus) DeepCopy

func (in *FeatureStatus) DeepCopy() *FeatureStatus

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

func (*FeatureStatus) DeepCopyInto

func (in *FeatureStatus) DeepCopyInto(out *FeatureStatus)

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

type FeatureStatusStrategy

type FeatureStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type FeatureStrategy

type FeatureStrategy struct {
	builders.DefaultStorageStrategy
}

Feature Functions and Structs

+k8s:deepcopy-gen=false

type HelmRelease

type HelmRelease struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HelmReleaseSpec   `json:"spec,omitempty"`
	Status            HelmReleaseStatus `json:"status,omitempty"`
}

func (*HelmRelease) DeepCopy

func (in *HelmRelease) DeepCopy() *HelmRelease

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

func (*HelmRelease) DeepCopyInto

func (in *HelmRelease) DeepCopyInto(out *HelmRelease)

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

func (*HelmRelease) DeepCopyObject

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

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

func (HelmRelease) GetGeneration

func (pc HelmRelease) GetGeneration() int64

func (*HelmRelease) GetObjectMeta

func (pc *HelmRelease) GetObjectMeta() *metav1.ObjectMeta

func (*HelmRelease) GetSpec

func (pc *HelmRelease) GetSpec() interface{}

func (*HelmRelease) GetStatus

func (pc *HelmRelease) GetStatus() interface{}

func (HelmRelease) NewStatus

func (HelmRelease) NewStatus() interface{}

func (*HelmRelease) SetGeneration

func (pc *HelmRelease) SetGeneration(generation int64)

func (*HelmRelease) SetSpec

func (pc *HelmRelease) SetSpec(s interface{})

func (*HelmRelease) SetStatus

func (pc *HelmRelease) SetStatus(s interface{})

type HelmReleaseConfig

type HelmReleaseConfig struct {
	Chart       Chart             `json:"chart,omitempty"`
	Manifests   string            `json:"manifests,omitempty"`
	Bash        *Bash             `json:"bash,omitempty"`
	Values      string            `json:"values,omitempty"`
	Parameters  string            `json:"parameters,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*HelmReleaseConfig) DeepCopy

func (in *HelmReleaseConfig) DeepCopy() *HelmReleaseConfig

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

func (*HelmReleaseConfig) DeepCopyInto

func (in *HelmReleaseConfig) DeepCopyInto(out *HelmReleaseConfig)

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

type HelmReleaseList

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

func (*HelmReleaseList) DeepCopy

func (in *HelmReleaseList) DeepCopy() *HelmReleaseList

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

func (*HelmReleaseList) DeepCopyInto

func (in *HelmReleaseList) DeepCopyInto(out *HelmReleaseList)

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

func (*HelmReleaseList) DeepCopyObject

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

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

type HelmReleaseRegistry

type HelmReleaseRegistry interface {
	ListHelmReleases(ctx context.Context, options *internalversion.ListOptions) (*HelmReleaseList, error)
	GetHelmRelease(ctx context.Context, id string, options *metav1.GetOptions) (*HelmRelease, error)
	CreateHelmRelease(ctx context.Context, id *HelmRelease) (*HelmRelease, error)
	UpdateHelmRelease(ctx context.Context, id *HelmRelease) (*HelmRelease, error)
	DeleteHelmRelease(ctx context.Context, id string) (bool, error)
}

Registry is an interface for things that know how to store HelmRelease. +k8s:deepcopy-gen=false

func NewHelmReleaseRegistry

func NewHelmReleaseRegistry(sp builders.StandardStorageProvider) HelmReleaseRegistry

NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.

type HelmReleaseSpec

type HelmReleaseSpec struct {
	HelmReleaseConfig `json:",inline"`
}

func (*HelmReleaseSpec) DeepCopy

func (in *HelmReleaseSpec) DeepCopy() *HelmReleaseSpec

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

func (*HelmReleaseSpec) DeepCopyInto

func (in *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec)

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

type HelmReleaseStatus

type HelmReleaseStatus struct {
	Revision int       `json:"version,omitempty"`
	Info     *Info     `json:"info,omitempty"`
	Metadata *Metadata `json:"metadata,omitempty"`
}

func (*HelmReleaseStatus) DeepCopy

func (in *HelmReleaseStatus) DeepCopy() *HelmReleaseStatus

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

func (*HelmReleaseStatus) DeepCopyInto

func (in *HelmReleaseStatus) DeepCopyInto(out *HelmReleaseStatus)

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

type HelmReleaseStatusStrategy

type HelmReleaseStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type HelmReleaseStrategy

type HelmReleaseStrategy struct {
	builders.DefaultStorageStrategy
}

HelmRelease Functions and Structs

+k8s:deepcopy-gen=false

type Info

type Info struct {
	FirstDeployed metav1.Time `json:"first_deployed,omitempty"`
	LastDeployed  metav1.Time `json:"last_deployed,omitempty"`
	Deleted       metav1.Time `json:"deleted"`
	Description   string      `json:"description,omitempty"`
	Status        Status      `json:"status,omitempty"`
	Notes         string      `json:"notes,omitempty"`
}

func (*Info) DeepCopy

func (in *Info) DeepCopy() *Info

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

func (*Info) DeepCopyInto

func (in *Info) DeepCopyInto(out *Info)

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

type Maintainer

type Maintainer struct {
	Name  string `json:"name,omitempty"`
	Email string `json:"email,omitempty"`
	URL   string `json:"url,omitempty"`
}

func (*Maintainer) DeepCopy

func (in *Maintainer) DeepCopy() *Maintainer

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

func (*Maintainer) DeepCopyInto

func (in *Maintainer) DeepCopyInto(out *Maintainer)

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

type Metadata

type Metadata struct {
	Name        string            `json:"name,omitempty"`
	Home        string            `json:"home,omitempty"`
	Sources     []string          `json:"sources,omitempty"`
	Version     string            `json:"version,omitempty"`
	Description string            `json:"description,omitempty"`
	Keywords    []string          `json:"keywords,omitempty"`
	Maintainers []*Maintainer     `json:"maintainers,omitempty"`
	Icon        string            `json:"icon,omitempty"`
	APIVersion  string            `json:"apiVersion,omitempty"`
	Condition   string            `json:"condition,omitempty"`
	Tags        string            `json:"tags,omitempty"`
	AppVersion  string            `json:"appVersion,omitempty"`
	Deprecated  bool              `json:"deprecated,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
	KubeVersion string            `json:"kubeVersion,omitempty"`
	Type        string            `json:"type,omitempty"`
	Urls        []string          `json:"urls,omitempty"`
}

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

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

type NewRESTFunc

type NewRESTFunc func(config *configrest.Config, cachedClient, uncachedClient, cachedManagementClient, uncachedManagementClient client.Client) rest.Storage

type ProjectSecretRef

type ProjectSecretRef struct {
	Project string `json:"project,omitempty"`
	Name    string `json:"name,omitempty"`
	Key     string `json:"key,omitempty"`
}

func (*ProjectSecretRef) DeepCopy

func (in *ProjectSecretRef) DeepCopy() *ProjectSecretRef

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

func (*ProjectSecretRef) DeepCopyInto

func (in *ProjectSecretRef) DeepCopyInto(out *ProjectSecretRef)

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

type Status

type Status string

Directories

Path Synopsis
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/loft-sh/agentapi/v4/pkg/apis/loft/cluster +k8s:defaulter-gen=TypeMeta +groupName=cluster.loft.sh
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/loft-sh/agentapi/v4/pkg/apis/loft/cluster +k8s:defaulter-gen=TypeMeta +groupName=cluster.loft.sh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL