v1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 15 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=business.tkestack.io

Index

Constants

View Source
const GroupName = "business.tkestack.io"

GroupName is the group name use in this package.

View Source
const Version = "v1"

Version is the version name use in this package.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeBuilder collects functions that add things to a scheme.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func AddFieldLabelConversionsForChartGroup added in v1.4.0

func AddFieldLabelConversionsForChartGroup(scheme *runtime.Scheme) error

AddFieldLabelConversionsForChartGroup adds a conversion function to convert field selectors of ChartGroup from the given version to internal version representation.

func AddFieldLabelConversionsForImageNamespace

func AddFieldLabelConversionsForImageNamespace(scheme *runtime.Scheme) error

AddFieldLabelConversionsForImageNamespace adds a conversion function to convert field selectors of ImageNamespace from the given version to internal version representation.

func AddFieldLabelConversionsForNamespace

func AddFieldLabelConversionsForNamespace(scheme *runtime.Scheme) error

AddFieldLabelConversionsForNamespace adds a conversion function to convert field selectors of Namespace from the given version to internal version representation.

func AddFieldLabelConversionsForPlatform

func AddFieldLabelConversionsForPlatform(scheme *runtime.Scheme) error

AddFieldLabelConversionsForPlatform adds a conversion function to convert field selectors of Platform from the given version to internal version representation.

func AddFieldLabelConversionsForProject

func AddFieldLabelConversionsForProject(scheme *runtime.Scheme) error

AddFieldLabelConversionsForProject adds a conversion function to convert field selectors of Project from the given version to internal version representation.

func Convert_business_ChartGroupList_To_v1_ChartGroupList

func Convert_business_ChartGroupList_To_v1_ChartGroupList(in *business.ChartGroupList, out *ChartGroupList, s conversion.Scope) error

Convert_business_ChartGroupList_To_v1_ChartGroupList is an autogenerated conversion function.

func Convert_business_ChartGroupSpec_To_v1_ChartGroupSpec

func Convert_business_ChartGroupSpec_To_v1_ChartGroupSpec(in *business.ChartGroupSpec, out *ChartGroupSpec, s conversion.Scope) error

Convert_business_ChartGroupSpec_To_v1_ChartGroupSpec is an autogenerated conversion function.

func Convert_business_ChartGroupStatus_To_v1_ChartGroupStatus

func Convert_business_ChartGroupStatus_To_v1_ChartGroupStatus(in *business.ChartGroupStatus, out *ChartGroupStatus, s conversion.Scope) error

Convert_business_ChartGroupStatus_To_v1_ChartGroupStatus is an autogenerated conversion function.

func Convert_business_ChartGroup_To_v1_ChartGroup

func Convert_business_ChartGroup_To_v1_ChartGroup(in *business.ChartGroup, out *ChartGroup, s conversion.Scope) error

Convert_business_ChartGroup_To_v1_ChartGroup is an autogenerated conversion function.

func Convert_business_ConfigMapList_To_v1_ConfigMapList

func Convert_business_ConfigMapList_To_v1_ConfigMapList(in *business.ConfigMapList, out *ConfigMapList, s conversion.Scope) error

Convert_business_ConfigMapList_To_v1_ConfigMapList is an autogenerated conversion function.

func Convert_business_ConfigMap_To_v1_ConfigMap

func Convert_business_ConfigMap_To_v1_ConfigMap(in *business.ConfigMap, out *ConfigMap, s conversion.Scope) error

Convert_business_ConfigMap_To_v1_ConfigMap is an autogenerated conversion function.

func Convert_business_HardQuantity_To_v1_HardQuantity

func Convert_business_HardQuantity_To_v1_HardQuantity(in *business.HardQuantity, out *HardQuantity, s conversion.Scope) error

Convert_business_HardQuantity_To_v1_HardQuantity is an autogenerated conversion function.

func Convert_business_ImageNamespaceList_To_v1_ImageNamespaceList

func Convert_business_ImageNamespaceList_To_v1_ImageNamespaceList(in *business.ImageNamespaceList, out *ImageNamespaceList, s conversion.Scope) error

Convert_business_ImageNamespaceList_To_v1_ImageNamespaceList is an autogenerated conversion function.

func Convert_business_ImageNamespaceSpec_To_v1_ImageNamespaceSpec

func Convert_business_ImageNamespaceSpec_To_v1_ImageNamespaceSpec(in *business.ImageNamespaceSpec, out *ImageNamespaceSpec, s conversion.Scope) error

Convert_business_ImageNamespaceSpec_To_v1_ImageNamespaceSpec is an autogenerated conversion function.

func Convert_business_ImageNamespaceStatus_To_v1_ImageNamespaceStatus

func Convert_business_ImageNamespaceStatus_To_v1_ImageNamespaceStatus(in *business.ImageNamespaceStatus, out *ImageNamespaceStatus, s conversion.Scope) error

Convert_business_ImageNamespaceStatus_To_v1_ImageNamespaceStatus is an autogenerated conversion function.

func Convert_business_ImageNamespace_To_v1_ImageNamespace

func Convert_business_ImageNamespace_To_v1_ImageNamespace(in *business.ImageNamespace, out *ImageNamespace, s conversion.Scope) error

Convert_business_ImageNamespace_To_v1_ImageNamespace is an autogenerated conversion function.

func Convert_business_NamespaceCertOptions_To_v1_NamespaceCertOptions added in v1.2.5

func Convert_business_NamespaceCertOptions_To_v1_NamespaceCertOptions(in *business.NamespaceCertOptions, out *NamespaceCertOptions, s conversion.Scope) error

Convert_business_NamespaceCertOptions_To_v1_NamespaceCertOptions is an autogenerated conversion function.

func Convert_business_NamespaceCert_To_v1_NamespaceCert added in v1.2.5

func Convert_business_NamespaceCert_To_v1_NamespaceCert(in *business.NamespaceCert, out *NamespaceCert, s conversion.Scope) error

Convert_business_NamespaceCert_To_v1_NamespaceCert is an autogenerated conversion function.

func Convert_business_NamespaceList_To_v1_NamespaceList

func Convert_business_NamespaceList_To_v1_NamespaceList(in *business.NamespaceList, out *NamespaceList, s conversion.Scope) error

Convert_business_NamespaceList_To_v1_NamespaceList is an autogenerated conversion function.

func Convert_business_NamespaceSpec_To_v1_NamespaceSpec

func Convert_business_NamespaceSpec_To_v1_NamespaceSpec(in *business.NamespaceSpec, out *NamespaceSpec, s conversion.Scope) error

Convert_business_NamespaceSpec_To_v1_NamespaceSpec is an autogenerated conversion function.

func Convert_business_NamespaceStatus_To_v1_NamespaceStatus

func Convert_business_NamespaceStatus_To_v1_NamespaceStatus(in *business.NamespaceStatus, out *NamespaceStatus, s conversion.Scope) error

Convert_business_NamespaceStatus_To_v1_NamespaceStatus is an autogenerated conversion function.

func Convert_business_Namespace_To_v1_Namespace

func Convert_business_Namespace_To_v1_Namespace(in *business.Namespace, out *Namespace, s conversion.Scope) error

Convert_business_Namespace_To_v1_Namespace is an autogenerated conversion function.

func Convert_business_NsEmigrationList_To_v1_NsEmigrationList added in v1.3.1

func Convert_business_NsEmigrationList_To_v1_NsEmigrationList(in *business.NsEmigrationList, out *NsEmigrationList, s conversion.Scope) error

Convert_business_NsEmigrationList_To_v1_NsEmigrationList is an autogenerated conversion function.

func Convert_business_NsEmigrationSpec_To_v1_NsEmigrationSpec added in v1.3.1

func Convert_business_NsEmigrationSpec_To_v1_NsEmigrationSpec(in *business.NsEmigrationSpec, out *NsEmigrationSpec, s conversion.Scope) error

Convert_business_NsEmigrationSpec_To_v1_NsEmigrationSpec is an autogenerated conversion function.

func Convert_business_NsEmigrationStatus_To_v1_NsEmigrationStatus added in v1.3.1

func Convert_business_NsEmigrationStatus_To_v1_NsEmigrationStatus(in *business.NsEmigrationStatus, out *NsEmigrationStatus, s conversion.Scope) error

Convert_business_NsEmigrationStatus_To_v1_NsEmigrationStatus is an autogenerated conversion function.

func Convert_business_NsEmigration_To_v1_NsEmigration added in v1.3.1

func Convert_business_NsEmigration_To_v1_NsEmigration(in *business.NsEmigration, out *NsEmigration, s conversion.Scope) error

Convert_business_NsEmigration_To_v1_NsEmigration is an autogenerated conversion function.

func Convert_business_PlatformList_To_v1_PlatformList

func Convert_business_PlatformList_To_v1_PlatformList(in *business.PlatformList, out *PlatformList, s conversion.Scope) error

Convert_business_PlatformList_To_v1_PlatformList is an autogenerated conversion function.

func Convert_business_PlatformSpec_To_v1_PlatformSpec

func Convert_business_PlatformSpec_To_v1_PlatformSpec(in *business.PlatformSpec, out *PlatformSpec, s conversion.Scope) error

Convert_business_PlatformSpec_To_v1_PlatformSpec is an autogenerated conversion function.

func Convert_business_Platform_To_v1_Platform

func Convert_business_Platform_To_v1_Platform(in *business.Platform, out *Platform, s conversion.Scope) error

Convert_business_Platform_To_v1_Platform is an autogenerated conversion function.

func Convert_business_PortalProject_To_v1_PortalProject added in v1.3.1

func Convert_business_PortalProject_To_v1_PortalProject(in *business.PortalProject, out *PortalProject, s conversion.Scope) error

Convert_business_PortalProject_To_v1_PortalProject is an autogenerated conversion function.

func Convert_business_Portal_To_v1_Portal

func Convert_business_Portal_To_v1_Portal(in *business.Portal, out *Portal, s conversion.Scope) error

Convert_business_Portal_To_v1_Portal is an autogenerated conversion function.

func Convert_business_ProjectList_To_v1_ProjectList

func Convert_business_ProjectList_To_v1_ProjectList(in *business.ProjectList, out *ProjectList, s conversion.Scope) error

Convert_business_ProjectList_To_v1_ProjectList is an autogenerated conversion function.

func Convert_business_ProjectSpec_To_v1_ProjectSpec

func Convert_business_ProjectSpec_To_v1_ProjectSpec(in *business.ProjectSpec, out *ProjectSpec, s conversion.Scope) error

Convert_business_ProjectSpec_To_v1_ProjectSpec is an autogenerated conversion function.

func Convert_business_ProjectStatus_To_v1_ProjectStatus

func Convert_business_ProjectStatus_To_v1_ProjectStatus(in *business.ProjectStatus, out *ProjectStatus, s conversion.Scope) error

Convert_business_ProjectStatus_To_v1_ProjectStatus is an autogenerated conversion function.

func Convert_business_Project_To_v1_Project

func Convert_business_Project_To_v1_Project(in *business.Project, out *Project, s conversion.Scope) error

Convert_business_Project_To_v1_Project is an autogenerated conversion function.

func Convert_business_UsedQuantity_To_v1_UsedQuantity

func Convert_business_UsedQuantity_To_v1_UsedQuantity(in *business.UsedQuantity, out *UsedQuantity, s conversion.Scope) error

Convert_business_UsedQuantity_To_v1_UsedQuantity is an autogenerated conversion function.

func Convert_v1_ChartGroupList_To_business_ChartGroupList

func Convert_v1_ChartGroupList_To_business_ChartGroupList(in *ChartGroupList, out *business.ChartGroupList, s conversion.Scope) error

Convert_v1_ChartGroupList_To_business_ChartGroupList is an autogenerated conversion function.

func Convert_v1_ChartGroupSpec_To_business_ChartGroupSpec

func Convert_v1_ChartGroupSpec_To_business_ChartGroupSpec(in *ChartGroupSpec, out *business.ChartGroupSpec, s conversion.Scope) error

