Documentation ¶
Index ¶
- type ADUTargetProvider
- func (i *ADUTargetProvider) Apply(ctx context.Context, deployment model.DeploymentSpec, ...) (map[string]model.ComponentResultSpec, error)
- func (i *ADUTargetProvider) Get(ctx context.Context, dep model.DeploymentSpec, ...) ([]model.ComponentSpec, error)
- func (*ADUTargetProvider) GetValidationRule(ctx context.Context) model.ValidationRule
- func (i *ADUTargetProvider) Init(config providers.IProviderConfig) error
- func (i *ADUTargetProvider) InitWithMap(properties map[string]string) error
- func (s *ADUTargetProvider) SetContext(ctx *contexts.ManagerContext)
- type ADUTargetProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADUTargetProvider ¶
type ADUTargetProvider struct { Config ADUTargetProviderConfig Context *contexts.ManagerContext }
func (*ADUTargetProvider) Apply ¶
func (i *ADUTargetProvider) Apply(ctx context.Context, deployment model.DeploymentSpec, step model.DeploymentStep, isDryRun bool) (map[string]model.ComponentResultSpec, error)
func (*ADUTargetProvider) Get ¶
func (i *ADUTargetProvider) Get(ctx context.Context, dep model.DeploymentSpec, references []model.ComponentStep) ([]model.ComponentSpec, error)
func (*ADUTargetProvider) GetValidationRule ¶
func (*ADUTargetProvider) GetValidationRule(ctx context.Context) model.ValidationRule
func (*ADUTargetProvider) Init ¶
func (i *ADUTargetProvider) Init(config providers.IProviderConfig) error
func (*ADUTargetProvider) InitWithMap ¶
func (i *ADUTargetProvider) InitWithMap(properties map[string]string) error
func (*ADUTargetProvider) SetContext ¶
func (s *ADUTargetProvider) SetContext(ctx *contexts.ManagerContext)
type ADUTargetProviderConfig ¶
type ADUTargetProviderConfig struct { Name string `json:"name"` TenantId string `json:"tenantId"` ClientId string `json:"clientId"` ClientSecret string `json:"clientSecret"` ADUAccountEndpoint string `json:"aduAccountEndpoint"` ADUAccountInstance string `json:"aduAccountInstance"` ADUGroup string `json:"aduGroup"` }
func ADUTargetProviderConfigFromMap ¶
func ADUTargetProviderConfigFromMap(properties map[string]string) (ADUTargetProviderConfig, error)
Click to show internal directories.
Click to hide internal directories.