internalversion

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package internalversion implements the internal apiVersion of kwok's configuration

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder runtime.SchemeBuilder
)

Functions

func ConvertToV1Alpha1Attach added in v0.2.0

func ConvertToV1Alpha1Attach(in *Attach) (*v1alpha1.Attach, error)

ConvertToV1Alpha1Attach converts an internal version Attach to a v1alpha1.Attach.

func ConvertToV1Alpha1ClusterAttach added in v0.2.0

func ConvertToV1Alpha1ClusterAttach(in *ClusterAttach) (*v1alpha1.ClusterAttach, error)

ConvertToV1Alpha1ClusterAttach converts an internal version ClusterAttach to a v1alpha1.ClusterAttach.

func ConvertToV1Alpha1ClusterExec added in v0.2.0

func ConvertToV1Alpha1ClusterExec(in *ClusterExec) (*v1alpha1.ClusterExec, error)

ConvertToV1Alpha1ClusterExec converts an internal version ClusterExec to a v1alpha1.ClusterExec.

func ConvertToV1Alpha1ClusterLogs added in v0.2.0

func ConvertToV1Alpha1ClusterLogs(in *ClusterLogs) (*v1alpha1.ClusterLogs, error)

ConvertToV1Alpha1ClusterLogs converts an internal version ClusterLogs to a v1alpha1.ClusterLogs.

func ConvertToV1Alpha1ClusterPortForward added in v0.2.0

func ConvertToV1Alpha1ClusterPortForward(in *ClusterPortForward) (*v1alpha1.ClusterPortForward, error)

ConvertToV1Alpha1ClusterPortForward converts an internal version ClusterPortForward to a v1alpha1.ClusterPortForward.

func ConvertToV1Alpha1ClusterResourceUsage added in v0.5.0

func ConvertToV1Alpha1ClusterResourceUsage(in *ClusterResourceUsage) (*v1alpha1.ClusterResourceUsage, error)

ConvertToV1Alpha1ClusterResourceUsage converts an internal version ClusterResourceUsage to a v1alpha1.ClusterResourceUsage.

func ConvertToV1Alpha1Exec added in v0.2.0

func ConvertToV1Alpha1Exec(in *Exec) (*v1alpha1.Exec, error)

ConvertToV1Alpha1Exec converts an internal version Exec to a v1alpha1.Exec.

func ConvertToV1Alpha1Logs added in v0.2.0

func ConvertToV1Alpha1Logs(in *Logs) (*v1alpha1.Logs, error)

ConvertToV1Alpha1Logs converts an internal version Logs to a v1alpha1.Logs.

func ConvertToV1Alpha1Metric added in v0.3.0

func ConvertToV1Alpha1Metric(in *Metric) (*v1alpha1.Metric, error)

ConvertToV1Alpha1Metric converts an internal version Metric to a v1alpha1.Metric.

func ConvertToV1Alpha1PortForward added in v0.2.0

func ConvertToV1Alpha1PortForward(in *PortForward) (*v1alpha1.PortForward, error)

ConvertToV1Alpha1PortForward converts an internal version PortForward to a v1alpha1.PortForward.

func ConvertToV1Alpha1ResourceUsage added in v0.5.0

func ConvertToV1Alpha1ResourceUsage(in *ResourceUsage) (*v1alpha1.ResourceUsage, error)

ConvertToV1Alpha1ResourceUsage converts an internal version ResourceUsage to a v1alpha1.ResourceUsage.

func ConvertToV1alpha1KwokConfiguration

func ConvertToV1alpha1KwokConfiguration(in *KwokConfiguration) (*configv1alpha1.KwokConfiguration, error)

ConvertToV1alpha1KwokConfiguration converts an internal version KwokConfiguration to a v1alpha1.KwokConfiguration.

func ConvertToV1alpha1KwokctlConfiguration

func ConvertToV1alpha1KwokctlConfiguration(in *KwokctlConfiguration) (*configv1alpha1.KwokctlConfiguration, error)

ConvertToV1alpha1KwokctlConfiguration converts an internal version KwokctlConfiguration to a v1alpha1.KwokctlConfiguration.

func ConvertToV1alpha1KwokctlResource added in v0.4.0

func ConvertToV1alpha1KwokctlResource(in *KwokctlResource) (*configv1alpha1.KwokctlResource, error)

ConvertToV1alpha1KwokctlResource converts an internal version KwokctlResource to a v1alpha1.KwokctlResource.

func ConvertToV1alpha1Stage

func ConvertToV1alpha1Stage(in *Stage) (*v1alpha1.Stage, error)

ConvertToV1alpha1Stage converts an internal version Stage to a v1alpha1.Stage.

func Convert_internalversion_AttachConfig_To_v1alpha1_AttachConfig added in v0.2.0

func Convert_internalversion_AttachConfig_To_v1alpha1_AttachConfig(in *AttachConfig, out *v1alpha1.AttachConfig, s conversion.Scope) error

Convert_internalversion_AttachConfig_To_v1alpha1_AttachConfig is an autogenerated conversion function.

func Convert_internalversion_AttachSpec_To_v1alpha1_AttachSpec added in v0.2.0

func Convert_internalversion_AttachSpec_To_v1alpha1_AttachSpec(in *AttachSpec, out *v1alpha1.AttachSpec, s conversion.Scope) error

Convert_internalversion_AttachSpec_To_v1alpha1_AttachSpec is an autogenerated conversion function.

func Convert_internalversion_Attach_To_v1alpha1_Attach added in v0.2.0

func Convert_internalversion_Attach_To_v1alpha1_Attach(in *Attach, out *v1alpha1.Attach, s conversion.Scope) error

Convert_internalversion_Attach_To_v1alpha1_Attach is an autogenerated conversion function.

func Convert_internalversion_ClusterAttachSpec_To_v1alpha1_ClusterAttachSpec added in v0.2.0

func Convert_internalversion_ClusterAttachSpec_To_v1alpha1_ClusterAttachSpec(in *ClusterAttachSpec, out *v1alpha1.ClusterAttachSpec, s conversion.Scope) error

Convert_internalversion_ClusterAttachSpec_To_v1alpha1_ClusterAttachSpec is an autogenerated conversion function.

func Convert_internalversion_ClusterAttach_To_v1alpha1_ClusterAttach added in v0.2.0

func Convert_internalversion_ClusterAttach_To_v1alpha1_ClusterAttach(in *ClusterAttach, out *v1alpha1.ClusterAttach, s conversion.Scope) error

Convert_internalversion_ClusterAttach_To_v1alpha1_ClusterAttach is an autogenerated conversion function.

func Convert_internalversion_ClusterExecSpec_To_v1alpha1_ClusterExecSpec added in v0.2.0

func Convert_internalversion_ClusterExecSpec_To_v1alpha1_ClusterExecSpec(in *ClusterExecSpec, out *v1alpha1.ClusterExecSpec, s conversion.Scope) error

Convert_internalversion_ClusterExecSpec_To_v1alpha1_ClusterExecSpec is an autogenerated conversion function.

func Convert_internalversion_ClusterExec_To_v1alpha1_ClusterExec added in v0.2.0

func Convert_internalversion_ClusterExec_To_v1alpha1_ClusterExec(in *ClusterExec, out *v1alpha1.ClusterExec, s conversion.Scope) error

Convert_internalversion_ClusterExec_To_v1alpha1_ClusterExec is an autogenerated conversion function.

func Convert_internalversion_ClusterLogsSpec_To_v1alpha1_ClusterLogsSpec added in v0.2.0

func Convert_internalversion_ClusterLogsSpec_To_v1alpha1_ClusterLogsSpec(in *ClusterLogsSpec, out *v1alpha1.ClusterLogsSpec, s conversion.Scope) error

Convert_internalversion_ClusterLogsSpec_To_v1alpha1_ClusterLogsSpec is an autogenerated conversion function.

func Convert_internalversion_ClusterLogs_To_v1alpha1_ClusterLogs added in v0.2.0

func Convert_internalversion_ClusterLogs_To_v1alpha1_ClusterLogs(in *ClusterLogs, out *v1alpha1.ClusterLogs, s conversion.Scope) error

Convert_internalversion_ClusterLogs_To_v1alpha1_ClusterLogs is an autogenerated conversion function.

func Convert_internalversion_ClusterPortForwardSpec_To_v1alpha1_ClusterPortForwardSpec added in v0.2.0

func Convert_internalversion_ClusterPortForwardSpec_To_v1alpha1_ClusterPortForwardSpec(in *ClusterPortForwardSpec, out *v1alpha1.ClusterPortForwardSpec, s conversion.Scope) error

Convert_internalversion_ClusterPortForwardSpec_To_v1alpha1_ClusterPortForwardSpec is an autogenerated conversion function.

func Convert_internalversion_ClusterPortForward_To_v1alpha1_ClusterPortForward added in v0.2.0

func Convert_internalversion_ClusterPortForward_To_v1alpha1_ClusterPortForward(in *ClusterPortForward, out *v1alpha1.ClusterPortForward, s conversion.Scope) error

Convert_internalversion_ClusterPortForward_To_v1alpha1_ClusterPortForward is an autogenerated conversion function.

func Convert_internalversion_ClusterResourceUsageSpec_To_v1alpha1_ClusterResourceUsageSpec added in v0.5.0

func Convert_internalversion_ClusterResourceUsageSpec_To_v1alpha1_ClusterResourceUsageSpec(in *ClusterResourceUsageSpec, out *v1alpha1.ClusterResourceUsageSpec, s conversion.Scope) error

Convert_internalversion_ClusterResourceUsageSpec_To_v1alpha1_ClusterResourceUsageSpec is an autogenerated conversion function.

func Convert_internalversion_ClusterResourceUsage_To_v1alpha1_ClusterResourceUsage added in v0.5.0

func Convert_internalversion_ClusterResourceUsage_To_v1alpha1_ClusterResourceUsage(in *ClusterResourceUsage, out *v1alpha1.ClusterResourceUsage, s conversion.Scope) error

Convert_internalversion_ClusterResourceUsage_To_v1alpha1_ClusterResourceUsage is an autogenerated conversion function.

func Convert_internalversion_ComponentMetric_To_v1alpha1_ComponentMetric added in v0.5.0

func Convert_internalversion_ComponentMetric_To_v1alpha1_ComponentMetric(in *ComponentMetric, out *configv1alpha1.ComponentMetric, s conversion.Scope) error

Convert_internalversion_ComponentMetric_To_v1alpha1_ComponentMetric is an autogenerated conversion function.

func Convert_internalversion_ComponentPatches_To_v1alpha1_ComponentPatches added in v0.2.0

func Convert_internalversion_ComponentPatches_To_v1alpha1_ComponentPatches(in *ComponentPatches, out *configv1alpha1.ComponentPatches, s conversion.Scope) error

Convert_internalversion_ComponentPatches_To_v1alpha1_ComponentPatches is an autogenerated conversion function.

func Convert_internalversion_Component_To_v1alpha1_Component

func Convert_internalversion_Component_To_v1alpha1_Component(in *Component, out *configv1alpha1.Component, s conversion.Scope) error

Convert_internalversion_Component_To_v1alpha1_Component is an autogenerated conversion function.

func Convert_internalversion_EnvVar_To_v1alpha1_EnvVar added in v0.2.0

func Convert_internalversion_EnvVar_To_v1alpha1_EnvVar(in *EnvVar, out *v1alpha1.EnvVar, s conversion.Scope) error

Convert_internalversion_EnvVar_To_v1alpha1_EnvVar is an autogenerated conversion function.

func Convert_internalversion_Env_To_v1alpha1_Env

func Convert_internalversion_Env_To_v1alpha1_Env(in *Env, out *configv1alpha1.Env, s conversion.Scope) error

Convert_internalversion_Env_To_v1alpha1_Env is an autogenerated conversion function.

func Convert_internalversion_ExecSpec_To_v1alpha1_ExecSpec added in v0.2.0

func Convert_internalversion_ExecSpec_To_v1alpha1_ExecSpec(in *ExecSpec, out *v1alpha1.ExecSpec, s conversion.Scope) error

Convert_internalversion_ExecSpec_To_v1alpha1_ExecSpec is an autogenerated conversion function.

func Convert_internalversion_ExecTargetLocal_To_v1alpha1_ExecTargetLocal added in v0.2.0

func Convert_internalversion_ExecTargetLocal_To_v1alpha1_ExecTargetLocal(in *ExecTargetLocal, out *v1alpha1.ExecTargetLocal, s conversion.Scope) error

Convert_internalversion_ExecTargetLocal_To_v1alpha1_ExecTargetLocal is an autogenerated conversion function.

func Convert_internalversion_ExecTarget_To_v1alpha1_ExecTarget added in v0.2.0

func Convert_internalversion_ExecTarget_To_v1alpha1_ExecTarget(in *ExecTarget, out *v1alpha1.ExecTarget, s conversion.Scope) error

Convert_internalversion_ExecTarget_To_v1alpha1_ExecTarget is an autogenerated conversion function.

