kubernetesparameteroptions

package
v0.341.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 2 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 CreateResourceOptions

type CreateResourceOptions 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 (CreateResourceOptions) GetYamlString

func (c CreateResourceOptions) 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)

Jump to

Keyboard shortcuts

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