v1

package
v3.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MPL-2.0 Imports: 10 Imported by: 21

Documentation

Overview

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

Index

Constants

View Source
const (
	SleepModeForceAnnotation          = "sleepmode.loft.sh/force"
	SleepModeForceDurationAnnotation  = "sleepmode.loft.sh/force-duration"
	SleepModeSleepAfterAnnotation     = "sleepmode.loft.sh/sleep-after"
	SleepModeDeleteAfterAnnotation    = "sleepmode.loft.sh/delete-after"
	SleepModeSleepScheduleAnnotation  = "sleepmode.loft.sh/sleep-schedule"
	SleepModeWakeupScheduleAnnotation = "sleepmode.loft.sh/wakeup-schedule"
	SleepModeTimezoneAnnotation       = "sleepmode.loft.sh/timezone"

	SleepModeLastActivityAnnotation      = "sleepmode.loft.sh/last-activity"
	SleepModeLastActivityAnnotationInfo  = "sleepmode.loft.sh/last-activity-info"
	SleepModeSleepingSinceAnnotation     = "sleepmode.loft.sh/sleeping-since"
	SleepModeCurrentEpochStartAnnotation = "sleepmode.loft.sh/current-epoch-start"
	SleepModeCurrentEpochSleptAnnotation = "sleepmode.loft.sh/current-epoch-slept"
	SleepModeLastEpochStartAnnotation    = "sleepmode.loft.sh/last-epoch-start"
	SleepModeLastEpochSleptAnnotation    = "sleepmode.loft.sh/last-epoch-slept"
	SleepModeScheduledSleepAnnotation    = "sleepmode.loft.sh/scheduled-sleep"
	SleepModeScheduledWakeupAnnotation   = "sleepmode.loft.sh/scheduled-wakeup"
	SleepModeSleepTypeAnnotation         = "sleepmode.loft.sh/sleep-type"
	SleepModeDisableIngressWakeup        = "sleepmode.loft.sh/disable-ingress-wakeup"
	SleepModeDisableMetricsTracking      = "sleepmode.loft.sh/disable-metrics-tracking"

	// Not yet in spec annotations
	SleepModeIgnoreAll                     = "sleepmode.loft.sh/ignore-all"
	SleepModeIgnoreIngresses               = "sleepmode.loft.sh/ignore-ingresses"
	SleepModeIgnoreGroupsAnnotation        = "sleepmode.loft.sh/ignore-groups"
	SleepModeIgnoreVClustersAnnotation     = "sleepmode.loft.sh/ignore-vclusters"
	SleepModeIgnoreResourcesAnnotation     = "sleepmode.loft.sh/ignore-resources"
	SleepModeIgnoreVerbsAnnotation         = "sleepmode.loft.sh/ignore-verbs"
	SleepModeIgnoreResourceVerbsAnnotation = "sleepmode.loft.sh/ignore-resource-verbs" // format: myresource.mygroup=create update delete, myresource2.mygroup=create update
	SleepModeIgnoreResourceNamesAnnotation = "sleepmode.loft.sh/ignore-resource-names" // format: myresource.mygroup=name1 name2
	SleepModeIgnoreActiveConnections       = "sleepmode.loft.sh/ignore-active-connections"
	SleepModeIgnoreUserAgents              = "sleepmode.loft.sh/ignore-user-agents" // format: useragent1,useragentprefix/*,*

	SleepTypeInactivity     = "inactivitySleep"
	SleepTypeForced         = "forcedSleep"
	SleepTypeForcedDuration = "forcedDurationSleep"
	SleepTypeScheduled      = "scheduledSleep"
)
View Source
const (
	PhaseSynced = "Synced"
	PhaseError  = "Error"
)
View Source
const (
	OutOfSyncPhase = "OutOfSync"
)
View Source
const (
	SpacePodSecurityLabel = "policy.loft.sh/pod-security"
)

Variables

View Source
var (
	ApiVersion = builders.NewApiVersion("cluster.loft.sh", "v1").WithResources(
		cluster.ClusterChartInfoStorage,
		cluster.ClusterClusterQuotaStorage,
		cluster.ClusterFeatureStorage,
		cluster.ClusterHelmReleaseStorage,
		cluster.ClusterLocalClusterAccessStorage,
		cluster.ClusterSleepModeConfigStorage,
		cluster.ClusterSpaceStorage,
		cluster.ClusterVirtualClusterStorage,
	)

	// Required by code generated by go2idl
	AddToScheme = (&runtime.SchemeBuilder{
		ApiVersion.SchemeBuilder.AddToScheme,
		RegisterDefaults,
		RegisterConversions,
		addKnownTypes,
		func(scheme *runtime.Scheme) error {
			metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
			return nil
		},
	}).AddToScheme

	SchemeBuilder = ApiVersion.SchemeBuilder

	SchemeGroupVersion = ApiVersion.GroupVersion
)

Functions

func Convert_cluster_AppliedObject_To_v1_AppliedObject

func Convert_cluster_AppliedObject_To_v1_AppliedObject(in *cluster.AppliedObject, out *AppliedObject, s conversion.Scope) error

Convert_cluster_AppliedObject_To_v1_AppliedObject is an autogenerated conversion function.

func Convert_cluster_Bash_To_v1_Bash

func Convert_cluster_Bash_To_v1_Bash(in *cluster.Bash, out *Bash, s conversion.Scope) error

Convert_cluster_Bash_To_v1_Bash is an autogenerated conversion function.

func Convert_cluster_ChartInfoList_To_v1_ChartInfoList

func Convert_cluster_ChartInfoList_To_v1_ChartInfoList(in *cluster.ChartInfoList, out *ChartInfoList, s conversion.Scope) error

Convert_cluster_ChartInfoList_To_v1_ChartInfoList is an autogenerated conversion function.

func Convert_cluster_ChartInfoSpec_To_v1_ChartInfoSpec

func Convert_cluster_ChartInfoSpec_To_v1_ChartInfoSpec(in *cluster.ChartInfoSpec, out *ChartInfoSpec, s conversion.Scope) error

Convert_cluster_ChartInfoSpec_To_v1_ChartInfoSpec is an autogenerated conversion function.

func Convert_cluster_ChartInfoStatus_To_v1_ChartInfoStatus

func Convert_cluster_ChartInfoStatus_To_v1_ChartInfoStatus(in *cluster.ChartInfoStatus, out *ChartInfoStatus, s conversion.Scope) error

Convert_cluster_ChartInfoStatus_To_v1_ChartInfoStatus is an autogenerated conversion function.

func Convert_cluster_ChartInfo_To_v1_ChartInfo

func Convert_cluster_ChartInfo_To_v1_ChartInfo(in *cluster.ChartInfo, out *ChartInfo, s conversion.Scope) error

Convert_cluster_ChartInfo_To_v1_ChartInfo is an autogenerated conversion function.

func Convert_cluster_ClusterQuotaList_To_v1_ClusterQuotaList

func Convert_cluster_ClusterQuotaList_To_v1_ClusterQuotaList(in *cluster.ClusterQuotaList, out *ClusterQuotaList, s conversion.Scope) error

Convert_cluster_ClusterQuotaList_To_v1_ClusterQuotaList is an autogenerated conversion function.