func Convert_internalversion_Exec_To_v1alpha1_Exec added in v0.2.0

func Convert_internalversion_Exec_To_v1alpha1_Exec(in *Exec, out *v1alpha1.Exec, s conversion.Scope) error

Convert_internalversion_Exec_To_v1alpha1_Exec is an autogenerated conversion function.

func Convert_internalversion_ExpressionFromSource_To_v1alpha1_ExpressionFromSource

func Convert_internalversion_ExpressionFromSource_To_v1alpha1_ExpressionFromSource(in *ExpressionFromSource, out *v1alpha1.ExpressionFromSource, s conversion.Scope) error

Convert_internalversion_ExpressionFromSource_To_v1alpha1_ExpressionFromSource is an autogenerated conversion function.

func Convert_internalversion_ExtraArgs_To_v1alpha1_ExtraArgs added in v0.2.0

func Convert_internalversion_ExtraArgs_To_v1alpha1_ExtraArgs(in *ExtraArgs, out *configv1alpha1.ExtraArgs, s conversion.Scope) error

Convert_internalversion_ExtraArgs_To_v1alpha1_ExtraArgs is an autogenerated conversion function.

func Convert_internalversion_FinalizerItem_To_v1alpha1_FinalizerItem

func Convert_internalversion_FinalizerItem_To_v1alpha1_FinalizerItem(in *FinalizerItem, out *v1alpha1.FinalizerItem, s conversion.Scope) error

Convert_internalversion_FinalizerItem_To_v1alpha1_FinalizerItem is an autogenerated conversion function.

func Convert_internalversion_ForwardTarget_To_v1alpha1_ForwardTarget added in v0.2.0

func Convert_internalversion_ForwardTarget_To_v1alpha1_ForwardTarget(in *ForwardTarget, out *v1alpha1.ForwardTarget, s conversion.Scope) error

Convert_internalversion_ForwardTarget_To_v1alpha1_ForwardTarget is an autogenerated conversion function.

func Convert_internalversion_Forward_To_v1alpha1_Forward added in v0.2.0

func Convert_internalversion_Forward_To_v1alpha1_Forward(in *Forward, out *v1alpha1.Forward, s conversion.Scope) error

Convert_internalversion_Forward_To_v1alpha1_Forward is an autogenerated conversion function.

func Convert_internalversion_ImpersonationConfig_To_v1alpha1_ImpersonationConfig added in v0.5.0

func Convert_internalversion_ImpersonationConfig_To_v1alpha1_ImpersonationConfig(in *ImpersonationConfig, out *v1alpha1.ImpersonationConfig, s conversion.Scope) error

Convert_internalversion_ImpersonationConfig_To_v1alpha1_ImpersonationConfig is an autogenerated conversion function.

func Convert_internalversion_KwokConfigurationOptions_To_v1alpha1_KwokConfigurationOptions

func Convert_internalversion_KwokConfigurationOptions_To_v1alpha1_KwokConfigurationOptions(in *KwokConfigurationOptions, out *configv1alpha1.KwokConfigurationOptions, s conversion.Scope) error

Convert_internalversion_KwokConfigurationOptions_To_v1alpha1_KwokConfigurationOptions is an autogenerated conversion function.

func Convert_internalversion_KwokConfiguration_To_v1alpha1_KwokConfiguration

func Convert_internalversion_KwokConfiguration_To_v1alpha1_KwokConfiguration(in *KwokConfiguration, out *configv1alpha1.KwokConfiguration, s conversion.Scope) error

Convert_internalversion_KwokConfiguration_To_v1alpha1_KwokConfiguration is an autogenerated conversion function.

func Convert_internalversion_KwokctlConfigurationOptions_To_v1alpha1_KwokctlConfigurationOptions

func Convert_internalversion_KwokctlConfigurationOptions_To_v1alpha1_KwokctlConfigurationOptions(in *KwokctlConfigurationOptions, out *configv1alpha1.KwokctlConfigurationOptions, s conversion.Scope) error

Convert_internalversion_KwokctlConfigurationOptions_To_v1alpha1_KwokctlConfigurationOptions is an autogenerated conversion function.

func Convert_internalversion_KwokctlConfigurationStatus_To_v1alpha1_KwokctlConfigurationStatus added in v0.3.0

func Convert_internalversion_KwokctlConfigurationStatus_To_v1alpha1_KwokctlConfigurationStatus(in *KwokctlConfigurationStatus, out *configv1alpha1.KwokctlConfigurationStatus, s conversion.Scope) error

Convert_internalversion_KwokctlConfigurationStatus_To_v1alpha1_KwokctlConfigurationStatus is an autogenerated conversion function.

func Convert_internalversion_KwokctlConfiguration_To_v1alpha1_KwokctlConfiguration

func Convert_internalversion_KwokctlConfiguration_To_v1alpha1_KwokctlConfiguration(in *KwokctlConfiguration, out *configv1alpha1.KwokctlConfiguration, s conversion.Scope) error

Convert_internalversion_KwokctlConfiguration_To_v1alpha1_KwokctlConfiguration is an autogenerated conversion function.

func Convert_internalversion_KwokctlResource_To_v1alpha1_KwokctlResource added in v0.4.0

func Convert_internalversion_KwokctlResource_To_v1alpha1_KwokctlResource(in *KwokctlResource, out *configv1alpha1.KwokctlResource, s conversion.Scope) error

Convert_internalversion_KwokctlResource_To_v1alpha1_KwokctlResource is an autogenerated conversion function.

func Convert_internalversion_Log_To_v1alpha1_Log added in v0.2.0

func Convert_internalversion_Log_To_v1alpha1_Log(in *Log, out *v1alpha1.Log, s conversion.Scope) error

Convert_internalversion_Log_To_v1alpha1_Log is an autogenerated conversion function.

func Convert_internalversion_LogsSpec_To_v1alpha1_LogsSpec added in v0.2.0

func Convert_internalversion_LogsSpec_To_v1alpha1_LogsSpec(in *LogsSpec, out *v1alpha1.LogsSpec, s conversion.Scope) error

Convert_internalversion_LogsSpec_To_v1alpha1_LogsSpec is an autogenerated conversion function.

func Convert_internalversion_Logs_To_v1alpha1_Logs added in v0.2.0

func Convert_internalversion_Logs_To_v1alpha1_Logs(in *Logs, out *v1alpha1.Logs, s conversion.Scope) error

Convert_internalversion_Logs_To_v1alpha1_Logs is an autogenerated conversion function.

func Convert_internalversion_MetricBucket_To_v1alpha1_MetricBucket added in v0.3.0

func Convert_internalversion_MetricBucket_To_v1alpha1_MetricBucket(in *MetricBucket, out *v1alpha1.MetricBucket, s conversion.Scope) error

Convert_internalversion_MetricBucket_To_v1alpha1_MetricBucket is an autogenerated conversion function.

func Convert_internalversion_MetricConfig_To_v1alpha1_MetricConfig added in v0.3.0

func Convert_internalversion_MetricConfig_To_v1alpha1_MetricConfig(in *MetricConfig, out *v1alpha1.MetricConfig, s conversion.Scope) error

Convert_internalversion_MetricConfig_To_v1alpha1_MetricConfig is an autogenerated conversion function.

func Convert_internalversion_MetricLabel_To_v1alpha1_MetricLabel added in v0.3.0

func Convert_internalversion_MetricLabel_To_v1alpha1_MetricLabel(in *MetricLabel, out *v1alpha1.MetricLabel, s conversion.Scope) error

Convert_internalversion_MetricLabel_To_v1alpha1_MetricLabel is an autogenerated conversion function.

func Convert_internalversion_MetricSpec_To_v1alpha1_MetricSpec added in v0.3.0

func Convert_internalversion_MetricSpec_To_v1alpha1_MetricSpec(in *MetricSpec, out *v1alpha1.MetricSpec, s conversion.Scope) error

Convert_internalversion_MetricSpec_To_v1alpha1_MetricSpec is an autogenerated conversion function.

func Convert_internalversion_Metric_To_v1alpha1_Metric added in v0.3.0

func Convert_internalversion_Metric_To_v1alpha1_Metric(in *Metric, out *v1alpha1.Metric, s conversion.Scope) error

Convert_internalversion_Metric_To_v1alpha1_Metric is an autogenerated conversion function.

func Convert_internalversion_ObjectSelector_To_v1alpha1_ObjectSelector added in v0.2.0

func Convert_internalversion_ObjectSelector_To_v1alpha1_ObjectSelector(in *ObjectSelector, out *v1alpha1.ObjectSelector, s conversion.Scope) error

Convert_internalversion_ObjectSelector_To_v1alpha1_ObjectSelector is an autogenerated conversion function.

func Convert_internalversion_PortForwardSpec_To_v1alpha1_PortForwardSpec added in v0.2.0

func Convert_internalversion_PortForwardSpec_To_v1alpha1_PortForwardSpec(in *PortForwardSpec, out *v1alpha1.PortForwardSpec, s conversion.Scope) error

Convert_internalversion_PortForwardSpec_To_v1alpha1_PortForwardSpec is an autogenerated conversion function.

func Convert_internalversion_PortForward_To_v1alpha1_PortForward added in v0.2.0

func Convert_internalversion_PortForward_To_v1alpha1_PortForward(in *PortForward, out *v1alpha1.PortForward, s conversion.Scope) error

Convert_internalversion_PortForward_To_v1alpha1_PortForward is an autogenerated conversion function.

func Convert_internalversion_Port_To_v1alpha1_Port

func Convert_internalversion_Port_To_v1alpha1_Port(in *Port, out *configv1alpha1.Port, s conversion.Scope) error

Convert_internalversion_Port_To_v1alpha1_Port is an autogenerated conversion function.

func Convert_internalversion_ResourceUsageContainer_To_v1alpha1_ResourceUsageContainer added in v0.5.0

func Convert_internalversion_ResourceUsageContainer_To_v1alpha1_ResourceUsageContainer(in *ResourceUsageContainer, out *v1alpha1.ResourceUsageContainer, s conversion.Scope) error

Convert_internalversion_ResourceUsageContainer_To_v1alpha1_ResourceUsageContainer is an autogenerated conversion function.

func Convert_internalversion_ResourceUsageSpec_To_v1alpha1_ResourceUsageSpec added in v0.5.0

func Convert_internalversion_ResourceUsageSpec_To_v1alpha1_ResourceUsageSpec(in *ResourceUsageSpec, out *v1alpha1.ResourceUsageSpec, s conversion.Scope) error

Convert_internalversion_ResourceUsageSpec_To_v1alpha1_ResourceUsageSpec is an autogenerated conversion function.

func Convert_internalversion_ResourceUsageValue_To_v1alpha1_ResourceUsageValue added in v0.5.0

func Convert_internalversion_ResourceUsageValue_To_v1alpha1_ResourceUsageValue(in *ResourceUsageValue, out *v1alpha1.ResourceUsageValue, s conversion.Scope) error

Convert_internalversion_ResourceUsageValue_To_v1alpha1_ResourceUsageValue is an autogenerated conversion function.

func Convert_internalversion_ResourceUsage_To_v1alpha1_ResourceUsage added in v0.5.0

func Convert_internalversion_ResourceUsage_To_v1alpha1_ResourceUsage(in *ResourceUsage, out *v1alpha1.ResourceUsage, s conversion.Scope) error

Convert_internalversion_ResourceUsage_To_v1alpha1_ResourceUsage is an autogenerated conversion function.

func Convert_internalversion_SecurityContext_To_v1alpha1_SecurityContext added in v0.4.0

func Convert_internalversion_SecurityContext_To_v1alpha1_SecurityContext(in *SecurityContext, out *v1alpha1.SecurityContext, s conversion.Scope) error

Convert_internalversion_SecurityContext_To_v1alpha1_SecurityContext is an autogenerated conversion function.

func Convert_internalversion_SelectorRequirement_To_v1alpha1_SelectorRequirement

func Convert_internalversion_SelectorRequirement_To_v1alpha1_SelectorRequirement(in *SelectorRequirement, out *v1alpha1.SelectorRequirement, s conversion.Scope) error

Convert_internalversion_SelectorRequirement_To_v1alpha1_SelectorRequirement is an autogenerated conversion function.

func Convert_internalversion_StageDelay_To_v1alpha1_StageDelay

func Convert_internalversion_StageDelay_To_v1alpha1_StageDelay(in *StageDelay, out *v1alpha1.StageDelay, s conversion.Scope) error

Convert_internalversion_StageDelay_To_v1alpha1_StageDelay is an autogenerated conversion function.

func Convert_internalversion_StageEvent_To_v1alpha1_StageEvent

func Convert_internalversion_StageEvent_To_v1alpha1_StageEvent(in *StageEvent, out *v1alpha1.StageEvent, s conversion.Scope) error

Convert_internalversion_StageEvent_To_v1alpha1_StageEvent is an autogenerated conversion function.

