Documentation ¶
Index ¶
- func ConfigPath() (*string, error)
- type AuthCommand
- type AuthLoginCommand
- type AuthTokenCommand
- type AuthWhoamiCommand
- type CatalogProvidersCreateCommand
- type CatalogProvidersDeleteCommand
- type CatalogProvidersGetCommand
- type Cli
- type ClustersGetCommand
- type ConnectionsCreateCommand
- type ConnectionsDeleteCommand
- type ConnectionsGetCommand
- type Context
- type CreateCommand
- type DeleteCommand
- type GetCommand
- type IdentityProviderDeleteCommand
- type IdentityProvidersCreateCommand
- type IdentityProvidersGetCommand
- type IntegrationsCreateCommand
- type IntegrationsDeleteCommand
- type IntegrationsGetCommand
- type OrgsCreateCommand
- type OrgsDeleteCommand
- type OrgsGetCommand
- type PluginDefinitionsCommand
- type PluginDefinitionsGetCommand
- type PluginDefinitionsListCommand
- type PortalDeleteCommand
- type PortalVersionsGetCommand
- type PortalsCreateCommand
- type PortalsGetCommand
- type TenantUsersCreateCommand
- type TenantUsersDeleteCommand
- type TenantUsersGetCommand
- type TenantsCreateCommand
- type TenantsDeleteCommand
- type TenantsGetCommand
- type VersionCommand
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 CatalogProvidersCreateCommand ¶ added in v1.1.0
type CatalogProvidersCreateCommand struct { common.PortalFlags Name string `arg:"name" help:"Name of the catalog provider."` }
type CatalogProvidersDeleteCommand ¶ added in v1.1.0
type CatalogProvidersDeleteCommand struct { common.PortalFlags Name string `arg:"name" help:"Name of the catalog provider."` }
func (CatalogProvidersDeleteCommand) Run ¶ added in v1.1.0
func (c CatalogProvidersDeleteCommand) Run(ctx *Context) error
type CatalogProvidersGetCommand ¶
type CatalogProvidersGetCommand struct { common.PortalFlags Name *string `arg:"name" optional:"" help:"Name of the catalog provider to get. If not provided, lists all catalog providers."` }
type Cli ¶
type Cli struct { common.Globals Auth AuthCommand `cmd:"auth"` Create CreateCommand `cmd:"create"` Get GetCommand `cmd:"get" predictor:"getPredictor"` Delete DeleteCommand `cmd:"delete"` Version VersionCommand `cmd:"version"` }
type ClustersGetCommand ¶
type ConnectionsCreateCommand ¶ added in v1.1.0
type ConnectionsCreateCommand struct { common.PortalFlags Name string `arg:"name" help:"Name of the connection."` Type string `arg:"type" help:"Type of the connection."` }
type ConnectionsDeleteCommand ¶ added in v1.1.0
type ConnectionsDeleteCommand struct { common.PortalFlags Name string `arg:"name" help:"Name of the connection."` }
func (ConnectionsDeleteCommand) Run ¶ added in v1.1.0
func (c ConnectionsDeleteCommand) Run(ctx *Context) error
type ConnectionsGetCommand ¶ added in v1.1.0
type ConnectionsGetCommand struct { common.PortalFlags Name *string `arg:"name" optional:"" help:"Name of the connection to get. If not provided, lists all connections."` }
type Context ¶
type Context struct { APIClient *apiv1.ClientWithResponses Config *flightdeckclient.Config SkipConfigCheck bool }
type CreateCommand ¶ added in v1.1.0
type CreateCommand struct { Tenant TenantsCreateCommand `cmd:"tenant" name:"tenant"` TenantUser TenantUsersCreateCommand `cmd:"tenantuser" name:"tenantuser"` IdentityProvider IdentityProvidersCreateCommand `cmd:"identityprovider" name:"identityprovider"` Portal PortalsCreateCommand `cmd:"portal" name:"portal"` Integration IntegrationsCreateCommand `cmd:"integration" name:"integration"` CatalogProvider CatalogProvidersCreateCommand `cmd:"catalogprovider" name:"catalogprovider"` Connection ConnectionsCreateCommand `cmd:"connection" name:"connection"` }
type DeleteCommand ¶ added in v1.1.0
type DeleteCommand struct { Org OrgsDeleteCommand `cmd:"org" name:"org"` Tenants TenantsDeleteCommand `cmd:"tenant" name:"tenant"` TenantUsers TenantUsersDeleteCommand `cmd:"tenantuser" name:"tenantuser"` IdentityProviders IdentityProviderDeleteCommand `cmd:"identityprovider" name:"identityprovider"` Portals PortalDeleteCommand `cmd:"portals" name:"portals"` CatalogProviders CatalogProvidersDeleteCommand `cmd:"catalogproviders" name:"catalogproviders"` Integrations IntegrationsDeleteCommand `cmd:"integrations" name:"integrations"` Connections ConnectionsDeleteCommand `cmd:"connections" name:"connections"` }
type GetCommand ¶ added in v1.1.0
type GetCommand struct { Clusters ClustersGetCommand `cmd:"clusters"` Orgs OrgsGetCommand `cmd:"orgs"` PortalVersions PortalVersionsGetCommand `cmd:"portalversions" name:"portalversions"` Tenants TenantsGetCommand `cmd:"tenants" name:"tenants"` TenantUsers TenantUsersGetCommand `cmd:"tenantusers" name:"tenantusers"` IdentityProviders IdentityProvidersGetCommand `cmd:"identityproviders" name:"identityproviders"` Portals PortalsGetCommand `cmd:"portals" name:"portals"` CatalogProviders CatalogProvidersGetCommand `cmd:"catalogproviders" name:"catalogproviders"` Integrations IntegrationsGetCommand `cmd:"integrations" name:"integrations"` Connections ConnectionsGetCommand `cmd:"connections" name:"connections"` }
type IdentityProviderDeleteCommand ¶
type IdentityProviderDeleteCommand struct { common.TenantFlags Name string `arg:"name" help:"Name of the identity provider."` }
func (IdentityProviderDeleteCommand) Run ¶
func (c IdentityProviderDeleteCommand) Run(ctx *Context) error
type IdentityProvidersCreateCommand ¶
type IdentityProvidersCreateCommand struct { common.TenantFlags Name string `arg:"name" help:"Name of the identity provider."` Type string `arg:"type" help:"Type of the identity provider."` }
type IdentityProvidersGetCommand ¶
type IdentityProvidersGetCommand struct { common.TenantFlags Name *string `arg:"name" optional:"" help:"Name of the identity provider to get. If not provided, lists all identity providers."` }
type IntegrationsCreateCommand ¶ added in v1.1.0
type IntegrationsCreateCommand struct { common.PortalFlags Name string `arg:"name" help:"Name of the integration."` Type string `arg:"type" help:"Type of the integration."` }
func (IntegrationsCreateCommand) Run ¶ added in v1.1.0
func (c IntegrationsCreateCommand) Run(ctx *Context) error
type IntegrationsDeleteCommand ¶
type IntegrationsDeleteCommand struct { common.PortalFlags Name string `arg:"name" help:"Name of the integration."` }
func (IntegrationsDeleteCommand) Run ¶
func (c IntegrationsDeleteCommand) Run(ctx *Context) error
type IntegrationsGetCommand ¶
type IntegrationsGetCommand struct { common.PortalFlags Name *string `arg:"name" optional:"" help:"Name of the integration to get. If not provided, lists all integrations."` }
type OrgsCreateCommand ¶
type OrgsDeleteCommand ¶
func (*OrgsDeleteCommand) Run ¶
func (c *OrgsDeleteCommand) Run(ctx *Context) error
type OrgsGetCommand ¶
type PluginDefinitionsCommand ¶
type PluginDefinitionsCommand struct { List PluginDefinitionsListCommand `cmd:"list"` Get PluginDefinitionsGetCommand `cmd:"get"` }
type PluginDefinitionsGetCommand ¶
type PortalDeleteCommand ¶
type PortalDeleteCommand struct { common.OrgFlags Name string `arg:"name" help:"Name of the portal to delete."` }
func (PortalDeleteCommand) Run ¶
func (c PortalDeleteCommand) Run(ctx *Context) error
type PortalVersionsGetCommand ¶ added in v1.1.0
type PortalsCreateCommand ¶
type PortalsGetCommand ¶
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 TenantsCreateCommand ¶
type TenantsDeleteCommand ¶
type TenantsDeleteCommand struct { common.OrgFlags Name string `arg:"name" help:"Name of the tenant."` }
func (TenantsDeleteCommand) Run ¶
func (c TenantsDeleteCommand) Run(ctx *Context) error
type TenantsGetCommand ¶
type VersionCommand ¶ added in v1.1.0
type VersionCommand struct{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.