func Convert_cluster_ClusterQuotaSpec_To_v1_ClusterQuotaSpec

func Convert_cluster_ClusterQuotaSpec_To_v1_ClusterQuotaSpec(in *cluster.ClusterQuotaSpec, out *ClusterQuotaSpec, s conversion.Scope) error

Convert_cluster_ClusterQuotaSpec_To_v1_ClusterQuotaSpec is an autogenerated conversion function.

func Convert_cluster_ClusterQuotaStatus_To_v1_ClusterQuotaStatus

func Convert_cluster_ClusterQuotaStatus_To_v1_ClusterQuotaStatus(in *cluster.ClusterQuotaStatus, out *ClusterQuotaStatus, s conversion.Scope) error

Convert_cluster_ClusterQuotaStatus_To_v1_ClusterQuotaStatus is an autogenerated conversion function.

func Convert_cluster_ClusterQuota_To_v1_ClusterQuota

func Convert_cluster_ClusterQuota_To_v1_ClusterQuota(in *cluster.ClusterQuota, out *ClusterQuota, s conversion.Scope) error

Convert_cluster_ClusterQuota_To_v1_ClusterQuota is an autogenerated conversion function.

func Convert_cluster_EntityInfo_To_v1_EntityInfo

func Convert_cluster_EntityInfo_To_v1_EntityInfo(in *cluster.EntityInfo, out *EntityInfo, s conversion.Scope) error

Convert_cluster_EntityInfo_To_v1_EntityInfo is an autogenerated conversion function.

func Convert_cluster_EpochInfo_To_v1_EpochInfo

func Convert_cluster_EpochInfo_To_v1_EpochInfo(in *cluster.EpochInfo, out *EpochInfo, s conversion.Scope) error

Convert_cluster_EpochInfo_To_v1_EpochInfo is an autogenerated conversion function.

func Convert_cluster_FeatureList_To_v1_FeatureList

func Convert_cluster_FeatureList_To_v1_FeatureList(in *cluster.FeatureList, out *FeatureList, s conversion.Scope) error

Convert_cluster_FeatureList_To_v1_FeatureList is an autogenerated conversion function.

func Convert_cluster_FeatureSpec_To_v1_FeatureSpec

func Convert_cluster_FeatureSpec_To_v1_FeatureSpec(in *cluster.FeatureSpec, out *FeatureSpec, s conversion.Scope) error

Convert_cluster_FeatureSpec_To_v1_FeatureSpec is an autogenerated conversion function.

func Convert_cluster_FeatureStatus_To_v1_FeatureStatus

func Convert_cluster_FeatureStatus_To_v1_FeatureStatus(in *cluster.FeatureStatus, out *FeatureStatus, s conversion.Scope) error

Convert_cluster_FeatureStatus_To_v1_FeatureStatus is an autogenerated conversion function.

func Convert_cluster_Feature_To_v1_Feature

func Convert_cluster_Feature_To_v1_Feature(in *cluster.Feature, out *Feature, s conversion.Scope) error

Convert_cluster_Feature_To_v1_Feature is an autogenerated conversion function.

func Convert_cluster_HelmReleaseConfig_To_v1_HelmReleaseConfig

func Convert_cluster_HelmReleaseConfig_To_v1_HelmReleaseConfig(in *cluster.HelmReleaseConfig, out *HelmReleaseConfig, s conversion.Scope) error

Convert_cluster_HelmReleaseConfig_To_v1_HelmReleaseConfig is an autogenerated conversion function.

func Convert_cluster_HelmReleaseList_To_v1_HelmReleaseList

func Convert_cluster_HelmReleaseList_To_v1_HelmReleaseList(in *cluster.HelmReleaseList, out *HelmReleaseList, s conversion.Scope) error

Convert_cluster_HelmReleaseList_To_v1_HelmReleaseList is an autogenerated conversion function.

func Convert_cluster_HelmReleaseSpec_To_v1_HelmReleaseSpec

func Convert_cluster_HelmReleaseSpec_To_v1_HelmReleaseSpec(in *cluster.HelmReleaseSpec, out *HelmReleaseSpec, s conversion.Scope) error

Convert_cluster_HelmReleaseSpec_To_v1_HelmReleaseSpec is an autogenerated conversion function.

func Convert_cluster_HelmReleaseStatus_To_v1_HelmReleaseStatus

func Convert_cluster_HelmReleaseStatus_To_v1_HelmReleaseStatus(in *cluster.HelmReleaseStatus, out *HelmReleaseStatus, s conversion.Scope) error

Convert_cluster_HelmReleaseStatus_To_v1_HelmReleaseStatus is an autogenerated conversion function.

func Convert_cluster_HelmRelease_To_v1_HelmRelease

func Convert_cluster_HelmRelease_To_v1_HelmRelease(in *cluster.HelmRelease, out *HelmRelease, s conversion.Scope) error

Convert_cluster_HelmRelease_To_v1_HelmRelease is an autogenerated conversion function.

func Convert_cluster_Info_To_v1_Info

func Convert_cluster_Info_To_v1_Info(in *cluster.Info, out *Info, s conversion.Scope) error

Convert_cluster_Info_To_v1_Info is an autogenerated conversion function.

func Convert_cluster_LastActivityInfo_To_v1_LastActivityInfo

func Convert_cluster_LastActivityInfo_To_v1_LastActivityInfo(in *cluster.LastActivityInfo, out *LastActivityInfo, s conversion.Scope) error

Convert_cluster_LastActivityInfo_To_v1_LastActivityInfo is an autogenerated conversion function.

func Convert_cluster_LocalClusterAccessList_To_v1_LocalClusterAccessList

func Convert_cluster_LocalClusterAccessList_To_v1_LocalClusterAccessList(in *cluster.LocalClusterAccessList, out *LocalClusterAccessList, s conversion.Scope) error

Convert_cluster_LocalClusterAccessList_To_v1_LocalClusterAccessList is an autogenerated conversion function.

func Convert_cluster_LocalClusterAccessSpec_To_v1_LocalClusterAccessSpec

func Convert_cluster_LocalClusterAccessSpec_To_v1_LocalClusterAccessSpec(in *cluster.LocalClusterAccessSpec, out *LocalClusterAccessSpec, s conversion.Scope) error

Convert_cluster_LocalClusterAccessSpec_To_v1_LocalClusterAccessSpec is an autogenerated conversion function.

func Convert_cluster_LocalClusterAccessStatus_To_v1_LocalClusterAccessStatus

func Convert_cluster_LocalClusterAccessStatus_To_v1_LocalClusterAccessStatus(in *cluster.LocalClusterAccessStatus, out *LocalClusterAccessStatus, s conversion.Scope) error

Convert_cluster_LocalClusterAccessStatus_To_v1_LocalClusterAccessStatus is an autogenerated conversion function.

func Convert_cluster_LocalClusterAccess_To_v1_LocalClusterAccess

func Convert_cluster_LocalClusterAccess_To_v1_LocalClusterAccess(in *cluster.LocalClusterAccess, out *LocalClusterAccess, s conversion.Scope) error

Convert_cluster_LocalClusterAccess_To_v1_LocalClusterAccess is an autogenerated conversion function.

func Convert_cluster_Maintainer_To_v1_Maintainer