func Convert_internalversion_StageFinalizers_To_v1alpha1_StageFinalizers

func Convert_internalversion_StageFinalizers_To_v1alpha1_StageFinalizers(in *StageFinalizers, out *v1alpha1.StageFinalizers, s conversion.Scope) error

Convert_internalversion_StageFinalizers_To_v1alpha1_StageFinalizers is an autogenerated conversion function.

func Convert_internalversion_StageNext_To_v1alpha1_StageNext

func Convert_internalversion_StageNext_To_v1alpha1_StageNext(in *StageNext, out *v1alpha1.StageNext, s conversion.Scope) error

Convert_internalversion_StageNext_To_v1alpha1_StageNext is an autogenerated conversion function.

func Convert_internalversion_StagePatch_To_v1alpha1_StagePatch added in v0.6.0

func Convert_internalversion_StagePatch_To_v1alpha1_StagePatch(in *StagePatch, out *v1alpha1.StagePatch, s conversion.Scope) error

Convert_internalversion_StagePatch_To_v1alpha1_StagePatch converts an internal version StagePatch to a v1alpha1.StagePatch.

func Convert_internalversion_StageResourceRef_To_v1alpha1_StageResourceRef

func Convert_internalversion_StageResourceRef_To_v1alpha1_StageResourceRef(in *StageResourceRef, out *v1alpha1.StageResourceRef, s conversion.Scope) error

Convert_internalversion_StageResourceRef_To_v1alpha1_StageResourceRef is an autogenerated conversion function.

func Convert_internalversion_StageSelector_To_v1alpha1_StageSelector

func Convert_internalversion_StageSelector_To_v1alpha1_StageSelector(in *StageSelector, out *v1alpha1.StageSelector, s conversion.Scope) error

Convert_internalversion_StageSelector_To_v1alpha1_StageSelector is an autogenerated conversion function.

func Convert_internalversion_StageSpec_To_v1alpha1_StageSpec

func Convert_internalversion_StageSpec_To_v1alpha1_StageSpec(in *StageSpec, out *v1alpha1.StageSpec, s conversion.Scope) error

Convert_internalversion_StageSpec_To_v1alpha1_StageSpec is an autogenerated conversion function.

func Convert_internalversion_Stage_To_v1alpha1_Stage

func Convert_internalversion_Stage_To_v1alpha1_Stage(in *Stage, out *v1alpha1.Stage, s conversion.Scope) error

Convert_internalversion_Stage_To_v1alpha1_Stage is an autogenerated conversion function.

func Convert_internalversion_Volume_To_v1alpha1_Volume

func Convert_internalversion_Volume_To_v1alpha1_Volume(in *Volume, out *configv1alpha1.Volume, s conversion.Scope) error

Convert_internalversion_Volume_To_v1alpha1_Volume is an autogenerated conversion function.

func Convert_v1alpha1_AttachConfig_To_internalversion_AttachConfig added in v0.2.0

func Convert_v1alpha1_AttachConfig_To_internalversion_AttachConfig(in *v1alpha1.AttachConfig, out *AttachConfig, s conversion.Scope) error

Convert_v1alpha1_AttachConfig_To_internalversion_AttachConfig is an autogenerated conversion function.

func Convert_v1alpha1_AttachSpec_To_internalversion_AttachSpec added in v0.2.0

func Convert_v1alpha1_AttachSpec_To_internalversion_AttachSpec(in *v1alpha1.AttachSpec, out *AttachSpec, s conversion.Scope) error

Convert_v1alpha1_AttachSpec_To_internalversion_AttachSpec is an autogenerated conversion function.

func Convert_v1alpha1_Attach_To_internalversion_Attach added in v0.2.0

func Convert_v1alpha1_Attach_To_internalversion_Attach(in *v1alpha1.Attach, out *Attach, s conversion.Scope) error

Convert_v1alpha1_Attach_To_internalversion_Attach is an autogenerated conversion function.

func Convert_v1alpha1_ClusterAttachSpec_To_internalversion_ClusterAttachSpec added in v0.2.0

func Convert_v1alpha1_ClusterAttachSpec_To_internalversion_ClusterAttachSpec(in *v1alpha1.ClusterAttachSpec, out *ClusterAttachSpec, s conversion.Scope) error

Convert_v1alpha1_ClusterAttachSpec_To_internalversion_ClusterAttachSpec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterAttach_To_internalversion_ClusterAttach added in v0.2.0

func Convert_v1alpha1_ClusterAttach_To_internalversion_ClusterAttach(in *v1alpha1.ClusterAttach, out *ClusterAttach, s conversion.Scope) error

Convert_v1alpha1_ClusterAttach_To_internalversion_ClusterAttach is an autogenerated conversion function.

func Convert_v1alpha1_ClusterExecSpec_To_internalversion_ClusterExecSpec added in v0.2.0

func Convert_v1alpha1_ClusterExecSpec_To_internalversion_ClusterExecSpec(in *v1alpha1.ClusterExecSpec, out *ClusterExecSpec, s conversion.Scope) error

Convert_v1alpha1_ClusterExecSpec_To_internalversion_ClusterExecSpec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterExec_To_internalversion_ClusterExec added in v0.2.0

func Convert_v1alpha1_ClusterExec_To_internalversion_ClusterExec(in *v1alpha1.ClusterExec, out *ClusterExec, s conversion.Scope) error

Convert_v1alpha1_ClusterExec_To_internalversion_ClusterExec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterLogsSpec_To_internalversion_ClusterLogsSpec added in v0.2.0

func Convert_v1alpha1_ClusterLogsSpec_To_internalversion_ClusterLogsSpec(in *v1alpha1.ClusterLogsSpec, out *ClusterLogsSpec, s conversion.Scope) error

Convert_v1alpha1_ClusterLogsSpec_To_internalversion_ClusterLogsSpec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterLogs_To_internalversion_ClusterLogs added in v0.2.0

func Convert_v1alpha1_ClusterLogs_To_internalversion_ClusterLogs(in *v1alpha1.ClusterLogs, out *ClusterLogs, s conversion.Scope) error

Convert_v1alpha1_ClusterLogs_To_internalversion_ClusterLogs is an autogenerated conversion function.

func Convert_v1alpha1_ClusterPortForwardSpec_To_internalversion_ClusterPortForwardSpec added in v0.2.0

func Convert_v1alpha1_ClusterPortForwardSpec_To_internalversion_ClusterPortForwardSpec(in *v1alpha1.ClusterPortForwardSpec, out *ClusterPortForwardSpec, s conversion.Scope) error

Convert_v1alpha1_ClusterPortForwardSpec_To_internalversion_ClusterPortForwardSpec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterPortForward_To_internalversion_ClusterPortForward added in v0.2.0

func Convert_v1alpha1_ClusterPortForward_To_internalversion_ClusterPortForward(in *v1alpha1.ClusterPortForward, out *ClusterPortForward, s conversion.Scope) error

Convert_v1alpha1_ClusterPortForward_To_internalversion_ClusterPortForward is an autogenerated conversion function.

func Convert_v1alpha1_ClusterResourceUsageSpec_To_internalversion_ClusterResourceUsageSpec added in v0.5.0

func Convert_v1alpha1_ClusterResourceUsageSpec_To_internalversion_ClusterResourceUsageSpec(in *v1alpha1.ClusterResourceUsageSpec, out *ClusterResourceUsageSpec, s conversion.Scope) error

Convert_v1alpha1_ClusterResourceUsageSpec_To_internalversion_ClusterResourceUsageSpec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterResourceUsage_To_internalversion_ClusterResourceUsage added in v0.5.0

func Convert_v1alpha1_ClusterResourceUsage_To_internalversion_ClusterResourceUsage(in *v1alpha1.ClusterResourceUsage, out *ClusterResourceUsage, s conversion.Scope) error

Convert_v1alpha1_ClusterResourceUsage_To_internalversion_ClusterResourceUsage is an autogenerated conversion function.

func Convert_v1alpha1_ComponentMetric_To_internalversion_ComponentMetric added in v0.5.0

func Convert_v1alpha1_ComponentMetric_To_internalversion_ComponentMetric(in *configv1alpha1.ComponentMetric, out *ComponentMetric, s conversion.Scope) error

Convert_v1alpha1_ComponentMetric_To_internalversion_ComponentMetric is an autogenerated conversion function.

func Convert_v1alpha1_ComponentPatches_To_internalversion_ComponentPatches added in v0.2.0

func Convert_v1alpha1_ComponentPatches_To_internalversion_ComponentPatches(in *configv1alpha1.ComponentPatches, out *ComponentPatches, s conversion.Scope) error

Convert_v1alpha1_ComponentPatches_To_internalversion_ComponentPatches is an autogenerated conversion function.

func Convert_v1alpha1_Component_To_internalversion_Component

func Convert_v1alpha1_Component_To_internalversion_Component(in *configv1alpha1.Component, out *Component, s conversion.Scope) error

Convert_v1alpha1_Component_To_internalversion_Component is an autogenerated conversion function.

func Convert_v1alpha1_EnvVar_To_internalversion_EnvVar added in v0.2.0

func Convert_v1alpha1_EnvVar_To_internalversion_EnvVar(in *v1alpha1.EnvVar, out *EnvVar, s conversion.Scope) error

Convert_v1alpha1_EnvVar_To_internalversion_EnvVar is an autogenerated conversion function.

func Convert_v1alpha1_Env_To_internalversion_Env

func Convert_v1alpha1_Env_To_internalversion_Env(in *configv1alpha1.Env, out *Env, s conversion.Scope) error

Convert_v1alpha1_Env_To_internalversion_Env is an autogenerated conversion function.

func Convert_v1alpha1_ExecSpec_To_internalversion_ExecSpec added in v0.2.0

func Convert_v1alpha1_ExecSpec_To_internalversion_ExecSpec(in *v1alpha1.ExecSpec, out *ExecSpec, s conversion.Scope) error

Convert_v1alpha1_ExecSpec_To_internalversion_ExecSpec is an autogenerated conversion function.

func Convert_v1alpha1_ExecTargetLocal_To_internalversion_ExecTargetLocal added in v0.2.0

func Convert_v1alpha1_ExecTargetLocal_To_internalversion_ExecTargetLocal(in *v1alpha1.ExecTargetLocal, out *ExecTargetLocal, s conversion.Scope) error

Convert_v1alpha1_ExecTargetLocal_To_internalversion_ExecTargetLocal is an autogenerated conversion function.

func Convert_v1alpha1_ExecTarget_To_internalversion_ExecTarget added in v0.2.0

func Convert_v1alpha1_ExecTarget_To_internalversion_ExecTarget(in *v1alpha1.ExecTarget, out *ExecTarget, s conversion.Scope) error

Convert_v1alpha1_ExecTarget_To_internalversion_ExecTarget is an autogenerated conversion function.

func Convert_v1alpha1_Exec_To_internalversion_Exec added in v0.2.0

func Convert_v1alpha1_Exec_To_internalversion_Exec(in *v1alpha1.Exec, out *Exec, s conversion.Scope) error

Convert_v1alpha1_Exec_To_internalversion_Exec is an autogenerated conversion function.

func Convert_v1alpha1_ExpressionFromSource_To_internalversion_ExpressionFromSource

func Convert_v1alpha1_ExpressionFromSource_To_internalversion_ExpressionFromSource(in *v1alpha1.ExpressionFromSource, out *ExpressionFromSource, s conversion.Scope) error

Convert_v1alpha1_ExpressionFromSource_To_internalversion_ExpressionFromSource is an autogenerated conversion function.

func Convert_v1alpha1_ExtraArgs_To_internalversion_ExtraArgs added in v0.2.0

func Convert_v1alpha1_ExtraArgs_To_internalversion_ExtraArgs(in *configv1alpha1.ExtraArgs, out *ExtraArgs, s conversion.Scope) error

Convert_v1alpha1_ExtraArgs_To_internalversion_ExtraArgs is an autogenerated conversion function.

func Convert_v1alpha1_FinalizerItem_To_internalversion_FinalizerItem

func Convert_v1alpha1_FinalizerItem_To_internalversion_FinalizerItem(in *v1alpha1.FinalizerItem, out *FinalizerItem, s conversion.Scope) error

Convert_v1alpha1_FinalizerItem_To_internalversion_FinalizerItem is an autogenerated conversion function.

func Convert_v1alpha1_ForwardTarget_To_internalversion_ForwardTarget added in v0.2.0

func Convert_v1alpha1_ForwardTarget_To_internalversion_ForwardTarget(in *v1alpha1.ForwardTarget, out *ForwardTarget, s conversion.Scope) error

Convert_v1alpha1_ForwardTarget_To_internalversion_ForwardTarget is an autogenerated conversion function.

func Convert_v1alpha1_Forward_To_internalversion_Forward added in v0.2.0

func Convert_v1alpha1_Forward_To_internalversion_Forward(in *v1alpha1.Forward, out *Forward, s conversion.Scope) error

Convert_v1alpha1_Forward_To_internalversion_Forward is an autogenerated conversion function.

