cli

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2019 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCommands

func RegisterCommands(app *cobra.Command, c *client.Client)

RegisterCommands registers the resource action CLI commands.

Types

type AddServiceProviderIdpCommand

type AddServiceProviderIdpCommand struct {
	PrettyPrint bool
}

AddServiceProviderIdpCommand is the command line data structure for the addServiceProvider action of idp

func (*AddServiceProviderIdpCommand) RegisterFlags

func (cmd *AddServiceProviderIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*AddServiceProviderIdpCommand) Run

func (cmd *AddServiceProviderIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the AddServiceProviderIdpCommand command.

type DeleteServiceProviderIdpCommand

type DeleteServiceProviderIdpCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

DeleteServiceProviderIdpCommand is the command line data structure for the deleteServiceProvider action of idp

func (*DeleteServiceProviderIdpCommand) RegisterFlags

func (cmd *DeleteServiceProviderIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*DeleteServiceProviderIdpCommand) Run

Run makes the HTTP request corresponding to the DeleteServiceProviderIdpCommand command.

type DeleteSessionIdpCommand

type DeleteSessionIdpCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

DeleteSessionIdpCommand is the command line data structure for the deleteSession action of idp

func (*DeleteSessionIdpCommand) RegisterFlags

func (cmd *DeleteSessionIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*DeleteSessionIdpCommand) Run

func (cmd *DeleteSessionIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the DeleteSessionIdpCommand command.

type DownloadCommand

type DownloadCommand struct {
	// OutFile is the path to the download output file.
	OutFile string
}

DownloadCommand is the command line data structure for the download command.

func (*DownloadCommand) Run

func (cmd *DownloadCommand) Run(c *client.Client, args []string) error

Run downloads files with given paths.

type GetGoogleMetadataIdpCommand

type GetGoogleMetadataIdpCommand struct {
	PrettyPrint bool
}

GetGoogleMetadataIdpCommand is the command line data structure for the getGoogleMetadata action of idp

func (*GetGoogleMetadataIdpCommand) RegisterFlags

func (cmd *GetGoogleMetadataIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*GetGoogleMetadataIdpCommand) Run

func (cmd *GetGoogleMetadataIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the GetGoogleMetadataIdpCommand command.

type GetMetadataIdpCommand

type GetMetadataIdpCommand struct {
	PrettyPrint bool
}

GetMetadataIdpCommand is the command line data structure for the getMetadata action of idp

func (*GetMetadataIdpCommand) RegisterFlags

func (cmd *GetMetadataIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*GetMetadataIdpCommand) Run

func (cmd *GetMetadataIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the GetMetadataIdpCommand command.

type GetServiceProvidersIdpCommand

type GetServiceProvidersIdpCommand struct {
	PrettyPrint bool
}

GetServiceProvidersIdpCommand is the command line data structure for the getServiceProviders action of idp

func (*GetServiceProvidersIdpCommand) RegisterFlags

func (cmd *GetServiceProvidersIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*GetServiceProvidersIdpCommand) Run

Run makes the HTTP request corresponding to the GetServiceProvidersIdpCommand command.

type GetSessionsIdpCommand

type GetSessionsIdpCommand struct {
	PrettyPrint bool
}

GetSessionsIdpCommand is the command line data structure for the getSessions action of idp

func (*GetSessionsIdpCommand) RegisterFlags

func (cmd *GetSessionsIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*GetSessionsIdpCommand) Run

func (cmd *GetSessionsIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the GetSessionsIdpCommand command.

type LoginUserIdpCommand

type LoginUserIdpCommand struct {
	PrettyPrint bool
}

LoginUserIdpCommand is the command line data structure for the loginUser action of idp

func (*LoginUserIdpCommand) RegisterFlags

func (cmd *LoginUserIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*LoginUserIdpCommand) Run

func (cmd *LoginUserIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the LoginUserIdpCommand command.

type ServeLoginIdpCommand

type ServeLoginIdpCommand struct {
	PrettyPrint bool
}

ServeLoginIdpCommand is the command line data structure for the serveLogin action of idp

func (*ServeLoginIdpCommand) RegisterFlags

func (cmd *ServeLoginIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*ServeLoginIdpCommand) Run

func (cmd *ServeLoginIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the ServeLoginIdpCommand command.

type ServeLoginUserIdpCommand

type ServeLoginUserIdpCommand struct {
	PrettyPrint bool
}

ServeLoginUserIdpCommand is the command line data structure for the serveLoginUser action of idp

func (*ServeLoginUserIdpCommand) RegisterFlags

func (cmd *ServeLoginUserIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*ServeLoginUserIdpCommand) Run

func (cmd *ServeLoginUserIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the ServeLoginUserIdpCommand command.

type ServeSSOIdpCommand

type ServeSSOIdpCommand struct {
	PrettyPrint bool
}

ServeSSOIdpCommand is the command line data structure for the serveSSO action of idp

func (*ServeSSOIdpCommand) RegisterFlags

func (cmd *ServeSSOIdpCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*ServeSSOIdpCommand) Run

func (cmd *ServeSSOIdpCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the ServeSSOIdpCommand command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL