Documentation
¶
Index ¶
- func NewAddClientSecretCommand(clients *shared.ClientFactory) *cobra.Command
- func NewAddCommand(clients *shared.ClientFactory) *cobra.Command
- func NewCommand(clients *shared.ClientFactory) *cobra.Command
- func NewRemoveCommand(clients *shared.ClientFactory) *cobra.Command
- func NewSelectAuthCommand(clients *shared.ClientFactory) *cobra.Command
- type ExternalAuthMock
- func (m *ExternalAuthMock) ProviderAuthSelectPrompt(ctx context.Context, clients *shared.ClientFactory, ...) (types.ProvidersInfo, error)
- func (m *ExternalAuthMock) ProviderSelectPrompt(ctx context.Context, clients *shared.ClientFactory, ...) (types.ExternalAuthorizationInfo, error)
- func (m *ExternalAuthMock) TokenSelectPrompt(ctx context.Context, clients *shared.ClientFactory, ...) (types.ExternalTokenInfo, error)
- func (m *ExternalAuthMock) WorkflowSelectPrompt(ctx context.Context, clients *shared.ClientFactory, ...) (types.WorkflowsInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddClientSecretCommand ¶
func NewAddClientSecretCommand(clients *shared.ClientFactory) *cobra.Command
func NewAddCommand ¶
func NewAddCommand(clients *shared.ClientFactory) *cobra.Command
func NewCommand ¶
func NewCommand(clients *shared.ClientFactory) *cobra.Command
func NewRemoveCommand ¶
func NewRemoveCommand(clients *shared.ClientFactory) *cobra.Command
func NewSelectAuthCommand ¶
func NewSelectAuthCommand(clients *shared.ClientFactory) *cobra.Command
Types ¶
type ExternalAuthMock ¶
ExternalAuthMock implementation mocks for the externalauth package
func NewExternalAuthMock ¶
func NewExternalAuthMock() *ExternalAuthMock
func (*ExternalAuthMock) ProviderAuthSelectPrompt ¶
func (m *ExternalAuthMock) ProviderAuthSelectPrompt(ctx context.Context, clients *shared.ClientFactory, providers types.WorkflowsInfo) (types.ProvidersInfo, error)
func (*ExternalAuthMock) ProviderSelectPrompt ¶
func (m *ExternalAuthMock) ProviderSelectPrompt(ctx context.Context, clients *shared.ClientFactory, providers types.ExternalAuthorizationInfoLists) (types.ExternalAuthorizationInfo, error)
ProviderSelectPrompt mocks the provider selection prompt
func (*ExternalAuthMock) TokenSelectPrompt ¶
func (m *ExternalAuthMock) TokenSelectPrompt(ctx context.Context, clients *shared.ClientFactory, providers types.ExternalAuthorizationInfo) (types.ExternalTokenInfo, error)
func (*ExternalAuthMock) WorkflowSelectPrompt ¶
func (m *ExternalAuthMock) WorkflowSelectPrompt(ctx context.Context, clients *shared.ClientFactory, workflows types.ExternalAuthorizationInfoLists) (types.WorkflowsInfo, error)
Click to show internal directories.
Click to hide internal directories.