func Convert_v1alpha1_ImpersonationConfig_To_internalversion_ImpersonationConfig added in v0.5.0

func Convert_v1alpha1_ImpersonationConfig_To_internalversion_ImpersonationConfig(in *v1alpha1.ImpersonationConfig, out *ImpersonationConfig, s conversion.Scope) error

Convert_v1alpha1_ImpersonationConfig_To_internalversion_ImpersonationConfig is an autogenerated conversion function.

func Convert_v1alpha1_KwokConfigurationOptions_To_internalversion_KwokConfigurationOptions

func Convert_v1alpha1_KwokConfigurationOptions_To_internalversion_KwokConfigurationOptions(in *configv1alpha1.KwokConfigurationOptions, out *KwokConfigurationOptions, s conversion.Scope) error

Convert_v1alpha1_KwokConfigurationOptions_To_internalversion_KwokConfigurationOptions is an autogenerated conversion function.

func Convert_v1alpha1_KwokConfiguration_To_internalversion_KwokConfiguration

func Convert_v1alpha1_KwokConfiguration_To_internalversion_KwokConfiguration(in *configv1alpha1.KwokConfiguration, out *KwokConfiguration, s conversion.Scope) error

Convert_v1alpha1_KwokConfiguration_To_internalversion_KwokConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_KwokctlConfigurationOptions_To_internalversion_KwokctlConfigurationOptions

func Convert_v1alpha1_KwokctlConfigurationOptions_To_internalversion_KwokctlConfigurationOptions(in *configv1alpha1.KwokctlConfigurationOptions, out *KwokctlConfigurationOptions, s conversion.Scope) error

Convert_v1alpha1_KwokctlConfigurationOptions_To_internalversion_KwokctlConfigurationOptions is an autogenerated conversion function.

func Convert_v1alpha1_KwokctlConfigurationStatus_To_internalversion_KwokctlConfigurationStatus added in v0.3.0

func Convert_v1alpha1_KwokctlConfigurationStatus_To_internalversion_KwokctlConfigurationStatus(in *configv1alpha1.KwokctlConfigurationStatus, out *KwokctlConfigurationStatus, s conversion.Scope) error

Convert_v1alpha1_KwokctlConfigurationStatus_To_internalversion_KwokctlConfigurationStatus is an autogenerated conversion function.

func Convert_v1alpha1_KwokctlConfiguration_To_internalversion_KwokctlConfiguration

func Convert_v1alpha1_KwokctlConfiguration_To_internalversion_KwokctlConfiguration(in *configv1alpha1.KwokctlConfiguration, out *KwokctlConfiguration, s conversion.Scope) error

Convert_v1alpha1_KwokctlConfiguration_To_internalversion_KwokctlConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_KwokctlResource_To_internalversion_KwokctlResource added in v0.4.0

func Convert_v1alpha1_KwokctlResource_To_internalversion_KwokctlResource(in *configv1alpha1.KwokctlResource, out *KwokctlResource, s conversion.Scope) error

Convert_v1alpha1_KwokctlResource_To_internalversion_KwokctlResource is an autogenerated conversion function.

func Convert_v1alpha1_Log_To_internalversion_Log added in v0.2.0

func Convert_v1alpha1_Log_To_internalversion_Log(in *v1alpha1.Log, out *Log, s conversion.Scope) error

Convert_v1alpha1_Log_To_internalversion_Log is an autogenerated conversion function.

func Convert_v1alpha1_LogsSpec_To_internalversion_LogsSpec added in v0.2.0

func Convert_v1alpha1_LogsSpec_To_internalversion_LogsSpec(in *v1alpha1.LogsSpec, out *LogsSpec, s conversion.Scope) error

Convert_v1alpha1_LogsSpec_To_internalversion_LogsSpec is an autogenerated conversion function.

func Convert_v1alpha1_Logs_To_internalversion_Logs added in v0.2.0

func Convert_v1alpha1_Logs_To_internalversion_Logs(in *v1alpha1.Logs, out *Logs, s conversion.Scope) error

Convert_v1alpha1_Logs_To_internalversion_Logs is an autogenerated conversion function.

func Convert_v1alpha1_MetricBucket_To_internalversion_MetricBucket added in v0.3.0

func Convert_v1alpha1_MetricBucket_To_internalversion_MetricBucket(in *v1alpha1.MetricBucket, out *MetricBucket, s conversion.Scope) error

Convert_v1alpha1_MetricBucket_To_internalversion_MetricBucket is an autogenerated conversion function.

func Convert_v1alpha1_MetricConfig_To_internalversion_MetricConfig added in v0.3.0

func Convert_v1alpha1_MetricConfig_To_internalversion_MetricConfig(in *v1alpha1.MetricConfig, out *MetricConfig, s conversion.Scope) error

Convert_v1alpha1_MetricConfig_To_internalversion_MetricConfig is an autogenerated conversion function.

func Convert_v1alpha1_MetricLabel_To_internalversion_MetricLabel added in v0.3.0

func Convert_v1alpha1_MetricLabel_To_internalversion_MetricLabel(in *v1alpha1.MetricLabel, out *MetricLabel, s conversion.Scope) error

Convert_v1alpha1_MetricLabel_To_internalversion_MetricLabel is an autogenerated conversion function.

func Convert_v1alpha1_MetricSpec_To_internalversion_MetricSpec added in v0.3.0

func Convert_v1alpha1_MetricSpec_To_internalversion_MetricSpec(in *v1alpha1.MetricSpec, out *MetricSpec, s conversion.Scope) error

Convert_v1alpha1_MetricSpec_To_internalversion_MetricSpec is an autogenerated conversion function.

func Convert_v1alpha1_Metric_To_internalversion_Metric added in v0.3.0

func Convert_v1alpha1_Metric_To_internalversion_Metric(in *v1alpha1.Metric, out *Metric, s conversion.Scope) error

Convert_v1alpha1_Metric_To_internalversion_Metric is an autogenerated conversion function.

func Convert_v1alpha1_ObjectSelector_To_internalversion_ObjectSelector added in v0.2.0

func Convert_v1alpha1_ObjectSelector_To_internalversion_ObjectSelector(in *v1alpha1.ObjectSelector, out *ObjectSelector, s conversion.Scope) error

Convert_v1alpha1_ObjectSelector_To_internalversion_ObjectSelector is an autogenerated conversion function.

func Convert_v1alpha1_PortForwardSpec_To_internalversion_PortForwardSpec added in v0.2.0

func Convert_v1alpha1_PortForwardSpec_To_internalversion_PortForwardSpec(in *v1alpha1.PortForwardSpec, out *PortForwardSpec, s conversion.Scope) error

Convert_v1alpha1_PortForwardSpec_To_internalversion_PortForwardSpec is an autogenerated conversion function.

func Convert_v1alpha1_PortForward_To_internalversion_PortForward added in v0.2.0

func Convert_v1alpha1_PortForward_To_internalversion_PortForward(in *v1alpha1.PortForward, out *PortForward, s conversion.Scope) error

Convert_v1alpha1_PortForward_To_internalversion_PortForward is an autogenerated conversion function.

func Convert_v1alpha1_Port_To_internalversion_Port

func Convert_v1alpha1_Port_To_internalversion_Port(in *configv1alpha1.Port, out *Port, s conversion.Scope) error

Convert_v1alpha1_Port_To_internalversion_Port is an autogenerated conversion function.

func Convert_v1alpha1_ResourceUsageContainer_To_internalversion_ResourceUsageContainer added in v0.5.0

func Convert_v1alpha1_ResourceUsageContainer_To_internalversion_ResourceUsageContainer(in *v1alpha1.ResourceUsageContainer, out *ResourceUsageContainer, s conversion.Scope) error

Convert_v1alpha1_ResourceUsageContainer_To_internalversion_ResourceUsageContainer is an autogenerated conversion function.

func Convert_v1alpha1_ResourceUsageSpec_To_internalversion_ResourceUsageSpec added in v0.5.0

func Convert_v1alpha1_ResourceUsageSpec_To_internalversion_ResourceUsageSpec(in *v1alpha1.ResourceUsageSpec, out *ResourceUsageSpec, s conversion.Scope) error

Convert_v1alpha1_ResourceUsageSpec_To_internalversion_ResourceUsageSpec is an autogenerated conversion function.

func Convert_v1alpha1_ResourceUsageValue_To_internalversion_ResourceUsageValue added in v0.5.0

func Convert_v1alpha1_ResourceUsageValue_To_internalversion_ResourceUsageValue(in *v1alpha1.ResourceUsageValue, out *ResourceUsageValue, s conversion.Scope) error

Convert_v1alpha1_ResourceUsageValue_To_internalversion_ResourceUsageValue is an autogenerated conversion function.

func Convert_v1alpha1_ResourceUsage_To_internalversion_ResourceUsage added in v0.5.0

func Convert_v1alpha1_ResourceUsage_To_internalversion_ResourceUsage(in *v1alpha1.ResourceUsage, out *ResourceUsage, s conversion.Scope) error

Convert_v1alpha1_ResourceUsage_To_internalversion_ResourceUsage is an autogenerated conversion function.

func Convert_v1alpha1_SecurityContext_To_internalversion_SecurityContext added in v0.4.0

func Convert_v1alpha1_SecurityContext_To_internalversion_SecurityContext(in *v1alpha1.SecurityContext, out *SecurityContext, s conversion.Scope) error

Convert_v1alpha1_SecurityContext_To_internalversion_SecurityContext is an autogenerated conversion function.

func Convert_v1alpha1_SelectorRequirement_To_internalversion_SelectorRequirement

func Convert_v1alpha1_SelectorRequirement_To_internalversion_SelectorRequirement(in *v1alpha1.SelectorRequirement, out *SelectorRequirement, s conversion.Scope) error

Convert_v1alpha1_SelectorRequirement_To_internalversion_SelectorRequirement is an autogenerated conversion function.

func Convert_v1alpha1_StageDelay_To_internalversion_StageDelay

func Convert_v1alpha1_StageDelay_To_internalversion_StageDelay(in *v1alpha1.StageDelay, out *StageDelay, s conversion.Scope) error

Convert_v1alpha1_StageDelay_To_internalversion_StageDelay is an autogenerated conversion function.

func Convert_v1alpha1_StageEvent_To_internalversion_StageEvent

func Convert_v1alpha1_StageEvent_To_internalversion_StageEvent(in *v1alpha1.StageEvent, out *StageEvent, s conversion.Scope) error

Convert_v1alpha1_StageEvent_To_internalversion_StageEvent is an autogenerated conversion function.

func Convert_v1alpha1_StageFinalizers_To_internalversion_StageFinalizers

func Convert_v1alpha1_StageFinalizers_To_internalversion_StageFinalizers(in *v1alpha1.StageFinalizers, out *StageFinalizers, s conversion.Scope) error

Convert_v1alpha1_StageFinalizers_To_internalversion_StageFinalizers is an autogenerated conversion function.

func Convert_v1alpha1_StageNext_To_internalversion_StageNext

func Convert_v1alpha1_StageNext_To_internalversion_StageNext(in *v1alpha1.StageNext, out *StageNext, s conversion.Scope) error

Convert_v1alpha1_StageNext_To_internalversion_StageNext converts a v1alpha1.StageNext to an internal version.

func Convert_v1alpha1_StagePatch_To_internalversion_StagePatch added in v0.6.0

func Convert_v1alpha1_StagePatch_To_internalversion_StagePatch(in *v1alpha1.StagePatch, out *StagePatch, s conversion.Scope) error

Convert_v1alpha1_StagePatch_To_internalversion_StagePatch is an autogenerated conversion function.

func Convert_v1alpha1_StageResourceRef_To_internalversion_StageResourceRef

func Convert_v1alpha1_StageResourceRef_To_internalversion_StageResourceRef(in *v1alpha1.StageResourceRef, out *StageResourceRef, s conversion.Scope) error

Convert_v1alpha1_StageResourceRef_To_internalversion_StageResourceRef is an autogenerated conversion function.

func Convert_v1alpha1_StageSelector_To_internalversion_StageSelector

func Convert_v1alpha1_StageSelector_To_internalversion_StageSelector(in *v1alpha1.StageSelector, out *StageSelector, s conversion.Scope) error

Convert_v1alpha1_StageSelector_To_internalversion_StageSelector is an autogenerated conversion function.

func Convert_v1alpha1_StageSpec_To_internalversion_StageSpec

func Convert_v1alpha1_StageSpec_To_internalversion_StageSpec(in *v1alpha1.StageSpec, out *StageSpec, s conversion.Scope) error

Convert_v1alpha1_StageSpec_To_internalversion_StageSpec is an autogenerated conversion function.

func Convert_v1alpha1_Stage_To_internalversion_Stage

func Convert_v1alpha1_Stage_To_internalversion_Stage(in *v1alpha1.Stage, out *Stage, s conversion.Scope) error

Convert_v1alpha1_Stage_To_internalversion_Stage is an autogenerated conversion function.

