apiserver: k8s.io/apiserver/pkg/apis/apiserver Index | Files | Directories

package apiserver

import "k8s.io/apiserver/pkg/apis/apiserver"

Package apiserver is the internal version of the API.

Index

Package Files

doc.go register.go types.go zz_generated.deepcopy.go

Constants

const GroupName = "apiserver.config.k8s.io"
const LegacyGroupName = "apiserver.k8s.io"

Variables

var (
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    AddToScheme   = SchemeBuilder.AddToScheme
)
var LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: runtime.APIVersionInternal}

LegacySchemeGroupVersion is group version used to register these objects

var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

type AdmissionConfiguration Uses

type AdmissionConfiguration struct {
    metav1.TypeMeta

    // Plugins allows specifying a configuration per admission control plugin.
    // +optional
    Plugins []AdmissionPluginConfiguration
}

AdmissionConfiguration provides versioned configuration for admission controllers.

func (*AdmissionConfiguration) DeepCopy Uses

func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration

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

func (*AdmissionConfiguration) DeepCopyInto Uses

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 Uses

func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AdmissionPluginConfiguration Uses

type AdmissionPluginConfiguration struct {
    // Name is the name of the admission controller.
    // It must match the registered admission plugin name.
    Name string

    // Path is the path to a configuration file that contains the plugin's
    // configuration
    // +optional
    Path string

    // 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
}

AdmissionPluginConfiguration provides the configuration for a single plug-in.

func (*AdmissionPluginConfiguration) DeepCopy Uses

func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration

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

func (*AdmissionPluginConfiguration) DeepCopyInto Uses

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 Uses

type Connection struct {
    // Protocol is the protocol used to connect from client to the konnectivity server.
    ProxyProtocol ProtocolType

    // Transport defines the transport configurations we use to dial to the konnectivity server.
    // This is required if ProxyProtocol is HTTPConnect or GRPC.
    // +optional
    Transport *Transport
}

Connection provides the configuration for a single egress selection client.

func (*Connection) DeepCopy Uses

func (in *Connection) DeepCopy() *Connection

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

func (*Connection) DeepCopyInto Uses

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 Uses

type EgressSelection struct {
    // Name is the name of the egress selection.
    // Currently supported values are "Master", "Etcd" and "Cluster"
    Name string

    // Connection is the exact information used to configure the egress selection
    Connection Connection
}

EgressSelection provides the configuration for a single egress selection client.

func (*EgressSelection) DeepCopy Uses

func (in *EgressSelection) DeepCopy() *EgressSelection

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

func (*EgressSelection) DeepCopyInto Uses

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 Uses

type EgressSelectorConfiguration struct {
    metav1.TypeMeta

    // EgressSelections contains a list of egress selection client configurations
    EgressSelections []EgressSelection
}

EgressSelectorConfiguration provides versioned configuration for egress selector clients.

func (*EgressSelectorConfiguration) DeepCopy Uses

func (in *EgressSelectorConfiguration) DeepCopy() *EgressSelectorConfiguration

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

func (*EgressSelectorConfiguration) DeepCopyInto Uses

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 Uses

func (in *EgressSelectorConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProtocolType Uses

type ProtocolType string

ProtocolType is a set of valid values for Connection.ProtocolType

const (
    // Use HTTPConnect to connect to konnectivity server
    ProtocolHTTPConnect ProtocolType = "HTTPConnect"
    // Use grpc to connect to konnectivity server
    ProtocolGRPC ProtocolType = "GRPC"
    // Connect directly (skip konnectivity server)
    ProtocolDirect ProtocolType = "Direct"
)

Valid types for ProtocolType for konnectivity server

type TCPTransport Uses

type TCPTransport struct {
    // URL is the location of the konnectivity server to connect to.
    // As an example it might be "https://127.0.0.1:8131"
    URL string

    // TLSConfig is the config needed to use TLS when connecting to konnectivity server
    // +optional
    TLSConfig *TLSConfig
}

TCPTransport provides the information to connect to konnectivity server via TCP

func (*TCPTransport) DeepCopy Uses

func (in *TCPTransport) DeepCopy() *TCPTransport

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

func (*TCPTransport) DeepCopyInto Uses

func (in *TCPTransport) DeepCopyInto(out *TCPTransport)

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

type TLSConfig Uses

type TLSConfig struct {
    // caBundle is the file location of the CA to be used to determine trust with the konnectivity server.
    // Must be absent/empty if TCPTransport.URL is prefixed with http://
    // If absent while TCPTransport.URL is prefixed with https://, default to system trust roots.
    // +optional
    CABundle string

    // clientKey is the file location of the client key to authenticate with the konnectivity server
    // Must be absent/empty if TCPTransport.URL is prefixed with http://
    // Must be configured if TCPTransport.URL is prefixed with https://
    // +optional
    ClientKey string

    // clientCert is the file location of the client certificate to authenticate with the konnectivity server
    // Must be absent/empty if TCPTransport.URL is prefixed with http://
    // Must be configured if TCPTransport.URL is prefixed with https://
    // +optional
    ClientCert string
}

TLSConfig provides the authentication information to connect to konnectivity server Only used with TCPTransport

func (*TLSConfig) DeepCopy Uses

func (in *TLSConfig) DeepCopy() *TLSConfig

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

func (*TLSConfig) DeepCopyInto Uses

func (in *TLSConfig) DeepCopyInto(out *TLSConfig)

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

type Transport Uses

type Transport struct {
    // TCP is the TCP configuration for communicating with the konnectivity server via TCP
    // ProxyProtocol of GRPC is not supported with TCP transport at the moment
    // Requires at least one of TCP or UDS to be set
    // +optional
    TCP *TCPTransport

    // UDS is the UDS configuration for communicating with the konnectivity server via UDS
    // Requires at least one of TCP or UDS to be set
    // +optional
    UDS *UDSTransport
}

Transport defines the transport configurations we use to dial to the konnectivity server

func (*Transport) DeepCopy Uses

func (in *Transport) DeepCopy() *Transport

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

func (*Transport) DeepCopyInto Uses

func (in *Transport) DeepCopyInto(out *Transport)

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

type UDSTransport Uses

type UDSTransport struct {
    // UDSName is the name of the unix domain socket to connect to konnectivity server
    // This does not use a unix:// prefix. (Eg: /etc/srv/kubernetes/konnectivity-server/konnectivity-server.socket)
    UDSName string
}

UDSTransport provides the information to connect to konnectivity server via UDS

func (*UDSTransport) DeepCopy Uses

func (in *UDSTransport) DeepCopy() *UDSTransport

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

func (*UDSTransport) DeepCopyInto Uses

func (in *UDSTransport) DeepCopyInto(out *UDSTransport)

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

Directories

PathSynopsis
install
v1Package v1 is the v1 version of the API.
v1alpha1Package v1alpha1 is the v1alpha1 version of the API.
v1beta1Package v1beta1 is the v1beta1 version of the API.

Package apiserver imports 3 packages (graph) and is imported by 15 packages. Updated 2020-03-24. Refresh now. Tools for package owners.