func Convert_cluster_Maintainer_To_v1_Maintainer(in *cluster.Maintainer, out *Maintainer, s conversion.Scope) error

Convert_cluster_Maintainer_To_v1_Maintainer is an autogenerated conversion function.

func Convert_cluster_Metadata_To_v1_Metadata

func Convert_cluster_Metadata_To_v1_Metadata(in *cluster.Metadata, out *Metadata, s conversion.Scope) error

Convert_cluster_Metadata_To_v1_Metadata is an autogenerated conversion function.

func Convert_cluster_SleepModeConfigList_To_v1_SleepModeConfigList

func Convert_cluster_SleepModeConfigList_To_v1_SleepModeConfigList(in *cluster.SleepModeConfigList, out *SleepModeConfigList, s conversion.Scope) error

Convert_cluster_SleepModeConfigList_To_v1_SleepModeConfigList is an autogenerated conversion function.

func Convert_cluster_SleepModeConfigSpec_To_v1_SleepModeConfigSpec

func Convert_cluster_SleepModeConfigSpec_To_v1_SleepModeConfigSpec(in *cluster.SleepModeConfigSpec, out *SleepModeConfigSpec, s conversion.Scope) error

Convert_cluster_SleepModeConfigSpec_To_v1_SleepModeConfigSpec is an autogenerated conversion function.

func Convert_cluster_SleepModeConfigStatus_To_v1_SleepModeConfigStatus

func Convert_cluster_SleepModeConfigStatus_To_v1_SleepModeConfigStatus(in *cluster.SleepModeConfigStatus, out *SleepModeConfigStatus, s conversion.Scope) error

Convert_cluster_SleepModeConfigStatus_To_v1_SleepModeConfigStatus is an autogenerated conversion function.

func Convert_cluster_SleepModeConfig_To_v1_SleepModeConfig

func Convert_cluster_SleepModeConfig_To_v1_SleepModeConfig(in *cluster.SleepModeConfig, out *SleepModeConfig, s conversion.Scope) error

Convert_cluster_SleepModeConfig_To_v1_SleepModeConfig is an autogenerated conversion function.

func Convert_cluster_SpaceList_To_v1_SpaceList

func Convert_cluster_SpaceList_To_v1_SpaceList(in *cluster.SpaceList, out *SpaceList, s conversion.Scope) error

Convert_cluster_SpaceList_To_v1_SpaceList is an autogenerated conversion function.

func Convert_cluster_SpaceObjectsNamespaceStatus_To_v1_SpaceObjectsNamespaceStatus

func Convert_cluster_SpaceObjectsNamespaceStatus_To_v1_SpaceObjectsNamespaceStatus(in *cluster.SpaceObjectsNamespaceStatus, out *SpaceObjectsNamespaceStatus, s conversion.Scope) error

Convert_cluster_SpaceObjectsNamespaceStatus_To_v1_SpaceObjectsNamespaceStatus is an autogenerated conversion function.

func Convert_cluster_SpaceSpec_To_v1_SpaceSpec

func Convert_cluster_SpaceSpec_To_v1_SpaceSpec(in *cluster.SpaceSpec, out *SpaceSpec, s conversion.Scope) error

Convert_cluster_SpaceSpec_To_v1_SpaceSpec is an autogenerated conversion function.

func Convert_cluster_SpaceStatus_To_v1_SpaceStatus

func Convert_cluster_SpaceStatus_To_v1_SpaceStatus(in *cluster.SpaceStatus, out *SpaceStatus, s conversion.Scope) error

Convert_cluster_SpaceStatus_To_v1_SpaceStatus is an autogenerated conversion function.

func Convert_cluster_Space_To_v1_Space

func Convert_cluster_Space_To_v1_Space(in *cluster.Space, out *Space, s conversion.Scope) error

Convert_cluster_Space_To_v1_Space is an autogenerated conversion function.

func Convert_cluster_TemplateSyncStatus_To_v1_TemplateSyncStatus

func Convert_cluster_TemplateSyncStatus_To_v1_TemplateSyncStatus(in *cluster.TemplateSyncStatus, out *TemplateSyncStatus, s conversion.Scope) error

Convert_cluster_TemplateSyncStatus_To_v1_TemplateSyncStatus is an autogenerated conversion function.

func Convert_cluster_UserOrTeam_To_v1_UserOrTeam

func Convert_cluster_UserOrTeam_To_v1_UserOrTeam(in *cluster.UserOrTeam, out *UserOrTeam, s conversion.Scope) error

Convert_cluster_UserOrTeam_To_v1_UserOrTeam is an autogenerated conversion function.

func Convert_cluster_VirtualClusterList_To_v1_VirtualClusterList

func Convert_cluster_VirtualClusterList_To_v1_VirtualClusterList(in *cluster.VirtualClusterList, out *VirtualClusterList, s conversion.Scope) error

Convert_cluster_VirtualClusterList_To_v1_VirtualClusterList is an autogenerated conversion function.

func Convert_cluster_VirtualClusterSpec_To_v1_VirtualClusterSpec

func Convert_cluster_VirtualClusterSpec_To_v1_VirtualClusterSpec(in *cluster.VirtualClusterSpec, out *VirtualClusterSpec, s conversion.Scope) error

Convert_cluster_VirtualClusterSpec_To_v1_VirtualClusterSpec is an autogenerated conversion function.

func Convert_cluster_VirtualClusterStatus_To_v1_VirtualClusterStatus

func Convert_cluster_VirtualClusterStatus_To_v1_VirtualClusterStatus(in *cluster.VirtualClusterStatus, out *VirtualClusterStatus, s conversion.Scope) error

Convert_cluster_VirtualClusterStatus_To_v1_VirtualClusterStatus is an autogenerated conversion function.

func Convert_cluster_VirtualCluster_To_v1_VirtualCluster

func Convert_cluster_VirtualCluster_To_v1_VirtualCluster(in *cluster.VirtualCluster, out *VirtualCluster, s conversion.Scope) error

Convert_cluster_VirtualCluster_To_v1_VirtualCluster is an autogenerated conversion function.

func Convert_v1_AppliedObject_To_cluster_AppliedObject

func Convert_v1_AppliedObject_To_cluster_AppliedObject(in *AppliedObject, out *cluster.AppliedObject, s conversion.Scope) error

Convert_v1_AppliedObject_To_cluster_AppliedObject is an autogenerated conversion function.

func Convert_v1_Bash_To_cluster_Bash

func Convert_v1_Bash_To_cluster_Bash(in *Bash, out *cluster.Bash, s conversion.Scope) error

Convert_v1_Bash_To_cluster_Bash is an autogenerated conversion function.

func Convert_v1_ChartInfoList_To_cluster_ChartInfoList

func Convert_v1_ChartInfoList_To_cluster_ChartInfoList(in *ChartInfoList, out *cluster.ChartInfoList, s conversion.Scope) error

Convert_v1_ChartInfoList_To_cluster_ChartInfoList is an autogenerated conversion function.

func Convert_v1_ChartInfoSpec_To_cluster_ChartInfoSpec

func Convert_v1_ChartInfoSpec_To_cluster_ChartInfoSpec(in *ChartInfoSpec, out *cluster.ChartInfoSpec, s conversion.Scope) error

