cluster

package
v4.0.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MPL-2.0 Imports: 14 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
	ClusterClusterQuotaStorage = builders.NewApiResourceWithStorage(
		InternalClusterQuota,
		func() runtime.Object { return &ClusterQuota{} },
		func() runtime.Object { return &ClusterQuotaList{} },
		NewClusterQuotaREST,
	)
	NewClusterQuotaREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewClusterQuotaRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewClusterQuotaRESTFunc 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
	ClusterLocalClusterAccessStorage = builders.NewApiResourceWithStorage(
		InternalLocalClusterAccess,
		func() runtime.Object { return &LocalClusterAccess{} },
		func() runtime.Object { return &LocalClusterAccessList{} },
		NewLocalClusterAccessREST,
	)
	NewLocalClusterAccessREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewLocalClusterAccessRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewLocalClusterAccessRESTFunc NewRESTFunc
	ClusterSleepModeConfigStorage = builders.NewApiResourceWithStorage(
		InternalSleepModeConfig,
		func() runtime.Object { return &SleepModeConfig{} },
		func() runtime.Object { return &SleepModeConfigList{} },
		NewSleepModeConfigREST,
	)
	NewSleepModeConfigREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewSleepModeConfigRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewSleepModeConfigRESTFunc NewRESTFunc
	ClusterSpaceStorage        = builders.NewApiResourceWithStorage(
		InternalSpace,
		func() runtime.Object { return &Space{} },
		func() runtime.Object { return &SpaceList{} },
		NewSpaceREST,
	)
	NewSpaceREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewSpaceRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewSpaceRESTFunc             NewRESTFunc
	ClusterVirtualClusterStorage = builders.NewApiResourceWithStorage(
		InternalVirtualCluster,
		func() runtime.Object { return &VirtualCluster{} },
		func() runtime.Object { return &VirtualClusterList{} },
		NewVirtualClusterREST,
	)
	NewVirtualClusterREST = func(getter generic.RESTOptionsGetter) rest.Storage {
		return NewVirtualClusterRESTFunc(Config, CachedClient, UncachedClient, CachedManagementClient, UncachedManagementClient)
	}
	NewVirtualClusterRESTFunc 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{} },
	)
	InternalClusterQuota = builders.NewInternalResource(
		"clusterquotas",
		"ClusterQuota",
		func() runtime.Object { return &ClusterQuota{} },
		func() runtime.Object { return &ClusterQuotaList{} },
	)
	InternalClusterQuotaStatus = builders.NewInternalResourceStatus(
		"clusterquotas",
		"ClusterQuotaStatus",
		func() runtime.Object { return &ClusterQuota{} },
		func() runtime.Object { return &ClusterQuotaList{} },
	)
	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{} },
	)
	InternalLocalClusterAccess = builders.NewInternalResource(
		"localclusteraccesses",
		"LocalClusterAccess",
		func() runtime.Object { return &LocalClusterAccess{} },
		func() runtime.Object { return &LocalClusterAccessList{} },
	)
	InternalLocalClusterAccessStatus = builders.NewInternalResourceStatus(
		"localclusteraccesses",
		"LocalClusterAccessStatus",
		func() runtime.Object { return &LocalClusterAccess{} },
		func() runtime.Object { return &LocalClusterAccessList{} },
	)
	InternalSleepModeConfig = builders.NewInternalResource(
		"sleepmodeconfigs",
		"SleepModeConfig",
		func() runtime.Object { return &SleepModeConfig{} },
		func() runtime.Object { return &SleepModeConfigList{} },
	)
	InternalSleepModeConfigStatus = builders.NewInternalResourceStatus(
		"sleepmodeconfigs",
		"SleepModeConfigStatus",
		func() runtime.Object { return &SleepModeConfig{} },
		func() runtime.Object { return &SleepModeConfigList{} },
	)
	InternalSpace = builders.NewInternalResource(
		"spaces",
		"Space",
		func() runtime.Object { return &Space{} },
		func() runtime.Object { return &SpaceList{} },
	)
	InternalSpaceStatus = builders.NewInternalResourceStatus(
		"spaces",
		"SpaceStatus",
		func() runtime.Object { return &Space{} },
		func() runtime.Object { return &SpaceList{} },
	)
	InternalVirtualCluster = builders.NewInternalResource(
		"virtualclusters",
		"VirtualCluster",
		func() runtime.Object { return &VirtualCluster{} },
		func() runtime.Object { return &VirtualClusterList{} },
	)
	InternalVirtualClusterStatus = builders.NewInternalResourceStatus(
		"virtualclusters",
		"VirtualClusterStatus",
		func() runtime.Object { return &VirtualCluster{} },
		func() runtime.Object { return &VirtualClusterList{} },
	)
	// Registered resources and subresources
	ApiVersion = builders.NewApiGroup("cluster.loft.sh").WithKinds(
		InternalChartInfo,
		InternalChartInfoStatus,
		InternalClusterQuota,
		InternalClusterQuotaStatus,
		InternalFeature,
		InternalFeatureStatus,
		InternalHelmRelease,
		InternalHelmReleaseStatus,
		InternalLocalClusterAccess,
		InternalLocalClusterAccessStatus,
		InternalSleepModeConfig,
		InternalSleepModeConfigStatus,
		InternalSpace,
		InternalSpaceStatus,
		InternalVirtualCluster,
		InternalVirtualClusterStatus,
	)

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

