Documentation ¶
Index ¶
- func DefaultClientTransport(rt http.RoundTripper) http.RoundTripper
- func GetAdmissionPluginConfigFileReferences(config *configv1.AdmissionPluginConfig) []*string
- func GetAuditConfigFileReferences(config *configv1.AuditConfig) []*string
- func GetCertFileReferences(config *configv1.CertInfo) []*string
- func GetClientConfig(kubeConfigFile string, overrides configv1.ClientConnectionOverrides) (*rest.Config, error)
- func GetEtcdConnectionInfoFileReferences(config *configv1.EtcdConnectionInfo) []*string
- func GetFlagsWithFileExtensionsFileReferences(args map[string][]string) []*string
- func GetGenericAPIServerConfigFileReferences(config *configv1.GenericAPIServerConfig) []*string
- func GetHTTPServingInfoFileReferences(config *configv1.HTTPServingInfo) []*string
- func GetKubeClientConfig(kubeClientConnection configv1.KubeClientConfig) (*rest.Config, error)
- func GetKubeClientConfigFileReferences(config *configv1.KubeClientConfig) []*string
- func GetKubeConfigOrInClusterConfig(kubeConfigFile string, overrides configv1.ClientConnectionOverrides) (*rest.Config, error)
- func GetRemoteConnectionInfoFileReferences(config *configv1.RemoteConnectionInfo) []*string
- func GetServingInfoFileReferences(config *configv1.ServingInfo) []*string
- func GetStringSourceFileReferences(s *configv1.StringSource) []*string
- func RelativizePathWithNoBacksteps(refs []*string, base string) error
- func ResolvePaths(refs []*string, base string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClientTransport ¶
func DefaultClientTransport(rt http.RoundTripper) http.RoundTripper
DefaultClientTransport sets defaults for a client Transport that are suitable for use by infrastructure components.
func GetAdmissionPluginConfigFileReferences ¶
func GetAdmissionPluginConfigFileReferences(config *configv1.AdmissionPluginConfig) []*string
func GetAuditConfigFileReferences ¶
func GetAuditConfigFileReferences(config *configv1.AuditConfig) []*string
func GetCertFileReferences ¶
func GetClientConfig ¶
func GetEtcdConnectionInfoFileReferences ¶
func GetEtcdConnectionInfoFileReferences(config *configv1.EtcdConnectionInfo) []*string
func GetGenericAPIServerConfigFileReferences ¶
func GetGenericAPIServerConfigFileReferences(config *configv1.GenericAPIServerConfig) []*string
func GetHTTPServingInfoFileReferences ¶
func GetHTTPServingInfoFileReferences(config *configv1.HTTPServingInfo) []*string
func GetKubeClientConfig ¶
func GetKubeClientConfig(kubeClientConnection configv1.KubeClientConfig) (*rest.Config, error)
GetKubeClientConfig loads in-cluster config if kubeConfigFile is empty or the file if not, then applies overrides.
func GetKubeClientConfigFileReferences ¶
func GetKubeClientConfigFileReferences(config *configv1.KubeClientConfig) []*string
func GetKubeConfigOrInClusterConfig ¶
func GetKubeConfigOrInClusterConfig(kubeConfigFile string, overrides configv1.ClientConnectionOverrides) (*rest.Config, error)
GetKubeConfigOrInClusterConfig loads in-cluster config if kubeConfigFile is empty or the file if not, then applies overrides.
func GetRemoteConnectionInfoFileReferences ¶
func GetRemoteConnectionInfoFileReferences(config *configv1.RemoteConnectionInfo) []*string
func GetServingInfoFileReferences ¶
func GetServingInfoFileReferences(config *configv1.ServingInfo) []*string
func GetStringSourceFileReferences ¶
func GetStringSourceFileReferences(s *configv1.StringSource) []*string
func RelativizePathWithNoBacksteps ¶
RelativizePathWithNoBacksteps updates the given refs to be relative paths, relative to the given base directory as long as they do not require backsteps. Any path requiring a backstep is left as-is as long it is absolute. Any non-absolute path that can't be relativized produces an error Empty and "-" paths are never relativized.
func ResolvePaths ¶
ResolvePaths updates the given refs to be absolute paths, relative to the given base directory. Empty and "-" paths are never resolved.
Types ¶
This section is empty.