Convert_v1_ChartInfoSpec_To_cluster_ChartInfoSpec is an autogenerated conversion function.

func Convert_v1_ChartInfoStatus_To_cluster_ChartInfoStatus

func Convert_v1_ChartInfoStatus_To_cluster_ChartInfoStatus(in *ChartInfoStatus, out *cluster.ChartInfoStatus, s conversion.Scope) error

Convert_v1_ChartInfoStatus_To_cluster_ChartInfoStatus is an autogenerated conversion function.

func Convert_v1_ChartInfo_To_cluster_ChartInfo

func Convert_v1_ChartInfo_To_cluster_ChartInfo(in *ChartInfo, out *cluster.ChartInfo, s conversion.Scope) error

Convert_v1_ChartInfo_To_cluster_ChartInfo is an autogenerated conversion function.

func Convert_v1_ClusterQuotaList_To_cluster_ClusterQuotaList

func Convert_v1_ClusterQuotaList_To_cluster_ClusterQuotaList(in *ClusterQuotaList, out *cluster.ClusterQuotaList, s conversion.Scope) error

Convert_v1_ClusterQuotaList_To_cluster_ClusterQuotaList is an autogenerated conversion function.

func Convert_v1_ClusterQuotaSpec_To_cluster_ClusterQuotaSpec

func Convert_v1_ClusterQuotaSpec_To_cluster_ClusterQuotaSpec(in *ClusterQuotaSpec, out *cluster.ClusterQuotaSpec, s conversion.Scope) error

Convert_v1_ClusterQuotaSpec_To_cluster_ClusterQuotaSpec is an autogenerated conversion function.

func Convert_v1_ClusterQuotaStatus_To_cluster_ClusterQuotaStatus

func Convert_v1_ClusterQuotaStatus_To_cluster_ClusterQuotaStatus(in *ClusterQuotaStatus, out *cluster.ClusterQuotaStatus, s conversion.Scope) error

Convert_v1_ClusterQuotaStatus_To_cluster_ClusterQuotaStatus is an autogenerated conversion function.

func Convert_v1_ClusterQuota_To_cluster_ClusterQuota

func Convert_v1_ClusterQuota_To_cluster_ClusterQuota(in *ClusterQuota, out *cluster.ClusterQuota, s conversion.Scope) error

Convert_v1_ClusterQuota_To_cluster_ClusterQuota is an autogenerated conversion function.

func Convert_v1_EntityInfo_To_cluster_EntityInfo

func Convert_v1_EntityInfo_To_cluster_EntityInfo(in *EntityInfo, out *cluster.EntityInfo, s conversion.Scope) error

Convert_v1_EntityInfo_To_cluster_EntityInfo is an autogenerated conversion function.

func Convert_v1_EpochInfo_To_cluster_EpochInfo

func Convert_v1_EpochInfo_To_cluster_EpochInfo(in *EpochInfo, out *cluster.EpochInfo, s conversion.Scope) error

Convert_v1_EpochInfo_To_cluster_EpochInfo is an autogenerated conversion function.

func Convert_v1_FeatureList_To_cluster_FeatureList

func Convert_v1_FeatureList_To_cluster_FeatureList(in *FeatureList, out *cluster.FeatureList, s conversion.Scope) error

Convert_v1_FeatureList_To_cluster_FeatureList is an autogenerated conversion function.

func Convert_v1_FeatureSpec_To_cluster_FeatureSpec

func Convert_v1_FeatureSpec_To_cluster_FeatureSpec(in *FeatureSpec, out *cluster.FeatureSpec, s conversion.Scope) error

Convert_v1_FeatureSpec_To_cluster_FeatureSpec is an autogenerated conversion function.

func Convert_v1_FeatureStatus_To_cluster_FeatureStatus

func Convert_v1_FeatureStatus_To_cluster_FeatureStatus(in *FeatureStatus, out *cluster.FeatureStatus, s conversion.Scope) error

Convert_v1_FeatureStatus_To_cluster_FeatureStatus is an autogenerated conversion function.

func Convert_v1_Feature_To_cluster_Feature

func Convert_v1_Feature_To_cluster_Feature(in *Feature, out *cluster.Feature, s conversion.Scope) error

Convert_v1_Feature_To_cluster_Feature is an autogenerated conversion function.

func Convert_v1_HelmReleaseConfig_To_cluster_HelmReleaseConfig

func Convert_v1_HelmReleaseConfig_To_cluster_HelmReleaseConfig(in *HelmReleaseConfig, out *cluster.HelmReleaseConfig, s conversion.Scope) error

Convert_v1_HelmReleaseConfig_To_cluster_HelmReleaseConfig is an autogenerated conversion function.

func Convert_v1_HelmReleaseList_To_cluster_HelmReleaseList

func Convert_v1_HelmReleaseList_To_cluster_HelmReleaseList(in *HelmReleaseList, out *cluster.HelmReleaseList, s conversion.Scope) error

Convert_v1_HelmReleaseList_To_cluster_HelmReleaseList is an autogenerated conversion function.

func Convert_v1_HelmReleaseSpec_To_cluster_HelmReleaseSpec

func Convert_v1_HelmReleaseSpec_To_cluster_HelmReleaseSpec(in *HelmReleaseSpec, out *cluster.HelmReleaseSpec, s conversion.Scope) error

Convert_v1_HelmReleaseSpec_To_cluster_HelmReleaseSpec is an autogenerated conversion function.

func Convert_v1_HelmReleaseStatus_To_cluster_HelmReleaseStatus

func Convert_v1_HelmReleaseStatus_To_cluster_HelmReleaseStatus(in *HelmReleaseStatus, out *cluster.HelmReleaseStatus, s conversion.Scope) error

Convert_v1_HelmReleaseStatus_To_cluster_HelmReleaseStatus is an autogenerated conversion function.

func Convert_v1_HelmRelease_To_cluster_HelmRelease

func Convert_v1_HelmRelease_To_cluster_HelmRelease(in *HelmRelease, out *cluster.HelmRelease, s conversion.Scope) error

Convert_v1_HelmRelease_To_cluster_HelmRelease is an autogenerated conversion function.

func Convert_v1_Info_To_cluster_Info

func Convert_v1_Info_To_cluster_Info(in *Info, out *cluster.Info, s conversion.Scope) error

Convert_v1_Info_To_cluster_Info is an autogenerated conversion function.

func Convert_v1_LastActivityInfo_To_cluster_LastActivityInfo

func Convert_v1_LastActivityInfo_To_cluster_LastActivityInfo(in *LastActivityInfo, out *cluster.LastActivityInfo, s conversion.Scope) error

Convert_v1_LastActivityInfo_To_cluster_LastActivityInfo is an autogenerated conversion function.

func Convert_v1_LocalClusterAccessList_To_cluster_LocalClusterAccessList

func Convert_v1_LocalClusterAccessList_To_cluster_LocalClusterAccessList(in *LocalClusterAccessList, out *cluster.LocalClusterAccessList, s conversion.Scope) error

Convert_v1_LocalClusterAccessList_To_cluster_LocalClusterAccessList is an autogenerated conversion function.

func Convert_v1_LocalClusterAccessSpec_To_cluster_LocalClusterAccessSpec