Convert_v1_ChartGroupSpec_To_business_ChartGroupSpec is an autogenerated conversion function.

func Convert_v1_ChartGroupStatus_To_business_ChartGroupStatus

func Convert_v1_ChartGroupStatus_To_business_ChartGroupStatus(in *ChartGroupStatus, out *business.ChartGroupStatus, s conversion.Scope) error

Convert_v1_ChartGroupStatus_To_business_ChartGroupStatus is an autogenerated conversion function.

func Convert_v1_ChartGroup_To_business_ChartGroup

func Convert_v1_ChartGroup_To_business_ChartGroup(in *ChartGroup, out *business.ChartGroup, s conversion.Scope) error

Convert_v1_ChartGroup_To_business_ChartGroup is an autogenerated conversion function.

func Convert_v1_ConfigMapList_To_business_ConfigMapList

func Convert_v1_ConfigMapList_To_business_ConfigMapList(in *ConfigMapList, out *business.ConfigMapList, s conversion.Scope) error

Convert_v1_ConfigMapList_To_business_ConfigMapList is an autogenerated conversion function.

func Convert_v1_ConfigMap_To_business_ConfigMap

func Convert_v1_ConfigMap_To_business_ConfigMap(in *ConfigMap, out *business.ConfigMap, s conversion.Scope) error

Convert_v1_ConfigMap_To_business_ConfigMap is an autogenerated conversion function.

func Convert_v1_HardQuantity_To_business_HardQuantity

func Convert_v1_HardQuantity_To_business_HardQuantity(in *HardQuantity, out *business.HardQuantity, s conversion.Scope) error

Convert_v1_HardQuantity_To_business_HardQuantity is an autogenerated conversion function.

func Convert_v1_ImageNamespaceList_To_business_ImageNamespaceList

func Convert_v1_ImageNamespaceList_To_business_ImageNamespaceList(in *ImageNamespaceList, out *business.ImageNamespaceList, s conversion.Scope) error

Convert_v1_ImageNamespaceList_To_business_ImageNamespaceList is an autogenerated conversion function.

func Convert_v1_ImageNamespaceSpec_To_business_ImageNamespaceSpec

func Convert_v1_ImageNamespaceSpec_To_business_ImageNamespaceSpec(in *ImageNamespaceSpec, out *business.ImageNamespaceSpec, s conversion.Scope) error

Convert_v1_ImageNamespaceSpec_To_business_ImageNamespaceSpec is an autogenerated conversion function.

func Convert_v1_ImageNamespaceStatus_To_business_ImageNamespaceStatus

func Convert_v1_ImageNamespaceStatus_To_business_ImageNamespaceStatus(in *ImageNamespaceStatus, out *business.ImageNamespaceStatus, s conversion.Scope) error

Convert_v1_ImageNamespaceStatus_To_business_ImageNamespaceStatus is an autogenerated conversion function.

func Convert_v1_ImageNamespace_To_business_ImageNamespace

func Convert_v1_ImageNamespace_To_business_ImageNamespace(in *ImageNamespace, out *business.ImageNamespace, s conversion.Scope) error

Convert_v1_ImageNamespace_To_business_ImageNamespace is an autogenerated conversion function.

func Convert_v1_NamespaceCertOptions_To_business_NamespaceCertOptions added in v1.2.5

func Convert_v1_NamespaceCertOptions_To_business_NamespaceCertOptions(in *NamespaceCertOptions, out *business.NamespaceCertOptions, s conversion.Scope) error

Convert_v1_NamespaceCertOptions_To_business_NamespaceCertOptions is an autogenerated conversion function.

func Convert_v1_NamespaceCert_To_business_NamespaceCert added in v1.2.5

func Convert_v1_NamespaceCert_To_business_NamespaceCert(in *NamespaceCert, out *business.NamespaceCert, s conversion.Scope) error

Convert_v1_NamespaceCert_To_business_NamespaceCert is an autogenerated conversion function.

func Convert_v1_NamespaceList_To_business_NamespaceList

func Convert_v1_NamespaceList_To_business_NamespaceList(in *NamespaceList, out *business.NamespaceList, s conversion.Scope) error

Convert_v1_NamespaceList_To_business_NamespaceList is an autogenerated conversion function.

func Convert_v1_NamespaceSpec_To_business_NamespaceSpec

func Convert_v1_NamespaceSpec_To_business_NamespaceSpec(in *NamespaceSpec, out *business.NamespaceSpec, s conversion.Scope) error

Convert_v1_NamespaceSpec_To_business_NamespaceSpec is an autogenerated conversion function.

func Convert_v1_NamespaceStatus_To_business_NamespaceStatus

func Convert_v1_NamespaceStatus_To_business_NamespaceStatus(in *NamespaceStatus, out *business.NamespaceStatus, s conversion.Scope) error

Convert_v1_NamespaceStatus_To_business_NamespaceStatus is an autogenerated conversion function.

func Convert_v1_Namespace_To_business_Namespace

func Convert_v1_Namespace_To_business_Namespace(in *Namespace, out *business.Namespace, s conversion.Scope) error

Convert_v1_Namespace_To_business_Namespace is an autogenerated conversion function.

func Convert_v1_NsEmigrationList_To_business_NsEmigrationList added in v1.3.1

func Convert_v1_NsEmigrationList_To_business_NsEmigrationList(in *NsEmigrationList, out *business.NsEmigrationList, s conversion.Scope) error

Convert_v1_NsEmigrationList_To_business_NsEmigrationList is an autogenerated conversion function.

func Convert_v1_NsEmigrationSpec_To_business_NsEmigrationSpec added in v1.3.1

func Convert_v1_NsEmigrationSpec_To_business_NsEmigrationSpec(in *NsEmigrationSpec, out *business.NsEmigrationSpec, s conversion.Scope) error

Convert_v1_NsEmigrationSpec_To_business_NsEmigrationSpec is an autogenerated conversion function.

func Convert_v1_NsEmigrationStatus_To_business_NsEmigrationStatus added in v1.3.1

func Convert_v1_NsEmigrationStatus_To_business_NsEmigrationStatus(in *NsEmigrationStatus, out *business.NsEmigrationStatus, s conversion.Scope) error

Convert_v1_NsEmigrationStatus_To_business_NsEmigrationStatus is an autogenerated conversion function.

func Convert_v1_NsEmigration_To_business_NsEmigration added in v1.3.1

func Convert_v1_NsEmigration_To_business_NsEmigration(in *NsEmigration, out *business.NsEmigration, s conversion.Scope) error

Convert_v1_NsEmigration_To_business_NsEmigration is an autogenerated conversion function.

func Convert_v1_PlatformList_To_business_PlatformList

func Convert_v1_PlatformList_To_business_PlatformList(in *PlatformList, out *business.PlatformList, s conversion.Scope) error

Convert_v1_PlatformList_To_business_PlatformList is an autogenerated conversion function.

func Convert_v1_PlatformSpec_To_business_PlatformSpec

func Convert_v1_PlatformSpec_To_business_PlatformSpec(in *PlatformSpec, out *business.PlatformSpec, s conversion.Scope) error

Convert_v1_PlatformSpec_To_business_PlatformSpec is an autogenerated conversion function.

func Convert_v1_Platform_To_business_Platform

func Convert_v1_Platform_To_business_Platform(in *Platform, out *business.Platform, s conversion.Scope) error

Convert_v1_Platform_To_business_Platform is an autogenerated conversion function.

func Convert_v1_PortalProject_To_business_PortalProject added in v1.3.1

func Convert_v1_PortalProject_To_business_PortalProject(in *PortalProject, out *business.PortalProject, s conversion.Scope) error

Convert_v1_PortalProject_To_business_PortalProject is an autogenerated conversion function.

func Convert_v1_Portal_To_business_Portal

func Convert_v1_Portal_To_business_Portal(in *Portal, out *business.Portal, s conversion.Scope) error

Convert_v1_Portal_To_business_Portal is an autogenerated conversion function.

func Convert_v1_ProjectList_To_business_ProjectList

func Convert_v1_ProjectList_To_business_ProjectList(in *ProjectList, out *business.ProjectList, s conversion.Scope) error

Convert_v1_ProjectList_To_business_ProjectList is an autogenerated conversion function.

func Convert_v1_ProjectSpec_To_business_ProjectSpec

func Convert_v1_ProjectSpec_To_business_ProjectSpec(in *ProjectSpec, out *business.ProjectSpec, s conversion.Scope) error

Convert_v1_ProjectSpec_To_business_ProjectSpec is an autogenerated conversion function.

func Convert_v1_ProjectStatus_To_business_ProjectStatus

func Convert_v1_ProjectStatus_To_business_ProjectStatus(in *ProjectStatus, out *business.ProjectStatus, s conversion.Scope) error

Convert_v1_ProjectStatus_To_business_ProjectStatus is an autogenerated conversion function.

func Convert_v1_Project_To_business_Project

func Convert_v1_Project_To_business_Project(in *Project, out *business.Project, s conversion.Scope) error

Convert_v1_Project_To_business_Project is an autogenerated conversion function.

func Convert_v1_UsedQuantity_To_business_UsedQuantity

func Convert_v1_UsedQuantity_To_business_UsedQuantity(in *UsedQuantity, out *business.UsedQuantity, s conversion.Scope) error

Convert_v1_UsedQuantity_To_business_UsedQuantity is an autogenerated conversion function.

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

Resource takes an unqualified resource and returns a LocalGroup qualified GroupResource

func SetDefaults_ChartGroupStatus

func SetDefaults_ChartGroupStatus(obj *ChartGroupStatus)

func SetDefaults_ConfigMap

func SetDefaults_ConfigMap(obj *ConfigMap)

func SetDefaults_ImageNamespaceStatus

func SetDefaults_ImageNamespaceStatus(obj *ImageNamespaceStatus)

func SetDefaults_NamespaceSpec

func SetDefaults_NamespaceSpec(obj *NamespaceSpec)

func SetDefaults_NamespaceStatus

func SetDefaults_NamespaceStatus(obj *NamespaceStatus)

func SetDefaults_NsEmigrationStatus added in v1.3.1

func SetDefaults_NsEmigrationStatus(obj *NsEmigrationStatus)

func SetDefaults_ProjectSpec

func SetDefaults_ProjectSpec(obj *ProjectSpec)

func SetDefaults_ProjectStatus

func SetDefaults_ProjectStatus(obj *ProjectStatus)

func SetObjectDefaults_ChartGroup

func SetObjectDefaults_ChartGroup(in *ChartGroup)

func SetObjectDefaults_ChartGroupList

func SetObjectDefaults_ChartGroupList(in *ChartGroupList)

func SetObjectDefaults_ConfigMap

func SetObjectDefaults_ConfigMap(in *ConfigMap)

func SetObjectDefaults_ConfigMapList

func SetObjectDefaults_ConfigMapList(in *ConfigMapList)

func SetObjectDefaults_ImageNamespace

func SetObjectDefaults_ImageNamespace(in *ImageNamespace)

func SetObjectDefaults_ImageNamespaceList

func SetObjectDefaults_ImageNamespaceList(in *ImageNamespaceList)

func SetObjectDefaults_Namespace

func SetObjectDefaults_Namespace(in *Namespace)

func SetObjectDefaults_NamespaceList

func SetObjectDefaults_NamespaceList(in *NamespaceList)

func SetObjectDefaults_NsEmigration added in v1.3.1

func SetObjectDefaults_NsEmigration(in *NsEmigration)

func SetObjectDefaults_NsEmigrationList added in v1.3.1

func SetObjectDefaults_NsEmigrationList(in *NsEmigrationList)

func SetObjectDefaults_Project

func SetObjectDefaults_Project(in *Project)

func SetObjectDefaults_ProjectList

func SetObjectDefaults_ProjectList(in *ProjectList)

Types

type ChartGroup

type ChartGroup struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of namespaces in this set.
	// +optional
	Spec ChartGroupSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status ChartGroupStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ChartGroup is an chart group.

func (*ChartGroup) DeepCopy

