Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterTraitCmd ¶ added in v1.1.0
func NewClusterTraitCmd(f client.NewClientFunc) *cobra.Command
Types ¶
type ClusterTrait ¶
type ClusterTrait struct {
// contains filtered or unexported fields
}
ClusterTrait implements cluster trait operations
func New ¶
func New(c client.Interface) *ClusterTrait
New creates a new cluster trait implementation
func (*ClusterTrait) Delete ¶
func (c *ClusterTrait) Delete(params DeleteParams) error
Delete deletes a single cluster trait
func (*ClusterTrait) Get ¶
func (c *ClusterTrait) Get(params GetParams) error
Get retrieves a single cluster trait and outputs it as YAML
func (*ClusterTrait) List ¶
func (c *ClusterTrait) List() error
List lists all cluster-scoped traits
type DeleteParams ¶
type DeleteParams struct {
ClusterTraitName string
}
DeleteParams defines parameters for deleting a single cluster trait
Click to show internal directories.
Click to hide internal directories.