commands

package
v0.0.0-...-6f005ec Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonFlags

type CommonFlags struct {
	AuthToken string
	LogLevel  string
}

func (*CommonFlags) Register

func (f *CommonFlags) Register(fs *cli.FlagSet)

type GitHubClient

type GitHubClient struct {
	// contains filtered or unexported fields
}

func NewGitHubClient

func NewGitHubClient(authToken string) (*GitHubClient, error)

func (*GitHubClient) ListSAMLUsers

func (gh *GitHubClient) ListSAMLUsers(ctx context.Context, orgName string) (map[string]string, error)

func (*GitHubClient) ListUserRoles

func (gh *GitHubClient) ListUserRoles(ctx context.Context, orgName string) (map[string]string, error)

type SSOCommand

type SSOCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*SSOCommand) Desc

func (c *SSOCommand) Desc() string

func (*SSOCommand) Flags

func (c *SSOCommand) Flags() *cli.FlagSet

func (*SSOCommand) Help

func (c *SSOCommand) Help() string

func (*SSOCommand) Run

func (c *SSOCommand) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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