func (in *ChartGroup) DeepCopy() *ChartGroup

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

func (*ChartGroup) DeepCopyInto

func (in *ChartGroup) DeepCopyInto(out *ChartGroup)

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

func (*ChartGroup) DeepCopyObject

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

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

func (*ChartGroup) Descriptor

func (*ChartGroup) Descriptor() ([]byte, []int)

func (*ChartGroup) Marshal

func (m *ChartGroup) Marshal() (dAtA []byte, err error)

func (*ChartGroup) MarshalTo

func (m *ChartGroup) MarshalTo(dAtA []byte) (int, error)

func (*ChartGroup) MarshalToSizedBuffer

func (m *ChartGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChartGroup) ProtoMessage

func (*ChartGroup) ProtoMessage()

func (*ChartGroup) Reset

func (m *ChartGroup) Reset()

func (*ChartGroup) Size

func (m *ChartGroup) Size() (n int)

func (*ChartGroup) String

func (this *ChartGroup) String() string

func (ChartGroup) SwaggerDoc

func (ChartGroup) SwaggerDoc() map[string]string

func (*ChartGroup) Unmarshal

func (m *ChartGroup) Unmarshal(dAtA []byte) error

func (*ChartGroup) XXX_DiscardUnknown

func (m *ChartGroup) XXX_DiscardUnknown()

func (*ChartGroup) XXX_Marshal

func (m *ChartGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChartGroup) XXX_Merge

func (m *ChartGroup) XXX_Merge(src proto.Message)

func (*ChartGroup) XXX_Size

func (m *ChartGroup) XXX_Size() int

func (*ChartGroup) XXX_Unmarshal

func (m *ChartGroup) XXX_Unmarshal(b []byte) error

type ChartGroupList

type ChartGroupList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of namespaces
	Items []ChartGroup `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ChartGroupList is the whole list of all chart groups which owned by a tenant.

func (*ChartGroupList) DeepCopy

func (in *ChartGroupList) DeepCopy() *ChartGroupList

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

func (*ChartGroupList) DeepCopyInto

func (in *ChartGroupList) DeepCopyInto(out *ChartGroupList)

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

func (*ChartGroupList) DeepCopyObject

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

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

func (*ChartGroupList) Descriptor

func (*ChartGroupList) Descriptor() ([]byte, []int)

func (*ChartGroupList) Marshal

func (m *ChartGroupList) Marshal() (dAtA []byte, err error)

func (*ChartGroupList) MarshalTo

func (m *ChartGroupList) MarshalTo(dAtA []byte) (int, error)

func (*ChartGroupList) MarshalToSizedBuffer

func (m *ChartGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChartGroupList) ProtoMessage

func (*ChartGroupList) ProtoMessage()

func (*ChartGroupList) Reset

func (m *ChartGroupList) Reset()

func (*ChartGroupList) Size

func (m *ChartGroupList) Size() (n int)

func (*ChartGroupList) String

func (this *ChartGroupList) String() string

func (ChartGroupList) SwaggerDoc

func (ChartGroupList) SwaggerDoc() map[string]string

func (*ChartGroupList) Unmarshal

func (m *ChartGroupList) Unmarshal(dAtA []byte) error

func (*ChartGroupList) XXX_DiscardUnknown

func (m *ChartGroupList) XXX_DiscardUnknown()

func (*ChartGroupList) XXX_Marshal

func (m *ChartGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChartGroupList) XXX_Merge

func (m *ChartGroupList) XXX_Merge(src proto.Message)

func (*ChartGroupList) XXX_Size

func (m *ChartGroupList) XXX_Size() int

func (*ChartGroupList) XXX_Unmarshal

func (m *ChartGroupList) XXX_Unmarshal(b []byte) error

type ChartGroupPhase

type ChartGroupPhase string

ChartGroupPhase indicates the phase of chart groups.

const (
	// ChartGroupPending indicates that the chart group has been declared,
	// when the chart group has not actually been created.
	ChartGroupPending ChartGroupPhase = "Pending"
	// ChartGroupAvailable indicates the chart group of the project is available.
	ChartGroupAvailable ChartGroupPhase = "Available"
	// ChartGroupLocked indicates the chart group of the project is locked.
	ChartGroupLocked ChartGroupPhase = "Locked"
	// ChartGroupFailed indicates that the chart group failed to be created or deleted
	// after it has been created.
	ChartGroupFailed ChartGroupPhase = "Failed"
	// ChartGroupTerminating means the chart group is undergoing graceful termination.
	ChartGroupTerminating ChartGroupPhase = "Terminating"
)

These are valid phases of chart groups.

type ChartGroupSpec

type ChartGroupSpec struct {
	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// +optional
	Finalizers []FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=FinalizerName"`
	Name       string          `json:"name" protobuf:"bytes,2,opt,name=name"`
	TenantID   string          `json:"tenantID" protobuf:"bytes,3,opt,name=tenantID"`
	// +optional
	DisplayName string `json:"displayName,omitempty" protobuf:"bytes,4,opt,name=displayName"`
}

ChartGroupSpec represents an chart group.

func (*ChartGroupSpec) DeepCopy

func (in *ChartGroupSpec) DeepCopy() *ChartGroupSpec

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

func (*ChartGroupSpec) DeepCopyInto

func (in *ChartGroupSpec) DeepCopyInto(out *ChartGroupSpec)

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

func (*ChartGroupSpec) Descriptor

func (*ChartGroupSpec) Descriptor() ([]byte, []int)

func (*ChartGroupSpec) Marshal

func (m *ChartGroupSpec) Marshal() (dAtA []byte, err error)

func (*ChartGroupSpec) MarshalTo

func (m *ChartGroupSpec) MarshalTo(dAtA []byte) (int, error)

func (*ChartGroupSpec) MarshalToSizedBuffer

func (m *ChartGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChartGroupSpec) ProtoMessage

func (*ChartGroupSpec) ProtoMessage()

func (*ChartGroupSpec) Reset

func (m *ChartGroupSpec) Reset()

func (*ChartGroupSpec) Size

func (m *ChartGroupSpec) Size() (n int)

func (*ChartGroupSpec) String

func (this *ChartGroupSpec) String() string

func (ChartGroupSpec) SwaggerDoc

func (ChartGroupSpec) SwaggerDoc() map[string]string

func (*ChartGroupSpec) Unmarshal

func (m *ChartGroupSpec) Unmarshal(dAtA []byte) error

func (*ChartGroupSpec) XXX_DiscardUnknown

func (m *ChartGroupSpec) XXX_DiscardUnknown()

func (*ChartGroupSpec) XXX_Marshal

func (m *ChartGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChartGroupSpec) XXX_Merge

func (m *ChartGroupSpec) XXX_Merge(src proto.Message)

func (*ChartGroupSpec) XXX_Size

func (m *ChartGroupSpec) XXX_Size() int

func (*ChartGroupSpec) XXX_Unmarshal

func (m *ChartGroupSpec) XXX_Unmarshal(b []byte) error

type ChartGroupStatus

type ChartGroupStatus struct {
	// +optional
	Phase ChartGroupPhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=ChartGroupPhase"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,2,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

ChartGroupStatus represents information about the status of an chart group.

func (*ChartGroupStatus) DeepCopy

func (in *ChartGroupStatus) DeepCopy() *ChartGroupStatus

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

func (*ChartGroupStatus) DeepCopyInto

func (in *ChartGroupStatus) DeepCopyInto(out *ChartGroupStatus)

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

func (*ChartGroupStatus) Descriptor

func (*ChartGroupStatus) Descriptor() ([]byte, []int)

func (*ChartGroupStatus) Marshal

func (m *ChartGroupStatus) Marshal() (dAtA []byte, err error)

func (*ChartGroupStatus) MarshalTo

func (m *ChartGroupStatus) MarshalTo(dAtA []byte) (int, error)

func (*ChartGroupStatus) MarshalToSizedBuffer

func (m *ChartGroupStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChartGroupStatus) ProtoMessage

func (*ChartGroupStatus) ProtoMessage()

func (*ChartGroupStatus) Reset

func (m *ChartGroupStatus) Reset()

func (*ChartGroupStatus) Size

func (m *ChartGroupStatus) Size() (n int)

func (*ChartGroupStatus) String

func (this *ChartGroupStatus) String() string

func (ChartGroupStatus) SwaggerDoc

func (ChartGroupStatus) SwaggerDoc() map[string]string

func (*ChartGroupStatus) Unmarshal

func (m *ChartGroupStatus) Unmarshal(dAtA []byte) error

func (*ChartGroupStatus) XXX_DiscardUnknown

func (m *ChartGroupStatus) XXX_DiscardUnknown()

func (*ChartGroupStatus) XXX_Marshal

func (m *ChartGroupStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChartGroupStatus) XXX_Merge

func (m *ChartGroupStatus) XXX_Merge(src proto.Message)

func (*ChartGroupStatus) XXX_Size

func (m *ChartGroupStatus) XXX_Size() int

func (*ChartGroupStatus) XXX_Unmarshal

func (m *ChartGroupStatus) XXX_Unmarshal(b []byte) error

type ClusterHard

type ClusterHard map[string]HardQuantity

ClusterHard is a set of (cluster name, HardQuantity) pairs.

func (ClusterHard) DeepCopy

func (in ClusterHard) DeepCopy() ClusterHard

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

func (ClusterHard) DeepCopyInto

func (in ClusterHard) DeepCopyInto(out *ClusterHard)

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

type ClusterUsed

type ClusterUsed map[string]UsedQuantity

ClusterUsed is a set of (cluster name, UsedQuantity) pairs.

func (ClusterUsed) DeepCopy

func (in ClusterUsed) DeepCopy() ClusterUsed

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

func (ClusterUsed) DeepCopyInto

func (in ClusterUsed) DeepCopyInto(out *ClusterUsed)

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

type ConfigMap

type ConfigMap struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Data contains the configuration data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// Values with non-UTF-8 byte sequences must use the BinaryData field.
	// The keys stored in Data must not overlap with the keys in
	// the BinaryData field, this is enforced during validation process.
	// +optional
	Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`

	// BinaryData contains the binary data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// BinaryData can contain byte sequences that are not in the UTF-8 range.
	// The keys stored in BinaryData must not overlap with the ones in
	// the Data field, this is enforced during validation process.
	// +optional
	BinaryData map[string][]byte `json:"binaryData,omitempty" protobuf:"bytes,3,rep,name=binaryData"`
}

ConfigMap holds configuration data for tke to consume.

func (*ConfigMap) DeepCopy

func (in *ConfigMap) DeepCopy() *ConfigMap

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

func (*ConfigMap) DeepCopyInto

func (in *ConfigMap) DeepCopyInto(out *ConfigMap)

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

func (*ConfigMap) DeepCopyObject

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

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

func (*ConfigMap) Descriptor

func (*ConfigMap) Descriptor() ([]byte, []int)

func (*ConfigMap) Marshal

func (m *ConfigMap) Marshal() (dAtA []byte, err error)

func (*ConfigMap) MarshalTo

func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMap) MarshalToSizedBuffer

func (m *ConfigMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) Reset

func (m *ConfigMap) Reset()

func (*ConfigMap) Size

func (m *ConfigMap) Size() (n int)

func (*ConfigMap) String

func (this *ConfigMap) String() string

func (ConfigMap) SwaggerDoc

func (ConfigMap) SwaggerDoc() map[string]string

func (*ConfigMap) Unmarshal

func (m *ConfigMap) Unmarshal(dAtA []byte) error

func (*ConfigMap) XXX_DiscardUnknown

func (m *ConfigMap) XXX_DiscardUnknown()

func (*ConfigMap) XXX_Marshal

func (m *ConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMap) XXX_Merge

func (m *ConfigMap) XXX_Merge(src proto.Message)

func (*ConfigMap) XXX_Size

func (m *ConfigMap) XXX_Size() int

func (*ConfigMap) XXX_Unmarshal

func (m *ConfigMap) XXX_Unmarshal(b []byte) error

type ConfigMapList

type ConfigMapList struct {
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of ConfigMaps.
	Items []ConfigMap `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ConfigMapList is a resource containing a list of ConfigMap objects.

func (*ConfigMapList) DeepCopy

func (in *ConfigMapList) DeepCopy() *ConfigMapList

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

func (*ConfigMapList) DeepCopyInto

func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)

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

