Documentation ¶
Index ¶
Constants ¶
View Source
const (
TokenPath = "/token-dir"
)
Variables ¶
View Source
var ( Scheme = runtime.NewScheme() Codecs = serializer.NewCodecFactory(Scheme) )
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
// contains filtered or unexported fields
}
func NewAPIServer ¶
func NewAPIServer(clientConfig *rest.Config, coreClient kubernetes.Interface, kcClient kcclient.Interface, opts NewAPIServerOpts) (*APIServer, error)
type NewAPIServerOpts ¶
type NewAPIServerOpts struct { // GlobalNamespace sets the special namespace that kc will always check, // so things can be installed to either the ns you specify or this special global ns GlobalNamespace string // BindPort is the port on which to serve HTTPS with authentication and authorization BindPort int // EnableAPIPriorityAndFairness sets a featuregate to allow us backwards compatibility with // v1.19 and earlier clusters - our libraries use the beta version of those APIs but they used to be alpha. EnableAPIPriorityAndFairness bool // TLSCipherSuites is the list of cipher suites the api server will be willing to use. Empty list defaults to the underlying // libraries' defaults, which is usually fine especially if you don't expose the APIServer outside the cluster. // see also: https://golang.org/pkg/crypto/tls/#pkg-constants // According to Antrea, who we mostly copied: // Note that TLS1.3 Cipher Suites cannot be added to the list. But the apiserver will always // prefer TLS1.3 Cipher Suites whenever possible. TLSCipherSuites []string // Logger is a logger Logger logr.Logger }
NewAPIServerOpts is a collection of scalar arguments for the NewAPIServer function
Directories ¶
Path | Synopsis |
---|---|
apis
|
|
datapackaging
The internal version of the package api.
|
The internal version of the package api. |
datapackaging/v1alpha1
PackageMetadata v1alpha1 is the v1alpha1 version of the PackageMetadata API.
|
PackageMetadata v1alpha1 is the v1alpha1 version of the PackageMetadata API. |
client
|
|
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/datapackaging/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/datapackaging/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
registry
|
|
Click to show internal directories.
Click to hide internal directories.