org

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMemberParams

type AddMemberParams struct {
	clients.OrgParams
	MemberId string
	IsOwner  bool
}

type Client

type Client struct {
	clients.CLI
	api.OrganizationsApi
	api.UsersApi
}

func (Client) AddMember

func (c Client) AddMember(ctx context.Context, params *AddMemberParams) (err error)

func (Client) Create

func (c Client) Create(ctx context.Context, params *CreateParams) error

func (Client) Delete

func (c Client) Delete(ctx context.Context, id string) error

func (Client) List

func (c Client) List(ctx context.Context, params *ListParams) error

func (Client) ListMembers

func (c Client) ListMembers(ctx context.Context, params *ListMemberParams) (err error)

func (Client) RemoveMember

func (c Client) RemoveMember(ctx context.Context, params *RemoveMemberParams) (err error)

func (Client) Update

func (c Client) Update(ctx context.Context, params *UpdateParams) error

type CreateParams

type CreateParams struct {
	Name        string
	Description string
}

type ListMemberParams

type ListMemberParams struct {
	clients.OrgParams
}

type ListParams

type ListParams struct {
	clients.OrgParams
}

type RemoveMemberParams

type RemoveMemberParams struct {
	clients.OrgParams
	MemberId string
}

type UpdateParams

type UpdateParams struct {
	clients.OrgParams
	Description string
}

Jump to

Keyboard shortcuts

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