func Convert_v1_LocalClusterAccessSpec_To_cluster_LocalClusterAccessSpec(in *LocalClusterAccessSpec, out *cluster.LocalClusterAccessSpec, s conversion.Scope) error

Convert_v1_LocalClusterAccessSpec_To_cluster_LocalClusterAccessSpec is an autogenerated conversion function.

func Convert_v1_LocalClusterAccessStatus_To_cluster_LocalClusterAccessStatus

func Convert_v1_LocalClusterAccessStatus_To_cluster_LocalClusterAccessStatus(in *LocalClusterAccessStatus, out *cluster.LocalClusterAccessStatus, s conversion.Scope) error

Convert_v1_LocalClusterAccessStatus_To_cluster_LocalClusterAccessStatus is an autogenerated conversion function.

func Convert_v1_LocalClusterAccess_To_cluster_LocalClusterAccess

func Convert_v1_LocalClusterAccess_To_cluster_LocalClusterAccess(in *LocalClusterAccess, out *cluster.LocalClusterAccess, s conversion.Scope) error

Convert_v1_LocalClusterAccess_To_cluster_LocalClusterAccess is an autogenerated conversion function.

func Convert_v1_Maintainer_To_cluster_Maintainer

func Convert_v1_Maintainer_To_cluster_Maintainer(in *Maintainer, out *cluster.Maintainer, s conversion.Scope) error

Convert_v1_Maintainer_To_cluster_Maintainer is an autogenerated conversion function.

func Convert_v1_Metadata_To_cluster_Metadata

func Convert_v1_Metadata_To_cluster_Metadata(in *Metadata, out *cluster.Metadata, s conversion.Scope) error

Convert_v1_Metadata_To_cluster_Metadata is an autogenerated conversion function.

func Convert_v1_SleepModeConfigList_To_cluster_SleepModeConfigList

func Convert_v1_SleepModeConfigList_To_cluster_SleepModeConfigList(in *SleepModeConfigList, out *cluster.SleepModeConfigList, s conversion.Scope) error

Convert_v1_SleepModeConfigList_To_cluster_SleepModeConfigList is an autogenerated conversion function.

func Convert_v1_SleepModeConfigSpec_To_cluster_SleepModeConfigSpec

func Convert_v1_SleepModeConfigSpec_To_cluster_SleepModeConfigSpec(in *SleepModeConfigSpec, out *cluster.SleepModeConfigSpec, s conversion.Scope) error

Convert_v1_SleepModeConfigSpec_To_cluster_SleepModeConfigSpec is an autogenerated conversion function.

func Convert_v1_SleepModeConfigStatus_To_cluster_SleepModeConfigStatus

func Convert_v1_SleepModeConfigStatus_To_cluster_SleepModeConfigStatus(in *SleepModeConfigStatus, out *cluster.SleepModeConfigStatus, s conversion.Scope) error

Convert_v1_SleepModeConfigStatus_To_cluster_SleepModeConfigStatus is an autogenerated conversion function.

func Convert_v1_SleepModeConfig_To_cluster_SleepModeConfig

func Convert_v1_SleepModeConfig_To_cluster_SleepModeConfig(in *SleepModeConfig, out *cluster.SleepModeConfig, s conversion.Scope) error

Convert_v1_SleepModeConfig_To_cluster_SleepModeConfig is an autogenerated conversion function.

func Convert_v1_SpaceList_To_cluster_SpaceList

func Convert_v1_SpaceList_To_cluster_SpaceList(in *SpaceList, out *cluster.SpaceList, s conversion.Scope) error

Convert_v1_SpaceList_To_cluster_SpaceList is an autogenerated conversion function.

func Convert_v1_SpaceObjectsNamespaceStatus_To_cluster_SpaceObjectsNamespaceStatus

func Convert_v1_SpaceObjectsNamespaceStatus_To_cluster_SpaceObjectsNamespaceStatus(in *SpaceObjectsNamespaceStatus, out *cluster.SpaceObjectsNamespaceStatus, s conversion.Scope) error

Convert_v1_SpaceObjectsNamespaceStatus_To_cluster_SpaceObjectsNamespaceStatus is an autogenerated conversion function.

func Convert_v1_SpaceSpec_To_cluster_SpaceSpec

func Convert_v1_SpaceSpec_To_cluster_SpaceSpec(in *SpaceSpec, out *cluster.SpaceSpec, s conversion.Scope) error

Convert_v1_SpaceSpec_To_cluster_SpaceSpec is an autogenerated conversion function.

func Convert_v1_SpaceStatus_To_cluster_SpaceStatus

func Convert_v1_SpaceStatus_To_cluster_SpaceStatus(in *SpaceStatus, out *cluster.SpaceStatus, s conversion.Scope) error

Convert_v1_SpaceStatus_To_cluster_SpaceStatus is an autogenerated conversion function.

func Convert_v1_Space_To_cluster_Space

func Convert_v1_Space_To_cluster_Space(in *Space, out *cluster.Space, s conversion.Scope) error

Convert_v1_Space_To_cluster_Space is an autogenerated conversion function.

func Convert_v1_TemplateSyncStatus_To_cluster_TemplateSyncStatus

func Convert_v1_TemplateSyncStatus_To_cluster_TemplateSyncStatus(in *TemplateSyncStatus, out *cluster.TemplateSyncStatus, s conversion.Scope) error

Convert_v1_TemplateSyncStatus_To_cluster_TemplateSyncStatus is an autogenerated conversion function.

func Convert_v1_UserOrTeam_To_cluster_UserOrTeam

func Convert_v1_UserOrTeam_To_cluster_UserOrTeam(in *UserOrTeam, out *cluster.UserOrTeam, s conversion.Scope) error

Convert_v1_UserOrTeam_To_cluster_UserOrTeam is an autogenerated conversion function.

func Convert_v1_VirtualClusterList_To_cluster_VirtualClusterList

func Convert_v1_VirtualClusterList_To_cluster_VirtualClusterList(in *VirtualClusterList, out *cluster.VirtualClusterList, s conversion.Scope) error

Convert_v1_VirtualClusterList_To_cluster_VirtualClusterList is an autogenerated conversion function.

func Convert_v1_VirtualClusterSpec_To_cluster_VirtualClusterSpec

func Convert_v1_VirtualClusterSpec_To_cluster_VirtualClusterSpec(in *VirtualClusterSpec, out *cluster.VirtualClusterSpec, s conversion.Scope) error

Convert_v1_VirtualClusterSpec_To_cluster_VirtualClusterSpec is an autogenerated conversion function.

func Convert_v1_VirtualClusterStatus_To_cluster_VirtualClusterStatus

func Convert_v1_VirtualClusterStatus_To_cluster_VirtualClusterStatus(in *VirtualClusterStatus, out *cluster.VirtualClusterStatus, s conversion.Scope) error

Convert_v1_VirtualClusterStatus_To_cluster_VirtualClusterStatus is an autogenerated conversion function.

func Convert_v1_VirtualCluster_To_cluster_VirtualCluster

func Convert_v1_VirtualCluster_To_cluster_VirtualCluster(in *VirtualCluster, out *cluster.VirtualCluster, s conversion.Scope) error

Convert_v1_VirtualCluster_To_cluster_VirtualCluster is an autogenerated conversion function.

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 RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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

func SetObjectDefaults_VirtualCluster