func Convert_v1alpha1_Volume_To_internalversion_Volume

func Convert_v1alpha1_Volume_To_internalversion_Volume(in *configv1alpha1.Volume, out *Volume, s conversion.Scope) error

Convert_v1alpha1_Volume_To_internalversion_Volume 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.

Types

type Attach added in v0.2.0

type Attach struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for attach
	Spec AttachSpec
}

Attach provides attach configuration for a single pod.

func ConvertToInternalAttach added in v0.2.0

func ConvertToInternalAttach(in *v1alpha1.Attach) (*Attach, error)

ConvertToInternalAttach converts a v1alpha1.Attach to an internal version.

func (*Attach) DeepCopy added in v0.2.0

func (in *Attach) DeepCopy() *Attach

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

func (*Attach) DeepCopyInto added in v0.2.0

func (in *Attach) DeepCopyInto(out *Attach)

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

type AttachConfig added in v0.2.0

type AttachConfig struct {
	// Containers is list of container names.
	Containers []string
	// LogsFile is the file from which the attach starts
	LogsFile string
}

AttachConfig holds information how to attach.

func (*AttachConfig) DeepCopy added in v0.2.0

func (in *AttachConfig) DeepCopy() *AttachConfig

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

func (*AttachConfig) DeepCopyInto added in v0.2.0

func (in *AttachConfig) DeepCopyInto(out *AttachConfig)

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

type AttachSpec added in v0.2.0

type AttachSpec struct {
	// Attaches is a list of attaches to configure.
	Attaches []AttachConfig
}

AttachSpec holds spec for attach.

func (*AttachSpec) DeepCopy added in v0.2.0

func (in *AttachSpec) DeepCopy() *AttachSpec

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

func (*AttachSpec) DeepCopyInto added in v0.2.0

func (in *AttachSpec) DeepCopyInto(out *AttachSpec)

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

type ClusterAttach added in v0.2.0

type ClusterAttach struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for cluster attach.
	Spec ClusterAttachSpec
}

ClusterAttach provides cluster-wide logging configuration

func ConvertToInternalClusterAttach added in v0.2.0

func ConvertToInternalClusterAttach(in *v1alpha1.ClusterAttach) (*ClusterAttach, error)

ConvertToInternalClusterAttach converts a v1alpha1.ClusterAttach to an internal version.

func (*ClusterAttach) DeepCopy added in v0.2.0

func (in *ClusterAttach) DeepCopy() *ClusterAttach

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

func (*ClusterAttach) DeepCopyInto added in v0.2.0

func (in *ClusterAttach) DeepCopyInto(out *ClusterAttach)

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

type ClusterAttachSpec added in v0.2.0

type ClusterAttachSpec struct {
	// Selector is a selector to filter pods to configure.
	Selector *ObjectSelector
	// Attaches is a list of attach configurations.
	Attaches []AttachConfig
}

ClusterAttachSpec holds spec for cluster attach.

func (*ClusterAttachSpec) DeepCopy added in v0.2.0

func (in *ClusterAttachSpec) DeepCopy() *ClusterAttachSpec

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

func (*ClusterAttachSpec) DeepCopyInto added in v0.2.0

func (in *ClusterAttachSpec) DeepCopyInto(out *ClusterAttachSpec)

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

type ClusterExec added in v0.2.0

type ClusterExec struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for cluster exec.
	Spec ClusterExecSpec
}

ClusterExec provides cluster-wide exec configuration.

func ConvertToInternalClusterExec added in v0.2.0

func ConvertToInternalClusterExec(in *v1alpha1.ClusterExec) (*ClusterExec, error)

ConvertToInternalClusterExec converts a v1alpha1.ClusterExec to an internal version.

func (*ClusterExec) DeepCopy added in v0.2.0

func (in *ClusterExec) DeepCopy() *ClusterExec

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

func (*ClusterExec) DeepCopyInto added in v0.2.0

func (in *ClusterExec) DeepCopyInto(out *ClusterExec)

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

type ClusterExecSpec added in v0.2.0

type ClusterExecSpec struct {
	// Selector is a selector to filter pods to configure.
	Selector *ObjectSelector
	// Execs is a list of exec to configure.
	Execs []ExecTarget
}

ClusterExecSpec holds spec for cluster exec.

func (*ClusterExecSpec) DeepCopy added in v0.2.0

func (in *ClusterExecSpec) DeepCopy() *ClusterExecSpec

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

func (*ClusterExecSpec) DeepCopyInto added in v0.2.0

func (in *ClusterExecSpec) DeepCopyInto(out *ClusterExecSpec)

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

type ClusterLogs added in v0.2.0

type ClusterLogs struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for cluster logs.
	Spec ClusterLogsSpec
}

ClusterLogs provides cluster-wide logs.

func ConvertToInternalClusterLogs added in v0.2.0

func ConvertToInternalClusterLogs(in *v1alpha1.ClusterLogs) (*ClusterLogs, error)

ConvertToInternalClusterLogs converts a v1alpha1.ClusterLogs to an internal version.

func (*ClusterLogs) DeepCopy added in v0.2.0

func (in *ClusterLogs) DeepCopy() *ClusterLogs

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

func (*ClusterLogs) DeepCopyInto added in v0.2.0

func (in *ClusterLogs) DeepCopyInto(out *ClusterLogs)

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

type ClusterLogsSpec added in v0.2.0

type ClusterLogsSpec struct {
	// Selector is a selector to filter pods to configure.
	Selector *ObjectSelector
	// Forwards is a list of log configurations.
	Logs []Log
}

ClusterLogsSpec holds spec for cluster logs.

func (*ClusterLogsSpec) DeepCopy added in v0.2.0

func (in *ClusterLogsSpec) DeepCopy() *ClusterLogsSpec

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

func (*ClusterLogsSpec) DeepCopyInto added in v0.2.0

func (in *ClusterLogsSpec) DeepCopyInto(out *ClusterLogsSpec)

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

type ClusterPortForward added in v0.2.0

type ClusterPortForward struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for cluster port forward.
	Spec ClusterPortForwardSpec
}

ClusterPortForward provides cluster-wide port forward configuration.

func ConvertToInternalClusterPortForward added in v0.2.0

func ConvertToInternalClusterPortForward(in *v1alpha1.ClusterPortForward) (*ClusterPortForward, error)

ConvertToInternalClusterPortForward converts a v1alpha1.ClusterPortForward to an internal version.

func (*ClusterPortForward) DeepCopy added in v0.2.0

func (in *ClusterPortForward) DeepCopy() *ClusterPortForward

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

func (*ClusterPortForward) DeepCopyInto added in v0.2.0

func (in *ClusterPortForward) DeepCopyInto(out *ClusterPortForward)

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

type ClusterPortForwardSpec added in v0.2.0

type ClusterPortForwardSpec struct {
	// Selector is a selector to filter pods to configure.
	Selector *ObjectSelector
	// Forwards is a list of forwards to configure.
	Forwards []Forward
}

ClusterPortForwardSpec holds spec for cluster port forward.

func (*ClusterPortForwardSpec) DeepCopy added in v0.2.0

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

func (*ClusterPortForwardSpec) DeepCopyInto added in v0.2.0

func (in *ClusterPortForwardSpec) DeepCopyInto(out *ClusterPortForwardSpec)

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

type ClusterResourceUsage added in v0.5.0

type ClusterResourceUsage struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for cluster resource usage.
	Spec ClusterResourceUsageSpec
}

ClusterResourceUsage provides cluster-wide resource usage.

func ConvertToInternalClusterResourceUsage added in v0.5.0

func ConvertToInternalClusterResourceUsage(in *v1alpha1.ClusterResourceUsage) (*ClusterResourceUsage, error)

ConvertToInternalClusterResourceUsage converts a v1alpha1.ClusterResourceUsage to an internal version.

func (*ClusterResourceUsage) DeepCopy added in v0.5.0

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

func (*ClusterResourceUsage) DeepCopyInto added in v0.5.0

func (in *ClusterResourceUsage) DeepCopyInto(out *ClusterResourceUsage)

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

type ClusterResourceUsageSpec added in v0.5.0

type ClusterResourceUsageSpec struct {
	// Selector is a selector to filter pods to configure.
	Selector *ObjectSelector
	// Usages is a list of resource usage for the pod.
	Usages []ResourceUsageContainer
}

ClusterResourceUsageSpec holds spec for cluster resource usage.

func (*ClusterResourceUsageSpec) DeepCopy added in v0.5.0

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

func (*ClusterResourceUsageSpec) DeepCopyInto added in v0.5.0

func (in *ClusterResourceUsageSpec) DeepCopyInto(out *ClusterResourceUsageSpec)

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

type Component

type Component struct {
	// Name of the component specified as a DNS_LABEL.
	// Each component must have a unique name (DNS_LABEL).
	// Cannot be updated.
	Name string

	// Links is a set of links for the component.
	Links []string

	// Binary is the binary of the component.
	Binary string

	// Image is the image of the component.
	Image string

	// Command is Entrypoint array. Not executed within a shell. Only works with Image.
	Command []string

	// User is the user for the component.
	User string

	// Args is Arguments to the entrypoint.
	Args []string

	// WorkDir is component's working directory.
	WorkDir string

	// Ports is list of ports to expose from the component.
	Ports []Port

	// Envs is list of environment variables to set in the component.
	Envs []Env

	// Volumes is a list of named volumes that can be mounted by containers belonging to the component.
	Volumes []Volume

	// Metric is the metric of the component.
	Metric *ComponentMetric

	// MetricsDiscovery is the metrics discovery of the component.
	MetricsDiscovery *ComponentMetric

	// Version is the version of the component.
	Version string
}

Component is a component of the cluster.

func (*Component) DeepCopy

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto

func (in *Component) DeepCopyInto(out *Component)

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

type ComponentMetric added in v0.5.0

type ComponentMetric struct {
	// Scheme is the scheme of the metric.
	Scheme string
	// Host is the host of the metric.
	Host string
	// Path is the path of the metric.
	Path string

	// CertPath is the cert path of the metric.
	CertPath string
	// KeyPath is the key path of the metric.
	KeyPath string
	// InsecureSkipVerify is the flag to skip verify the metric.
	InsecureSkipVerify bool
}

ComponentMetric represents a metric of a component.

func (*ComponentMetric) DeepCopy added in v0.5.0

func (in *ComponentMetric) DeepCopy() *ComponentMetric

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

func (*ComponentMetric) DeepCopyInto added in v0.5.0

func (in *ComponentMetric) DeepCopyInto(out *ComponentMetric)

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

type ComponentPatches added in v0.2.0

type ComponentPatches struct {
	// Name is the name of the component.
	Name string
	// ExtraArgs is the extra args to be patched on the component.
	ExtraArgs []ExtraArgs
	// ExtraVolumes is the extra volumes to be patched on the component.
	ExtraVolumes []Volume
	// ExtraEnvs is the extra environment variables to be patched on the component.
	ExtraEnvs []Env
}

ComponentPatches holds information about the component patches.

func (*ComponentPatches) DeepCopy added in v0.2.0

func (in *ComponentPatches) DeepCopy() *ComponentPatches

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

func (*ComponentPatches) DeepCopyInto added in v0.2.0

func (in *ComponentPatches) DeepCopyInto(out *ComponentPatches)

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

type Dimension added in v0.4.0

type Dimension string

Dimension is a dimension of the metric.

const (
	// DimensionNode is a node dimension.
	DimensionNode Dimension = "node"
	// DimensionPod is a pod dimension.
	DimensionPod Dimension = "pod"
	// DimensionContainer is a container dimension.
	DimensionContainer Dimension = "container"
)

type Env

type Env struct {
	// Name of the environment variable.
	Name string

	// Value is using the previously defined environment variables in the component.
	Value string
}

Env represents an environment variable present in a Container.

func (*Env) DeepCopy

func (in *Env) DeepCopy() *Env

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

func (*Env) DeepCopyInto

func (in *Env) DeepCopyInto(out *Env)

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

type EnvVar added in v0.2.0

type EnvVar struct {
	// Name of the environment variable.
	Name string
	// Value of the environment variable.
	Value string
}

EnvVar represents an environment variable present in a Container.

func (*EnvVar) DeepCopy added in v0.2.0

func (in *EnvVar) DeepCopy() *EnvVar

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

func (*EnvVar) DeepCopyInto added in v0.2.0

func (in *EnvVar) DeepCopyInto(out *EnvVar)

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

type Exec added in v0.2.0

type Exec struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for exec
	Spec ExecSpec
}

Exec provides exec configuration for a single pod.

func ConvertToInternalExec added in v0.2.0

func ConvertToInternalExec(in *v1alpha1.Exec) (*Exec, error)

ConvertToInternalExec converts a v1alpha1.Exec to an internal version.

func (*Exec) DeepCopy added in v0.2.0

func (in *Exec) DeepCopy() *Exec

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

func (*Exec) DeepCopyInto added in v0.2.0

