k8s

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResolvFile = "/etc/resolv.conf"
)

Functions

func ApplyManifestFromString added in v0.12.0

func ApplyManifestFromString(cfg *rest.Config, manifest []byte, fieldManager string) error

func CanWatchVolume

func CanWatchVolume(path string) bool

func EnsureCRD added in v0.11.0

func EnsureCRD(config *rest.Config, crd []*apiextensionsv1.CustomResourceDefinition, timeout time.Duration) error

func FindMountPath

func FindMountPath(path string) (string, error)

func GetClusterDomain

func GetClusterDomain() (string, error)

func LoadUnstructuredFromString added in v0.12.0

func LoadUnstructuredFromString(manifest []byte) ([]*unstructured.Unstructured, error)

func ReadCRDFile added in v0.11.0

func ReadCRDFile(fileName string) ([]*apiextensionsv1.CustomResourceDefinition, error)

func WaitForReadyWebhook added in v0.12.0

func WaitForReadyWebhook(cfg *rest.Config, crds []*apiextensionsv1.CustomResourceDefinition) error

Types

type Objects added in v0.12.0

type Objects []*unstructured.Unstructured

func (Objects) Apply added in v0.12.0

func (k Objects) Apply(cfg *rest.Config, fieldManager string) error

func (Objects) SelectCustomResourceDefinitions added in v0.12.0

func (k Objects) SelectCustomResourceDefinitions() ([]*apiextensionsv1.CustomResourceDefinition, error)

type VolumeWatcher

type VolumeWatcher struct {
	// contains filtered or unexported fields
}

func NewVolumeWatcher

func NewVolumeWatcher(mountPath string, fn func()) (*VolumeWatcher, error)

func (*VolumeWatcher) Stop

func (w *VolumeWatcher) Stop()

Directories

Path Synopsis
api
etcd/v1alpha1
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev
etcd/v1alpha2
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev
+k8s:deepcopy-gen=package +groupName=etcd.f110.dev
versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
versioned/typed/certmanager/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/certmanager/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/certmanager/v1alpha2
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/certmanager/v1alpha2/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/certmanager/v1alpha3
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/certmanager/v1alpha3/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/certmanager/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/certmanager/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/etcd/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/etcd/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/etcd/v1alpha2
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/etcd/v1alpha2/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/monitoring/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/monitoring/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/proxy/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/proxy/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
versioned/typed/proxy/v1alpha2
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/proxy/v1alpha2/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
informers
listers

Jump to

Keyboard shortcuts

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