kubernetesparameteroptions

package
v0.418.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateConfigMapOptions

type CreateConfigMapOptions struct {
	ConfigMapData map[string]string
	Labels        map[string]string
}

func (*CreateConfigMapOptions) GetConfigMapData

func (c *CreateConfigMapOptions) GetConfigMapData() (map[string]string, error)

func (*CreateConfigMapOptions) GetLabels

func (c *CreateConfigMapOptions) GetLabels() map[string]string

type CreateObjectOptions added in v0.349.0

type CreateObjectOptions struct {
	YamlString string

	// Do not check nor try to create missing namespaces.
	// Usefull if the user has no rights to list or create namespaces but requiers to ensure namespaces already exists.
	SkipNamespaceCreation bool
}

func (CreateObjectOptions) GetYamlString added in v0.349.0

func (c CreateObjectOptions) GetYamlString() (string, error)

type CreateRoleOptions

type CreateRoleOptions struct {
	Name     string
	Verbs    []string
	Resorces []string
}

func NewCreateRoleOptions

func NewCreateRoleOptions() (c *CreateRoleOptions)

func (*CreateRoleOptions) GetName

func (c *CreateRoleOptions) GetName() (name string, err error)

func (*CreateRoleOptions) GetResorces

func (c *CreateRoleOptions) GetResorces() (resorces []string, err error)

func (*CreateRoleOptions) GetVerbs

func (c *CreateRoleOptions) GetVerbs() (verbs []string, err error)

func (*CreateRoleOptions) SetName

func (c *CreateRoleOptions) SetName(name string) (err error)

func (*CreateRoleOptions) SetResorces

func (c *CreateRoleOptions) SetResorces(resorces []string) (err error)

func (*CreateRoleOptions) SetVerbs

func (c *CreateRoleOptions) SetVerbs(verbs []string) (err error)

type CreateSecretOptions

type CreateSecretOptions struct {
	SecretData map[string][]byte
}

func (*CreateSecretOptions) GetSecretData

func (c *CreateSecretOptions) GetSecretData() (map[string][]byte, error)

type ListKubernetesObjectsOptions added in v0.349.0

type ListKubernetesObjectsOptions struct {
	Namespace  string
	ObjectType string
	Verbose    bool
}

func NewListKubernetesObjectsOptions added in v0.349.0

func NewListKubernetesObjectsOptions() (k *ListKubernetesObjectsOptions)

func (*ListKubernetesObjectsOptions) GetNamespace added in v0.349.0

func (k *ListKubernetesObjectsOptions) GetNamespace() (namespace string, err error)

func (*ListKubernetesObjectsOptions) GetObjectType added in v0.349.0

func (k *ListKubernetesObjectsOptions) GetObjectType() (resourceType string, err error)

func (*ListKubernetesObjectsOptions) GetVerbose added in v0.349.0

func (k *ListKubernetesObjectsOptions) GetVerbose() (verbose bool)

func (*ListKubernetesObjectsOptions) MustGetNamespace added in v0.349.0

func (k *ListKubernetesObjectsOptions) MustGetNamespace() (namespace string)

func (*ListKubernetesObjectsOptions) MustGetObjectType added in v0.349.0

func (k *ListKubernetesObjectsOptions) MustGetObjectType() (resourceType string)

func (*ListKubernetesObjectsOptions) MustSetNamespace added in v0.349.0

func (k *ListKubernetesObjectsOptions) MustSetNamespace(namespace string)

func (*ListKubernetesObjectsOptions) MustSetObjectType added in v0.349.0

func (k *ListKubernetesObjectsOptions) MustSetObjectType(resourceType string)

func (*ListKubernetesObjectsOptions) SetNamespace added in v0.349.0

func (k *ListKubernetesObjectsOptions) SetNamespace(namespace string) (err error)

func (*ListKubernetesObjectsOptions) SetObjectType added in v0.349.0

func (k *ListKubernetesObjectsOptions) SetObjectType(resourceType string) (err error)

func (*ListKubernetesObjectsOptions) SetVerbose added in v0.349.0

func (k *ListKubernetesObjectsOptions) SetVerbose(verbose bool)

type RunCommandOptions added in v0.361.0

type RunCommandOptions struct {
	RunCommandOptions        parameteroptions.RunCommandOptions
	Namespace                string
	Image                    string
	PodName                  string
	Command                  []string
	DeleteAlreadyExistingPod bool
}

func (*RunCommandOptions) GetCommand added in v0.361.0

func (r *RunCommandOptions) GetCommand() ([]string, error)

func (*RunCommandOptions) GetImageName added in v0.361.0

func (r *RunCommandOptions) GetImageName() (string, error)

func (*RunCommandOptions) GetNamespaceName added in v0.361.0

func (r *RunCommandOptions) GetNamespaceName() (string, error)

func (*RunCommandOptions) GetPodName added in v0.361.0

func (r *RunCommandOptions) GetPodName() (string, error)

type WaitForPodsOptions added in v0.345.0

type WaitForPodsOptions struct {
	MinNumberOfPods int
}

Jump to

Keyboard shortcuts

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