Documentation ¶
Index ¶
- func FetchAvailablePermissionIDs(ctx context.Context, client *http.Client, url string) ([]string, error)
- func NewClient(info account.AccountInfo, client *accounts.Client, ...) *accountManagementClient
- func WithMaxConcurrentDeploys(maxConcurrentDeploys int) func(*AccountDeployer)
- type AccountDeployer
- type Dispatcher
- type Group
- type ManagementZone
- type Options
- type Permissions
- type Policy
- type Runnable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchAvailablePermissionIDs ¶ added in v2.9.3
func NewClient ¶ added in v2.9.3
func NewClient(info account.AccountInfo, client *accounts.Client, supportedPermissions []remoteId) *accountManagementClient
func WithMaxConcurrentDeploys ¶ added in v2.10.0
func WithMaxConcurrentDeploys(maxConcurrentDeploys int) func(*AccountDeployer)
Types ¶
type AccountDeployer ¶ added in v2.9.3
type AccountDeployer struct {
// contains filtered or unexported fields
}
func NewAccountDeployer ¶ added in v2.9.3
func NewAccountDeployer(client client, opts ...func(*AccountDeployer)) *AccountDeployer
type Dispatcher ¶ added in v2.10.0
type Dispatcher struct {
// contains filtered or unexported fields
}
func NewDispatcher ¶ added in v2.10.0
func NewDispatcher(maxWorkers int) *Dispatcher
NewDispatcher creates a dispatcher that will use the specified amount of workers to dispatch its work loads. If maxWorkers is equal or less than 0, the dispatcher will dynamically create workers. Otherwise, there will be the specified fixed amount of workers available in the pool.
func (*Dispatcher) AddJob ¶ added in v2.10.0
func (d *Dispatcher) AddJob(j Runnable)
func (*Dispatcher) Run ¶ added in v2.10.0
func (d *Dispatcher) Run()
func (*Dispatcher) Stop ¶ added in v2.10.0
func (d *Dispatcher) Stop()
func (*Dispatcher) Wait ¶ added in v2.10.0
func (d *Dispatcher) Wait() error
type Group ¶ added in v2.9.3
type Group = accountmanagement.PutGroupDto
type ManagementZone ¶ added in v2.9.3
type ManagementZone = accountmanagement.ManagementZoneResourceDto
type Permissions ¶ added in v2.9.3
type Permissions = accountmanagement.PermissionsDto
type Policy ¶ added in v2.9.3
type Policy = accountmanagement.CreateOrUpdateLevelPolicyRequestDto
Click to show internal directories.
Click to hide internal directories.