Documentation
¶
Index ¶
- func IsNotFound(err error) bool
- func NewContext(ctx context.Context, c Context) context.Context
- type Context
- type ContextSpec
- type ContextSpecCalico
- type ContextSpecDocker
- type ContextSpecDockerDaemon
- type ContextSpecDockerNetworkSetup
- type ContextSpecEtcd
- type ContextSpecExtension
- type ContextSpecExtensionFile
- type ContextSpecExtensionFileMetadata
- type ContextSpecExtensionFileMetadataOwner
- type ContextSpecExtensionFileMetadataOwnerGroup
- type ContextSpecExtensionFileMetadataOwnerUser
- type ContextSpecExtensionUnit
- type ContextSpecExtensionUnitMetadata
- type ContextSpecExtensionUser
- type ContextSpecIngress
- type ContextSpecKubernetes
- type ContextSpecKubernetesAPI
- type ContextSpecKubernetesDNS
- type ContextSpecKubernetesKubelet
- type ContextSpecOIDC
- type ContextSpecRegistry
- type ContextSpecSSO
- type ContextStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct {
// Spec holds the desired state we compute in a resource and then keep
// inside the context to be used in a different resource.
Spec ContextSpec
// Status holds the data used to communicate between controller's
// resources. It can be edited in place as Context is stored as
// a pointer within context.Context. The content of the status should
// reflect the current state.
Status ContextStatus
}
type ContextSpec ¶
type ContextSpec struct {
APIServerEncryptionKey string
BaseDomain string
Calico ContextSpecCalico
DisableEncryptionAtRest bool
Docker ContextSpecDocker
Etcd ContextSpecEtcd
Extension ContextSpecExtension
Ingress ContextSpecIngress
Kubernetes ContextSpecKubernetes
// Defines the provider which should be rendered.
Provider string
Registry ContextSpecRegistry
SSO ContextSpecSSO
}
type ContextSpecCalico ¶
type ContextSpecDocker ¶
type ContextSpecDocker struct {
Daemon ContextSpecDockerDaemon
NetworkSetup ContextSpecDockerNetworkSetup
}
type ContextSpecDockerDaemon ¶
type ContextSpecDockerDaemon struct {
CIDR string
}
type ContextSpecDockerNetworkSetup ¶
type ContextSpecDockerNetworkSetup struct {
Image string
}
type ContextSpecEtcd ¶
type ContextSpecExtension ¶
type ContextSpecExtension struct {
Files []ContextSpecExtensionFile
Units []ContextSpecExtensionUnit
Users []ContextSpecExtensionUser
}
type ContextSpecExtensionFile ¶
type ContextSpecExtensionFile struct {
Content string
Metadata ContextSpecExtensionFileMetadata
}
type ContextSpecExtensionFileMetadata ¶
type ContextSpecExtensionFileMetadata struct {
Compression bool
Owner ContextSpecExtensionFileMetadataOwner
Path string
Permissions int
}
type ContextSpecExtensionFileMetadataOwner ¶
type ContextSpecExtensionFileMetadataOwner struct {
Group ContextSpecExtensionFileMetadataOwnerGroup
User ContextSpecExtensionFileMetadataOwnerUser
}
type ContextSpecExtensionUnit ¶
type ContextSpecExtensionUnit struct {
Content string
Metadata ContextSpecExtensionUnitMetadata
}
type ContextSpecIngress ¶
type ContextSpecIngress struct {
Disable bool
}
type ContextSpecKubernetes ¶
type ContextSpecKubernetes struct {
API ContextSpecKubernetesAPI
CloudProvider string
DNS ContextSpecKubernetesDNS
Domain string
Kubelet ContextSpecKubernetesKubelet
Image string
IPRange string
OIDC ContextSpecOIDC
}
type ContextSpecKubernetesDNS ¶
type ContextSpecKubernetesDNS struct {
IP string
}
type ContextSpecOIDC ¶
type ContextSpecRegistry ¶
type ContextSpecSSO ¶
type ContextSpecSSO struct {
PublicKey string
}
Click to show internal directories.
Click to hide internal directories.