func (*ConfigMapList) DeepCopyObject

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

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

func (*ConfigMapList) Descriptor

func (*ConfigMapList) Descriptor() ([]byte, []int)

func (*ConfigMapList) Marshal

func (m *ConfigMapList) Marshal() (dAtA []byte, err error)

func (*ConfigMapList) MarshalTo

func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapList) MarshalToSizedBuffer

func (m *ConfigMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapList) ProtoMessage

func (*ConfigMapList) ProtoMessage()

func (*ConfigMapList) Reset

func (m *ConfigMapList) Reset()

func (*ConfigMapList) Size

func (m *ConfigMapList) Size() (n int)

func (*ConfigMapList) String

func (this *ConfigMapList) String() string

func (ConfigMapList) SwaggerDoc

func (ConfigMapList) SwaggerDoc() map[string]string

func (*ConfigMapList) Unmarshal

func (m *ConfigMapList) Unmarshal(dAtA []byte) error

func (*ConfigMapList) XXX_DiscardUnknown

func (m *ConfigMapList) XXX_DiscardUnknown()

func (*ConfigMapList) XXX_Marshal

func (m *ConfigMapList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapList) XXX_Merge

func (m *ConfigMapList) XXX_Merge(src proto.Message)

func (*ConfigMapList) XXX_Size

func (m *ConfigMapList) XXX_Size() int

func (*ConfigMapList) XXX_Unmarshal

func (m *ConfigMapList) XXX_Unmarshal(b []byte) error

type FinalizerName

type FinalizerName string

FinalizerName is the name identifying a finalizer during project lifecycle.

const (
	// ProjectFinalize is an internal finalizer values to Project.
	ProjectFinalize FinalizerName = "project"
	// NamespaceFinalize is an internal finalizer values to Namespace.
	NamespaceFinalize FinalizerName = "namespace"
	// ImageNamespaceFinalize is an internal finalizer values to ImageNamespace.
	ImageNamespaceFinalize FinalizerName = "imagenamespace"
	// ChartGroupFinalize is an internal finalizer values to ChartGroup.
	ChartGroupFinalize FinalizerName = "chartgroup"
)

type HardQuantity

type HardQuantity struct {
	Hard ResourceList `json:"hard,omitempty" protobuf:"bytes,1,rep,name=hard,casttype=ResourceList"`
}

HardQuantity is a straightforward wrapper of ResourceList.

func (*HardQuantity) DeepCopy

func (in *HardQuantity) DeepCopy() *HardQuantity

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

func (*HardQuantity) DeepCopyInto

func (in *HardQuantity) DeepCopyInto(out *HardQuantity)

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

func (*HardQuantity) Descriptor

func (*HardQuantity) Descriptor() ([]byte, []int)

func (*HardQuantity) Marshal

func (m *HardQuantity) Marshal() (dAtA []byte, err error)

func (*HardQuantity) MarshalTo

func (m *HardQuantity) MarshalTo(dAtA []byte) (int, error)

func (*HardQuantity) MarshalToSizedBuffer

func (m *HardQuantity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HardQuantity) ProtoMessage

func (*HardQuantity) ProtoMessage()

func (*HardQuantity) Reset

func (m *HardQuantity) Reset()

func (*HardQuantity) Size

func (m *HardQuantity) Size() (n int)

func (*HardQuantity) String

func (this *HardQuantity) String() string

func (HardQuantity) SwaggerDoc

func (HardQuantity) SwaggerDoc() map[string]string

func (*HardQuantity) Unmarshal

func (m *HardQuantity) Unmarshal(dAtA []byte) error

func (*HardQuantity) XXX_DiscardUnknown

func (m *HardQuantity) XXX_DiscardUnknown()

func (*HardQuantity) XXX_Marshal

func (m *HardQuantity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HardQuantity) XXX_Merge

func (m *HardQuantity) XXX_Merge(src proto.Message)

func (*HardQuantity) XXX_Size

func (m *HardQuantity) XXX_Size() int

func (*HardQuantity) XXX_Unmarshal

func (m *HardQuantity) XXX_Unmarshal(b []byte) error

type ImageNamespace

type ImageNamespace struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of namespaces in this set.
	// +optional
	Spec ImageNamespaceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status ImageNamespaceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ImageNamespace is an image namespace.

func (*ImageNamespace) DeepCopy

func (in *ImageNamespace) DeepCopy() *ImageNamespace

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

func (*ImageNamespace) DeepCopyInto

func (in *ImageNamespace) DeepCopyInto(out *ImageNamespace)

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

func (*ImageNamespace) DeepCopyObject

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

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

func (*ImageNamespace) Descriptor

func (*ImageNamespace) Descriptor() ([]byte, []int)

func (*ImageNamespace) Marshal

func (m *ImageNamespace) Marshal() (dAtA []byte, err error)

func (*ImageNamespace) MarshalTo

func (m *ImageNamespace) MarshalTo(dAtA []byte) (int, error)

func (*ImageNamespace) MarshalToSizedBuffer

func (m *ImageNamespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageNamespace) ProtoMessage

func (*ImageNamespace) ProtoMessage()

func (*ImageNamespace) Reset

func (m *ImageNamespace) Reset()

func (*ImageNamespace) Size

func (m *ImageNamespace) Size() (n int)

func (*ImageNamespace) String

func (this *ImageNamespace) String() string

func (ImageNamespace) SwaggerDoc

func (ImageNamespace) SwaggerDoc() map[string]string

func (*ImageNamespace) Unmarshal

func (m *ImageNamespace) Unmarshal(dAtA []byte) error

func (*ImageNamespace) XXX_DiscardUnknown

func (m *ImageNamespace) XXX_DiscardUnknown()

func (*ImageNamespace) XXX_Marshal

func (m *ImageNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageNamespace) XXX_Merge

func (m *ImageNamespace) XXX_Merge(src proto.Message)

func (*ImageNamespace) XXX_Size

func (m *ImageNamespace) XXX_Size() int

func (*ImageNamespace) XXX_Unmarshal

func (m *ImageNamespace) XXX_Unmarshal(b []byte) error

type ImageNamespaceList

type ImageNamespaceList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of namespaces
	Items []ImageNamespace `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ImageNamespaceList is the whole list of all image namespaces which owned by a tenant.

func (*ImageNamespaceList) DeepCopy

func (in *ImageNamespaceList) DeepCopy() *ImageNamespaceList

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

func (*ImageNamespaceList) DeepCopyInto

func (in *ImageNamespaceList) DeepCopyInto(out *ImageNamespaceList)

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

func (*ImageNamespaceList) DeepCopyObject

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

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

func (*ImageNamespaceList) Descriptor

func (*ImageNamespaceList) Descriptor() ([]byte, []int)

func (*ImageNamespaceList) Marshal

func (m *ImageNamespaceList) Marshal() (dAtA []byte, err error)

func (*ImageNamespaceList) MarshalTo

func (m *ImageNamespaceList) MarshalTo(dAtA []byte) (int, error)

func (*ImageNamespaceList) MarshalToSizedBuffer

func (m *ImageNamespaceList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageNamespaceList) ProtoMessage

func (*ImageNamespaceList) ProtoMessage()

func (*ImageNamespaceList) Reset

func (m *ImageNamespaceList) Reset()

func (*ImageNamespaceList) Size

func (m *ImageNamespaceList) Size() (n int)

func (*ImageNamespaceList) String

func (this *ImageNamespaceList) String() string

func (ImageNamespaceList) SwaggerDoc

func (ImageNamespaceList) SwaggerDoc() map[string]string

func (*ImageNamespaceList) Unmarshal

func (m *ImageNamespaceList) Unmarshal(dAtA []byte) error

func (*ImageNamespaceList) XXX_DiscardUnknown

func (m *ImageNamespaceList) XXX_DiscardUnknown()

func (*ImageNamespaceList) XXX_Marshal

func (m *ImageNamespaceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageNamespaceList) XXX_Merge

func (m *ImageNamespaceList) XXX_Merge(src proto.Message)

func (*ImageNamespaceList) XXX_Size

func (m *ImageNamespaceList) XXX_Size() int

func (*ImageNamespaceList) XXX_Unmarshal

func (m *ImageNamespaceList) XXX_Unmarshal(b []byte) error

type ImageNamespacePhase

type ImageNamespacePhase string

ImageNamespacePhase indicates the phase of image namespaces.

const (
	// ImageNamespacePending indicates that the image namespace has been declared,
	// when the image namespace has not actually been created.
	ImageNamespacePending ImageNamespacePhase = "Pending"
	// ImageNamespaceAvailable indicates the image namespace of the project is available.
	ImageNamespaceAvailable ImageNamespacePhase = "Available"
	// ImageNamespaceLocked indicates the image namespace of the project is locked.
	ImageNamespaceLocked ImageNamespacePhase = "Locked"
	// ImageNamespaceFailed indicates that the image namespace failed to be created or deleted
	// after it has been created.
	ImageNamespaceFailed ImageNamespacePhase = "Failed"
	// ImageNamespaceTerminating means the image namespace is undergoing graceful termination.
	ImageNamespaceTerminating ImageNamespacePhase = "Terminating"
)

These are valid phases of image namespaces.

type ImageNamespaceSpec

type ImageNamespaceSpec struct {
	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// +optional
	Finalizers []FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=FinalizerName"`
	Name       string          `json:"name" protobuf:"bytes,2,opt,name=name"`
	TenantID   string          `json:"tenantID" protobuf:"bytes,3,opt,name=tenantID"`
	// +optional
	DisplayName string `json:"displayName,omitempty" protobuf:"bytes,4,opt,name=displayName"`
}

ImageNamespaceSpec represents an image namespace.

func (*ImageNamespaceSpec) DeepCopy

func (in *ImageNamespaceSpec) DeepCopy() *ImageNamespaceSpec

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

func (*ImageNamespaceSpec) DeepCopyInto

func (in *ImageNamespaceSpec) DeepCopyInto(out *ImageNamespaceSpec)

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

func (*ImageNamespaceSpec) Descriptor

func (*ImageNamespaceSpec) Descriptor() ([]byte, []int)

func (*ImageNamespaceSpec) Marshal

func (m *ImageNamespaceSpec) Marshal() (dAtA []byte, err error)

func (*ImageNamespaceSpec) MarshalTo

func (m *ImageNamespaceSpec) MarshalTo(dAtA []byte) (int, error)

func (*ImageNamespaceSpec) MarshalToSizedBuffer

func (m *ImageNamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageNamespaceSpec) ProtoMessage

func (*ImageNamespaceSpec) ProtoMessage()

func (*ImageNamespaceSpec) Reset

func (m *ImageNamespaceSpec) Reset()

func (*ImageNamespaceSpec) Size

func (m *ImageNamespaceSpec) Size() (n int)

func (*ImageNamespaceSpec) String

func (this *ImageNamespaceSpec) String() string

func (ImageNamespaceSpec) SwaggerDoc

func (ImageNamespaceSpec) SwaggerDoc() map[string]string

func (*ImageNamespaceSpec) Unmarshal

func (m *ImageNamespaceSpec) Unmarshal(dAtA []byte) error

func (*ImageNamespaceSpec) XXX_DiscardUnknown

func (m *ImageNamespaceSpec) XXX_DiscardUnknown()

func (*ImageNamespaceSpec) XXX_Marshal

func (m *ImageNamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageNamespaceSpec) XXX_Merge

func (m *ImageNamespaceSpec) XXX_Merge(src proto.Message)

func (*ImageNamespaceSpec) XXX_Size

func (m *ImageNamespaceSpec) XXX_Size() int