func SetObjectDefaults_VirtualCluster(in *VirtualCluster)

func SetObjectDefaults_VirtualClusterList

func SetObjectDefaults_VirtualClusterList(in *VirtualClusterList)

func SleepModeConfigAnnotationKeys

func SleepModeConfigAnnotationKeys() []string

SleepModeConfigAnnotationKeys returns relevant annotation keys that are evaluated in apimachinery/v2/pkg/sleepmode/extractSleepModeConfigs function. This is primarily used for knowing which annotations to copy from spaces to vcluster instances when importing vclusters to a project.

func SleepModeStatusAnnotationKeys

func SleepModeStatusAnnotationKeys() []string

Types

type AppliedMetadata

type AppliedMetadata struct {
	Annotations map[string]string `json:"annotations,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
}

func (*AppliedMetadata) DeepCopy

func (in *AppliedMetadata) DeepCopy() *AppliedMetadata

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

func (*AppliedMetadata) DeepCopyInto

func (in *AppliedMetadata) DeepCopyInto(out *AppliedMetadata)

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

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 is the script to execute.
	// +optional
	Script string `json:"script,omitempty"`

	// Image is the image to use for this app
	// +optional
	Image string `json:"image,omitempty"`

	// ClusterRole is the cluster role to use for this job
	// +optional
	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"`
}

+k8s:openapi-gen=true +resource:path=chartinfos,rest=ChartInfoREST

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.

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 ChartInfoSpec

type ChartInfoSpec struct {
	// Chart holds information about a chart that should get deployed
	// +optional
	Chart agentstoragev1.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 provides information about a chart
	// +optional
	Metadata *Metadata `json:"metadata,omitempty"`

	// Readme is the readme of the chart
	// +optional
	Readme string `json:"readme,omitempty"`

	// Values are the default values of the chart
	// +optional
	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 ClusterQuota

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

	Spec   ClusterQuotaSpec   `json:"spec,omitempty"`
	Status ClusterQuotaStatus `json:"status,omitempty"`
}

ClusterQuota holds the virtual cluster information +k8s:openapi-gen=true +resource:path=clusterquotas,rest=ClusterQuotaREST

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.

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 ClusterQuotaSpec

type ClusterQuotaSpec struct {
	agentstoragev1.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 {
	agentstoragev1.ClusterQuotaStatus `json:",inline"`

	// Owner describes the owner of the space. This can be either empty (nil), be a team or
	// an loft user. If the space has an account that does not belong to an user / team in loft
	// this is empty
	// +optional
	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 EntityInfo

type EntityInfo struct {
	// Name is the kubernetes name of the object
	Name string `json:"name,omitempty"`

	// The display name shown in the UI
	// +optional
	DisplayName string `json:"displayName,omitempty"`

	// Icon is the icon of the user / team
	// +optional
	Icon string `json:"icon,omitempty"`

	// The username that is used to login
	// +optional
	Username string `json:"username,omitempty"`

	// The users email address
	// +optional
	Email string `json:"email,omitempty"`

	// The user subject
	// +optional
	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 {
	// Timestamp when the epoch has started
	// +optional
	Start int64 `json:"start,omitempty"`
	// Amount of milliseconds the space has slept in the epoch
	// +optional
	Slept int64 `json:"slept,omitempty"`
}

EpochInfo holds information about how long the space was sleeping in the epoch

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"`
}

Feature holds the feature information +k8s:openapi-gen=true +resource:path=features,rest=FeatureREST

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.

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 FeatureSpec

type FeatureSpec struct {
}

FeatureSpec holds the specification

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 {
	// Feature contains all feature details (as typically returned by license service)
	licenseapi.Feature `json:",inline"`

	// Internal marks internal features that should not be shown on the license view
	// +optional
	Internal bool `json:"internal,omitempty"`

	// Used marks features that are currently used in the product
	// +optional
	Used bool `json:"used,omitempty"`
}

FeatureStatus holds the status

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 HelmRelease

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

	Spec   HelmReleaseSpec   `json:"spec,omitempty"`
	Status HelmReleaseStatus `json:"status,omitempty"`
}

+k8s:openapi-gen=true +resource:path=helmreleases,rest=HelmReleaseREST

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.

type HelmReleaseApp

type HelmReleaseApp struct {
	// Name is the name of the app this release refers to
	// +optional
	Name string `json:"name,omitempty"`

	// Revision is the revision of the app this release refers to
	// +optional
	Revision string `json:"version,omitempty"`
}

func (*HelmReleaseApp) DeepCopy

func (in *HelmReleaseApp) DeepCopy() *HelmReleaseApp

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

func (*HelmReleaseApp) DeepCopyInto

func (in *HelmReleaseApp) DeepCopyInto(out *HelmReleaseApp)

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

type HelmReleaseConfig

type HelmReleaseConfig struct {
	// Chart holds information about a chart that should get deployed
	// +optional
	Chart agentstoragev1.Chart `json:"chart,omitempty"`

	// Manifests holds kube manifests that will be deployed as a chart
	// +optional
	Manifests string `json:"manifests,omitempty"`

	// Bash holds the bash script to execute in a container in the target
	// +optional
	Bash *Bash `json:"bash,omitempty"`

	// Values is the set of extra Values added to the chart.
	// These values merge with the default values inside of the chart.
	// You can use golang templating in here with values from parameters.
	// +optional
	Values string `json:"values,omitempty"`

	// Parameters are additional helm chart values that will get merged
	// with config and are then used to deploy the helm chart.
	// +optional
	Parameters string `json:"parameters,omitempty"`

	// Annotations are extra annotations for this helm release
	// +optional
	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 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 is an int which represents the revision of the release.
	Revision int `json:"version,omitempty"`

	// Info provides information about a release
	// +optional
	Info *Info `json:"info,omitempty"`

	// Metadata provides information about a chart
	// +optional
	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 Info

type Info struct {
	// FirstDeployed is when the release was first deployed.
	// +optional
	FirstDeployed metav1.Time `json:"first_deployed,omitempty"`
	// LastDeployed is when the release was last deployed.
	// +optional
	LastDeployed metav1.Time `json:"last_deployed,omitempty"`
	// Deleted tracks when this object was deleted.
	// +optional
	Deleted metav1.Time `json:"deleted"`
	// Description is human-friendly "log entry" about this release.
	// +optional
	Description string `json:"description,omitempty"`
	// Status is the current state of the release
	// +optional
	Status Status `json:"status,omitempty"`
	// Contains the rendered templates/NOTES.txt if available
	// +optional
	Notes string `json:"notes,omitempty"`
}

Info describes release information.

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 is the user or team where this activity was recorded
	// +optional
	Subject string `json:"subject,omitempty"`

	// Host is the host where this activity was recorded
	// +optional
	Host string `json:"host,omitempty"`

	// Verb is the verb that was used for the request
	// +optional
	Verb string `json:"verb,omitempty"`

	// APIGroup is the api group that was used for the request
	// +optional
	APIGroup string `json:"apiGroup,omitempty"`

	// Resource is the resource of the request
	// +optional
	Resource string `json:"resource,omitempty"`

	// Subresource is the subresource of the request
	// +optional
	Subresource string `json:"subresource,omitempty"`

	// Name is the name of the resource
	// +optional
	Name string `json:"name,omitempty"`

	// VirtualCluster is the virtual cluster this activity happened in
	// +optional
	VirtualCluster string `json:"virtualCluster,omitempty"`

	// MetricsRefreshInterval is the activity refresh interval. This is used to prevent sleeping instances if the last
	// activity metrics have not been refreshed within the interval. Useful for metrics based activty tracking.
	MetricsRefreshInterval int64 `json:"metricsRefreshInterval,omitempty"`
}

LastActivityInfo holds information about the last activity

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"`
}

