Documentation
¶
Index ¶
- type CreateConfigMapOptions
- type CreateResourceOptions
- type CreateRoleOptions
- func (c *CreateRoleOptions) GetName() (name string, err error)
- func (c *CreateRoleOptions) GetResorces() (resorces []string, err error)
- func (c *CreateRoleOptions) GetVerbs() (verbs []string, err error)
- func (c *CreateRoleOptions) SetName(name string) (err error)
- func (c *CreateRoleOptions) SetResorces(resorces []string) (err error)
- func (c *CreateRoleOptions) SetVerbs(verbs []string) (err error)
- type CreateSecretOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateConfigMapOptions ¶
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 ¶
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 ¶
func (*CreateSecretOptions) GetSecretData ¶
func (c *CreateSecretOptions) GetSecretData() (map[string][]byte, error)
Click to show internal directories.
Click to hide internal directories.