func (*ImageNamespaceSpec) XXX_Unmarshal

func (m *ImageNamespaceSpec) XXX_Unmarshal(b []byte) error

type ImageNamespaceStatus

type ImageNamespaceStatus struct {
	// +optional
	Phase ImageNamespacePhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=ImageNamespacePhase"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,2,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

ImageNamespaceStatus represents information about the status of an image namespace.

func (*ImageNamespaceStatus) DeepCopy

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

func (*ImageNamespaceStatus) DeepCopyInto

func (in *ImageNamespaceStatus) DeepCopyInto(out *ImageNamespaceStatus)

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

func (*ImageNamespaceStatus) Descriptor

func (*ImageNamespaceStatus) Descriptor() ([]byte, []int)

func (*ImageNamespaceStatus) Marshal

func (m *ImageNamespaceStatus) Marshal() (dAtA []byte, err error)

func (*ImageNamespaceStatus) MarshalTo

func (m *ImageNamespaceStatus) MarshalTo(dAtA []byte) (int, error)

func (*ImageNamespaceStatus) MarshalToSizedBuffer

func (m *ImageNamespaceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageNamespaceStatus) ProtoMessage

func (*ImageNamespaceStatus) ProtoMessage()

func (*ImageNamespaceStatus) Reset

func (m *ImageNamespaceStatus) Reset()

func (*ImageNamespaceStatus) Size

func (m *ImageNamespaceStatus) Size() (n int)

func (*ImageNamespaceStatus) String

func (this *ImageNamespaceStatus) String() string

func (ImageNamespaceStatus) SwaggerDoc

func (ImageNamespaceStatus) SwaggerDoc() map[string]string

func (*ImageNamespaceStatus) Unmarshal

func (m *ImageNamespaceStatus) Unmarshal(dAtA []byte) error

func (*ImageNamespaceStatus) XXX_DiscardUnknown

func (m *ImageNamespaceStatus) XXX_DiscardUnknown()

func (*ImageNamespaceStatus) XXX_Marshal

func (m *ImageNamespaceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageNamespaceStatus) XXX_Merge

func (m *ImageNamespaceStatus) XXX_Merge(src proto.Message)

func (*ImageNamespaceStatus) XXX_Size

func (m *ImageNamespaceStatus) XXX_Size() int

func (*ImageNamespaceStatus) XXX_Unmarshal

func (m *ImageNamespaceStatus) XXX_Unmarshal(b []byte) error

type Namespace

type Namespace struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of namespaces in this set.
	// +optional
	Spec NamespaceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status NamespaceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Namespace is a namespace in cluster.

func (*Namespace) DeepCopy

func (in *Namespace) DeepCopy() *Namespace

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

func (*Namespace) DeepCopyInto

func (in *Namespace) DeepCopyInto(out *Namespace)

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

func (*Namespace) DeepCopyObject

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

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

func (*Namespace) Descriptor

func (*Namespace) Descriptor() ([]byte, []int)

func (*Namespace) Marshal

func (m *Namespace) Marshal() (dAtA []byte, err error)

func (*Namespace) MarshalTo

func (m *Namespace) MarshalTo(dAtA []byte) (int, error)

func (*Namespace) MarshalToSizedBuffer

func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Size

func (m *Namespace) Size() (n int)

func (*Namespace) String

func (this *Namespace) String() string

func (Namespace) SwaggerDoc

func (Namespace) SwaggerDoc() map[string]string

func (*Namespace) Unmarshal

func (m *Namespace) Unmarshal(dAtA []byte) error

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Namespace) XXX_Merge

func (m *Namespace) XXX_Merge(src proto.Message)

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

func (m *Namespace) XXX_Unmarshal(b []byte) error

type NamespaceCert added in v1.2.5

type NamespaceCert struct {
	// +optional
	CertPem []byte `json:"certPem,omitempty" protobuf:"bytes,1,rep,name=certPem"`
	// +optional
	KeyPem []byte `json:"keyPem,omitempty" protobuf:"bytes,2,rep,name=keyPem"`
	// +optional
	CACertPem []byte `json:"caCertPem,omitempty" protobuf:"bytes,3,rep,name=caCertPem"`
	// +optional
	APIServer string `json:"apiServer,omitempty" protobuf:"bytes,4,rep,name=apiServer"`
}

NamespaceCert represents a x509 certificate of a namespace in project.

func (*NamespaceCert) DeepCopy added in v1.2.5

func (in *NamespaceCert) DeepCopy() *NamespaceCert

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

func (*NamespaceCert) DeepCopyInto added in v1.2.5

func (in *NamespaceCert) DeepCopyInto(out *NamespaceCert)

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

func (*NamespaceCert) Descriptor added in v1.2.5

func (*NamespaceCert) Descriptor() ([]byte, []int)

func (*NamespaceCert) Marshal added in v1.2.5

func (m *NamespaceCert) Marshal() (dAtA []byte, err error)

func (*NamespaceCert) MarshalTo added in v1.2.5

func (m *NamespaceCert) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceCert) MarshalToSizedBuffer added in v1.2.5

func (m *NamespaceCert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceCert) ProtoMessage added in v1.2.5

func (*NamespaceCert) ProtoMessage()

func (*NamespaceCert) Reset added in v1.2.5

func (m *NamespaceCert) Reset()

func (*NamespaceCert) Size added in v1.2.5

func (m *NamespaceCert) Size() (n int)

func (*NamespaceCert) String added in v1.2.5

func (this *NamespaceCert) String() string

func (NamespaceCert) SwaggerDoc added in v1.2.5

func (NamespaceCert) SwaggerDoc() map[string]string

func (*NamespaceCert) Unmarshal added in v1.2.5

func (m *NamespaceCert) Unmarshal(dAtA []byte) error

func (*NamespaceCert) XXX_DiscardUnknown added in v1.2.5

func (m *NamespaceCert) XXX_DiscardUnknown()

func (*NamespaceCert) XXX_Marshal added in v1.2.5

func (m *NamespaceCert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceCert) XXX_Merge added in v1.2.5

func (m *NamespaceCert) XXX_Merge(src proto.Message)

func (*NamespaceCert) XXX_Size added in v1.2.5

func (m *NamespaceCert) XXX_Size() int

func (*NamespaceCert) XXX_Unmarshal added in v1.2.5

func (m *NamespaceCert) XXX_Unmarshal(b []byte) error

type NamespaceCertOptions added in v1.2.5

type NamespaceCertOptions struct {
	metav1.TypeMeta `json:",inline"`

	// Pay attention to const CertOptionValiddays!
	ValidDays string `json:"validDays,omitempty" protobuf:"bytes,1,opt,name=validDays"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object NamespaceCertOptions is query options of getting namespace with a x509 certificate.

func (*NamespaceCertOptions) DeepCopy added in v1.2.5

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

func (*NamespaceCertOptions) DeepCopyInto added in v1.2.5

func (in *NamespaceCertOptions) DeepCopyInto(out *NamespaceCertOptions)

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

func (*NamespaceCertOptions) DeepCopyObject added in v1.2.5

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

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

func (*NamespaceCertOptions) Descriptor added in v1.2.5

func (*NamespaceCertOptions) Descriptor() ([]byte, []int)

func (*NamespaceCertOptions) Marshal added in v1.2.5

func (m *NamespaceCertOptions) Marshal() (dAtA []byte, err error)

func (*NamespaceCertOptions) MarshalTo added in v1.2.5

func (m *NamespaceCertOptions) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceCertOptions) MarshalToSizedBuffer added in v1.2.5

func (m *NamespaceCertOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceCertOptions) ProtoMessage added in v1.2.5

func (*NamespaceCertOptions) ProtoMessage()

func (*NamespaceCertOptions) Reset added in v1.2.5

func (m *NamespaceCertOptions) Reset()

func (*NamespaceCertOptions) Size added in v1.2.5

func (m *NamespaceCertOptions) Size() (n int)

func (*NamespaceCertOptions) String added in v1.2.5

func (this *NamespaceCertOptions) String() string

func (NamespaceCertOptions) SwaggerDoc added in v1.2.5

func (NamespaceCertOptions) SwaggerDoc() map[string]string

func (*NamespaceCertOptions) Unmarshal added in v1.2.5

func (m *NamespaceCertOptions) Unmarshal(dAtA []byte) error

func (*NamespaceCertOptions) XXX_DiscardUnknown added in v1.2.5

func (m *NamespaceCertOptions) XXX_DiscardUnknown()

func (*NamespaceCertOptions) XXX_Marshal added in v1.2.5

func (m *NamespaceCertOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceCertOptions) XXX_Merge added in v1.2.5

func (m *NamespaceCertOptions) XXX_Merge(src proto.Message)

func (*NamespaceCertOptions) XXX_Size added in v1.2.5

func (m *NamespaceCertOptions) XXX_Size() int

func (*NamespaceCertOptions) XXX_Unmarshal added in v1.2.5

func (m *NamespaceCertOptions) XXX_Unmarshal(b []byte) error

type NamespaceList

type NamespaceList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of namespaces
	Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"`
}

NamespaceList is the whole list of all namespaces which owned by a tenant.

func (*NamespaceList) DeepCopy

func (in *NamespaceList) DeepCopy() *NamespaceList

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

func (*NamespaceList) DeepCopyInto

func (in *NamespaceList) DeepCopyInto(out *NamespaceList)

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

func (*NamespaceList) DeepCopyObject

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

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

func (*NamespaceList) Descriptor

func (*NamespaceList) Descriptor() ([]byte, []int)

func (*NamespaceList) Marshal

func (m *NamespaceList) Marshal() (dAtA []byte, err error)

func (*NamespaceList) MarshalTo

func (m *NamespaceList) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceList) MarshalToSizedBuffer

func (m *NamespaceList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceList) ProtoMessage

func (*NamespaceList) ProtoMessage()

func (*NamespaceList) Reset

func (m *NamespaceList) Reset()

func (*NamespaceList) Size

func (m *NamespaceList) Size() (n int)

func (*NamespaceList) String

func (this *NamespaceList) String() string

func (NamespaceList) SwaggerDoc

func (NamespaceList) SwaggerDoc() map[string]string

func (*NamespaceList) Unmarshal

func (m *NamespaceList) Unmarshal(dAtA []byte) error

func (*NamespaceList) XXX_DiscardUnknown

func (m *NamespaceList) XXX_DiscardUnknown()

func (*NamespaceList) XXX_Marshal

func (m *NamespaceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceList) XXX_Merge

func (m *NamespaceList) XXX_Merge(src proto.Message)

func (*NamespaceList) XXX_Size

func (m *NamespaceList) XXX_Size() int

func (*NamespaceList) XXX_Unmarshal

func (m *NamespaceList) XXX_Unmarshal(b []byte) error

type NamespacePhase

type NamespacePhase string

NamespacePhase indicates the status of namespace in project.

const (
	// NamespacePending indicates that the namespace has been declared, when the namespace
	// has not actually been created in the cluster.
	NamespacePending NamespacePhase = "Pending"
	// NamespaceAvailable indicates the namespace of the project is available.
	NamespaceAvailable NamespacePhase = "Available"
	// NamespaceLocked indicates the namespace is locked.
	NamespaceLocked NamespacePhase = "Locked"
	// Namespace indicates that the namespace failed to be created in the cluster or
	// deleted in the cluster after it has been created.
	NamespaceFailed NamespacePhase = "Failed"
	// NamespaceTerminating means the namespace is undergoing graceful termination.
	NamespaceTerminating NamespacePhase = "Terminating"
)

These are valid namespace status of project.

type NamespaceSpec

