Documentation ¶
Index ¶
- type HttpTargetProvider
- func (i *HttpTargetProvider) Apply(ctx context.Context, deployment model.DeploymentSpec, ...) (map[string]model.ComponentResultSpec, error)
- func (i *HttpTargetProvider) Get(ctx context.Context, deployment model.DeploymentSpec, ...) ([]model.ComponentSpec, error)
- func (*HttpTargetProvider) GetValidationRule(ctx context.Context) model.ValidationRule
- func (i *HttpTargetProvider) Init(config providers.IProviderConfig) error
- func (i *HttpTargetProvider) InitWithMap(properties map[string]string) error
- func (s *HttpTargetProvider) SetContext(ctx *contexts.ManagerContext)
- type HttpTargetProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpTargetProvider ¶
type HttpTargetProvider struct { Config HttpTargetProviderConfig Context *contexts.ManagerContext }
func (*HttpTargetProvider) Apply ¶
func (i *HttpTargetProvider) Apply(ctx context.Context, deployment model.DeploymentSpec, step model.DeploymentStep, isDryRun bool) (map[string]model.ComponentResultSpec, error)
func (*HttpTargetProvider) Get ¶
func (i *HttpTargetProvider) Get(ctx context.Context, deployment model.DeploymentSpec, references []model.ComponentStep) ([]model.ComponentSpec, error)
func (*HttpTargetProvider) GetValidationRule ¶
func (*HttpTargetProvider) GetValidationRule(ctx context.Context) model.ValidationRule
func (*HttpTargetProvider) Init ¶
func (i *HttpTargetProvider) Init(config providers.IProviderConfig) error
func (*HttpTargetProvider) InitWithMap ¶
func (i *HttpTargetProvider) InitWithMap(properties map[string]string) error
func (*HttpTargetProvider) SetContext ¶
func (s *HttpTargetProvider) SetContext(ctx *contexts.ManagerContext)
type HttpTargetProviderConfig ¶
type HttpTargetProviderConfig struct {
Name string `json:"name"`
}
func HttpTargetProviderConfigFromMap ¶
func HttpTargetProviderConfigFromMap(properties map[string]string) (HttpTargetProviderConfig, error)
Click to show internal directories.
Click to hide internal directories.