func (in *Exec) DeepCopyInto(out *Exec)

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

type ExecSpec added in v0.2.0

type ExecSpec struct {
	// Execs is a list of execs to configure.
	Execs []ExecTarget
}

ExecSpec holds spec for exec

func (*ExecSpec) DeepCopy added in v0.2.0

func (in *ExecSpec) DeepCopy() *ExecSpec

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

func (*ExecSpec) DeepCopyInto added in v0.2.0

func (in *ExecSpec) DeepCopyInto(out *ExecSpec)

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

type ExecTarget added in v0.2.0

type ExecTarget struct {
	// Containers is a list of containers to exec.
	// if not set, all containers will be execed.
	Containers []string
	// Local holds information how to exec to a local target.
	Local *ExecTargetLocal
}

ExecTarget holds information how to exec.

func (*ExecTarget) DeepCopy added in v0.2.0

func (in *ExecTarget) DeepCopy() *ExecTarget

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

func (*ExecTarget) DeepCopyInto added in v0.2.0

func (in *ExecTarget) DeepCopyInto(out *ExecTarget)

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

type ExecTargetLocal added in v0.2.0

type ExecTargetLocal struct {
	// WorkDir is the working directory to exec with.
	WorkDir string
	// Envs is a list of environment variables to exec with.
	Envs []EnvVar
	// SecurityContext is the user context to exec.
	SecurityContext *SecurityContext
}

ExecTargetLocal holds information how to exec to a local target.

func (*ExecTargetLocal) DeepCopy added in v0.2.0

func (in *ExecTargetLocal) DeepCopy() *ExecTargetLocal

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

func (*ExecTargetLocal) DeepCopyInto added in v0.2.0

func (in *ExecTargetLocal) DeepCopyInto(out *ExecTargetLocal)

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

type ExpressionFromSource

type ExpressionFromSource struct {
	// ExpressionFrom is the expression used to get the value.
	ExpressionFrom string
}

ExpressionFromSource represents a source for the value of a from.

func (*ExpressionFromSource) DeepCopy

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

func (*ExpressionFromSource) DeepCopyInto

func (in *ExpressionFromSource) DeepCopyInto(out *ExpressionFromSource)

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

type ExtraArgs added in v0.2.0

type ExtraArgs struct {
	// Key is the key of the extra args.
	Key string
	// Value is the value of the extra args.
	Value string
}

ExtraArgs holds information about the extra args.

func (*ExtraArgs) DeepCopy added in v0.2.0

func (in *ExtraArgs) DeepCopy() *ExtraArgs

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

func (*ExtraArgs) DeepCopyInto added in v0.2.0

func (in *ExtraArgs) DeepCopyInto(out *ExtraArgs)

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

type FinalizerItem

type FinalizerItem struct {
	// Value is the value of the finalizer.
	Value string
}

FinalizerItem describes the one of the finalizers.

func (*FinalizerItem) DeepCopy

func (in *FinalizerItem) DeepCopy() *FinalizerItem

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

func (*FinalizerItem) DeepCopyInto

func (in *FinalizerItem) DeepCopyInto(out *FinalizerItem)

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

type Forward added in v0.2.0

type Forward struct {
	// Ports is a list of ports to forward.
	// if not set, all ports will be forwarded.
	Ports []int32
	// Target is the target to forward to.
	Target *ForwardTarget
	// Command is the command to run to forward with stdin/stdout.
	// if set, Target will be ignored.
	Command []string
}

Forward holds information how to forward based on ports.

func (*Forward) DeepCopy added in v0.2.0

func (in *Forward) DeepCopy() *Forward

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

func (*Forward) DeepCopyInto added in v0.2.0

func (in *Forward) DeepCopyInto(out *Forward)

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

type ForwardTarget added in v0.2.0

type ForwardTarget struct {
	// Port is the port to forward to.
	Port int32
	// Address is the address to forward to.
	Address string
}

ForwardTarget holds information how to forward to a target.

func (*ForwardTarget) DeepCopy added in v0.2.0

func (in *ForwardTarget) DeepCopy() *ForwardTarget

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

func (*ForwardTarget) DeepCopyInto added in v0.2.0

func (in *ForwardTarget) DeepCopyInto(out *ForwardTarget)

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

type HostPathType added in v0.2.0

type HostPathType string

HostPathType represents the type of storage used for HostPath volumes.

const (
	// For backwards compatible, leave it empty if unset
	HostPathUnset HostPathType = ""
	// If nothing exists at the given path, an empty directory will be created there
	// as needed with file mode 0755, having the same group and ownership with Kubelet.
	HostPathDirectoryOrCreate HostPathType = "DirectoryOrCreate"
	// A directory must exist at the given path
	HostPathDirectory HostPathType = "Directory"
	// If nothing exists at the given path, an empty file will be created there
	// as needed with file mode 0644, having the same group and ownership with Kubelet.
	HostPathFileOrCreate HostPathType = "FileOrCreate"
	// A file must exist at the given path
	HostPathFile HostPathType = "File"
	// A UNIX socket must exist at the given path
	HostPathSocket HostPathType = "Socket"
	// A character device must exist at the given path
	HostPathCharDev HostPathType = "CharDevice"
	// A block device must exist at the given path
	HostPathBlockDev HostPathType = "BlockDevice"
)

Constants for HostPathType.

type ImpersonationConfig added in v0.5.0

type ImpersonationConfig struct {
	// Username the target username for the client to impersonate
	Username string
}

ImpersonationConfig describes the configuration for impersonating clients

func (*ImpersonationConfig) DeepCopy added in v0.5.0

func (in *ImpersonationConfig) DeepCopy() *ImpersonationConfig

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

func (*ImpersonationConfig) DeepCopyInto added in v0.5.0

func (in *ImpersonationConfig) DeepCopyInto(out *ImpersonationConfig)

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

type Kind added in v0.4.0

type Kind string

Kind is kind of metric configuration.

const (
	// KindCounter is a counter metric.
	KindCounter Kind = "counter"
	// KindGauge is a gauge metric.
	KindGauge Kind = "gauge"
	// KindHistogram is a histogram metric.
	KindHistogram Kind = "histogram"
)

type KwokConfiguration

type KwokConfiguration struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Options holds information about the default value.
	Options KwokConfigurationOptions
}

KwokConfiguration provides configuration for the Kwok.

func ConvertToInternalKwokConfiguration added in v0.2.0

func ConvertToInternalKwokConfiguration(in *configv1alpha1.KwokConfiguration) (*KwokConfiguration, error)

ConvertToInternalKwokConfiguration converts a v1alpha1.KwokConfiguration to an internal version.

func (*KwokConfiguration) DeepCopy

func (in *KwokConfiguration) DeepCopy() *KwokConfiguration

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

func (*KwokConfiguration) DeepCopyInto

func (in *KwokConfiguration) DeepCopyInto(out *KwokConfiguration)

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

type KwokConfigurationOptions

type KwokConfigurationOptions struct {
	// EnableCRDs is a list of CRDs to enable.
	EnableCRDs []string

	// The default IP assigned to the Pod on maintained Nodes.
	CIDR string

	// The ip of all nodes maintained by the Kwok
	NodeIP string

	// The name of all nodes maintained by the Kwok
	NodeName string

	// The port of all nodes maintained by the Kwok
	NodePort int

	// TLSCertFile is the file containing x509 Certificate
	TLSCertFile string

	// TLSPrivateKeyFile is the ile containing x509 private key
	TLSPrivateKeyFile string

	// ManageSingleNode is the option to manage a single node name
	ManageSingleNode string

	// Default option to manage (i.e., maintain heartbeat/liveness of) all Nodes or not.
	ManageAllNodes bool

	// Default annotations specified on Nodes to demand manage.
	ManageNodesWithAnnotationSelector string

	// Default labels specified on Nodes to demand manage.
	ManageNodesWithLabelSelector string

	// If a Node/Pod is on a managed Node and has this annotation status will not be modified
	// Deprecated: use Stage API instead
	DisregardStatusWithAnnotationSelector string

	// If a Node/Pod is on a managed Node and has this label status will not be modified
	// Deprecated: use Stage API instead
	DisregardStatusWithLabelSelector string

	// ServerAddress is server address of the Kwok.
	ServerAddress string

	// Experimental support for getting pod ip from CNI, for CNI-related components, Only works with Linux.
	EnableCNI bool

	// EnableDebuggingHandlers enables server endpoints for log collection
	// and local running of containers and commands
	EnableDebuggingHandlers bool

	// EnableContentionProfiling enables lock contention profiling, if enableDebuggingHandlers is true.
	EnableContentionProfiling bool

	// EnableProfiling enables /debug/pprof handler.
	EnableProfilingHandler bool

	// PodPlayStageParallelism is the number of PodPlayStages that are allowed to run in parallel.
	PodPlayStageParallelism uint

	// NodePlayStageParallelism is the number of NodePlayStages that are allowed to run in parallel.
	NodePlayStageParallelism uint

	// NodeLeaseDurationSeconds is the duration the Kubelet will set on its corresponding Lease.
	NodeLeaseDurationSeconds uint

	// NodeLeaseParallelism is the number of NodeLeases that are allowed to be processed in parallel.
	NodeLeaseParallelism uint
}

KwokConfigurationOptions holds information about the options.

func (*KwokConfigurationOptions) DeepCopy

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

func (*KwokConfigurationOptions) DeepCopyInto

func (in *KwokConfigurationOptions) DeepCopyInto(out *KwokConfigurationOptions)

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

type KwokctlConfiguration

type KwokctlConfiguration struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Options holds information about the default value.
	Options KwokctlConfigurationOptions
	// Components holds information about the components.
	Components []Component
	// ComponentsPatches holds information about the components patches.
	ComponentsPatches []ComponentPatches
	// Status holds information about the status.
	Status KwokctlConfigurationStatus
}

KwokctlConfiguration provides configuration for the Kwokctl.

func ConvertToInternalKwokctlConfiguration added in v0.2.0

func ConvertToInternalKwokctlConfiguration(in *configv1alpha1.KwokctlConfiguration) (*KwokctlConfiguration, error)

ConvertToInternalKwokctlConfiguration converts a v1alpha1.KwokctlConfiguration to an internal version.

func (*KwokctlConfiguration) DeepCopy

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

func (*KwokctlConfiguration) DeepCopyInto

func (in *KwokctlConfiguration) DeepCopyInto(out *KwokctlConfiguration)

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

type KwokctlConfigurationOptions