type NamespaceSpec struct {
	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// +optional
	Finalizers         []FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=FinalizerName"`
	TenantID           string          `json:"tenantID" protobuf:"bytes,2,opt,name=tenantID"`
	ClusterName        string          `json:"clusterName" protobuf:"bytes,3,opt,name=clusterName"`
	ClusterType        string          `json:"clusterType" protobuf:"bytes,8,opt,name=clusterType"`
	ClusterVersion     string          `json:"clusterVersion" protobuf:"bytes,6,opt,name=clusterVersion"`
	ClusterDisplayName string          `json:"clusterDisplayName" protobuf:"bytes,7,opt,name=clusterDisplayName"`
	Namespace          string          `json:"namespace" protobuf:"bytes,4,opt,name=namespace"`
	// Hard represents the total resources of a namespace.
	// +optional
	Hard ResourceList `json:"hard,omitempty" protobuf:"bytes,5,rep,name=hard,casttype=ResourceList"`
}

NamespaceSpec represents a namespace in cluster of a project.

func (*NamespaceSpec) DeepCopy

func (in *NamespaceSpec) DeepCopy() *NamespaceSpec

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

func (*NamespaceSpec) DeepCopyInto

func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec)

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

func (*NamespaceSpec) Descriptor

func (*NamespaceSpec) Descriptor() ([]byte, []int)

func (*NamespaceSpec) Marshal

func (m *NamespaceSpec) Marshal() (dAtA []byte, err error)

func (*NamespaceSpec) MarshalTo

func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceSpec) MarshalToSizedBuffer

func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceSpec) ProtoMessage

func (*NamespaceSpec) ProtoMessage()

func (*NamespaceSpec) Reset

func (m *NamespaceSpec) Reset()

func (*NamespaceSpec) Size

func (m *NamespaceSpec) Size() (n int)

func (*NamespaceSpec) String

func (this *NamespaceSpec) String() string

func (NamespaceSpec) SwaggerDoc

func (NamespaceSpec) SwaggerDoc() map[string]string

func (*NamespaceSpec) Unmarshal

func (m *NamespaceSpec) Unmarshal(dAtA []byte) error

func (*NamespaceSpec) XXX_DiscardUnknown

func (m *NamespaceSpec) XXX_DiscardUnknown()

func (*NamespaceSpec) XXX_Marshal

func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceSpec) XXX_Merge

func (m *NamespaceSpec) XXX_Merge(src proto.Message)

func (*NamespaceSpec) XXX_Size

func (m *NamespaceSpec) XXX_Size() int

func (*NamespaceSpec) XXX_Unmarshal

func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error

type NamespaceStatus

type NamespaceStatus struct {
	// +optional
	Phase NamespacePhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=NamespacePhase"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,2,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
	// +optional
	ResourceQuotaName string `json:"resourceQuotaName,omitempty" protobuf:"bytes,5,opt,name=resourceQuotaName"`
	// Used represents the resources of a namespace that are used.
	// +optional
	Used ResourceList `json:"used,omitempty" protobuf:"bytes,6,rep,name=used,casttype=ResourceList"`
	// +optional
	CachedSpecHard ResourceList `json:"cachedSpecHard,omitempty" protobuf:"bytes,7,rep,name=cachedSpecHard,casttype=ResourceList"`
	// +optional
	Certificate *NamespaceCert `json:"certificate,omitempty" protobuf:"bytes,8,name=certificate,casttype=NamespaceCert"`
}

NamespaceStatus represents information about the status of a namespace in project.

func (*NamespaceStatus) DeepCopy

func (in *NamespaceStatus) DeepCopy() *NamespaceStatus

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

func (*NamespaceStatus) DeepCopyInto

func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus)

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

func (*NamespaceStatus) Descriptor

func (*NamespaceStatus) Descriptor() ([]byte, []int)

func (*NamespaceStatus) Marshal

func (m *NamespaceStatus) Marshal() (dAtA []byte, err error)

func (*NamespaceStatus) MarshalTo

func (m *NamespaceStatus) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceStatus) MarshalToSizedBuffer

func (m *NamespaceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceStatus) ProtoMessage

func (*NamespaceStatus) ProtoMessage()

func (*NamespaceStatus) Reset

func (m *NamespaceStatus) Reset()

func (*NamespaceStatus) Size

func (m *NamespaceStatus) Size() (n int)

func (*NamespaceStatus) String

func (this *NamespaceStatus) String() string

func (NamespaceStatus) SwaggerDoc

func (NamespaceStatus) SwaggerDoc() map[string]string

func (*NamespaceStatus) Unmarshal

func (m *NamespaceStatus) Unmarshal(dAtA []byte) error

func (*NamespaceStatus) XXX_DiscardUnknown

func (m *NamespaceStatus) XXX_DiscardUnknown()

func (*NamespaceStatus) XXX_Marshal

func (m *NamespaceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceStatus) XXX_Merge

func (m *NamespaceStatus) XXX_Merge(src proto.Message)

func (*NamespaceStatus) XXX_Size

func (m *NamespaceStatus) XXX_Size() int

func (*NamespaceStatus) XXX_Unmarshal

func (m *NamespaceStatus) XXX_Unmarshal(b []byte) error

type NsEmigration added in v1.3.1

type NsEmigration struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of emigrations in this set.
	// +optional
	Spec NsEmigrationSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status NsEmigrationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

NsEmigration is an namespace emigration.

func (*NsEmigration) DeepCopy added in v1.3.1

func (in *NsEmigration) DeepCopy() *NsEmigration

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

func (*NsEmigration) DeepCopyInto added in v1.3.1

func (in *NsEmigration) DeepCopyInto(out *NsEmigration)

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

func (*NsEmigration) DeepCopyObject added in v1.3.1

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

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

func (*NsEmigration) Descriptor added in v1.3.1

func (*NsEmigration) Descriptor() ([]byte, []int)

func (*NsEmigration) Marshal added in v1.3.1

func (m *NsEmigration) Marshal() (dAtA []byte, err error)

func (*NsEmigration) MarshalTo added in v1.3.1

func (m *NsEmigration) MarshalTo(dAtA []byte) (int, error)

func (*NsEmigration) MarshalToSizedBuffer added in v1.3.1

func (m *NsEmigration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NsEmigration) ProtoMessage added in v1.3.1

func (*NsEmigration) ProtoMessage()

func (*NsEmigration) Reset added in v1.3.1

func (m *NsEmigration) Reset()

func (*NsEmigration) Size added in v1.3.1

func (m *NsEmigration) Size() (n int)

func (*NsEmigration) String added in v1.3.1

func (this *NsEmigration) String() string

func (NsEmigration) SwaggerDoc added in v1.3.1

func (NsEmigration) SwaggerDoc() map[string]string

func (*NsEmigration) Unmarshal added in v1.3.1

func (m *NsEmigration) Unmarshal(dAtA []byte) error

func (*NsEmigration) XXX_DiscardUnknown added in v1.3.1

func (m *NsEmigration) XXX_DiscardUnknown()

func (*NsEmigration) XXX_Marshal added in v1.3.1

func (m *NsEmigration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NsEmigration) XXX_Merge added in v1.3.1

func (m *NsEmigration) XXX_Merge(src proto.Message)

func (*NsEmigration) XXX_Size added in v1.3.1

func (m *NsEmigration) XXX_Size() int

func (*NsEmigration) XXX_Unmarshal added in v1.3.1

func (m *NsEmigration) XXX_Unmarshal(b []byte) error

type NsEmigrationList added in v1.3.1

type NsEmigrationList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of namespace emigrations
	Items []NsEmigration `json:"items" protobuf:"bytes,2,rep,name=items"`
}

NsEmigrationList is the whole list of all namespace emigrations which owned by a tenant.

func (*NsEmigrationList) DeepCopy added in v1.3.1

func (in *NsEmigrationList) DeepCopy() *NsEmigrationList

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

func (*NsEmigrationList) DeepCopyInto added in v1.3.1

func (in *NsEmigrationList) DeepCopyInto(out *NsEmigrationList)

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

func (*NsEmigrationList) DeepCopyObject added in v1.3.1

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

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

func (*NsEmigrationList) Descriptor added in v1.3.1

func (*NsEmigrationList) Descriptor() ([]byte, []int)

func (*NsEmigrationList) Marshal added in v1.3.1

func (m *NsEmigrationList) Marshal() (dAtA []byte, err error)

func (*NsEmigrationList) MarshalTo added in v1.3.1

func (m *NsEmigrationList) MarshalTo(dAtA []byte) (int, error)

func (*NsEmigrationList) MarshalToSizedBuffer added in v1.3.1

func (m *NsEmigrationList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NsEmigrationList) ProtoMessage added in v1.3.1

func (*NsEmigrationList) ProtoMessage()

func (*NsEmigrationList) Reset added in v1.3.1

func (m *NsEmigrationList) Reset()

func (*NsEmigrationList) Size added in v1.3.1

func (m *NsEmigrationList) Size() (n int)

func (*NsEmigrationList) String added in v1.3.1

func (this *NsEmigrationList) String() string

func (NsEmigrationList) SwaggerDoc added in v1.3.1

func (NsEmigrationList) SwaggerDoc() map[string]string

func (*NsEmigrationList) Unmarshal added in v1.3.1

func (m *NsEmigrationList) Unmarshal(dAtA []byte) error

func (*NsEmigrationList) XXX_DiscardUnknown added in v1.3.1

func (m *NsEmigrationList) XXX_DiscardUnknown()

func (*NsEmigrationList) XXX_Marshal added in v1.3.1

func (m *NsEmigrationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NsEmigrationList) XXX_Merge added in v1.3.1

func (m *NsEmigrationList) XXX_Merge(src proto.Message)

func (*NsEmigrationList) XXX_Size added in v1.3.1

func (m *NsEmigrationList) XXX_Size() int

func (*NsEmigrationList) XXX_Unmarshal added in v1.3.1

func (m *NsEmigrationList) XXX_Unmarshal(b []byte) error

type NsEmigrationPhase added in v1.3.1

type NsEmigrationPhase string

NsEmigrationPhase indicates the phase of namespace emigrations.

const (
	// NsEmigrationPending indicates that the emigration is waiting to be executed.
	NsEmigrationPending NsEmigrationPhase = "Pending"
	// NsEmigrationOldOneLocked indicates that old namespace has been locked.
	NsEmigrationOldOneLocked NsEmigrationPhase = "OldOneLocked"
	// NsEmigrationOldOneDetached indicates that old namespace has been detached from k8s cluster namespace.
	NsEmigrationOldOneDetached NsEmigrationPhase = "OldOneDetached"
	// NsEmigrationNewOneCreated indicates that new namespace has been created.
	NsEmigrationNewOneCreated NsEmigrationPhase = "NewOneCreated"
	// NsEmigrationOldOneTerminating indicates that old namespace is terminating.
	NsEmigrationOldOneTerminating NsEmigrationPhase = "OldOneTerminating"
	// NsEmigrationFinished indicates that the emigration finished.
	NsEmigrationFinished NsEmigrationPhase = "Finished"
	// NsEmigrationFailed indicates that the emigration failed.
	NsEmigrationFailed NsEmigrationPhase = "Failed"
)

These are valid phases of namespace emigrations.

type NsEmigrationSpec added in v1.3.1