LocalClusterAccess holds the cluster access information +k8s:openapi-gen=true +resource:path=localclusteraccesses,rest=LocalClusterAccessREST

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.

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 LocalClusterAccessSpec

type LocalClusterAccessSpec struct {
	agentstoragev1.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 {
	agentstoragev1.LocalClusterAccessStatus `json:",inline"`

	// +optional
	Users []*UserOrTeam `json:"users,omitempty"`

	// +optional
	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 Maintainer

type Maintainer struct {
	// Name is a user name or organization name
	// +optional
	Name string `json:"name,omitempty"`
	// Email is an optional email address to contact the named maintainer
	// +optional
	Email string `json:"email,omitempty"`
	// URL is an optional URL to an address for the named maintainer
	// +optional
	URL string `json:"url,omitempty"`
}

Maintainer describes a Chart maintainer.

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 {
	// The name of the chart
	// +optional
	Name string `json:"name,omitempty"`
	// The URL to a relevant project page, git repo, or contact person
	// +optional
	Home string `json:"home,omitempty"`
	// Source is the URL to the source code of this chart
	// +optional
	Sources []string `json:"sources,omitempty"`
	// A SemVer 2 conformant version string of the chart
	// +optional
	Version string `json:"version,omitempty"`
	// A one-sentence description of the chart
	// +optional
	Description string `json:"description,omitempty"`
	// A list of string keywords
	// +optional
	Keywords []string `json:"keywords,omitempty"`
	// A list of name and URL/email address combinations for the maintainer(s)
	// +optional
	Maintainers []*Maintainer `json:"maintainers,omitempty"`
	// The URL to an icon file.
	// +optional
	Icon string `json:"icon,omitempty"`
	// The API Version of this chart.
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`
	// The condition to check to enable chart
	// +optional
	Condition string `json:"condition,omitempty"`
	// The tags to check to enable chart
	// +optional
	Tags string `json:"tags,omitempty"`
	// The version of the application enclosed inside of this chart.
	// +optional
	AppVersion string `json:"appVersion,omitempty"`
	// Whether or not this chart is deprecated
	// +optional
	Deprecated bool `json:"deprecated,omitempty"`
	// Annotations are additional mappings uninterpreted by Helm,
	// made available for inspection by other applications.
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
	// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
	// +optional
	KubeVersion string `json:"kubeVersion,omitempty"`
	// Specifies the chart type: application or library
	// +optional
	Type string `json:"type,omitempty"`
	// Urls where to find the chart contents
	// +optional
	Urls []string `json:"urls,omitempty"`
}

Metadata for a Chart file. This models the structure of a Chart.yaml file.

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 SleepModeConfig

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

	Spec   SleepModeConfigSpec   `json:"spec,omitempty"`
	Status SleepModeConfigStatus `json:"status,omitempty"`
}

SleepModeConfig holds the sleepmode information +k8s:openapi-gen=true +resource:path=sleepmodeconfigs,rest=SleepModeConfigREST

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.

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 SleepModeConfigSpec

type SleepModeConfigSpec struct {
	// If force sleep is true the space will sleep
	// +optional
	ForceSleep bool `json:"forceSleep,omitempty"`

	// If force sleep duration is set, this will force the space to sleep
	// for the given duration. It also implies that forceSleep is true.
	// During this period loft will also block certain requests to that space.
	// If this is set to 0, it means the space will sleep until it is manually
	// woken up via the cli or ui.
	// +optional
	ForceSleepDuration *int64 `json:"forceSleepDuration,omitempty"`

	// DeleteAfter specifies after how many seconds of inactivity the space should be deleted
	// +optional
	DeleteAfter int64 `json:"deleteAfter,omitempty"`

	// SleepAfter specifies after how many seconds of inactivity the space should sleep
	// +optional
	SleepAfter int64 `json:"sleepAfter,omitempty"`

	// SleepSchedule specifies scheduled space sleep in Cron format, see https://en.wikipedia.org/wiki/Cron.
	// Note: timezone defined in the schedule string will be ignored. Use ".Spec.Timezone" field instead.
	// +optional
	SleepSchedule string `json:"sleepSchedule,omitempty"`

	// WakeupSchedule specifies scheduled wakeup from sleep in Cron format, see https://en.wikipedia.org/wiki/Cron.
	// Note: timezone defined in the schedule string will be ignored. Use ".Spec.Timezone" field instead.
	// +optional
	WakeupSchedule string `json:"wakeupSchedule,omitempty"`

	// Timezone specifies time zone used for scheduled space operations. Defaults to UTC.
	// Accepts the same format as time.LoadLocation() in Go (https://pkg.go.dev/time#LoadLocation).
	// The value should be a location name corresponding to a file in the IANA Time Zone database, such as "America/New_York".
	// +optional
	Timezone string `json:"timezone,omitempty"`

	// IgnoreActiveConnections ignores active connections on the namespace
	// +optional
	IgnoreActiveConnections bool `json:"ignoreActiveConnections,omitempty"`

	// IgnoreAll ignores all requests
	// +optional
	IgnoreAll bool `json:"ignoreAll,omitempty"`

	// IgnoreIngresses ignores all ingresses
	// +optional
	IgnoreIngresses bool `json:"ignoreIngresses,omitempty"`

	// IgnoreVClusters ignores vcluster requests
	// +optional
	IgnoreVClusters bool `json:"ignoreVClusters,omitempty"`

	// IgnoreGroups are ignored user groups
	// +optional
	IgnoreGroups string `json:"ignoreGroups,omitempty"`

	// IgnoreVerbs are ignored request verbs
	// +optional
	IgnoreVerbs string `json:"ignoreVerbs,omitempty"`

	// IgnoreResources are ignored request resources
	// +optional
	IgnoreResources string `json:"ignoreResources,omitempty"`

	// IgnoreResourceVerbs are ignored resource verbs
	// +optional
	IgnoreResourceVerbs string `json:"ignoreResourceVerbs,omitempty"`

	// IgnoreResourceNames are ignored resources and names
	// +optional
	IgnoreResourceNames string `json:"ignoreResourceNames,omitempty"`

	// IgnoreUseragents are ignored user agents with trailing wildcards '*' allowed.
	// comma separated
	// +optional
	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 indicates the last activity in the namespace
	// +optional
	LastActivity int64 `json:"lastActivity,omitempty"`

	// LastActivityInfo holds information about the last activity within this space
	// +optional
	LastActivityInfo *LastActivityInfo `json:"lastActivityInfo,omitempty"`

	// SleepingSince specifies since when the space is sleeping (if this is not specified, loft assumes the space is not sleeping)
	// +optional
	SleepingSince int64 `json:"sleepingSince,omitempty"`

	// Optional info that indicates how long the space was sleeping in the current epoch
	// +optional
	CurrentEpoch *EpochInfo `json:"currentEpoch,omitempty"`

	// Optional info that indicates how long the space was sleeping in the current epoch
	// +optional
	LastEpoch *EpochInfo `json:"lastEpoch,omitempty"`

	// This is a calculated field that will be returned but not saved and describes the percentage since the space
	// was created or the last 30 days the space has slept
	// +optional
	SleptLastThirtyDays *float64 `json:"sleptLastThirtyDays,omitempty"`

	// This is a calculated field that will be returned but not saved and describes the percentage since the space
	// was created or the last 7 days the space has slept
	// +optional
	SleptLastSevenDays *float64 `json:"sleptLastSevenDays,omitempty"`

	// Indicates time of the next scheduled sleep based on .Spec.SleepSchedule and .Spec.ScheduleTimeZone
	// The time is a Unix time, the number of seconds elapsed since January 1, 1970 UTC
	// +optional
	ScheduledSleep *int64 `json:"scheduledSleep,omitempty"`

	// Indicates time of the next scheduled wakeup based on .Spec.WakeupSchedule and .Spec.ScheduleTimeZone
	// The time is a Unix time, the number of seconds elapsed since January 1, 1970 UTC
	// +optional
	ScheduledWakeup *int64 `json:"scheduledWakeup,omitempty"`

	// SleepType specifies a type of sleep, which has effect on which actions will cause the space to wake up.
	// +optional
	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 Space

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

	Spec   SpaceSpec   `json:"spec,omitempty"`
	Status SpaceStatus `json:"status,omitempty"`
}

Space +k8s:openapi-gen=true +resource:path=spaces,rest=SpaceREST

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.

type SpaceConstraintNamespaceStatus

type SpaceConstraintNamespaceStatus struct {
	// SpaceConstraint are the applied space constraints
	SpaceConstraint string `json:"spaceConstraint,omitempty"`

	// User that was used to apply the space constraints
	User string `json:"user,omitempty"`

	// Team that was used to apply the space constraints
	Team string `json:"team,omitempty"`

	// ObservedGeneration of the space constraint
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// Phase the namespace is in
	Phase string `json:"phase,omitempty"`

	// Reason why this namespace is in the current phase
	Reason string `json:"reason,omitempty"`

	// Message is the human-readable message why this space is in this phase
	Message string `json:"message,omitempty"`

	// AppliedClusterRole is the cluster role that was bound to this namespace
	AppliedClusterRole *string `json:"appliedClusterRole,omitempty"`

	// AppliedMetadata is the metadata that was applied on the space
	AppliedMetadata AppliedMetadata `json:"appliedMetadata,omitempty"`

	// AppliedObjects are the objects that were applied on this namespace by the space constraint
	AppliedObjects []AppliedObject `json:"appliedObjects,omitempty"`
}

func (*SpaceConstraintNamespaceStatus) DeepCopy

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

func (*SpaceConstraintNamespaceStatus) DeepCopyInto

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

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 the namespace is in
	Phase string `json:"phase,omitempty"`

	// Reason why this namespace is in the current phase
	Reason string `json:"reason,omitempty"`

	// Message is the human-readable message why this space is in this phase
	Message string `json:"message,omitempty"`

	// AppliedObjects are the objects that were applied on this namespace by the space spec objects
	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 SpaceSpec

type SpaceSpec struct {
	// User is the owning user of the space
	// +optional
	User string `json:"user,omitempty"`

	// Team is the owning team of the space
	// +optional
	Team string `json:"team,omitempty"`

	// Objects are Kubernetes style yamls that should get deployed into the space
	// +optional
	Objects string `json:"objects,omitempty"`

	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	// +optional
	Finalizers []corev1.FinalizerName `json:"finalizers,omitempty"`
}

SpaceSpec defines the desired state of Space

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 is the current lifecycle phase of the namespace.
	// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	// +optional
	Phase corev1.NamespacePhase `json:"phase,omitempty"`

	// SleepModeConfig is the sleep mode config of the space
	// +optional
	SleepModeConfig *SleepModeConfig `json:"sleepModeConfig,omitempty"`

	// Owner describes the owner of the space. This can be either empty (nil), be a team or
	// an loft user. If the space has an account that does not belong to an user / team in loft
	// this is empty
	// +optional
	Owner *UserOrTeam `json:"owner,omitempty"`

	// SpaceObjectsStatus describes the status of applying space objects.
	// +optional
	SpaceObjectsStatus *SpaceObjectsNamespaceStatus `json:"spaceObjectsStatus,omitempty"`

	// TemplateSyncStatus describes the template sync status
	// +optional
	TemplateSyncStatus *TemplateSyncStatus `json:"templateSyncStatus,omitempty"`
}

SpaceStatus defines the observed state of Space

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 Status

type Status string

Status is the status of a release

const (
	// StatusUnknown indicates that a release is in an uncertain state.
	StatusUnknown Status = "unknown"
	// StatusDeployed indicates that the release has been pushed to Kubernetes.
	StatusDeployed Status = "deployed"
	// StatusUninstalled indicates that a release has been uninstalled from Kubernetes.
	StatusUninstalled Status = "uninstalled"
	// StatusSuperseded indicates that this release object is outdated and a newer one exists.
	StatusSuperseded Status = "superseded"
	// StatusFailed indicates that the release was not successfully deployed.
	StatusFailed Status = "failed"
	// StatusUninstalling indicates that a uninstall operation is underway.
	StatusUninstalling Status = "uninstalling"
	// StatusPendingInstall indicates that an install operation is underway.
	StatusPendingInstall Status = "pending-install"
	// StatusPendingUpgrade indicates that an upgrade operation is underway.
	StatusPendingUpgrade Status = "pending-upgrade"
	// StatusPendingRollback indicates that an rollback operation is underway.
	StatusPendingRollback Status = "pending-rollback"
)

Describe the status of a release NOTE: Make sure to update cmd/helm/status.go when adding or modifying any of these statuses.

func (Status) String

func (x Status) String() string

type TemplateSyncStatus

type TemplateSyncStatus struct {
	// Template is the json string of the template that was applied
	Template string `json:"template,omitempty"`

	// Phase indicates the current phase the template is in
	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 describes an user
	// +optional
	User *EntityInfo `json:"user,omitempty"`

	// Team describes a team
	// +optional
	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"`
}

VirtualCluster holds the virtual cluster information +k8s:openapi-gen=true +resource:path=virtualclusters,rest=VirtualClusterREST

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.

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 VirtualClusterSpec

type VirtualClusterSpec struct {
	agentstoragev1.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 {
	agentstoragev1.VirtualClusterStatus `json:",inline"`

	// SyncerPod is the syncer pod
	// +optional
	SyncerPod *corev1.Pod `json:"syncerPod,omitempty"`

	// ClusterPod is the cluster pod
	// +optional
	ClusterPod *corev1.Pod `json:"clusterPod,omitempty"`

	// SleepModeConfig is the sleep mode config of the space
	// +optional
	SleepModeConfig *SleepModeConfig `json:"sleepModeConfig,omitempty"`

	// TemplateSyncStatus describes the template sync status
	// +optional
	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.

Jump to

Keyboard shortcuts

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