Documentation
¶
Index ¶
- Constants
- type Provider
- func (p *Provider) Cleanup(ctx context.Context, request machineops.OperationRequest, ...) error
- func (p *Provider) Execute(ctx context.Context, request machineops.OperationRequest) (machineops.OperationResult, error)
- func (p *Provider) Name() string
- func (p *Provider) Supports(operation unboundedv1alpha3.OperationKind) bool
Constants ¶
View Source
const ( // AuthAPIKey uses the standard OCI config-file API key fields. AuthAPIKey = "api_key" // AuthSecurityToken uses OCI CLI session-token credentials. AuthSecurityToken = "security_token" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
ConfigFile string
ConfigProfile string
Auth string
NewClient computeClientFactory
}
Provider executes operations against Oracle Cloud Infrastructure instances.
func (*Provider) Cleanup ¶ added in v0.1.6
func (p *Provider) Cleanup(ctx context.Context, request machineops.OperationRequest, result machineops.OperationResult) error
func (*Provider) Execute ¶
func (p *Provider) Execute(ctx context.Context, request machineops.OperationRequest) (machineops.OperationResult, error)
func (*Provider) Supports ¶
func (p *Provider) Supports(operation unboundedv1alpha3.OperationKind) bool
Click to show internal directories.
Click to hide internal directories.