kubescheduler

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

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

func NewResolver(scheme *runtime.Scheme, c client.Client) *Resolver

NewResolver creates a new Resolver.

func (*Resolver) ObjectReferences

ObjectReferences returns a clientutils.ObjectRefSet of objects a *matryoshkav1alpha1.KubeScheduler references.

func (*Resolver) Resolve

Resolve resolves a matryoshkav1alpha1.KubeScheduler to its required manifests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL