Documentation
¶
Index ¶
- func ConfigPath() (*string, error)
- type AuthCommand
- type AuthLoginCommand
- type AuthTokenCommand
- type AuthWhoamiCommand
- type CatalogProvidersCommand
- type CatalogProvidersGetCommand
- type CatalogProvidersListCommand
- type Cli
- type ClustersCommand
- type ClustersGetCommand
- type ClustersListCommand
- type Context
- type IdentityProviderDeleteCommand
- type IdentityProvidersCommand
- type IdentityProvidersCreateCommand
- type IdentityProvidersGetCommand
- type IdentityProvidersListCommand
- type IntegrationsCommand
- type IntegrationsDeleteCommand
- type IntegrationsGetCommand
- type IntegrationsListCommand
- type OrgsCommand
- type OrgsCreateCommand
- type OrgsDeleteCommand
- type OrgsGetCommand
- type OrgsListCommand
- type PluginDefinitionDeleteCommand
- type PluginDefinitionsCommand
- type PluginDefinitionsCreateCommand
- type PluginDefinitionsGetCommand
- type PluginDefinitionsListCommand
- type PluginDefinitionsUpdateCommand
- type PortalDeleteCommand
- type PortalsCommand
- type PortalsCreateCommand
- type PortalsGetCommand
- type PortalsListCommand
- type TenantUsersCommand
- type TenantUsersCreateCommand
- type TenantUsersDeleteCommand
- type TenantUsersGetCommand
- type TenantUsersListCommand
- type TenantsCommand
- type TenantsCreateCommand
- type TenantsDeleteCommand
- type TenantsGetCommand
- type TenantsListCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
Types ¶
type AuthCommand ¶
type AuthCommand struct {
Login AuthLoginCommand `cmd:"login"`
Token AuthTokenCommand `cmd:"token"`
Whoami AuthWhoamiCommand `cmd:"whoami"`
}
type AuthLoginCommand ¶
type AuthLoginCommand struct {
AuthEndpoint string `name:"auth-endpoint" default:"${authEndpoint}"`
}
func (*AuthLoginCommand) BeforeApply ¶
func (c *AuthLoginCommand) BeforeApply(ctx *Context, globals *common.Globals) error
type AuthTokenCommand ¶
type AuthTokenCommand struct{}
func (AuthTokenCommand) Run ¶
func (a AuthTokenCommand) Run(ctx *Context) error
type AuthWhoamiCommand ¶
type AuthWhoamiCommand struct{}
type CatalogProvidersCommand ¶
type CatalogProvidersCommand struct {
List CatalogProvidersListCommand `cmd:"list"`
Get CatalogProvidersGetCommand `cmd:"update"`
}
type CatalogProvidersGetCommand ¶
type CatalogProvidersGetCommand struct {
common.PortalFlags
Name string `arg:"name"`
}
type CatalogProvidersListCommand ¶
type CatalogProvidersListCommand struct {
common.PortalFlags
}
type Cli ¶
type Cli struct {
common.Globals
Auth AuthCommand `cmd:"auth"`
Clusters ClustersCommand `cmd:"clusters"`
Orgs OrgsCommand `cmd:"orgs"`
TenantUsers TenantUsersCommand `cmd:"tenantusers"`
Tenants TenantsCommand `cmd:"tenants"`
Portals PortalsCommand `cmd:"portals"`
Integrations IntegrationsCommand `cmd:"integrations"`
CatalogProviders CatalogProvidersCommand `cmd:"catalogproviders"`
PluginDefinitions PluginDefinitionsCommand `cmd:"plugindefinitions"`
IdentityProviders IdentityProvidersCommand `cmd:"identityproviders"`
}
type ClustersCommand ¶
type ClustersCommand struct {
List ClustersListCommand `cmd:"list"`
Get ClustersGetCommand `cmd:"get"`
}
type ClustersGetCommand ¶
type ClustersGetCommand struct {
Id string `arg:"id"`
}
type ClustersListCommand ¶
type ClustersListCommand struct{}
type Context ¶
type Context struct {
APIClient *apiv1.ClientWithResponses
Config *flightdeckclient.Config
SkipConfigCheck bool
}
type IdentityProviderDeleteCommand ¶
type IdentityProviderDeleteCommand struct {
common.TenantFlags
Name string `arg:"name"`
}
func (IdentityProviderDeleteCommand) Run ¶
func (c IdentityProviderDeleteCommand) Run(ctx *Context) error
type IdentityProvidersCommand ¶
type IdentityProvidersCommand struct {
Create IdentityProvidersCreateCommand `cmd:"create"`
List IdentityProvidersListCommand `cmd:"list"`
Get IdentityProvidersGetCommand `cmd:"get"`
Delete IdentityProviderDeleteCommand `cmd:"delete"`
}
type IdentityProvidersCreateCommand ¶
type IdentityProvidersCreateCommand struct {
common.TenantFlags
Name string `arg:"name"`
Type string `arg:"type"`
}
type IdentityProvidersGetCommand ¶
type IdentityProvidersGetCommand struct {
common.TenantFlags
Name string `arg:"name"`
}
type IdentityProvidersListCommand ¶
type IdentityProvidersListCommand struct {
common.TenantFlags
}
type IntegrationsCommand ¶
type IntegrationsCommand struct {
List IntegrationsListCommand `cmd:"list"`
Get IntegrationsGetCommand `cmd:"get"`
Delete IntegrationsDeleteCommand `cmd:"delete"`
}
type IntegrationsDeleteCommand ¶
type IntegrationsDeleteCommand struct {
common.PortalFlags
Name string `arg:"name"`
}
func (IntegrationsDeleteCommand) Run ¶
func (c IntegrationsDeleteCommand) Run(ctx *Context) error
type IntegrationsGetCommand ¶
type IntegrationsGetCommand struct {
common.PortalFlags
Name string `arg:"name"`
}
type IntegrationsListCommand ¶
type IntegrationsListCommand struct {
common.PortalFlags
}
type OrgsCommand ¶
type OrgsCommand struct {
Create OrgsCreateCommand `cmd:"create"`
List OrgsListCommand `cmd:"list"`
Get OrgsGetCommand `cmd:"get"`
Delete OrgsDeleteCommand `cmd:"delete"`
}
type OrgsCreateCommand ¶
type OrgsDeleteCommand ¶
type OrgsDeleteCommand struct {
Id string `arg:"id"`
}
func (*OrgsDeleteCommand) Run ¶
func (c *OrgsDeleteCommand) Run(ctx *Context) error
type OrgsGetCommand ¶
type OrgsGetCommand struct {
Id string `arg:"id"`
}
type OrgsListCommand ¶
type OrgsListCommand struct{}
type PluginDefinitionDeleteCommand ¶
type PluginDefinitionDeleteCommand struct {
common.OrgFlags
Name string `arg:"name"`
Version int `arg:"version"`
}
func (PluginDefinitionDeleteCommand) Run ¶
func (c PluginDefinitionDeleteCommand) Run(ctx *Context) error
type PluginDefinitionsCommand ¶
type PluginDefinitionsCommand struct {
Create PluginDefinitionsCreateCommand `cmd:"create"`
List PluginDefinitionsListCommand `cmd:"list"`
Get PluginDefinitionsGetCommand `cmd:"get"`
Update PluginDefinitionsUpdateCommand `cmd:"update"`
Delete PluginDefinitionDeleteCommand `cmd:"delete"`
}
type PluginDefinitionsGetCommand ¶
type PluginDefinitionsUpdateCommand ¶
type PortalDeleteCommand ¶
func (PortalDeleteCommand) Run ¶
func (c PortalDeleteCommand) Run(ctx *Context) error
type PortalsCommand ¶
type PortalsCommand struct {
Create PortalsCreateCommand `cmd:"create"`
List PortalsListCommand `cmd:"list"`
Get PortalsGetCommand `cmd:"get"`
Delete PortalDeleteCommand `cmd:"delete"`
}
type PortalsCreateCommand ¶
type PortalsGetCommand ¶
type PortalsListCommand ¶
type TenantUsersCommand ¶
type TenantUsersCommand struct {
Create TenantUsersCreateCommand `cmd:"create"`
Get TenantUsersGetCommand `cmd:"get"`
List TenantUsersListCommand `cmd:"list"`
Delete TenantUsersDeleteCommand `cmd:"delete"`
}
type TenantUsersCreateCommand ¶
type TenantUsersCreateCommand struct {
common.TenantFlags
Username string `arg:"username"`
Email string `arg:"email"`
}
type TenantUsersDeleteCommand ¶
type TenantUsersDeleteCommand struct {
common.TenantFlags
Username string `arg:"username"`
}
func (TenantUsersDeleteCommand) Run ¶
func (c TenantUsersDeleteCommand) Run(ctx *Context) error
type TenantUsersGetCommand ¶
type TenantUsersGetCommand struct {
common.TenantFlags
Username string `arg:"username"`
}
type TenantUsersListCommand ¶
type TenantUsersListCommand struct {
common.TenantFlags
}
type TenantsCommand ¶
type TenantsCommand struct {
Create TenantsCreateCommand `cmd:"create"`
Get TenantsGetCommand `cmd:"get"`
List TenantsListCommand `cmd:"list"`
Delete TenantsDeleteCommand `cmd:"delete"`
}
type TenantsCreateCommand ¶
type TenantsDeleteCommand ¶
func (TenantsDeleteCommand) Run ¶
func (c TenantsDeleteCommand) Run(ctx *Context) error
type TenantsGetCommand ¶
type TenantsListCommand ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.