Documentation ¶
Index ¶
- func RegisterCommands(app *cobra.Command, c *cluster.Client)
- type ClustersUserCommand
- type CreateClustersCommand
- type DeleteClustersCommand
- type LinkIdentityToClusterClustersCommand
- type ListClustersCommand
- type ListForAuthClientClustersCommand
- type RemoveIdentityToClusterLinkClustersCommand
- type ShowClustersCommand
- type ShowForAuthClientClustersCommand
- type ShowStatusCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClustersUserCommand ¶
type ClustersUserCommand struct {
PrettyPrint bool
}
ClustersUserCommand is the command line data structure for the clusters action of user
func (*ClustersUserCommand) RegisterFlags ¶
func (cmd *ClustersUserCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type CreateClustersCommand ¶
CreateClustersCommand is the command line data structure for the create action of clusters
func (*CreateClustersCommand) RegisterFlags ¶
func (cmd *CreateClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type DeleteClustersCommand ¶
type DeleteClustersCommand struct { // the ID of the cluster to delete ClusterID string PrettyPrint bool }
DeleteClustersCommand is the command line data structure for the delete action of clusters
func (*DeleteClustersCommand) RegisterFlags ¶
func (cmd *DeleteClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type LinkIdentityToClusterClustersCommand ¶
type LinkIdentityToClusterClustersCommand struct { Payload string ContentType string PrettyPrint bool }
LinkIdentityToClusterClustersCommand is the command line data structure for the linkIdentityToCluster action of clusters
func (*LinkIdentityToClusterClustersCommand) RegisterFlags ¶
func (cmd *LinkIdentityToClusterClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type ListClustersCommand ¶
type ListClustersCommand struct { // the URL of the cluster to show ClusterURL string // the type of the clusters to return Type string PrettyPrint bool }
ListClustersCommand is the command line data structure for the list action of clusters
func (*ListClustersCommand) RegisterFlags ¶
func (cmd *ListClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type ListForAuthClientClustersCommand ¶
type ListForAuthClientClustersCommand struct { // the URL of the cluster to show ClusterURL string // the type of the clusters to return ('OSD', 'OCP' or 'OSO'). If none is specified, all types of clusters will be returned Type string PrettyPrint bool }
ListForAuthClientClustersCommand is the command line data structure for the listForAuthClient action of clusters
func (*ListForAuthClientClustersCommand) RegisterFlags ¶
func (cmd *ListForAuthClientClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type RemoveIdentityToClusterLinkClustersCommand ¶
type RemoveIdentityToClusterLinkClustersCommand struct { Payload string ContentType string PrettyPrint bool }
RemoveIdentityToClusterLinkClustersCommand is the command line data structure for the removeIdentityToClusterLink action of clusters
func (*RemoveIdentityToClusterLinkClustersCommand) RegisterFlags ¶
func (cmd *RemoveIdentityToClusterLinkClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type ShowClustersCommand ¶
type ShowClustersCommand struct { // the ID of the cluster to show ClusterID string PrettyPrint bool }
ShowClustersCommand is the command line data structure for the show action of clusters
func (*ShowClustersCommand) RegisterFlags ¶
func (cmd *ShowClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type ShowForAuthClientClustersCommand ¶
type ShowForAuthClientClustersCommand struct { // the ID of the cluster to show ClusterID string PrettyPrint bool }
ShowForAuthClientClustersCommand is the command line data structure for the showForAuthClient action of clusters
func (*ShowForAuthClientClustersCommand) RegisterFlags ¶
func (cmd *ShowForAuthClientClustersCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.
type ShowStatusCommand ¶
type ShowStatusCommand struct {
PrettyPrint bool
}
ShowStatusCommand is the command line data structure for the show action of status
func (*ShowStatusCommand) RegisterFlags ¶
func (cmd *ShowStatusCommand) RegisterFlags(cc *cobra.Command, c *cluster.Client)
RegisterFlags registers the command flags with the command line.