Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTraitCmd ¶ added in v1.1.0
func NewTraitCmd(f client.NewClientFunc) *cobra.Command
Types ¶
type DeleteParams ¶
DeleteParams defines parameters for deleting a single trait
func (DeleteParams) GetNamespace ¶
func (p DeleteParams) GetNamespace() string
func (DeleteParams) GetTraitName ¶
func (p DeleteParams) GetTraitName() string
type GetParams ¶
GetParams defines parameters for getting a single trait
func (GetParams) GetNamespace ¶
type ListParams ¶
type ListParams struct {
Namespace string
}
ListParams defines parameters for listing traits
func (ListParams) GetNamespace ¶
func (p ListParams) GetNamespace() string
type Trait ¶
type Trait struct {
// contains filtered or unexported fields
}
Trait implements trait operations
func (*Trait) Delete ¶
func (t *Trait) Delete(params DeleteParams) error
Delete deletes a single trait
func (*Trait) List ¶
func (t *Trait) List(params ListParams) error
List lists all traits in a namespace
Click to show internal directories.
Click to hide internal directories.