type AppliedObject struct {
	APIVersion string `json:"apiVersion,omitempty"`
	Kind       string `json:"kind,omitempty"`
	Name       string `json:"name,omitempty"`
}

func (*AppliedObject) DeepCopy

func (in *AppliedObject) DeepCopy() *AppliedObject

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

func (*AppliedObject) DeepCopyInto

func (in *AppliedObject) DeepCopyInto(out *AppliedObject)

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

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 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 storagev1.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 ClusterQuota

type ClusterQuota struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterQuotaSpec   `json:"spec,omitempty"`
	Status            ClusterQuotaStatus `json:"status,omitempty"`
}

func (*ClusterQuota) DeepCopy

func (in *ClusterQuota) DeepCopy() *ClusterQuota

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

func (*ClusterQuota) DeepCopyInto

func (in *ClusterQuota) DeepCopyInto(out *ClusterQuota)

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

func (*ClusterQuota) DeepCopyObject

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

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

func (ClusterQuota) GetGeneration

func (pc ClusterQuota) GetGeneration() int64

func (*ClusterQuota) GetObjectMeta

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

func (*ClusterQuota) GetSpec

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

func (*ClusterQuota) GetStatus

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

func (ClusterQuota) NewStatus

func (ClusterQuota) NewStatus() interface{}

func (*ClusterQuota) SetGeneration

func (pc *ClusterQuota) SetGeneration(generation int64)

func (*ClusterQuota) SetSpec

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

func (*ClusterQuota) SetStatus

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

type ClusterQuotaList

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

func (*ClusterQuotaList) DeepCopy

func (in *ClusterQuotaList) DeepCopy() *ClusterQuotaList

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

func (*ClusterQuotaList) DeepCopyInto

func (in *ClusterQuotaList) DeepCopyInto(out *ClusterQuotaList)

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

func (*ClusterQuotaList) DeepCopyObject

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

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

type ClusterQuotaRegistry

type ClusterQuotaRegistry interface {
	ListClusterQuotas(ctx context.Context, options *internalversion.ListOptions) (*ClusterQuotaList, error)
	GetClusterQuota(ctx context.Context, id string, options *metav1.GetOptions) (*ClusterQuota, error)
	CreateClusterQuota(ctx context.Context, id *ClusterQuota) (*ClusterQuota, error)
	UpdateClusterQuota(ctx context.Context, id *ClusterQuota) (*ClusterQuota, error)
	DeleteClusterQuota(ctx context.Context, id string) (bool, error)
}

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

func NewClusterQuotaRegistry

func NewClusterQuotaRegistry(sp builders.StandardStorageProvider) ClusterQuotaRegistry

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

type ClusterQuotaSpec

