Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VolumePrefix is the prefix of all kube scheduler volumes. VolumePrefix = "matryoshka-onmetal-de-" // PathPrefix is the prefix of all kube scheduler volume path mounts. PathPrefix = "/srv/kubernetes/" // KubeconfigName is the name used for kubeconfig volume name and path. KubeconfigName = "kubeconfig" // KubeconfigVolumeName is the name of the kubeconfig volume. KubeconfigVolumeName = VolumePrefix + KubeconfigName // KubeconfigVolumePath is the path of the kubeconfig volume KubeconfigVolumePath = PathPrefix + KubeconfigName // AuthorizationKubeconfigName is the name used for the authorization kubeconfig volume name and path. AuthorizationKubeconfigName = "authorization-kubeconfig" // AuthorizationKubeconfigVolumeName is the name of the authorization kubeconfig volume. AuthorizationKubeconfigVolumeName = VolumePrefix + AuthorizationKubeconfigName // AuthorizationKubeconfigVolumePath is the path of the authorization kubeconfig volume. AuthorizationKubeconfigVolumePath = PathPrefix + AuthorizationKubeconfigName // AuthenticationKubeconfigName is the name used for the authentication kubeconfig volume name and path. AuthenticationKubeconfigName = "authentication-kubeconfig" // AuthenticationKubeconfigVolumeName is the name of the authentication kubeconfig volume. AuthenticationKubeconfigVolumeName = VolumePrefix + AuthenticationKubeconfigName // AuthenticationKubeconfigVolumePath is the path of the authentication kubeconfig volume. AuthenticationKubeconfigVolumePath = PathPrefix + AuthenticationKubeconfigName )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver resolves a matryoshkav1alpha1.KubeScheduler to its required manifests.
func NewResolver ¶
NewResolver creates a new Resolver.
func (*Resolver) ObjectReferences ¶
func (r *Resolver) ObjectReferences(ks *matryoshkav1alpha1.KubeScheduler) (clientutils.ObjectRefSet, error)
ObjectReferences returns a clientutils.ObjectRefSet of objects a *matryoshkav1alpha1.KubeScheduler references.
func (*Resolver) Resolve ¶
func (r *Resolver) Resolve(ctx context.Context, ks *matryoshkav1alpha1.KubeScheduler) (*appsv1.Deployment, error)
Resolve resolves a matryoshkav1alpha1.KubeScheduler to its required manifests.
Click to show internal directories.
Click to hide internal directories.