package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
BuildAuthorizer constructs the authorizer.
BuildGenericConfig takes the generic controlplane apiserver options and produces the genericapiserver.Config associated with it.
CreateConfig takes the generic controlplane apiserver options and creates a config for the generic Kube APIs out of it.
CreatePeerEndpointLeaseReconciler creates a apiserver endpoint lease reconciliation loop The peer endpoint leases are used to find network locations of apiservers for peer proxy.
CreateProxyTransport creates the dialer infrastructure to connect to the nodes.
DefaultGenericAPIServicePriorities returns the APIService priorities for generic APIs.
# Constants
DefaultPeerEndpointReconcileInterval is the default amount of time for how often the peer endpoint leases are reconciled.
DefaultPeerEndpointReconcilerTTL is the default TTL timeout for peer endpoint leases on the storage layer.
IdentityLeaseComponentLabelKey is used to apply a component label to identity lease objects, indicating: 1.
# Variables
IdentityLeaseDurationSeconds is the duration of kube-apiserver lease in seconds IdentityLeaseDurationSeconds is exposed so integration tests can tune this value.
IdentityLeaseGCPeriod is the interval which the lease GC controller checks for expired leases IdentityLeaseGCPeriod is exposed so integration tests can tune this value.
IdentityLeaseRenewIntervalPeriod is the interval of kube-apiserver renewing its lease in seconds IdentityLeaseRenewIntervalPeriod is exposed so integration tests can tune this value.
LeaseCandidateGCPeriod is the interval which the leasecandidate GC controller checks for expired leases This is exposed so integration tests can tune this value.
# Structs
APIServicePriority defines group priority that is used in discovery.
CompletedConfig embeds a private pointer that cannot be instantiated outside of this package.
Config defines configuration for the master.
Server is a struct that contains a generic control plane apiserver instance that can be run to start serving the APIs.
# Interfaces
RESTStorageProvider is a factory type for REST storage.