type NsEmigrationSpec struct {
	TenantID    string `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	Namespace   string `json:"namespace" protobuf:"bytes,2,opt,name=namespace"`
	NsShowName  string `json:"nsShowName" protobuf:"bytes,3,opt,name=nsShowName"`
	Destination string `json:"destination" protobuf:"bytes,4,opt,name=destination"`
}

NsEmigrationSpec represents a namespace emigration.

func (*NsEmigrationSpec) DeepCopy added in v1.3.1

func (in *NsEmigrationSpec) DeepCopy() *NsEmigrationSpec

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

func (*NsEmigrationSpec) DeepCopyInto added in v1.3.1

func (in *NsEmigrationSpec) DeepCopyInto(out *NsEmigrationSpec)

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

func (*NsEmigrationSpec) Descriptor added in v1.3.1

func (*NsEmigrationSpec) Descriptor() ([]byte, []int)

func (*NsEmigrationSpec) Marshal added in v1.3.1

func (m *NsEmigrationSpec) Marshal() (dAtA []byte, err error)

func (*NsEmigrationSpec) MarshalTo added in v1.3.1

func (m *NsEmigrationSpec) MarshalTo(dAtA []byte) (int, error)

func (*NsEmigrationSpec) MarshalToSizedBuffer added in v1.3.1

func (m *NsEmigrationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NsEmigrationSpec) ProtoMessage added in v1.3.1

func (*NsEmigrationSpec) ProtoMessage()

func (*NsEmigrationSpec) Reset added in v1.3.1

func (m *NsEmigrationSpec) Reset()

func (*NsEmigrationSpec) Size added in v1.3.1

func (m *NsEmigrationSpec) Size() (n int)

func (*NsEmigrationSpec) String added in v1.3.1

func (this *NsEmigrationSpec) String() string

func (NsEmigrationSpec) SwaggerDoc added in v1.3.1

func (NsEmigrationSpec) SwaggerDoc() map[string]string

func (*NsEmigrationSpec) Unmarshal added in v1.3.1

func (m *NsEmigrationSpec) Unmarshal(dAtA []byte) error

func (*NsEmigrationSpec) XXX_DiscardUnknown added in v1.3.1

func (m *NsEmigrationSpec) XXX_DiscardUnknown()

func (*NsEmigrationSpec) XXX_Marshal added in v1.3.1

func (m *NsEmigrationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NsEmigrationSpec) XXX_Merge added in v1.3.1

func (m *NsEmigrationSpec) XXX_Merge(src proto.Message)

func (*NsEmigrationSpec) XXX_Size added in v1.3.1

func (m *NsEmigrationSpec) XXX_Size() int

func (*NsEmigrationSpec) XXX_Unmarshal added in v1.3.1

func (m *NsEmigrationSpec) XXX_Unmarshal(b []byte) error

type NsEmigrationStatus added in v1.3.1

type NsEmigrationStatus struct {
	// +optional
	Phase NsEmigrationPhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=NsEmigrationPhase"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,2,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

NsEmigrationStatus represents information about the status of a namespace emigration.

func (*NsEmigrationStatus) DeepCopy added in v1.3.1

func (in *NsEmigrationStatus) DeepCopy() *NsEmigrationStatus

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

func (*NsEmigrationStatus) DeepCopyInto added in v1.3.1

func (in *NsEmigrationStatus) DeepCopyInto(out *NsEmigrationStatus)

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

func (*NsEmigrationStatus) Descriptor added in v1.3.1

func (*NsEmigrationStatus) Descriptor() ([]byte, []int)

func (*NsEmigrationStatus) Marshal added in v1.3.1

func (m *NsEmigrationStatus) Marshal() (dAtA []byte, err error)

func (*NsEmigrationStatus) MarshalTo added in v1.3.1

func (m *NsEmigrationStatus) MarshalTo(dAtA []byte) (int, error)

func (*NsEmigrationStatus) MarshalToSizedBuffer added in v1.3.1

func (m *NsEmigrationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NsEmigrationStatus) ProtoMessage added in v1.3.1

func (*NsEmigrationStatus) ProtoMessage()

func (*NsEmigrationStatus) Reset added in v1.3.1

func (m *NsEmigrationStatus) Reset()

func (*NsEmigrationStatus) Size added in v1.3.1

func (m *NsEmigrationStatus) Size() (n int)

func (*NsEmigrationStatus) String added in v1.3.1

func (this *NsEmigrationStatus) String() string

func (NsEmigrationStatus) SwaggerDoc added in v1.3.1

func (NsEmigrationStatus) SwaggerDoc() map[string]string

func (*NsEmigrationStatus) Unmarshal added in v1.3.1

func (m *NsEmigrationStatus) Unmarshal(dAtA []byte) error

func (*NsEmigrationStatus) XXX_DiscardUnknown added in v1.3.1

func (m *NsEmigrationStatus) XXX_DiscardUnknown()

func (*NsEmigrationStatus) XXX_Marshal added in v1.3.1

func (m *NsEmigrationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NsEmigrationStatus) XXX_Merge added in v1.3.1

func (m *NsEmigrationStatus) XXX_Merge(src proto.Message)

func (*NsEmigrationStatus) XXX_Size added in v1.3.1

func (m *NsEmigrationStatus) XXX_Size() int

func (*NsEmigrationStatus) XXX_Unmarshal added in v1.3.1

func (m *NsEmigrationStatus) XXX_Unmarshal(b []byte) error

type Platform

type Platform struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of platforms in this set.
	// +optional
	Spec PlatformSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

Platform is a platform in TKE.

func (*Platform) DeepCopy

func (in *Platform) DeepCopy() *Platform

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

func (*Platform) DeepCopyInto

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

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

func (*Platform) DeepCopyObject

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

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

func (*Platform) Descriptor

func (*Platform) Descriptor() ([]byte, []int)

func (*Platform) Marshal

func (m *Platform) Marshal() (dAtA []byte, err error)

func (*Platform) MarshalTo

func (m *Platform) MarshalTo(dAtA []byte) (int, error)

func (*Platform) MarshalToSizedBuffer

func (m *Platform) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) Reset

func (m *Platform) Reset()

func (*Platform) Size

func (m *Platform) Size() (n int)

func (*Platform) String

func (this *Platform) String() string

func (Platform) SwaggerDoc

func (Platform) SwaggerDoc() map[string]string

func (*Platform) Unmarshal

func (m *Platform) Unmarshal(dAtA []byte) error

func (*Platform) XXX_DiscardUnknown

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal

func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Platform) XXX_Merge

func (m *Platform) XXX_Merge(src proto.Message)

func (*Platform) XXX_Size

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal

func (m *Platform) XXX_Unmarshal(b []byte) error

type PlatformList

type PlatformList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of platform.
	Items []Platform `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PlatformList is the whole list of all platforms which owned by a tenant.

func (*PlatformList) DeepCopy

func (in *PlatformList) DeepCopy() *PlatformList

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

func (*PlatformList) DeepCopyInto

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

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

func (*PlatformList) DeepCopyObject

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

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

func (*PlatformList) Descriptor

func (*PlatformList) Descriptor() ([]byte, []int)

func (*PlatformList) Marshal

func (m *PlatformList) Marshal() (dAtA []byte, err error)

func (*PlatformList) MarshalTo

func (m *PlatformList) MarshalTo(dAtA []byte) (int, error)

func (*PlatformList) MarshalToSizedBuffer

func (m *PlatformList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PlatformList) ProtoMessage

func (*PlatformList) ProtoMessage()

func (*PlatformList) Reset

func (m *PlatformList) Reset()

func (*PlatformList) Size

func (m *PlatformList) Size() (n int)

func (*PlatformList) String

func (this *PlatformList) String() string

func (PlatformList) SwaggerDoc

func (PlatformList) SwaggerDoc() map[string]string

func (*PlatformList) Unmarshal

func (m *PlatformList) Unmarshal(dAtA []byte) error

func (*PlatformList) XXX_DiscardUnknown

func (m *PlatformList) XXX_DiscardUnknown()

func (*PlatformList) XXX_Marshal

func (m *PlatformList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlatformList) XXX_Merge

func (m *PlatformList) XXX_Merge(src proto.Message)

func (*PlatformList) XXX_Size

func (m *PlatformList) XXX_Size() int

func (*PlatformList) XXX_Unmarshal

func (m *PlatformList) XXX_Unmarshal(b []byte) error

type PlatformSpec

type PlatformSpec struct {
	TenantID       string   `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	Administrators []string `json:"administrators" protobuf:"bytes,2,rep,name=administrators"`
}

PlatformSpec is a description of a platform.

func (*PlatformSpec) DeepCopy

func (in *PlatformSpec) DeepCopy() *PlatformSpec

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

func (*PlatformSpec) DeepCopyInto

func (in *PlatformSpec) DeepCopyInto(out *PlatformSpec)

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

func (*PlatformSpec) Descriptor

func (*PlatformSpec) Descriptor() ([]byte, []int)

func (*PlatformSpec) Marshal

func (m *PlatformSpec) Marshal() (dAtA []byte, err error)

func (*PlatformSpec) MarshalTo

func (m *PlatformSpec) MarshalTo(dAtA []byte) (int, error)

func (*PlatformSpec) MarshalToSizedBuffer

func (m *PlatformSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PlatformSpec) ProtoMessage

func (*PlatformSpec) ProtoMessage()

func (*PlatformSpec) Reset

func (m *PlatformSpec) Reset()

func (*PlatformSpec) Size

func (m *PlatformSpec) Size() (n int)

func (*PlatformSpec) String

func (this *PlatformSpec) String() string

func (PlatformSpec) SwaggerDoc

func (PlatformSpec) SwaggerDoc() map[string]string

func (*PlatformSpec) Unmarshal

func (m *PlatformSpec) Unmarshal(dAtA []byte) error

func (*PlatformSpec) XXX_DiscardUnknown

func (m *PlatformSpec) XXX_DiscardUnknown()

func (*PlatformSpec) XXX_Marshal

func (m *PlatformSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlatformSpec) XXX_Merge

func (m *PlatformSpec) XXX_Merge(src proto.Message)

func (*PlatformSpec) XXX_Size

func (m *PlatformSpec) XXX_Size() int

func (*PlatformSpec) XXX_Unmarshal

func (m *PlatformSpec) XXX_Unmarshal(b []byte) error

type Portal

type Portal struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Administrator indicates whether the user is a platform administrator
	Administrator bool `json:"administrator" protobuf:"varint,2,opt,name=administrator"`
	// Projects represents the list of projects to which the user belongs, where the key represents
	// project name and the value represents the project display name.
	Projects map[string]string `json:"projects" protobuf:"bytes,3,rep,name=projects"`
	// Extension is extension info. for projects.
	Extension ProjectExtension `json:"extension" protobuf:"bytes,4,rep,name=extension,casttype=ProjectExtension"`
}

Portal is a user in TKE.

func (*Portal) DeepCopy

func (in *Portal) DeepCopy() *Portal

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

func (*Portal) DeepCopyInto

func (in *Portal) DeepCopyInto(out *Portal)

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

func (*Portal) DeepCopyObject

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

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

func (*Portal) Descriptor

func (*Portal) Descriptor() ([]byte, []int)

func (*Portal) Marshal

func (m *Portal) Marshal() (dAtA []byte, err error)

func (*Portal) MarshalTo

func (m *Portal) MarshalTo(dAtA []byte) (int, error)

func (*Portal) MarshalToSizedBuffer

func (m *Portal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Portal) ProtoMessage

func (*Portal) ProtoMessage()

func (*Portal) Reset

func (m *Portal) Reset()

func (*Portal) Size

func (m *Portal) Size() (n int)

func (*Portal) String

func (this *Portal) String() string

func (Portal) SwaggerDoc

func (Portal) SwaggerDoc() map[string]string

func (*Portal) Unmarshal

func (m *Portal) Unmarshal(dAtA []byte) error

func (*Portal) XXX_DiscardUnknown

func (m *Portal) XXX_DiscardUnknown()

func (*Portal) XXX_Marshal

func (m *Portal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Portal) XXX_Merge

func (m *Portal) XXX_Merge(src proto.Message)

func (*Portal) XXX_Size

func (m *Portal) XXX_Size() int

func (*Portal) XXX_Unmarshal

func (m *Portal) XXX_Unmarshal(b []byte) error

type PortalProject added in v1.3.1

type PortalProject struct {
	// Phases of projects.
	Phase string `json:"phase" protobuf:"bytes,1,opt,name=phase"`
	// Parents of projects.
	Parent string `json:"parent" protobuf:"bytes,2,opt,name=parent"`
}

PortalProject is a project extension info for portal.

func (*PortalProject) DeepCopy added in v1.3.1

func (in *PortalProject) DeepCopy() *PortalProject

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

func (*PortalProject) DeepCopyInto added in v1.3.1

func (in *PortalProject) DeepCopyInto(out *PortalProject)

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

func (*PortalProject) Descriptor added in v1.3.1

func (*PortalProject) Descriptor() ([]byte, []int)

func (*PortalProject) Marshal added in v1.3.1

func (m *PortalProject) Marshal() (dAtA []byte, err error)

func (*PortalProject) MarshalTo added in v1.3.1

func (m *PortalProject) MarshalTo(dAtA []byte) (int, error)

func (*PortalProject) MarshalToSizedBuffer added in v1.3.1

func (m *PortalProject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortalProject) ProtoMessage added in v1.3.1

func (*PortalProject) ProtoMessage()

func (*PortalProject) Reset added in v1.3.1

func (m *PortalProject) Reset()

func (*PortalProject) Size added in v1.3.1

func (m *PortalProject) Size() (n int)

func (*PortalProject) String added in v1.3.1

func (this *PortalProject) String() string

func (PortalProject) SwaggerDoc added in v1.3.1

func (PortalProject) SwaggerDoc() map[string]string

func (*PortalProject) Unmarshal added in v1.3.1

func (m *PortalProject) Unmarshal(dAtA []byte) error

func (*PortalProject) XXX_DiscardUnknown added in v1.3.1

func (m *PortalProject) XXX_DiscardUnknown()

func (*PortalProject) XXX_Marshal added in v1.3.1

func (m *PortalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortalProject) XXX_Merge added in v1.3.1

func (m *PortalProject) XXX_Merge(src proto.Message)

func (*PortalProject) XXX_Size added in v1.3.1

func (m *PortalProject) XXX_Size() int

func (*PortalProject) XXX_Unmarshal added in v1.3.1

func (m *PortalProject) XXX_Unmarshal(b []byte) error

type Project

type Project struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of project in this set.
	// +optional
	Spec ProjectSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status ProjectStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Project is a project in TKE.

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) Descriptor

func (*Project) Descriptor() ([]byte, []int)

func (*Project) Marshal

func (m *Project) Marshal() (dAtA []byte, err error)

func (*Project) MarshalTo

func (m *Project) MarshalTo(dAtA []byte) (int, error)

func (*Project) MarshalToSizedBuffer

func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Size

func (m *Project) Size() (n int)

func (*Project) String

func (this *Project) String() string

func (Project) SwaggerDoc

func (Project) SwaggerDoc() map[string]string

func (*Project) Unmarshal

func (m *Project) Unmarshal(dAtA []byte) error

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

type ProjectExtension added in v1.3.1

type ProjectExtension map[string]PortalProject

ProjectExtension is a map from project name to PortalProject.

func (ProjectExtension) DeepCopy added in v1.3.1

func (in ProjectExtension) DeepCopy() ProjectExtension

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

func (ProjectExtension) DeepCopyInto added in v1.3.1

func (in ProjectExtension) DeepCopyInto(out *ProjectExtension)

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

type ProjectList

type ProjectList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of projects
	Items []Project `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ProjectList is the whole list of all projects which owned by a tenant.

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

func (*ProjectList) Descriptor

func (*ProjectList) Descriptor() ([]byte, []int)

func (*ProjectList) Marshal

func (m *ProjectList) Marshal() (dAtA []byte, err error)

func (*ProjectList) MarshalTo

func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)

func (*ProjectList) MarshalToSizedBuffer

func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectList) ProtoMessage

