clients

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duplik8sClient added in v0.3.0

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

func NewDuplik8sClient added in v0.3.0

func NewDuplik8sClient(opts utils.KubeOptions) (*Duplik8sClient, error)

func (Duplik8sClient) Delete added in v0.3.0

func (c Duplik8sClient) Delete(
	ctx context.Context,
	obj core.DuplicatedObject,
) error

func (Duplik8sClient) ListDuplicable added in v0.3.0

func (c Duplik8sClient) ListDuplicable(
	ctx context.Context,
	resource schema.GroupVersionResource,
	namespace string,
) ([]core.DuplicableObject, error)

func (Duplik8sClient) ListDuplicated added in v0.3.0

func (c Duplik8sClient) ListDuplicated(
	ctx context.Context,
	namespace string,
) ([]core.DuplicatedObject, error)

type PodConfigurator

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

func NewConfigurator

func NewConfigurator(clientset *kubernetes.Clientset, options core.PodOverrideOptions) PodConfigurator

func (PodConfigurator) OverrideSpec

func (c PodConfigurator) OverrideSpec(ctx context.Context, namespace string, podSpec *v1.PodSpec) error

Jump to

Keyboard shortcuts

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