v1

package

Documentation

Overview

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

Index

Constants

View Source
const (
	// Upgrade nodes automatically.
	UpgradeModeAuto = UpgradeMode("Auto")
	// Manual upgrade nodes which means user need label node with `platform.tkestack.io/need-upgrade`.
	UpgradeModeManual = UpgradeMode("Manual")
)
View Source
const GroupName = "platform.tkestack.io"

GroupName is the group name use in this package.

View Source
const (
	MachineClusterField = "spec.clusterName"
)

Field path constants that are specific to the internal API representation.

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 AddFieldLabelConversionsForCSIOperator

func AddFieldLabelConversionsForCSIOperator(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForCluster

func AddFieldLabelConversionsForCluster(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForClusterCredential

func AddFieldLabelConversionsForClusterCredential(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForCronHPA

func AddFieldLabelConversionsForCronHPA(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForHelm

func AddFieldLabelConversionsForHelm(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForIPAM

func AddFieldLabelConversionsForIPAM(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForLBCF

func AddFieldLabelConversionsForLBCF(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForLogCollector

func AddFieldLabelConversionsForLogCollector(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForMachine

func AddFieldLabelConversionsForMachine(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForPersistentEvent

func AddFieldLabelConversionsForPersistentEvent(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForPrometheus

func AddFieldLabelConversionsForPrometheus(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForRegistry

func AddFieldLabelConversionsForRegistry(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForTappController

func AddFieldLabelConversionsForTappController(scheme *runtime.Scheme) error

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

func AddFieldLabelConversionsForVolumeDecorator

func AddFieldLabelConversionsForVolumeDecorator(scheme *runtime.Scheme) error

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

func Convert_platform_AddonSpec_To_v1_AddonSpec

func Convert_platform_AddonSpec_To_v1_AddonSpec(in *platform.AddonSpec, out *AddonSpec, s conversion.Scope) error

Convert_platform_AddonSpec_To_v1_AddonSpec is an autogenerated conversion function.

func Convert_platform_AuthzWebhookAddr_To_v1_AuthzWebhookAddr added in v1.3.1

func Convert_platform_AuthzWebhookAddr_To_v1_AuthzWebhookAddr(in *platform.AuthzWebhookAddr, out *AuthzWebhookAddr, s conversion.Scope) error

Convert_platform_AuthzWebhookAddr_To_v1_AuthzWebhookAddr is an autogenerated conversion function.

func Convert_platform_BuiltinAuthzWebhookAddr_To_v1_BuiltinAuthzWebhookAddr added in v1.3.1

func Convert_platform_BuiltinAuthzWebhookAddr_To_v1_BuiltinAuthzWebhookAddr(in *platform.BuiltinAuthzWebhookAddr, out *BuiltinAuthzWebhookAddr, s conversion.Scope) error

Convert_platform_BuiltinAuthzWebhookAddr_To_v1_BuiltinAuthzWebhookAddr is an autogenerated conversion function.

func Convert_platform_CSIOperatorFeature_To_v1_CSIOperatorFeature added in v1.3.1

func Convert_platform_CSIOperatorFeature_To_v1_CSIOperatorFeature(in *platform.CSIOperatorFeature, out *CSIOperatorFeature, s conversion.Scope) error

Convert_platform_CSIOperatorFeature_To_v1_CSIOperatorFeature is an autogenerated conversion function.

func Convert_platform_CSIOperatorList_To_v1_CSIOperatorList

func Convert_platform_CSIOperatorList_To_v1_CSIOperatorList(in *platform.CSIOperatorList, out *CSIOperatorList, s conversion.Scope) error