Documentation ¶
Index ¶
- func RegisterCommands(app *cobra.Command, c *auth.Client)
- type AcceptInviteInvitationCommand
- type AddCollaboratorsCommand
- type AddManyCollaboratorsCommand
- type AssignRoleResourceRolesCommand
- type AuditTokenCommand
- type AuthorizeAuthorizeCommand
- type BanNamedusersCommand
- type CallbackAuthorizeCommand
- type CallbackLoginCommand
- type CreateInviteInvitationCommand
- type CreateOrganizationCommand
- type CreateSpaceCommand
- type CreateTeamCommand
- type CreateUsersCommand
- type DeactivateNamedusersCommand
- type DeleteResourceCommand
- type DeleteSpaceCommand
- type DeleteTokenCommand
- type DeprovisionNamedusersCommand
- type ExchangeTokenCommand
- type HasScopeResourceRolesCommand
- type KeysTokenCommand
- type LinkCallbackTokenCommand
- type LinkTokenCommand
- type ListAssignedByRoleNameResourceRolesCommand
- type ListAssignedResourceRolesCommand
- type ListCollaboratorsCommand
- type ListOrganizationCommand
- type ListResourcesUserCommand
- type ListRolesCommand
- type ListTeamCommand
- type ListTeamsSpaceCommand
- type ListTokensUsersCommand
- type ListUsersCommand
- type LoginLoginCommand
- type LogoutLogoutCommand
- type Logoutv2LogoutCommand
- type RefreshTokenCommand
- type RegisterResourceCommand
- type RemoveCollaboratorsCommand
- type RemoveManyCollaboratorsCommand
- type RescindInviteInvitationCommand
- type RetrieveTokenCommand
- type RevokeAllTokensUsersCommand
- type ScopesResourceCommand
- type SendEmailVerificationCodeUsersCommand
- type ShowClustersCommand
- type ShowOpenidConfigurationCommand
- type ShowResourceCommand
- type ShowStatusCommand
- type ShowUserCommand
- type ShowUserinfoCommand
- type ShowUsersCommand
- type StatusTokenCommand
- type UpdateUsersCommand
- type UsersSearchCommand
- type VerifyEmailUsersCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AcceptInviteInvitationCommand ¶
type AcceptInviteInvitationCommand struct { // Unique acceptance code for a user to accept a previously extended invitation AcceptCode string PrettyPrint bool }
AcceptInviteInvitationCommand is the command line data structure for the acceptInvite action of invitation
func (*AcceptInviteInvitationCommand) RegisterFlags ¶
func (cmd *AcceptInviteInvitationCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type AddCollaboratorsCommand ¶
type AddCollaboratorsCommand struct { IdentityID string // ID of the space SpaceID string PrettyPrint bool }
AddCollaboratorsCommand is the command line data structure for the add action of collaborators
func (*AddCollaboratorsCommand) RegisterFlags ¶
func (cmd *AddCollaboratorsCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type AddManyCollaboratorsCommand ¶
type AddManyCollaboratorsCommand struct { Payload string ContentType string // ID of the space SpaceID string PrettyPrint bool }
AddManyCollaboratorsCommand is the command line data structure for the add-many action of collaborators
func (*AddManyCollaboratorsCommand) RegisterFlags ¶
func (cmd *AddManyCollaboratorsCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type AssignRoleResourceRolesCommand ¶
type AssignRoleResourceRolesCommand struct { Payload string ContentType string ResourceID string PrettyPrint bool }
AssignRoleResourceRolesCommand is the command line data structure for the assignRole action of resource_roles
func (*AssignRoleResourceRolesCommand) RegisterFlags ¶
func (cmd *AssignRoleResourceRolesCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type AuditTokenCommand ¶
type AuditTokenCommand struct { // Resource ID of a resource on which the user wishes to perform an operation ResourceID string PrettyPrint bool }
AuditTokenCommand is the command line data structure for the audit action of token
func (*AuditTokenCommand) RegisterFlags ¶
func (cmd *AuditTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type AuthorizeAuthorizeCommand ¶
type AuthorizeAuthorizeCommand struct { // The name of the api client which is requesting a token APIClient string ClientID string // This is where authorization provider will send authorization_code RedirectURI string // Informs the Authorization Server of the mechanism to be used for returning Authorization Response parameters. If response_mode=query then response parameters are encoded in the query string added to the redirect_uri when redirecting back to the Client. If response_mode=fragment then response parameters are encoded in the fragment added to the redirect_uri when redirecting back to the Client. The default Response Mode for the code Response Type is the query encoding ResponseMode string // response_type=code for grant_type authorization_code ResponseType string Scope string State string PrettyPrint bool }
AuthorizeAuthorizeCommand is the command line data structure for the authorize action of authorize
func (*AuthorizeAuthorizeCommand) RegisterFlags ¶
func (cmd *AuthorizeAuthorizeCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type BanNamedusersCommand ¶
BanNamedusersCommand is the command line data structure for the ban action of namedusers
func (*BanNamedusersCommand) RegisterFlags ¶
func (cmd *BanNamedusersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type CallbackAuthorizeCommand ¶
type CallbackAuthorizeCommand struct { // authorization_code Code string State string PrettyPrint bool }
CallbackAuthorizeCommand is the command line data structure for the callback action of authorize
func (*CallbackAuthorizeCommand) RegisterFlags ¶
func (cmd *CallbackAuthorizeCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type CallbackLoginCommand ¶
type CallbackLoginCommand struct { // Authorization code Code string // state value State string PrettyPrint bool }
CallbackLoginCommand is the command line data structure for the callback action of login
func (*CallbackLoginCommand) RegisterFlags ¶
func (cmd *CallbackLoginCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type CreateInviteInvitationCommand ¶
type CreateInviteInvitationCommand struct { Payload string ContentType string // Unique identifier of the organization, team, security group or resource InviteTo string PrettyPrint bool }
CreateInviteInvitationCommand is the command line data structure for the createInvite action of invitation
func (*CreateInviteInvitationCommand) RegisterFlags ¶
func (cmd *CreateInviteInvitationCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type CreateOrganizationCommand ¶
CreateOrganizationCommand is the command line data structure for the create action of organization
func (*CreateOrganizationCommand) RegisterFlags ¶
func (cmd *CreateOrganizationCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type CreateSpaceCommand ¶
CreateSpaceCommand is the command line data structure for the create action of space
func (*CreateSpaceCommand) RegisterFlags ¶
func (cmd *CreateSpaceCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type CreateTeamCommand ¶
CreateTeamCommand is the command line data structure for the create action of team
func (*CreateTeamCommand) RegisterFlags ¶
func (cmd *CreateTeamCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type CreateUsersCommand ¶
CreateUsersCommand is the command line data structure for the create action of users
func (*CreateUsersCommand) RegisterFlags ¶
func (cmd *CreateUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type DeactivateNamedusersCommand ¶
DeactivateNamedusersCommand is the command line data structure for the deactivate action of namedusers
func (*DeactivateNamedusersCommand) RegisterFlags ¶
func (cmd *DeactivateNamedusersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type DeleteResourceCommand ¶
type DeleteResourceCommand struct { // Identifier of the resource to delete ResourceID string PrettyPrint bool }
DeleteResourceCommand is the command line data structure for the delete action of resource
func (*DeleteResourceCommand) RegisterFlags ¶
func (cmd *DeleteResourceCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type DeleteSpaceCommand ¶
DeleteSpaceCommand is the command line data structure for the delete action of space
func (*DeleteSpaceCommand) RegisterFlags ¶
func (cmd *DeleteSpaceCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type DeleteTokenCommand ¶
type DeleteTokenCommand struct { // The resource for which the external token is being deleted, example https://github.com or https://api.starter-us-east-2.openshift.com For string PrettyPrint bool }
DeleteTokenCommand is the command line data structure for the Delete action of token
func (*DeleteTokenCommand) RegisterFlags ¶
func (cmd *DeleteTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type DeprovisionNamedusersCommand ¶
DeprovisionNamedusersCommand is the command line data structure for the deprovision action of namedusers
func (*DeprovisionNamedusersCommand) RegisterFlags ¶
func (cmd *DeprovisionNamedusersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ExchangeTokenCommand ¶
ExchangeTokenCommand is the command line data structure for the Exchange action of token
func (*ExchangeTokenCommand) RegisterFlags ¶
func (cmd *ExchangeTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type HasScopeResourceRolesCommand ¶
type HasScopeResourceRolesCommand struct { // The identifier of the resource to check for a user scope ResourceID string // The name of the scope to check for the user ScopeName string PrettyPrint bool }
HasScopeResourceRolesCommand is the command line data structure for the hasScope action of resource_roles
func (*HasScopeResourceRolesCommand) RegisterFlags ¶
func (cmd *HasScopeResourceRolesCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type KeysTokenCommand ¶
type KeysTokenCommand struct { // Key format. If set to "jwk" (used by default) then JSON Web Key format will be used. If "pem" then a PEM-like format (PEM without header and footer) will be used. Format string PrettyPrint bool }
KeysTokenCommand is the command line data structure for the keys action of token
func (*KeysTokenCommand) RegisterFlags ¶
func (cmd *KeysTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type LinkCallbackTokenCommand ¶
type LinkCallbackTokenCommand struct { // Code provided by an external oauth2 resource provider Code string // State generated by the link request State string PrettyPrint bool }
LinkCallbackTokenCommand is the command line data structure for the LinkCallback action of token
func (*LinkCallbackTokenCommand) RegisterFlags ¶
func (cmd *LinkCallbackTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type LinkTokenCommand ¶
type LinkTokenCommand struct { // Resource we need to link accounts for. Multiple resources should be separated by comma. For string // URL to be redirected to after successful account linking. If not set then will redirect to the referrer instead. Redirect string PrettyPrint bool }
LinkTokenCommand is the command line data structure for the link action of token
func (*LinkTokenCommand) RegisterFlags ¶
func (cmd *LinkTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListAssignedByRoleNameResourceRolesCommand ¶
type ListAssignedByRoleNameResourceRolesCommand struct { ResourceID string RoleName string PrettyPrint bool }
ListAssignedByRoleNameResourceRolesCommand is the command line data structure for the listAssignedByRoleName action of resource_roles
func (*ListAssignedByRoleNameResourceRolesCommand) RegisterFlags ¶
func (cmd *ListAssignedByRoleNameResourceRolesCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListAssignedResourceRolesCommand ¶
ListAssignedResourceRolesCommand is the command line data structure for the listAssigned action of resource_roles
func (*ListAssignedResourceRolesCommand) RegisterFlags ¶
func (cmd *ListAssignedResourceRolesCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListCollaboratorsCommand ¶
type ListCollaboratorsCommand struct { // ID of the space SpaceID string // Paging size PageLimit int // Paging start position PageOffset string IfModifiedSince string IfNoneMatch string PrettyPrint bool }
ListCollaboratorsCommand is the command line data structure for the list action of collaborators
func (*ListCollaboratorsCommand) RegisterFlags ¶
func (cmd *ListCollaboratorsCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListOrganizationCommand ¶
type ListOrganizationCommand struct {
PrettyPrint bool
}
ListOrganizationCommand is the command line data structure for the list action of organization
func (*ListOrganizationCommand) RegisterFlags ¶
func (cmd *ListOrganizationCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListResourcesUserCommand ¶
type ListResourcesUserCommand struct { // the type of resource to list Type string PrettyPrint bool }
ListResourcesUserCommand is the command line data structure for the listResources action of user
func (*ListResourcesUserCommand) RegisterFlags ¶
func (cmd *ListResourcesUserCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListRolesCommand ¶
type ListRolesCommand struct { // resource type for which roles are being listed ResourceType string PrettyPrint bool }
ListRolesCommand is the command line data structure for the list action of roles
func (*ListRolesCommand) RegisterFlags ¶
func (cmd *ListRolesCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListTeamCommand ¶
type ListTeamCommand struct {
PrettyPrint bool
}
ListTeamCommand is the command line data structure for the list action of team
func (*ListTeamCommand) RegisterFlags ¶
func (cmd *ListTeamCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListTeamsSpaceCommand ¶
ListTeamsSpaceCommand is the command line data structure for the listTeams action of space
func (*ListTeamsSpaceCommand) RegisterFlags ¶
func (cmd *ListTeamsSpaceCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListTokensUsersCommand ¶
type ListTokensUsersCommand struct { // the ID value of the user's identity ID string PrettyPrint bool }
ListTokensUsersCommand is the command line data structure for the listTokens action of users
func (*ListTokensUsersCommand) RegisterFlags ¶
func (cmd *ListTokensUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ListUsersCommand ¶
type ListUsersCommand struct { // email to search users FilterEmail string // username to search users FilterUsername string IfModifiedSince string IfNoneMatch string PrettyPrint bool }
ListUsersCommand is the command line data structure for the list action of users
func (*ListUsersCommand) RegisterFlags ¶
func (cmd *ListUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type LoginLoginCommand ¶
type LoginLoginCommand struct { // The name of the api client which is requesting a token APIClient string // URL to be redirected to after successful login. If not set then will redirect to the referrer instead. Redirect string // If scope=offline_access then an offline token will be issued instead of a regular refresh token Scope string PrettyPrint bool }
LoginLoginCommand is the command line data structure for the login action of login
func (*LoginLoginCommand) RegisterFlags ¶
func (cmd *LoginLoginCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type LogoutLogoutCommand ¶
type LogoutLogoutCommand struct { // URL to be redirected to after successful logout. If not set then will redirect to the referrer instead. Redirect string Referer string PrettyPrint bool }
LogoutLogoutCommand is the command line data structure for the logout action of logout
func (*LogoutLogoutCommand) RegisterFlags ¶
func (cmd *LogoutLogoutCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type Logoutv2LogoutCommand ¶
type Logoutv2LogoutCommand struct { // URL to be redirected to after successful logout. If not set then will redirect to the referrer instead. Redirect string Referer string PrettyPrint bool }
Logoutv2LogoutCommand is the command line data structure for the logoutv2 action of logout
func (*Logoutv2LogoutCommand) RegisterFlags ¶
func (cmd *Logoutv2LogoutCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type RefreshTokenCommand ¶
RefreshTokenCommand is the command line data structure for the refresh action of token
func (*RefreshTokenCommand) RegisterFlags ¶
func (cmd *RefreshTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type RegisterResourceCommand ¶
RegisterResourceCommand is the command line data structure for the register action of resource
func (*RegisterResourceCommand) RegisterFlags ¶
func (cmd *RegisterResourceCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type RemoveCollaboratorsCommand ¶
type RemoveCollaboratorsCommand struct { IdentityID string // ID of the space SpaceID string PrettyPrint bool }
RemoveCollaboratorsCommand is the command line data structure for the remove action of collaborators
func (*RemoveCollaboratorsCommand) RegisterFlags ¶
func (cmd *RemoveCollaboratorsCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type RemoveManyCollaboratorsCommand ¶
type RemoveManyCollaboratorsCommand struct { Payload string ContentType string // ID of the space SpaceID string PrettyPrint bool }
RemoveManyCollaboratorsCommand is the command line data structure for the remove-many action of collaborators
func (*RemoveManyCollaboratorsCommand) RegisterFlags ¶
func (cmd *RemoveManyCollaboratorsCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type RescindInviteInvitationCommand ¶
type RescindInviteInvitationCommand struct { // Unique identifier for the invitation to the organization, team, security group or resource InviteTo string PrettyPrint bool }
RescindInviteInvitationCommand is the command line data structure for the rescindInvite action of invitation
func (*RescindInviteInvitationCommand) RegisterFlags ¶
func (cmd *RescindInviteInvitationCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type RetrieveTokenCommand ¶
type RetrieveTokenCommand struct { // The resource for which the external token is being fetched, example https://github.com or https://api.starter-us-east-2.openshift.com For string // Pull the user's details for the specific connected account, example, the user's updated github username would be fetched from github. If this is not set or false, then the user profile will be pulled only if the stored user's details did not have the username ForcePull string PrettyPrint bool }
RetrieveTokenCommand is the command line data structure for the Retrieve action of token
func (*RetrieveTokenCommand) RegisterFlags ¶
func (cmd *RetrieveTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type RevokeAllTokensUsersCommand ¶
type RevokeAllTokensUsersCommand struct { // Identifier of the identity for which all tokens will be revoked ID string PrettyPrint bool }
RevokeAllTokensUsersCommand is the command line data structure for the RevokeAllTokens action of users
func (*RevokeAllTokensUsersCommand) RegisterFlags ¶
func (cmd *RevokeAllTokensUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ScopesResourceCommand ¶
type ScopesResourceCommand struct { // Identifier of the resource to list scopes for ResourceID string PrettyPrint bool }
ScopesResourceCommand is the command line data structure for the scopes action of resource
func (*ScopesResourceCommand) RegisterFlags ¶
func (cmd *ScopesResourceCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type SendEmailVerificationCodeUsersCommand ¶
type SendEmailVerificationCodeUsersCommand struct {
PrettyPrint bool
}
SendEmailVerificationCodeUsersCommand is the command line data structure for the sendEmailVerificationCode action of users
func (*SendEmailVerificationCodeUsersCommand) RegisterFlags ¶
func (cmd *SendEmailVerificationCodeUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ShowClustersCommand ¶
type ShowClustersCommand struct {
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 *auth.Client)
RegisterFlags registers the command flags with the command line.
type ShowOpenidConfigurationCommand ¶
type ShowOpenidConfigurationCommand struct {
PrettyPrint bool
}
ShowOpenidConfigurationCommand is the command line data structure for the show action of openid_configuration
func (*ShowOpenidConfigurationCommand) RegisterFlags ¶
func (cmd *ShowOpenidConfigurationCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ShowResourceCommand ¶
type ShowResourceCommand struct { // The identifier of the resource to read ResourceID string PrettyPrint bool }
ShowResourceCommand is the command line data structure for the show action of resource
func (*ShowResourceCommand) RegisterFlags ¶
func (cmd *ShowResourceCommand) RegisterFlags(cc *cobra.Command, c *auth.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 *auth.Client)
RegisterFlags registers the command flags with the command line.
type ShowUserCommand ¶
ShowUserCommand is the command line data structure for the show action of user
func (*ShowUserCommand) RegisterFlags ¶
func (cmd *ShowUserCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ShowUserinfoCommand ¶
type ShowUserinfoCommand struct {
PrettyPrint bool
}
ShowUserinfoCommand is the command line data structure for the show action of userinfo
func (*ShowUserinfoCommand) RegisterFlags ¶
func (cmd *ShowUserinfoCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type ShowUsersCommand ¶
type ShowUsersCommand struct { // Identity ID ID string IfModifiedSince string IfNoneMatch string PrettyPrint bool }
ShowUsersCommand is the command line data structure for the show action of users
func (*ShowUsersCommand) RegisterFlags ¶
func (cmd *ShowUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type StatusTokenCommand ¶
type StatusTokenCommand struct { // The resource for which the external token is being checked, example https://github.com or https://api.starter-us-east-2.openshift.com For string // Pull the user's details for the specific connected account, example, the user's updated github username would be fetched from github. If this is not set or false, then the user profile will be pulled only if the stored user's details did not have the username ForcePull string PrettyPrint bool }
StatusTokenCommand is the command line data structure for the Status action of token
func (*StatusTokenCommand) RegisterFlags ¶
func (cmd *StatusTokenCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type UpdateUsersCommand ¶
UpdateUsersCommand is the command line data structure for the update action of users
func (*UpdateUsersCommand) RegisterFlags ¶
func (cmd *UpdateUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type UsersSearchCommand ¶
type UsersSearchCommand struct { // Paging size PageLimit int // Paging start position PageOffset string Q string PrettyPrint bool }
UsersSearchCommand is the command line data structure for the users action of search
func (*UsersSearchCommand) RegisterFlags ¶
func (cmd *UsersSearchCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.
type VerifyEmailUsersCommand ¶
VerifyEmailUsersCommand is the command line data structure for the verifyEmail action of users
func (*VerifyEmailUsersCommand) RegisterFlags ¶
func (cmd *VerifyEmailUsersCommand) RegisterFlags(cc *cobra.Command, c *auth.Client)
RegisterFlags registers the command flags with the command line.