Documentation
¶
Index ¶
- func NewACRIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
- func NewAKSIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
- type ACRIntegration
- func (a *ACRIntegration) Cleanup(_ context.Context) error
- func (a *ACRIntegration) Environment() (map[string]string, error)
- func (a *ACRIntegration) Execute(ctx context.Context, creds types.ICredentials) error
- func (a *ACRIntegration) GetIdentity() string
- func (a *ACRIntegration) GetRegistry() *schema.Registry
- func (a *ACRIntegration) Kind() string
- type AKSIntegration
- func (a *AKSIntegration) Cleanup(_ context.Context) error
- func (a *AKSIntegration) Environment() (map[string]string, error)
- func (a *AKSIntegration) Execute(ctx context.Context, creds types.ICredentials) error
- func (a *AKSIntegration) GetCluster() *schema.Cluster
- func (a *AKSIntegration) GetIdentity() string
- func (a *AKSIntegration) Kind() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewACRIntegration ¶
func NewACRIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
NewACRIntegration creates an ACR integration from config.
func NewAKSIntegration ¶
func NewAKSIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
NewAKSIntegration creates an AKS integration from config.
Types ¶
type ACRIntegration ¶
type ACRIntegration struct {
// contains filtered or unexported fields
}
ACRIntegration implements the azure/acr integration type.
func (*ACRIntegration) Cleanup ¶
func (a *ACRIntegration) Cleanup(_ context.Context) error
Cleanup removes ACR Docker config entries for this integration's registry.
func (*ACRIntegration) Environment ¶
func (a *ACRIntegration) Environment() (map[string]string, error)
Environment returns environment variables contributed by this ACR integration.
func (*ACRIntegration) Execute ¶
func (a *ACRIntegration) Execute(ctx context.Context, creds types.ICredentials) error
Execute performs ACR login for the configured registry.
func (*ACRIntegration) GetIdentity ¶
func (a *ACRIntegration) GetIdentity() string
GetIdentity returns the identity name this integration uses.
func (*ACRIntegration) GetRegistry ¶
func (a *ACRIntegration) GetRegistry() *schema.Registry
GetRegistry returns the configured registry.
type AKSIntegration ¶
type AKSIntegration struct {
// contains filtered or unexported fields
}
AKSIntegration implements the azure/aks integration type.
func (*AKSIntegration) Cleanup ¶
func (a *AKSIntegration) Cleanup(_ context.Context) error
Cleanup removes kubeconfig entries for this integration's cluster.
func (*AKSIntegration) Environment ¶
func (a *AKSIntegration) Environment() (map[string]string, error)
Environment returns environment variables contributed by this AKS integration.
func (*AKSIntegration) Execute ¶
func (a *AKSIntegration) Execute(ctx context.Context, creds types.ICredentials) error
Execute performs AKS kubeconfig provisioning for the configured cluster.
func (*AKSIntegration) GetCluster ¶
func (a *AKSIntegration) GetCluster() *schema.Cluster
GetCluster returns the configured cluster.
func (*AKSIntegration) GetIdentity ¶
func (a *AKSIntegration) GetIdentity() string
GetIdentity returns the identity name this integration uses.