type ClusterQuotaSpec struct {
	storagev1.ClusterQuotaSpec `json:",inline"`
}

func (*ClusterQuotaSpec) DeepCopy

func (in *ClusterQuotaSpec) DeepCopy() *ClusterQuotaSpec

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

func (*ClusterQuotaSpec) DeepCopyInto

func (in *ClusterQuotaSpec) DeepCopyInto(out *ClusterQuotaSpec)

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

type ClusterQuotaStatus

type ClusterQuotaStatus struct {
	storagev1.ClusterQuotaStatus `json:",inline"`
	Owner                        *UserOrTeam `json:"owner,omitempty"`
}

func (*ClusterQuotaStatus) DeepCopy

func (in *ClusterQuotaStatus) DeepCopy() *ClusterQuotaStatus

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

func (*ClusterQuotaStatus) DeepCopyInto

func (in *ClusterQuotaStatus) DeepCopyInto(out *ClusterQuotaStatus)

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

type ClusterQuotaStatusStrategy

type ClusterQuotaStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type ClusterQuotaStrategy

type ClusterQuotaStrategy struct {
	builders.DefaultStorageStrategy
}

ClusterQuota Functions and Structs

+k8s:deepcopy-gen=false

type EntityInfo

type EntityInfo struct {
	Name        string `json:"name,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
	Icon        string `json:"icon,omitempty"`
	Username    string `json:"username,omitempty"`
	Email       string `json:"email,omitempty"`
	Subject     string `json:"subject,omitempty"`
}

func (*EntityInfo) DeepCopy

func (in *EntityInfo) DeepCopy() *EntityInfo

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

func (*EntityInfo) DeepCopyInto

func (in *EntityInfo) DeepCopyInto(out *EntityInfo)

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

type EpochInfo

type EpochInfo struct {
	Start int64 `json:"start,omitempty"`
	Slept int64 `json:"slept,omitempty"`
}

func (*EpochInfo) DeepCopy

func (in *EpochInfo) DeepCopy() *EpochInfo

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

func (*EpochInfo) DeepCopyInto

func (in *EpochInfo) DeepCopyInto(out *EpochInfo)

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 FinalizerName

type FinalizerName string

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       storagev1.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 LastActivityInfo

type LastActivityInfo struct {
	Subject                string `json:"subject,omitempty"`
	Host                   string `json:"host,omitempty"`
	Verb                   string `json:"verb,omitempty"`
	APIGroup               string `json:"apiGroup,omitempty"`
	Resource               string `json:"resource,omitempty"`
	Subresource            string `json:"subresource,omitempty"`
	Name                   string `json:"name,omitempty"`
	VirtualCluster         string `json:"virtualCluster,omitempty"`
	MetricsRefreshInterval int64  `json:"metricsRefreshInterval,omitempty"`
}

func (*LastActivityInfo) DeepCopy

func (in *LastActivityInfo) DeepCopy() *LastActivityInfo

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

func (*LastActivityInfo) DeepCopyInto

func (in *LastActivityInfo) DeepCopyInto(out *LastActivityInfo)

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

type LocalClusterAccess

type LocalClusterAccess struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LocalClusterAccessSpec   `json:"spec,omitempty"`
	Status            LocalClusterAccessStatus `json:"status,omitempty"`
}

func (*LocalClusterAccess) DeepCopy

func (in *LocalClusterAccess) DeepCopy() *LocalClusterAccess

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

func (*LocalClusterAccess) DeepCopyInto

func (in *LocalClusterAccess) DeepCopyInto(out *LocalClusterAccess)

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

func (*LocalClusterAccess) DeepCopyObject

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

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

func (LocalClusterAccess) GetGeneration

func (pc LocalClusterAccess) GetGeneration() int64

func (*LocalClusterAccess) GetObjectMeta

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

func (*LocalClusterAccess) GetSpec

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

func (*LocalClusterAccess) GetStatus

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

func (LocalClusterAccess) NewStatus

func (LocalClusterAccess) NewStatus() interface{}

func (*LocalClusterAccess) SetGeneration

func (pc *LocalClusterAccess) SetGeneration(generation int64)

func (*LocalClusterAccess) SetSpec

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

func (*LocalClusterAccess) SetStatus

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

type LocalClusterAccessList

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

func (*LocalClusterAccessList) DeepCopy

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

func (*LocalClusterAccessList) DeepCopyInto

func (in *LocalClusterAccessList) DeepCopyInto(out *LocalClusterAccessList)

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

func (*LocalClusterAccessList) DeepCopyObject

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

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

type LocalClusterAccessRegistry

type LocalClusterAccessRegistry interface {
	ListLocalClusterAccesss(ctx context.Context, options *internalversion.ListOptions) (*LocalClusterAccessList, error)
	GetLocalClusterAccess(ctx context.Context, id string, options *metav1.GetOptions) (*LocalClusterAccess, error)
	CreateLocalClusterAccess(ctx context.Context, id *LocalClusterAccess) (*LocalClusterAccess, error)
	UpdateLocalClusterAccess(ctx context.Context, id *LocalClusterAccess) (*LocalClusterAccess, error)
	DeleteLocalClusterAccess(ctx context.Context, id string) (bool, error)
}

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

func NewLocalClusterAccessRegistry

func NewLocalClusterAccessRegistry(sp builders.StandardStorageProvider) LocalClusterAccessRegistry

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

type LocalClusterAccessSpec

type LocalClusterAccessSpec struct {
	storagev1.LocalClusterAccessSpec `json:",inline"`
}

func (*LocalClusterAccessSpec) DeepCopy

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

func (*LocalClusterAccessSpec) DeepCopyInto

func (in *LocalClusterAccessSpec) DeepCopyInto(out *LocalClusterAccessSpec)

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

type LocalClusterAccessStatus

type LocalClusterAccessStatus struct {
	storagev1.LocalClusterAccessStatus `json:",inline"`
	Users                              []*UserOrTeam `json:"users,omitempty"`
	Teams                              []*EntityInfo `json:"teams,omitempty"`
}

func (*LocalClusterAccessStatus) DeepCopy

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

func (*LocalClusterAccessStatus) DeepCopyInto

func (in *LocalClusterAccessStatus) DeepCopyInto(out *LocalClusterAccessStatus)

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

type LocalClusterAccessStatusStrategy

type LocalClusterAccessStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type LocalClusterAccessStrategy

type LocalClusterAccessStrategy struct {
	builders.DefaultStorageStrategy
}

LocalClusterAccess Functions and Structs

+k8s:deepcopy-gen=false

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 NamespacePhase

type NamespacePhase string

type NewRESTFunc

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

type SleepModeConfig

type SleepModeConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SleepModeConfigSpec   `json:"spec,omitempty"`
	Status            SleepModeConfigStatus `json:"status,omitempty"`
}

func (*SleepModeConfig) DeepCopy

func (in *SleepModeConfig) DeepCopy() *SleepModeConfig

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

func (*SleepModeConfig) DeepCopyInto

func (in *SleepModeConfig) DeepCopyInto(out *SleepModeConfig)

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

func (*SleepModeConfig) DeepCopyObject

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

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

func (SleepModeConfig) GetGeneration

func (pc SleepModeConfig) GetGeneration() int64

func (*SleepModeConfig) GetObjectMeta

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

func (*SleepModeConfig) GetSpec

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

func (*SleepModeConfig) GetStatus

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

func (SleepModeConfig) NewStatus

func (SleepModeConfig) NewStatus() interface{}

func (*SleepModeConfig) SetGeneration

func (pc *SleepModeConfig) SetGeneration(generation int64)

func (*SleepModeConfig) SetSpec

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

func (*SleepModeConfig) SetStatus

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

type SleepModeConfigList

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

func (*SleepModeConfigList) DeepCopy

func (in *SleepModeConfigList) DeepCopy() *SleepModeConfigList

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

func (*SleepModeConfigList) DeepCopyInto

func (in *SleepModeConfigList) DeepCopyInto(out *SleepModeConfigList)

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

func (*SleepModeConfigList) DeepCopyObject

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

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

type SleepModeConfigRegistry

type SleepModeConfigRegistry interface {
	ListSleepModeConfigs(ctx context.Context, options *internalversion.ListOptions) (*SleepModeConfigList, error)
	GetSleepModeConfig(ctx context.Context, id string, options *metav1.GetOptions) (*SleepModeConfig, error)
	CreateSleepModeConfig(ctx context.Context, id *SleepModeConfig) (*SleepModeConfig, error)
	UpdateSleepModeConfig(ctx context.Context, id *SleepModeConfig) (*SleepModeConfig, error)
	DeleteSleepModeConfig(ctx context.Context, id string) (bool, error)
}

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

func NewSleepModeConfigRegistry

func NewSleepModeConfigRegistry(sp builders.StandardStorageProvider) SleepModeConfigRegistry

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

type SleepModeConfigSpec

type SleepModeConfigSpec struct {
	ForceSleep              bool   `json:"forceSleep,omitempty"`
	ForceSleepDuration      *int64 `json:"forceSleepDuration,omitempty"`
	DeleteAfter             int64  `json:"deleteAfter,omitempty"`
	SleepAfter              int64  `json:"sleepAfter,omitempty"`
	SleepSchedule           string `json:"sleepSchedule,omitempty"`
	WakeupSchedule          string `json:"wakeupSchedule,omitempty"`
	Timezone                string `json:"timezone,omitempty"`
	IgnoreActiveConnections bool   `json:"ignoreActiveConnections,omitempty"`
	IgnoreAll               bool   `json:"ignoreAll,omitempty"`
	IgnoreIngresses         bool   `json:"ignoreIngresses,omitempty"`
	IgnoreVClusters         bool   `json:"ignoreVClusters,omitempty"`
	IgnoreGroups            string `json:"ignoreGroups,omitempty"`
	IgnoreVerbs             string `json:"ignoreVerbs,omitempty"`
	IgnoreResources         string `json:"ignoreResources,omitempty"`
	IgnoreResourceVerbs     string `json:"ignoreResourceVerbs,omitempty"`
	IgnoreResourceNames     string `json:"ignoreResourceNames,omitempty"`
	IgnoreUseragents        string `json:"ignoreUserAgents,omitempty"`
}

func (*SleepModeConfigSpec) DeepCopy

func (in *SleepModeConfigSpec) DeepCopy() *SleepModeConfigSpec

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

func (*SleepModeConfigSpec) DeepCopyInto

func (in *SleepModeConfigSpec) DeepCopyInto(out *SleepModeConfigSpec)

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

type SleepModeConfigStatus

type SleepModeConfigStatus struct {
	LastActivity        int64             `json:"lastActivity,omitempty"`
	LastActivityInfo    *LastActivityInfo `json:"lastActivityInfo,omitempty"`
	SleepingSince       int64             `json:"sleepingSince,omitempty"`
	CurrentEpoch        *EpochInfo        `json:"currentEpoch,omitempty"`
	LastEpoch           *EpochInfo        `json:"lastEpoch,omitempty"`
	SleptLastThirtyDays *float64          `json:"sleptLastThirtyDays,omitempty"`
	SleptLastSevenDays  *float64          `json:"sleptLastSevenDays,omitempty"`
	ScheduledSleep      *int64            `json:"scheduledSleep,omitempty"`
	ScheduledWakeup     *int64            `json:"scheduledWakeup,omitempty"`
	SleepType           string            `json:"sleepType,omitempty"`
}

func (*SleepModeConfigStatus) DeepCopy

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

func (*SleepModeConfigStatus) DeepCopyInto

func (in *SleepModeConfigStatus) DeepCopyInto(out *SleepModeConfigStatus)

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

type SleepModeConfigStatusStrategy

type SleepModeConfigStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type SleepModeConfigStrategy

type SleepModeConfigStrategy struct {
	builders.DefaultStorageStrategy
}

SleepModeConfig Functions and Structs

+k8s:deepcopy-gen=false

type Space

type Space struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SpaceSpec   `json:"spec,omitempty"`
	Status            SpaceStatus `json:"status,omitempty"`
}

func (*Space) DeepCopy

func (in *Space) DeepCopy() *Space

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

func (*Space) DeepCopyInto

func (in *Space) DeepCopyInto(out *Space)

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

func (*Space) DeepCopyObject

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

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

func (Space) GetGeneration

func (pc Space) GetGeneration() int64

func (*Space) GetObjectMeta

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

func (*Space) GetSpec

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

func (*Space) GetStatus

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

func (Space) NewStatus

func (Space) NewStatus() interface{}

func (*Space) SetGeneration

func (pc *Space) SetGeneration(generation int64)

func (*Space) SetSpec

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

func (*Space) SetStatus

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

type SpaceList

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

func (*SpaceList) DeepCopy

func (in *SpaceList) DeepCopy() *SpaceList

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

func (*SpaceList) DeepCopyInto

func (in *SpaceList) DeepCopyInto(out *SpaceList)

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

func (*SpaceList) DeepCopyObject

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

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

type SpaceObjectsNamespaceStatus

type SpaceObjectsNamespaceStatus struct {
	Phase          string          `json:"phase,omitempty"`
	Reason         string          `json:"reason,omitempty"`
	Message        string          `json:"message,omitempty"`
	AppliedObjects []AppliedObject `json:"appliedObjects,omitempty"`
}

func (*SpaceObjectsNamespaceStatus) DeepCopy

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

func (*SpaceObjectsNamespaceStatus) DeepCopyInto

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

type SpaceRegistry

type SpaceRegistry interface {
	ListSpaces(ctx context.Context, options *internalversion.ListOptions) (*SpaceList, error)
	GetSpace(ctx context.Context, id string, options *metav1.GetOptions) (*Space, error)
	CreateSpace(ctx context.Context, id *Space) (*Space, error)
	UpdateSpace(ctx context.Context, id *Space) (*Space, error)
	DeleteSpace(ctx context.Context, id string) (bool, error)
}

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

func NewSpaceRegistry

func NewSpaceRegistry(sp builders.StandardStorageProvider) SpaceRegistry

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

type SpaceSpec

type SpaceSpec struct {
	User       string                 `json:"user,omitempty"`
	Team       string                 `json:"team,omitempty"`
	Objects    string                 `json:"objects,omitempty"`
	Finalizers []corev1.FinalizerName `json:"finalizers,omitempty"`
}

func (*SpaceSpec) DeepCopy

func (in *SpaceSpec) DeepCopy() *SpaceSpec

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

func (*SpaceSpec) DeepCopyInto

func (in *SpaceSpec) DeepCopyInto(out *SpaceSpec)

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

type SpaceStatus

type SpaceStatus struct {
	Phase              corev1.NamespacePhase        `json:"phase,omitempty"`
	SleepModeConfig    *SleepModeConfig             `json:"sleepModeConfig,omitempty"`
	Owner              *UserOrTeam                  `json:"owner,omitempty"`
	SpaceObjectsStatus *SpaceObjectsNamespaceStatus `json:"spaceObjectsStatus,omitempty"`
	TemplateSyncStatus *TemplateSyncStatus          `json:"templateSyncStatus,omitempty"`
}

func (*SpaceStatus) DeepCopy

func (in *SpaceStatus) DeepCopy() *SpaceStatus

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

func (*SpaceStatus) DeepCopyInto

func (in *SpaceStatus) DeepCopyInto(out *SpaceStatus)

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

type SpaceStatusStrategy

type SpaceStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type SpaceStrategy

type SpaceStrategy struct {
	builders.DefaultStorageStrategy
}

Space Functions and Structs

+k8s:deepcopy-gen=false

type Status

type Status string

type TemplateSyncStatus

type TemplateSyncStatus struct {
	Template string `json:"template,omitempty"`
	Phase    string `json:"phase,omitempty"`
}

func (*TemplateSyncStatus) DeepCopy

func (in *TemplateSyncStatus) DeepCopy() *TemplateSyncStatus

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

func (*TemplateSyncStatus) DeepCopyInto

func (in *TemplateSyncStatus) DeepCopyInto(out *TemplateSyncStatus)

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

type UserOrTeam

type UserOrTeam struct {
	User *EntityInfo `json:"user,omitempty"`
	Team *EntityInfo `json:"team,omitempty"`
}

func (*UserOrTeam) DeepCopy

func (in *UserOrTeam) DeepCopy() *UserOrTeam

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

func (*UserOrTeam) DeepCopyInto

func (in *UserOrTeam) DeepCopyInto(out *UserOrTeam)

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

type VirtualCluster

type VirtualCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VirtualClusterSpec   `json:"spec,omitempty"`
	Status            VirtualClusterStatus `json:"status,omitempty"`
}

func (*VirtualCluster) DeepCopy

func (in *VirtualCluster) DeepCopy() *VirtualCluster

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

func (*VirtualCluster) DeepCopyInto

func (in *VirtualCluster) DeepCopyInto(out *VirtualCluster)

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

func (*VirtualCluster) DeepCopyObject

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

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

func (VirtualCluster) GetGeneration

func (pc VirtualCluster) GetGeneration() int64

func (*VirtualCluster) GetObjectMeta

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

func (*VirtualCluster) GetSpec

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

func (*VirtualCluster) GetStatus

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

func (VirtualCluster) NewStatus

func (VirtualCluster) NewStatus() interface{}

func (*VirtualCluster) SetGeneration

func (pc *VirtualCluster) SetGeneration(generation int64)

func (*VirtualCluster) SetSpec

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

func (*VirtualCluster) SetStatus

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

type VirtualClusterList

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

func (*VirtualClusterList) DeepCopy

func (in *VirtualClusterList) DeepCopy() *VirtualClusterList

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

func (*VirtualClusterList) DeepCopyInto

func (in *VirtualClusterList) DeepCopyInto(out *VirtualClusterList)

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

func (*VirtualClusterList) DeepCopyObject

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

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

type VirtualClusterRegistry

type VirtualClusterRegistry interface {
	ListVirtualClusters(ctx context.Context, options *internalversion.ListOptions) (*VirtualClusterList, error)
	GetVirtualCluster(ctx context.Context, id string, options *metav1.GetOptions) (*VirtualCluster, error)
	CreateVirtualCluster(ctx context.Context, id *VirtualCluster) (*VirtualCluster, error)
	UpdateVirtualCluster(ctx context.Context, id *VirtualCluster) (*VirtualCluster, error)
	DeleteVirtualCluster(ctx context.Context, id string) (bool, error)
}

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

func NewVirtualClusterRegistry

func NewVirtualClusterRegistry(sp builders.StandardStorageProvider) VirtualClusterRegistry

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

type VirtualClusterSpec

type VirtualClusterSpec struct {
	storagev1.VirtualClusterSpec `json:",inline"`
}

func (*VirtualClusterSpec) DeepCopy

func (in *VirtualClusterSpec) DeepCopy() *VirtualClusterSpec

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

func (*VirtualClusterSpec) DeepCopyInto

func (in *VirtualClusterSpec) DeepCopyInto(out *VirtualClusterSpec)

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

type VirtualClusterStatus

type VirtualClusterStatus struct {
	storagev1.VirtualClusterStatus `json:",inline"`
	SyncerPod                      *corev1.Pod         `json:"syncerPod,omitempty"`
	ClusterPod                     *corev1.Pod         `json:"clusterPod,omitempty"`
	SleepModeConfig                *SleepModeConfig    `json:"sleepModeConfig,omitempty"`
	TemplateSyncStatus             *TemplateSyncStatus `json:"templateSyncStatus,omitempty"`
}

func (*VirtualClusterStatus) DeepCopy

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

func (*VirtualClusterStatus) DeepCopyInto

func (in *VirtualClusterStatus) DeepCopyInto(out *VirtualClusterStatus)

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

type VirtualClusterStatusStrategy

type VirtualClusterStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type VirtualClusterStrategy

type VirtualClusterStrategy struct {
	builders.DefaultStorageStrategy
}

VirtualCluster Functions and Structs

+k8s:deepcopy-gen=false

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