Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_apiserver_AdmissionConfiguration_To_v1alpha1_AdmissionConfiguration(in *apiserver.AdmissionConfiguration, out *AdmissionConfiguration, ...) error
- func Convert_apiserver_AdmissionPluginConfiguration_To_v1alpha1_AdmissionPluginConfiguration(in *apiserver.AdmissionPluginConfiguration, out *AdmissionPluginConfiguration, ...) error
- func Convert_apiserver_Connection_To_v1alpha1_Connection(in *apiserver.Connection, out *Connection, s conversion.Scope) error
- func Convert_apiserver_EgressSelection_To_v1alpha1_EgressSelection(in *apiserver.EgressSelection, out *EgressSelection, s conversion.Scope) error
- func Convert_apiserver_EgressSelectorConfiguration_To_v1alpha1_EgressSelectorConfiguration(in *apiserver.EgressSelectorConfiguration, out *EgressSelectorConfiguration, ...) error
- func Convert_apiserver_HTTPConnectConfig_To_v1alpha1_HTTPConnectConfig(in *apiserver.HTTPConnectConfig, out *HTTPConnectConfig, s conversion.Scope) error
- func Convert_v1alpha1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration(in *AdmissionConfiguration, out *apiserver.AdmissionConfiguration, ...) error
- func Convert_v1alpha1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration(in *AdmissionPluginConfiguration, out *apiserver.AdmissionPluginConfiguration, ...) error
- func Convert_v1alpha1_Connection_To_apiserver_Connection(in *Connection, out *apiserver.Connection, s conversion.Scope) error
- func Convert_v1alpha1_EgressSelection_To_apiserver_EgressSelection(in *EgressSelection, out *apiserver.EgressSelection, s conversion.Scope) error
- func Convert_v1alpha1_EgressSelectorConfiguration_To_apiserver_EgressSelectorConfiguration(in *EgressSelectorConfiguration, out *apiserver.EgressSelectorConfiguration, ...) error
- func Convert_v1alpha1_HTTPConnectConfig_To_apiserver_HTTPConnectConfig(in *HTTPConnectConfig, out *apiserver.HTTPConnectConfig, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- type AdmissionConfiguration
- type AdmissionPluginConfiguration
- type Connection
- type EgressSelection
- type EgressSelectorConfiguration
- type HTTPConnectConfig
Constants ¶
const GroupName = "apiserver.k8s.io"
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_apiserver_AdmissionConfiguration_To_v1alpha1_AdmissionConfiguration ¶
func Convert_apiserver_AdmissionConfiguration_To_v1alpha1_AdmissionConfiguration(in *apiserver.AdmissionConfiguration, out *AdmissionConfiguration, s conversion.Scope) error
Convert_apiserver_AdmissionConfiguration_To_v1alpha1_AdmissionConfiguration is an autogenerated conversion function.
func Convert_apiserver_AdmissionPluginConfiguration_To_v1alpha1_AdmissionPluginConfiguration ¶
func Convert_apiserver_AdmissionPluginConfiguration_To_v1alpha1_AdmissionPluginConfiguration(in *apiserver.AdmissionPluginConfiguration, out *AdmissionPluginConfiguration, s conversion.Scope) error
Convert_apiserver_AdmissionPluginConfiguration_To_v1alpha1_AdmissionPluginConfiguration is an autogenerated conversion function.
func Convert_apiserver_Connection_To_v1alpha1_Connection ¶ added in v0.16.4
func Convert_apiserver_Connection_To_v1alpha1_Connection(in *apiserver.Connection, out *Connection, s conversion.Scope) error
Convert_apiserver_Connection_To_v1alpha1_Connection is an autogenerated conversion function.
func Convert_apiserver_EgressSelection_To_v1alpha1_EgressSelection ¶ added in v0.16.4
func Convert_apiserver_EgressSelection_To_v1alpha1_EgressSelection(in *apiserver.EgressSelection, out *EgressSelection, s conversion.Scope) error
Convert_apiserver_EgressSelection_To_v1alpha1_EgressSelection is an autogenerated conversion function.
func Convert_apiserver_EgressSelectorConfiguration_To_v1alpha1_EgressSelectorConfiguration ¶ added in v0.16.4
func Convert_apiserver_EgressSelectorConfiguration_To_v1alpha1_EgressSelectorConfiguration(in *apiserver.EgressSelectorConfiguration, out *EgressSelectorConfiguration, s conversion.Scope) error
Convert_apiserver_EgressSelectorConfiguration_To_v1alpha1_EgressSelectorConfiguration is an autogenerated conversion function.
func Convert_apiserver_HTTPConnectConfig_To_v1alpha1_HTTPConnectConfig ¶ added in v0.16.4
func Convert_apiserver_HTTPConnectConfig_To_v1alpha1_HTTPConnectConfig(in *apiserver.HTTPConnectConfig, out *HTTPConnectConfig, s conversion.Scope) error
Convert_apiserver_HTTPConnectConfig_To_v1alpha1_HTTPConnectConfig is an autogenerated conversion function.
func Convert_v1alpha1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration ¶
func Convert_v1alpha1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration(in *AdmissionConfiguration, out *apiserver.AdmissionConfiguration, s conversion.Scope) error
Convert_v1alpha1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration ¶
func Convert_v1alpha1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration(in *AdmissionPluginConfiguration, out *apiserver.AdmissionPluginConfiguration, s conversion.Scope) error
Convert_v1alpha1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_Connection_To_apiserver_Connection ¶ added in v0.16.4
func Convert_v1alpha1_Connection_To_apiserver_Connection(in *Connection, out *apiserver.Connection, s conversion.Scope) error
Convert_v1alpha1_Connection_To_apiserver_Connection is an autogenerated conversion function.
func Convert_v1alpha1_EgressSelection_To_apiserver_EgressSelection ¶ added in v0.16.4
func Convert_v1alpha1_EgressSelection_To_apiserver_EgressSelection(in *EgressSelection, out *apiserver.EgressSelection, s conversion.Scope) error
Convert_v1alpha1_EgressSelection_To_apiserver_EgressSelection is an autogenerated conversion function.
func Convert_v1alpha1_EgressSelectorConfiguration_To_apiserver_EgressSelectorConfiguration ¶ added in v0.16.4
func Convert_v1alpha1_EgressSelectorConfiguration_To_apiserver_EgressSelectorConfiguration(in *EgressSelectorConfiguration, out *apiserver.EgressSelectorConfiguration, s conversion.Scope) error
Convert_v1alpha1_EgressSelectorConfiguration_To_apiserver_EgressSelectorConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_HTTPConnectConfig_To_apiserver_HTTPConnectConfig ¶ added in v0.16.4
func Convert_v1alpha1_HTTPConnectConfig_To_apiserver_HTTPConnectConfig(in *HTTPConnectConfig, out *apiserver.HTTPConnectConfig, s conversion.Scope) error
Convert_v1alpha1_HTTPConnectConfig_To_apiserver_HTTPConnectConfig is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type AdmissionConfiguration ¶
type AdmissionConfiguration struct { metav1.TypeMeta `json:",inline"` // Plugins allows specifying a configuration per admission control plugin. // +optional Plugins []AdmissionPluginConfiguration `json:"plugins"` }
AdmissionConfiguration provides versioned configuration for admission controllers.
func (*AdmissionConfiguration) DeepCopy ¶
func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration.
func (*AdmissionConfiguration) DeepCopyInto ¶
func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdmissionConfiguration) DeepCopyObject ¶
func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdmissionPluginConfiguration ¶
type AdmissionPluginConfiguration struct { // Name is the name of the admission controller. // It must match the registered admission plugin name. Name string `json:"name"` // Path is the path to a configuration file that contains the plugin's // configuration // +optional Path string `json:"path"` // Configuration is an embedded configuration object to be used as the plugin's // configuration. If present, it will be used instead of the path to the configuration file. // +optional Configuration *runtime.Unknown `json:"configuration"` }
AdmissionPluginConfiguration provides the configuration for a single plug-in.
func (*AdmissionPluginConfiguration) DeepCopy ¶
func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration.
func (*AdmissionPluginConfiguration) DeepCopyInto ¶
func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Connection ¶ added in v0.16.4
type Connection struct { // type is the type of connection used to connect from client to network/konnectivity server. // Currently supported values are "http-connect" and "direct". Type string `json:"type"` // httpConnect is the config needed to use http-connect to the konnectivity server. // Absence when the type is "http-connect" will cause an error // Presence when the type is "direct" will also cause an error // +optional HTTPConnect *HTTPConnectConfig `json:"httpConnect,omitempty"` }
Connection provides the configuration for a single egress selection client.
func (*Connection) DeepCopy ¶ added in v0.16.4
func (in *Connection) DeepCopy() *Connection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection.
func (*Connection) DeepCopyInto ¶ added in v0.16.4
func (in *Connection) DeepCopyInto(out *Connection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressSelection ¶ added in v0.16.4
type EgressSelection struct { // name is the name of the egress selection. // Currently supported values are "Master", "Etcd" and "Cluster" Name string `json:"name"` // connection is the exact information used to configure the egress selection Connection Connection `json:"connection"` }
EgressSelection provides the configuration for a single egress selection client.
func (*EgressSelection) DeepCopy ¶ added in v0.16.4
func (in *EgressSelection) DeepCopy() *EgressSelection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressSelection.
func (*EgressSelection) DeepCopyInto ¶ added in v0.16.4
func (in *EgressSelection) DeepCopyInto(out *EgressSelection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressSelectorConfiguration ¶ added in v0.16.4
type EgressSelectorConfiguration struct { metav1.TypeMeta `json:",inline"` // connectionServices contains a list of egress selection client configurations EgressSelections []EgressSelection `json:"egressSelections"` }
EgressSelectorConfiguration provides versioned configuration for egress selector clients.
func (*EgressSelectorConfiguration) DeepCopy ¶ added in v0.16.4
func (in *EgressSelectorConfiguration) DeepCopy() *EgressSelectorConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressSelectorConfiguration.
func (*EgressSelectorConfiguration) DeepCopyInto ¶ added in v0.16.4
func (in *EgressSelectorConfiguration) DeepCopyInto(out *EgressSelectorConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EgressSelectorConfiguration) DeepCopyObject ¶ added in v0.16.4
func (in *EgressSelectorConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPConnectConfig ¶ added in v0.16.4
type HTTPConnectConfig struct { // url is the location of the proxy server to connect to. // As an example it might be "https://127.0.0.1:8131" URL string `json:"url"` // caBundle is the file location of the CA to be used to determine trust with the konnectivity server. // Must be absent/empty http-connect using the plain http // Must be configured for http-connect using the https protocol // Misconfiguration will cause an error // +optional CABundle string `json:"caBundle,omitempty"` // clientKey is the file location of the client key to be used in mtls handshakes with the konnectivity server. // Must be absent/empty http-connect using the plain http // Must be configured for http-connect using the https protocol // Misconfiguration will cause an error // +optional ClientKey string `json:"clientKey,omitempty"` // clientCert is the file location of the client certificate to be used in mtls handshakes with the konnectivity server. // Must be absent/empty http-connect using the plain http // Must be configured for http-connect using the https protocol // Misconfiguration will cause an error // +optional ClientCert string `json:"clientCert,omitempty"` }
func (*HTTPConnectConfig) DeepCopy ¶ added in v0.16.4
func (in *HTTPConnectConfig) DeepCopy() *HTTPConnectConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPConnectConfig.
func (*HTTPConnectConfig) DeepCopyInto ¶ added in v0.16.4
func (in *HTTPConnectConfig) DeepCopyInto(out *HTTPConnectConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.