type KwokctlConfigurationOptions struct {
	// EnableCRDs is a list of CRDs to enable.
	EnableCRDs []string

	// KubeApiserverPort is the port to expose apiserver.
	KubeApiserverPort uint32

	// KubeApiserverInsecurePort is the port to expose kubectl proxy.
	KubeApiserverInsecurePort uint32

	// InsecureKubeconfig is the flag to use insecure kubeconfig.
	// only available when KubeApiserverInsecurePort is set.
	InsecureKubeconfig bool

	// Runtime is the runtime to use.
	Runtime string

	// Runtimes is a list of alternate runtimes. When Runtime is empty,
	// the availability of the runtimes in the list is checked one by one
	// and set to Runtime
	Runtimes []string

	// PrometheusPort is the port to expose Prometheus metrics.
	PrometheusPort uint32

	// JaegerPort is the port to expose Jaeger UI.
	JaegerPort uint32

	// JaegerOtlpGrpcPort is the port to expose OTLP GRPC collector.
	JaegerOtlpGrpcPort uint32

	// KwokVersion is the version of Kwok to use.
	KwokVersion string

	// KubeVersion is the version of Kubernetes to use.
	KubeVersion string

	// EtcdVersion is the version of Etcd to use.
	EtcdVersion string

	// DashboardVersion is the version of Kubernetes dashboard to use.
	DashboardVersion string

	// DashboardMetricsScraperVersion is the version of dashboard metrics scraper to use.
	DashboardMetricsScraperVersion string

	// PrometheusVersion is the version of Prometheus to use.
	PrometheusVersion string

	// JaegerVersion is the version of Jaeger to use.
	JaegerVersion string

	// MetricsServerVersion is the version of metrics-server to use.
	MetricsServerVersion string

	// KindVersion is the version of kind to use.
	KindVersion string

	// SecurePort is the apiserver port on which to serve HTTPS with authentication and authorization.
	// is not available before Kubernetes 1.13.0
	SecurePort bool

	// QuietPull is the flag to quiet the pull.
	QuietPull bool

	// KubeSchedulerConfig is the configuration path for kube-scheduler.
	KubeSchedulerConfig string

	// DisableKubeScheduler is the flag to disable kube-scheduler.
	DisableKubeScheduler bool

	// DisableKubeControllerManager is the flag to disable kube-controller-manager.
	DisableKubeControllerManager bool

	// EnableMetricsServer is the flag to enable metrics-server.
	EnableMetricsServer bool

	// EtcdImage is the image of etcd.
	EtcdImage string

	// KubeApiserverImage is the image of kube-apiserver.
	KubeApiserverImage string

	// KubeControllerManagerImage is the image of kube-controller-manager.
	KubeControllerManagerImage string

	// KubeSchedulerImage is the image of kube-scheduler.
	KubeSchedulerImage string

	// KubectlImage is the image of kubectl.
	KubectlImage string

	// KwokControllerImage is the image of Kwok.
	KwokControllerImage string

	// DashboardImage is the image of dashboard.
	DashboardImage string

	// DashboardMetricsScraperImage is the image of dashboard metrics scraper.
	DashboardMetricsScraperImage string

	// PrometheusImage is the image of Prometheus.
	PrometheusImage string

	// JaegerImage is the image of Jaeger
	JaegerImage string

	// MetricsServerImage is the image of metrics-server.
	MetricsServerImage string

	// KindNodeImage is the image of kind node.
	KindNodeImage string

	// BinSuffix is the suffix of the all binary.
	// On Windows is .exe
	BinSuffix string

	// KubeApiserverBinary is the binary of kube-apiserver.
	KubeApiserverBinary string

	// KubeControllerManagerBinary is the binary of kube-controller-manager.
	KubeControllerManagerBinary string

	// KubeSchedulerBinary is the binary of kube-scheduler.
	KubeSchedulerBinary string

	// KubectlBinary is the binary of kubectl.
	KubectlBinary string

	// EtcdctlBinary is the binary of etcdctl.
	EtcdctlBinary string

	// EtcdBinary is the binary of etcd.
	EtcdBinary string

	// EtcdBinaryTar is the tar of the binary of etcd.
	// Deprecated: Use EtcdBinary instead
	EtcdBinaryTar string

	// EtcdPrefix is the prefix of etcd.
	EtcdPrefix string

	// KwokControllerBinary is the binary of kwok.
	KwokControllerBinary string

	// PrometheusBinary  is the binary of Prometheus.
	PrometheusBinary string

	// PrometheusBinaryTar is the tar of binary of Prometheus.
	// Deprecated: Use PrometheusBinary instead
	PrometheusBinaryTar string

	// JaegerBinary  is the binary of Jaeger.
	JaegerBinary string

	// JaegerBinaryTar is the tar of binary of Jaeger.
	// Deprecated: Use JaegerBinary instead
	JaegerBinaryTar string

	// MetricsServerBinary is the binary of metrics-server.
	MetricsServerBinary string

	// KindBinary is the binary of kind.
	KindBinary string

	// KubeFeatureGates is a set of key=value pairs that describe feature gates for alpha/experimental features of Kubernetes.
	KubeFeatureGates string

	// KubeRuntimeConfig is a set of key=value pairs that enable or disable built-in APIs.
	KubeRuntimeConfig string

	// KubeAuditPolicy is path to the file that defines the audit policy configuration
	KubeAuditPolicy string

	// KubeAuthorization is the flag to enable authorization on secure port.
	KubeAuthorization bool

	// KubeAdmission is the flag to enable admission for kube-apiserver.
	KubeAdmission bool

	// EtcdPeerPort is etcd peer port in the binary runtime
	EtcdPeerPort uint32

	// EtcdPort is etcd port in the binary runtime
	EtcdPort uint32

	// KubeControllerManagerPort is kube-controller-manager port in the binary runtime
	KubeControllerManagerPort uint32

	// KubeSchedulerPort is kube-scheduler port in the binary runtime
	KubeSchedulerPort uint32

	// DashboardPort is dashboard port that is exposed to the host.
	DashboardPort uint32

	// KwokControllerPort is kwok-controller port that is exposed to the host.
	KwokControllerPort uint32

	// MetricsServerPort is metrics-server port that is exposed to the host.
	MetricsServerPort uint32

	// CacheDir is the directory of the cache.
	CacheDir string

	// KubeControllerManagerNodeMonitorPeriodMilliseconds is --node-monitor-period for kube-controller-manager.
	KubeControllerManagerNodeMonitorPeriodMilliseconds int64

	// KubeControllerManagerNodeMonitorGracePeriodMilliseconds is --node-monitor-grace-period for kube-controller-manager.
	KubeControllerManagerNodeMonitorGracePeriodMilliseconds int64

	// NodeStatusUpdateFrequencyMilliseconds is --node-status-update-frequency for kwok like kubelet.
	NodeStatusUpdateFrequencyMilliseconds int64

	// NodeLeaseDurationSeconds is the duration the Kubelet will set on its corresponding Lease.
	NodeLeaseDurationSeconds uint

	// HeartbeatFactor is the scale factor for all about heartbeat.
	HeartbeatFactor float64

	// BindAddress is the address to bind to.
	BindAddress string

	// KubeApiserverCertSANs sets extra Subject Alternative Names for the API Server signing cert.
	KubeApiserverCertSANs []string

	// DisableQPSLimits specifies whether to disable QPS limits for components.
	DisableQPSLimits bool
}

KwokctlConfigurationOptions holds information about the options.

func (*KwokctlConfigurationOptions) DeepCopy

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

func (*KwokctlConfigurationOptions) DeepCopyInto

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

type KwokctlConfigurationStatus added in v0.3.0

type KwokctlConfigurationStatus struct {
	// Version is the version of the kwokctl.
	Version string
}

KwokctlConfigurationStatus holds information about the status.

func (*KwokctlConfigurationStatus) DeepCopy added in v0.3.0

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

func (*KwokctlConfigurationStatus) DeepCopyInto added in v0.3.0

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

type KwokctlResource added in v0.4.0

type KwokctlResource struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Parameters is the parameters for the kwokctl resource configuration.
	Parameters json.RawMessage
	// Template is the template for the kwokctl resource configuration.
	Template string
}

KwokctlResource provides resource definition for kwokctl.

func ConvertToInternalKwokctlResource added in v0.4.0

func ConvertToInternalKwokctlResource(in *configv1alpha1.KwokctlResource) (*KwokctlResource, error)

ConvertToInternalKwokctlResource converts a v1alpha1.KwokctlResource to an internal version.

func (*KwokctlResource) DeepCopy added in v0.4.0

func (in *KwokctlResource) DeepCopy() *KwokctlResource

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

func (*KwokctlResource) DeepCopyInto added in v0.4.0

func (in *KwokctlResource) DeepCopyInto(out *KwokctlResource)

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

type Log added in v0.2.0

type Log struct {
	// Containers is list of container names.
	Containers []string
	// LogsFile is the file from which the log forward starts
	LogsFile string
	// Follow up if true
	Follow bool
}

Log holds information how to forward logs.

func (*Log) DeepCopy added in v0.2.0

func (in *Log) DeepCopy() *Log

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

func (*Log) DeepCopyInto added in v0.2.0

func (in *Log) DeepCopyInto(out *Log)

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

type Logs added in v0.2.0

type Logs struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for logs.
	Spec LogsSpec
}

Logs provides log configuration for a single pod.

func ConvertToInternalLogs added in v0.2.0

func ConvertToInternalLogs(in *v1alpha1.Logs) (*Logs, error)

ConvertToInternalLogs converts a v1alpha1.Logs to an internal version.

func (*Logs) DeepCopy added in v0.2.0

func (in *Logs) DeepCopy() *Logs

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

func (*Logs) DeepCopyInto added in v0.2.0

func (in *Logs) DeepCopyInto(out *Logs)

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

type LogsSpec added in v0.2.0

type LogsSpec struct {
	// Logs is a list of logs to configure.
	Logs []Log
}

LogsSpec holds spec for logs.

func (*LogsSpec) DeepCopy added in v0.2.0

func (in *LogsSpec) DeepCopy() *LogsSpec

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

func (*LogsSpec) DeepCopyInto added in v0.2.0

func (in *LogsSpec) DeepCopyInto(out *LogsSpec)

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

type Metric added in v0.3.0

type Metric struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for metrics.
	Spec MetricSpec
}

Metric provides metrics configuration.

func ConvertToInternalMetric added in v0.3.0

func ConvertToInternalMetric(in *v1alpha1.Metric) (*Metric, error)

ConvertToInternalMetric converts a v1alpha1.Metric to an internal version.

func (*Metric) DeepCopy added in v0.3.0

func (in *Metric) DeepCopy() *Metric

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

func (*Metric) DeepCopyInto added in v0.3.0

func (in *Metric) DeepCopyInto(out *Metric)

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

type MetricBucket added in v0.3.0

type MetricBucket struct {
	// Le is less-than or equal.
	Le float64
	// Value is a CEL expression.
	Value string
	// Hidden is means that this bucket not shown in the metric.
	// but value will be calculated and cumulative into the next bucket.
	Hidden bool
}

MetricBucket is a single bucket for a metric.

func (*MetricBucket) DeepCopy added in v0.3.0

func (in *MetricBucket) DeepCopy() *MetricBucket

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

func (*MetricBucket) DeepCopyInto added in v0.3.0

func (in *MetricBucket) DeepCopyInto(out *MetricBucket)

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

type MetricConfig added in v0.3.0

type MetricConfig struct {
	// Name is the fully-qualified name of the metric.
	Name string
	// Help provides information about this metric.
	Help string
	// Kind is kind of metric
	Kind Kind
	// Labels are metric labels.
	Labels []MetricLabel
	// Value is a CEL expression.
	Value string
	// Buckets is a list of buckets for a histogram metric.
	Buckets []MetricBucket
	// Dimension is a dimension of the metric.
	Dimension Dimension
}

MetricConfig provides metric configuration to a single metric

func (*MetricConfig) DeepCopy added in v0.3.0

func (in *MetricConfig) DeepCopy() *MetricConfig

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

func (*MetricConfig) DeepCopyInto added in v0.3.0

func (in *MetricConfig) DeepCopyInto(out *MetricConfig)

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

type MetricLabel added in v0.3.0

type MetricLabel struct {
	// Name is a label name.
	Name string
	// Value is a CEL expression.
	Value string
}

MetricLabel holds label name and the value of the label.

func (*MetricLabel) DeepCopy added in v0.3.0

func (in *MetricLabel) DeepCopy() *MetricLabel

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

func (*MetricLabel) DeepCopyInto added in v0.3.0

func (in *MetricLabel) DeepCopyInto(out *MetricLabel)

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

type MetricSpec added in v0.3.0

type MetricSpec struct {
	// Path is a restful service path.
	Path string
	// Metrics is a list of metric configurations.
	Metrics []MetricConfig
}

MetricSpec holds spec for metrics.

func (*MetricSpec) DeepCopy added in v0.3.0

func (in *MetricSpec) DeepCopy() *MetricSpec

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

func (*MetricSpec) DeepCopyInto added in v0.3.0

func (in *MetricSpec) DeepCopyInto(out *MetricSpec)

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

type ObjectSelector added in v0.2.0

type ObjectSelector struct {
	// MatchNamespaces is a list of namespaces to match.
	// if not set, all namespaces will be matched.
	MatchNamespaces []string
	// MatchNames is a list of names to match.
	// if not set, all names will be matched.
	MatchNames []string
}

ObjectSelector holds information how to match based on namespace and name.

func (*ObjectSelector) DeepCopy added in v0.2.0

func (in *ObjectSelector) DeepCopy() *ObjectSelector

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

func (*ObjectSelector) DeepCopyInto added in v0.2.0

func (in *ObjectSelector) DeepCopyInto(out *ObjectSelector)

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

func (*ObjectSelector) Match added in v0.2.0

func (s *ObjectSelector) Match(name, namespace string) bool

Match returns true if name and namespace is specified within the selector If the match field is empty, the match on that field is considered to be true.

type Port

type Port struct {
	// Name for the port that can be referred to by components.
	Name string
	// Port is number of port to expose on the component's IP address.
	// This must be a valid port number, 0 < x < 65536.
	Port uint32
	// HostPort is number of port to expose on the host.
	// If specified, this must be a valid port number, 0 < x < 65536.
	HostPort uint32
	// Protocol for port. Must be UDP, TCP, or SCTP.
	Protocol Protocol
}

Port represents a network port in a single component.

func (*Port) DeepCopy

func (in *Port) DeepCopy() *Port

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

func (*Port) DeepCopyInto

func (in *Port) DeepCopyInto(out *Port)

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

type PortForward added in v0.2.0

type PortForward struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for port forward.
	Spec PortForwardSpec
}

PortForward provides port forward configuration for a single pod.

func ConvertToInternalPortForward added in v0.2.0

func ConvertToInternalPortForward(in *v1alpha1.PortForward) (*PortForward, error)

ConvertToInternalPortForward converts a v1alpha1.PortForward to an internal version.

func (*PortForward) DeepCopy added in v0.2.0

func (in *PortForward) DeepCopy() *PortForward

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

func (*PortForward) DeepCopyInto added in v0.2.0

func (in *PortForward) DeepCopyInto(out *PortForward)

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

type PortForwardSpec added in v0.2.0

type PortForwardSpec struct {
	// Forward is a list of forwards to configure.
	Forwards []Forward
}

PortForwardSpec holds spec for port forward.

