configconversion

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMasterConfigToKubeAPIServerConfig

func ConvertMasterConfigToKubeAPIServerConfig(input *legacyconfigv1.MasterConfig) (*kubecontrolplanev1.KubeAPIServerConfig, error)

ConvertMasterConfigToKubeAPIServerConfig mutates it's input. This is acceptable because we do not need it by the time we get to 4.0.

func ConvertMasterConfigToOpenShiftAPIServerConfig

func ConvertMasterConfigToOpenShiftAPIServerConfig(input *legacyconfigv1.MasterConfig) (*openshiftcontrolplanev1.OpenShiftAPIServerConfig, error)

ConvertMasterConfigToKubeAPIServerConfig mutates it's input. This is acceptable because we do not need it by the time we get to 4.0.

func ConvertOpenshiftAdmissionConfigToKubeAdmissionConfig

func ConvertOpenshiftAdmissionConfigToKubeAdmissionConfig(in map[string]configv1.AdmissionPluginConfig) (*apiserver.AdmissionConfiguration, error)

func Convert_legacyconfigv1_AdmissionPluginConfig_to_configv1_AdmissionPluginConfig

func Convert_legacyconfigv1_AdmissionPluginConfig_to_configv1_AdmissionPluginConfig(in *legacyconfigv1.AdmissionPluginConfig, out *configv1.AdmissionPluginConfig, s conversion.Scope) error

func Convert_legacyconfigv1_AggregatorConfig_to_kubecontrolplanev1_AggregatorConfig

func Convert_legacyconfigv1_AggregatorConfig_to_kubecontrolplanev1_AggregatorConfig(in *legacyconfigv1.AggregatorConfig, out *kubecontrolplanev1.AggregatorConfig, s conversion.Scope) error

func Convert_legacyconfigv1_AuditConfig_to_configv1_AuditConfig

func Convert_legacyconfigv1_AuditConfig_to_configv1_AuditConfig(in *legacyconfigv1.AuditConfig, out *configv1.AuditConfig, s conversion.Scope) error

func Convert_legacyconfigv1_ClientConnectionOverrides_to_configv1_ClientConnectionOverrides

func Convert_legacyconfigv1_ClientConnectionOverrides_to_configv1_ClientConnectionOverrides(in *legacyconfigv1.ClientConnectionOverrides, out *configv1.ClientConnectionOverrides, s conversion.Scope) error

func Convert_legacyconfigv1_EtcdConnectionInfo_to_configv1_EtcdConnectionInfo

func Convert_legacyconfigv1_EtcdConnectionInfo_to_configv1_EtcdConnectionInfo(in *legacyconfigv1.EtcdConnectionInfo, out *configv1.EtcdConnectionInfo, s conversion.Scope) error

func Convert_legacyconfigv1_HTTPServingInfo_to_configv1_HTTPServingInfo

func Convert_legacyconfigv1_HTTPServingInfo_to_configv1_HTTPServingInfo(in *legacyconfigv1.HTTPServingInfo, out *configv1.HTTPServingInfo, s conversion.Scope) error

func Convert_legacyconfigv1_KubeletConnectionInfo_to_kubecontrolplanev1_KubeletConnectionInfo

func Convert_legacyconfigv1_KubeletConnectionInfo_to_kubecontrolplanev1_KubeletConnectionInfo(in *legacyconfigv1.KubeletConnectionInfo, out *kubecontrolplanev1.KubeletConnectionInfo, s conversion.Scope) error

func Convert_legacyconfigv1_MasterAuthConfig_to_kubecontrolplanev1_MasterAuthConfig

func Convert_legacyconfigv1_MasterAuthConfig_to_kubecontrolplanev1_MasterAuthConfig(in *legacyconfigv1.MasterAuthConfig, out *kubecontrolplanev1.MasterAuthConfig, s conversion.Scope) error

func Convert_legacyconfigv1_MasterClients_to_configv1_KubeClientConfig

func Convert_legacyconfigv1_MasterClients_to_configv1_KubeClientConfig(in *legacyconfigv1.MasterClients, out *configv1.KubeClientConfig, s conversion.Scope) error

func Convert_legacyconfigv1_OAuthConfig_to_osinv1_OAuthConfig

func Convert_legacyconfigv1_OAuthConfig_to_osinv1_OAuthConfig(in *legacyconfigv1.OAuthConfig, out *osinv1.OAuthConfig, s conversion.Scope) error

func Convert_legacyconfigv1_RegistryLocation_to_kubecontrolplanev1_RegistryLocation

func Convert_legacyconfigv1_RegistryLocation_to_kubecontrolplanev1_RegistryLocation(in *legacyconfigv1.RegistryLocation, out *openshiftcontrolplanev1.RegistryLocation, s conversion.Scope) error

func GetKubeAPIServerConfigFileReferences

func GetKubeAPIServerConfigFileReferences(config *kubecontrolplanev1.KubeAPIServerConfig) []*string

func GetKubeletConnectionInfoFileReferences

func GetKubeletConnectionInfoFileReferences(config *kubecontrolplanev1.KubeletConnectionInfo) []*string

func GetOAuthConfigFileReferences

func GetOAuthConfigFileReferences(config *osinv1.OAuthConfig) []*string

func GetOpenShiftAPIServerConfigFileReferences

func GetOpenShiftAPIServerConfigFileReferences(config *openshiftcontrolplanev1.OpenShiftAPIServerConfig) []*string

func GetOpenShiftControllerConfigFileReferences

func GetOpenShiftControllerConfigFileReferences(config *openshiftcontrolplanev1.OpenShiftControllerManagerConfig) []*string

func GetSessionConfigFileReferences

func GetSessionConfigFileReferences(config *osinv1.SessionConfig) []*string

func ToAuditConfig

func ToAuditConfig(in *legacyconfigv1.AuditConfig) (out configv1.AuditConfig, err error)

func ToHTTPServingInfo

func ToHTTPServingInfo(in *legacyconfigv1.HTTPServingInfo) (out configv1.HTTPServingInfo, err error)

func ToKubeAdmissionPluginList

func ToKubeAdmissionPluginList(in []string) (out []string)

func ToKubeClientConfig

func ToKubeClientConfig(in *legacyconfigv1.MasterClients) (out configv1.KubeClientConfig, err error)

func ToOpenShiftAdmissionPluginConfigMap

func ToOpenShiftAdmissionPluginConfigMap(in map[string]*legacyconfigv1.AdmissionPluginConfig) (out map[string]configv1.AdmissionPluginConfig, err error)

func ToOpenShiftAdmissionPluginList

func ToOpenShiftAdmissionPluginList(in []string) (out []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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