func (*ProjectList) ProtoMessage()

func (*ProjectList) Reset

func (m *ProjectList) Reset()

func (*ProjectList) Size

func (m *ProjectList) Size() (n int)

func (*ProjectList) String

func (this *ProjectList) String() string

func (ProjectList) SwaggerDoc

func (ProjectList) SwaggerDoc() map[string]string

func (*ProjectList) Unmarshal

func (m *ProjectList) Unmarshal(dAtA []byte) error

func (*ProjectList) XXX_DiscardUnknown

func (m *ProjectList) XXX_DiscardUnknown()

func (*ProjectList) XXX_Marshal

func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectList) XXX_Merge

func (m *ProjectList) XXX_Merge(src proto.Message)

func (*ProjectList) XXX_Size

func (m *ProjectList) XXX_Size() int

func (*ProjectList) XXX_Unmarshal

func (m *ProjectList) XXX_Unmarshal(b []byte) error

type ProjectPhase

type ProjectPhase string

ProjectPhase defines the phase of project constructor.

const (
	// ProjectActive indicates the project is active.
	ProjectActive ProjectPhase = "Active"
	// ProjectPending indicates that the project has been declared.
	ProjectPending ProjectPhase = "Pending"
	// ProjectTerminating means the project is undergoing graceful termination.
	ProjectTerminating ProjectPhase = "Terminating"
	// ProjectFailed indicates that the project has been failed.
	ProjectFailed ProjectPhase = "Failed"
)

type ProjectSpec

type ProjectSpec struct {
	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
	// +optional
	Finalizers []FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=FinalizerName"`
	TenantID   string          `json:"tenantID" protobuf:"bytes,2,opt,name=tenantID"`
	// +optional
	DisplayName string `json:"displayName,omitempty" protobuf:"bytes,3,opt,name=displayName"`

	// Users represents the user list of project.
	Members []string `json:"members" protobuf:"bytes,4,rep,name=members"`

	// ParentProjectName indicates the superior project name of this service.
	// +optional
	ParentProjectName string `json:"parentProjectName,omitempty" protobuf:"bytes,5,opt,name=parentProjectName"`
	// Clusters represents clusters that can be used and the resource limits of each cluster.
	// +optional
	Clusters ClusterHard `json:"clusters,omitempty" protobuf:"bytes,6,rep,name=clusters,casttype=ClusterHard"`
}

ProjectSpec is a description of a project.

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

func (*ProjectSpec) Descriptor

func (*ProjectSpec) Descriptor() ([]byte, []int)

func (*ProjectSpec) Marshal

func (m *ProjectSpec) Marshal() (dAtA []byte, err error)

func (*ProjectSpec) MarshalTo

func (m *ProjectSpec) MarshalTo(dAtA []byte) (int, error)

func (*ProjectSpec) MarshalToSizedBuffer

func (m *ProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectSpec) ProtoMessage

func (*ProjectSpec) ProtoMessage()

func (*ProjectSpec) Reset

func (m *ProjectSpec) Reset()

func (*ProjectSpec) Size

func (m *ProjectSpec) Size() (n int)

func (*ProjectSpec) String

func (this *ProjectSpec) String() string

func (ProjectSpec) SwaggerDoc

func (ProjectSpec) SwaggerDoc() map[string]string

func (*ProjectSpec) Unmarshal

func (m *ProjectSpec) Unmarshal(dAtA []byte) error

func (*ProjectSpec) XXX_DiscardUnknown

func (m *ProjectSpec) XXX_DiscardUnknown()

func (*ProjectSpec) XXX_Marshal

func (m *ProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectSpec) XXX_Merge

func (m *ProjectSpec) XXX_Merge(src proto.Message)

func (*ProjectSpec) XXX_Size

func (m *ProjectSpec) XXX_Size() int

func (*ProjectSpec) XXX_Unmarshal

func (m *ProjectSpec) XXX_Unmarshal(b []byte) error

type ProjectStatus

type ProjectStatus struct {
	// +optional
	Locked *bool `json:"locked,omitempty" protobuf:"varint,1,opt,name=locked"`
	// +optional
	Phase ProjectPhase `json:"phase,omitempty" protobuf:"bytes,2,opt,name=phase,casttype=ProjectPhase"`
	// Clusters represents clusters that have been used and the resource usage of each cluster.
	// +optional
	Clusters ClusterUsed `json:"clusters,omitempty" protobuf:"bytes,3,rep,name=clusters,casttype=ClusterUsed"`
	// +optional
	CalculatedChildProjects []string `json:"calculatedChildProjects,omitempty" protobuf:"bytes,4,rep,name=calculatedChildProjects"`
	// +optional
	CalculatedNamespaces []string `json:"calculatedNamespaces,omitempty" protobuf:"bytes,5,rep,name=calculatedNamespaces"`
	// +optional
	CachedSpecClusters ClusterHard `json:"cachedSpecClusters,omitempty" protobuf:"bytes,6,rep,name=cachedSpecClusters,casttype=ClusterHard"`
	// +optional
	CachedParent *string `json:"cachedParent,omitempty" protobuf:"bytes,7,opt,name=cachedParent"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,8,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,9,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,10,opt,name=message"`
}

ProjectStatus represents information about the status of a project.

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

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

func (*ProjectStatus) Descriptor

func (*ProjectStatus) Descriptor() ([]byte, []int)

func (*ProjectStatus) Marshal

func (m *ProjectStatus) Marshal() (dAtA []byte, err error)

func (*ProjectStatus) MarshalTo

func (m *ProjectStatus) MarshalTo(dAtA []byte) (int, error)

func (*ProjectStatus) MarshalToSizedBuffer

func (m *ProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectStatus) ProtoMessage

func (*ProjectStatus) ProtoMessage()

func (*ProjectStatus) Reset

func (m *ProjectStatus) Reset()

func (*ProjectStatus) Size

func (m *ProjectStatus) Size() (n int)

func (*ProjectStatus) String

func (this *ProjectStatus) String() string

func (ProjectStatus) SwaggerDoc

func (ProjectStatus) SwaggerDoc() map[string]string

func (*ProjectStatus) Unmarshal

func (m *ProjectStatus) Unmarshal(dAtA []byte) error

func (*ProjectStatus) XXX_DiscardUnknown

func (m *ProjectStatus) XXX_DiscardUnknown()

func (*ProjectStatus) XXX_Marshal

func (m *ProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectStatus) XXX_Merge

func (m *ProjectStatus) XXX_Merge(src proto.Message)

func (*ProjectStatus) XXX_Size

func (m *ProjectStatus) XXX_Size() int

func (*ProjectStatus) XXX_Unmarshal

func (m *ProjectStatus) XXX_Unmarshal(b []byte) error

type ResourceList

type ResourceList map[string]resource.Quantity

ResourceList is a set of (resource name, quantity) pairs.

func (ResourceList) DeepCopy

func (in ResourceList) DeepCopy() ResourceList

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

func (ResourceList) DeepCopyInto

func (in ResourceList) DeepCopyInto(out *ResourceList)

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

type UsedQuantity

type UsedQuantity struct {
	Used ResourceList `json:"used,omitempty" protobuf:"bytes,1,rep,name=used,casttype=ResourceList"`
}

UsedQuantity is a straightforward wrapper of ResourceList.

func (*UsedQuantity) DeepCopy

func (in *UsedQuantity) DeepCopy() *UsedQuantity

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

func (*UsedQuantity) DeepCopyInto

func (in *UsedQuantity) DeepCopyInto(out *UsedQuantity)

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

func (*UsedQuantity) Descriptor

func (*UsedQuantity) Descriptor() ([]byte, []int)

func (*UsedQuantity) Marshal

func (m *UsedQuantity) Marshal() (dAtA []byte, err error)

func (*UsedQuantity) MarshalTo

func (m *UsedQuantity) MarshalTo(dAtA []byte) (int, error)

func (*UsedQuantity) MarshalToSizedBuffer

func (m *UsedQuantity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UsedQuantity) ProtoMessage

func (*UsedQuantity) ProtoMessage()

func (*UsedQuantity) Reset

func (m *UsedQuantity) Reset()

func (*UsedQuantity) Size

func (m *UsedQuantity) Size() (n int)

func (*UsedQuantity) String

func (this *UsedQuantity) String() string

func (UsedQuantity) SwaggerDoc

func (UsedQuantity) SwaggerDoc() map[string]string

func (*UsedQuantity) Unmarshal

func (m *UsedQuantity) Unmarshal(dAtA []byte) error

func (*UsedQuantity) XXX_DiscardUnknown

func (m *UsedQuantity) XXX_DiscardUnknown()

func (*UsedQuantity) XXX_Marshal

func (m *UsedQuantity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UsedQuantity) XXX_Merge

func (m *UsedQuantity) XXX_Merge(src proto.Message)

func (*UsedQuantity) XXX_Size

func (m *UsedQuantity) XXX_Size() int

func (*UsedQuantity) XXX_Unmarshal

func (m *UsedQuantity) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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