func (*PortForwardSpec) DeepCopy added in v0.2.0

func (in *PortForwardSpec) DeepCopy() *PortForwardSpec

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

func (*PortForwardSpec) DeepCopyInto added in v0.2.0

func (in *PortForwardSpec) DeepCopyInto(out *PortForwardSpec)

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

type Protocol

type Protocol string

Protocol defines network protocols supported for things like component ports.

const (
	// ProtocolTCP is the TCP protocol.
	ProtocolTCP Protocol = "TCP"
	// ProtocolUDP is the UDP protocol.
	ProtocolUDP Protocol = "UDP"
	// ProtocolSCTP is the SCTP protocol.
	ProtocolSCTP Protocol = "SCTP"
)

type ResourceUsage added in v0.5.0

type ResourceUsage struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds spec for resource usage.
	Spec ResourceUsageSpec
}

ResourceUsage provides resource usage for a single pod.

func ConvertToInternalResourceUsage added in v0.5.0

func ConvertToInternalResourceUsage(in *v1alpha1.ResourceUsage) (*ResourceUsage, error)

ConvertToInternalResourceUsage converts a v1alpha1.ResourceUsage to an internal version.

func (*ResourceUsage) DeepCopy added in v0.5.0

func (in *ResourceUsage) DeepCopy() *ResourceUsage

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

func (*ResourceUsage) DeepCopyInto added in v0.5.0

func (in *ResourceUsage) DeepCopyInto(out *ResourceUsage)

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

type ResourceUsageContainer added in v0.5.0

type ResourceUsageContainer struct {
	// Containers is list of container names.
	Containers []string
	// Usage is a list of resource usage for the container.
	Usage map[string]ResourceUsageValue
}

ResourceUsageContainer holds spec for resource usage container.

func (*ResourceUsageContainer) DeepCopy added in v0.5.0

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

func (*ResourceUsageContainer) DeepCopyInto added in v0.5.0

func (in *ResourceUsageContainer) DeepCopyInto(out *ResourceUsageContainer)

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

type ResourceUsageSpec added in v0.5.0

type ResourceUsageSpec struct {
	// Usages is a list of resource usage for the pod.
	Usages []ResourceUsageContainer
}

ResourceUsageSpec holds spec for resource usage.

func (*ResourceUsageSpec) DeepCopy added in v0.5.0

func (in *ResourceUsageSpec) DeepCopy() *ResourceUsageSpec

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

func (*ResourceUsageSpec) DeepCopyInto added in v0.5.0

func (in *ResourceUsageSpec) DeepCopyInto(out *ResourceUsageSpec)

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

type ResourceUsageValue added in v0.5.0

type ResourceUsageValue struct {
	// Value is the value for resource usage.
	Value *resource.Quantity
	// Expression is the expression for resource usage.
	Expression *string
}

ResourceUsageValue holds value for resource usage.

func (*ResourceUsageValue) DeepCopy added in v0.5.0

func (in *ResourceUsageValue) DeepCopy() *ResourceUsageValue

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

func (*ResourceUsageValue) DeepCopyInto added in v0.5.0

func (in *ResourceUsageValue) DeepCopyInto(out *ResourceUsageValue)

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

type SecurityContext added in v0.4.0

type SecurityContext struct {
	// RunAsUser is the existing uid to run exec command in container process.
	RunAsUser *int64
	// RunAsGroup is the existing gid to run exec command in container process.
	RunAsGroup *int64
}

SecurityContext specifies the existing uid and gid to run exec command in container process.

func (*SecurityContext) DeepCopy added in v0.4.0

func (in *SecurityContext) DeepCopy() *SecurityContext

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

func (*SecurityContext) DeepCopyInto added in v0.4.0

func (in *SecurityContext) DeepCopyInto(out *SecurityContext)

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

type SelectorOperator

type SelectorOperator string

SelectorOperator is a label selector operator is the set of operators that can be used in a selector requirement.

const (
	// SelectorOpIn is the set inclusion operator.
	SelectorOpIn SelectorOperator = "In"
	// SelectorOpNotIn is the negated set inclusion operator.
	SelectorOpNotIn SelectorOperator = "NotIn"
	// SelectorOpExists is the existence operator.
	SelectorOpExists SelectorOperator = "Exists"
	// SelectorOpDoesNotExist is the negated existence operator.
	SelectorOpDoesNotExist SelectorOperator = "DoesNotExist"
)

The following are valid selector operators.

type SelectorRequirement

type SelectorRequirement struct {
	// The name of the scope that the selector applies to.
	Key string
	// Represents a scope's relationship to a set of values.
	Operator SelectorOperator
	// An array of string values.
	// If the operator is In, NotIn, Intersection or NotIntersection, the values array must be non-empty.
	// If the operator is Exists or DoesNotExist, the values array must be empty.
	Values []string
}

SelectorRequirement is a resource selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*SelectorRequirement) DeepCopy

func (in *SelectorRequirement) DeepCopy() *SelectorRequirement

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

func (*SelectorRequirement) DeepCopyInto

func (in *SelectorRequirement) DeepCopyInto(out *SelectorRequirement)

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

type Stage

type Stage struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	metav1.ObjectMeta
	// Spec holds information about the request being evaluated.
	Spec StageSpec
}

Stage is an API that describes the staged change of a resource

func ConvertToInternalStage added in v0.2.0

func ConvertToInternalStage(in *v1alpha1.Stage) (*Stage, error)

ConvertToInternalStage converts a v1alpha1.Stage to an internal version.

func (*Stage) DeepCopy

func (in *Stage) DeepCopy() *Stage

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

func (*Stage) DeepCopyInto

func (in *Stage) DeepCopyInto(out *Stage)

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

type StageDelay

type StageDelay struct {
	// DurationMilliseconds indicates the stage delay time.
	// If JitterDurationMilliseconds is less than DurationMilliseconds, then JitterDurationMilliseconds is used.
	DurationMilliseconds *int64
	// DurationFrom is the expression used to get the value.
	// If it is a time.Time type, getting the value will be minus time.Now() to get DurationMilliseconds
	// If it is a string type, the value get will be parsed by time.ParseDuration.
	DurationFrom *ExpressionFromSource

	// JitterDurationMilliseconds is the duration plus an additional amount chosen uniformly
	// at random from the interval between DurationMilliseconds and JitterDurationMilliseconds.
	JitterDurationMilliseconds *int64
	// JitterDurationFrom is the expression used to get the value.
	// If it is a time.Time type, getting the value will be minus time.Now() to get JitterDurationMilliseconds
	// If it is a string type, the value get will be parsed by time.ParseDuration.
	JitterDurationFrom *ExpressionFromSource
}

StageDelay describes the delay time before going to next.

func (*StageDelay) DeepCopy

func (in *StageDelay) DeepCopy() *StageDelay

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

func (*StageDelay) DeepCopyInto

func (in *StageDelay) DeepCopyInto(out *StageDelay)

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

type StageEvent

type StageEvent struct {
	// Type is the type of this event (Normal, Warning), It is machine-readable.
	Type string
	// Reason is why the action was taken. It is human-readable.
	Reason string
	// Message is a human-readable description of the status of this operation.
	Message string
}

StageEvent describes one event in the Kubernetes.

func (*StageEvent) DeepCopy

func (in *StageEvent) DeepCopy() *StageEvent

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

func (*StageEvent) DeepCopyInto

func (in *StageEvent) DeepCopyInto(out *StageEvent)

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

type StageFinalizers

type StageFinalizers struct {
	// Add means that the Finalizers will be added to the resource.
	Add []FinalizerItem
	// Remove means that the Finalizers will be removed from the resource.
	Remove []FinalizerItem
	// Empty means that the Finalizers for that resource will be emptied.
	Empty bool
}

StageFinalizers describes the modifications in the finalizers of a resource.

func (*StageFinalizers) DeepCopy

func (in *StageFinalizers) DeepCopy() *StageFinalizers

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

func (*StageFinalizers) DeepCopyInto

func (in *StageFinalizers) DeepCopyInto(out *StageFinalizers)

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

type StageNext

type StageNext struct {
	// Event means that an event will be sent.
	Event *StageEvent
	// Finalizers means that finalizers will be modified.
	Finalizers *StageFinalizers
	// Delete means that the resource will be deleted if true.
	Delete bool
	// Patches means that the resource will be patched.
	Patches []StagePatch
}

StageNext describes a stage will be moved to.

func (*StageNext) DeepCopy

func (in *StageNext) DeepCopy() *StageNext

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

func (*StageNext) DeepCopyInto

func (in *StageNext) DeepCopyInto(out *StageNext)

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

type StagePatch added in v0.6.0

type StagePatch struct {
	// Subresource indicates the name of the subresource that will be patched.
	Subresource string
	// Root indicates the root of the template calculated by the patch.
	Root string
	// Template indicates the template for modifying the resource in the next.
	Template string
	// Type indicates the type of the patch.
	Type *StagePatchType
	// Impersonation indicates the impersonating configuration for client when patching status.
	// In most cases this will be empty, in which case the default client service account will be used.
	// When this is not empty, a corresponding rbac change is required to grant `impersonate` privilege.
	// The support for this field is not available in Pod and Node resources.
	Impersonation *ImpersonationConfig
}

StagePatch describes the patch for the resource.

func (*StagePatch) DeepCopy added in v0.6.0

func (in *StagePatch) DeepCopy() *StagePatch

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

func (*StagePatch) DeepCopyInto added in v0.6.0

func (in *StagePatch) DeepCopyInto(out *StagePatch)

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

type StagePatchType added in v0.6.0

type StagePatchType string

StagePatchType is the type of the patch.

const (
	// StagePatchTypeJSONPatch is the JSON patch type.
	StagePatchTypeJSONPatch StagePatchType = "json"
	// StagePatchTypeMergePatch is the merge patch type.
	StagePatchTypeMergePatch StagePatchType = "merge"
	// StagePatchTypeStrategicMergePatch is the strategic merge patch type.
	StagePatchTypeStrategicMergePatch StagePatchType = "strategic"
)

type StageResourceRef

type StageResourceRef struct {
	// APIGroup of the referent.
	APIGroup string
	// Kind of the referent.
	Kind string
}

StageResourceRef specifies the kind and version of the resource.

func (*StageResourceRef) DeepCopy

func (in *StageResourceRef) DeepCopy() *StageResourceRef

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

func (*StageResourceRef) DeepCopyInto

func (in *StageResourceRef) DeepCopyInto(out *StageResourceRef)

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

type StageSelector

type StageSelector struct {
	// MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is ".metadata.labels[key]", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	MatchLabels map[string]string
	// MatchAnnotations is a map of {key,value} pairs. A single {key,value} in the matchAnnotations
	// map is equivalent to an element of matchExpressions, whose key field is ".metadata.annotations[key]", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	MatchAnnotations map[string]string
	// MatchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []SelectorRequirement
}

StageSelector is a resource selector. the result of matchLabels and matchAnnotations and matchExpressions are ANDed. An empty resource selector matches all objects. A null resource selector matches no objects.

func (*StageSelector) DeepCopy

func (in *StageSelector) DeepCopy() *StageSelector

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

func (*StageSelector) DeepCopyInto

func (in *StageSelector) DeepCopyInto(out *StageSelector)

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

type StageSpec

type StageSpec struct {
	// ResourceRef specifies the Kind and version of the resource.
	ResourceRef StageResourceRef
	// Selector specifies the stags will be applied to the selected resource.
	Selector *StageSelector
	// Weight means when multiple stages share the same ResourceRef and Selector,
	// a random stage will be matched as the next stage based on the weight.
	Weight int
	// WeightFrom means is the expression used to get the value.
	// If it is a number type, convert to int.
	// If it is a string type, the value get will be parsed by strconv.ParseInt.
	WeightFrom *ExpressionFromSource
	// Delay means there is a delay in this stage.
	Delay *StageDelay
	// Next indicates that this stage will be moved to.
	Next StageNext
	// ImmediateNextStage means that the next stage of matching is performed immediately, without waiting for the Apiserver to push.
	ImmediateNextStage bool
}

StageSpec defines the specification for Stage.

func (*StageSpec) DeepCopy

func (in *StageSpec) DeepCopy() *StageSpec

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

func (*StageSpec) DeepCopyInto

func (in *StageSpec) DeepCopyInto(out *StageSpec)

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

type Volume

type Volume struct {
	// Name of the volume specified.
	Name string
	// Mounted read-only if true, read-write otherwise (false or unspecified).
	ReadOnly bool
	// HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.
	HostPath string
	// MountPath within the container at which the volume should be mounted.
	MountPath string
	// PathType is the type of the HostPath.
	PathType HostPathType
}

Volume represents a volume that is accessible to the containers running in a component.

func (*Volume) DeepCopy

func (in *Volume) DeepCopy() *Volume

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

func (*Volume) DeepCopyInto

func (in *Volume) DeepCopyInto(out *Volume)

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

Jump to

Keyboard shortcuts

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