Documentation
¶
Index ¶
- func NewECRIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
- func NewEKSIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
- type ECRIntegration
- func (e *ECRIntegration) Cleanup(_ context.Context) error
- func (e *ECRIntegration) Environment() (map[string]string, error)
- func (e *ECRIntegration) Execute(ctx context.Context, creds types.ICredentials) error
- func (e *ECRIntegration) GetIdentity() string
- func (e *ECRIntegration) GetRegistry() *schema.ECRRegistry
- func (e *ECRIntegration) Kind() string
- type EKSIntegration
- func (e *EKSIntegration) Cleanup(_ context.Context) error
- func (e *EKSIntegration) Environment() (map[string]string, error)
- func (e *EKSIntegration) Execute(ctx context.Context, creds types.ICredentials) error
- func (e *EKSIntegration) GetCluster() *schema.EKSCluster
- func (e *EKSIntegration) GetIdentity() string
- func (e *EKSIntegration) Kind() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewECRIntegration ¶
func NewECRIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
NewECRIntegration creates an ECR integration from config.
func NewEKSIntegration ¶
func NewEKSIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
NewEKSIntegration creates an EKS integration from config.
Types ¶
type ECRIntegration ¶
type ECRIntegration struct {
// contains filtered or unexported fields
}
ECRIntegration implements the aws/ecr integration type.
func (*ECRIntegration) Cleanup ¶
func (e *ECRIntegration) Cleanup(_ context.Context) error
Cleanup removes ECR Docker config entries for this integration's registry.
func (*ECRIntegration) Environment ¶
func (e *ECRIntegration) Environment() (map[string]string, error)
Environment returns environment variables contributed by this ECR integration.
func (*ECRIntegration) Execute ¶
func (e *ECRIntegration) Execute(ctx context.Context, creds types.ICredentials) error
Execute performs ECR login for the configured registry.
func (*ECRIntegration) GetIdentity ¶
func (e *ECRIntegration) GetIdentity() string
GetIdentity returns the identity name this integration uses.
func (*ECRIntegration) GetRegistry ¶
func (e *ECRIntegration) GetRegistry() *schema.ECRRegistry
GetRegistry returns the configured registry.
type EKSIntegration ¶
type EKSIntegration struct {
// contains filtered or unexported fields
}
EKSIntegration implements the aws/eks integration type.
func (*EKSIntegration) Cleanup ¶
func (e *EKSIntegration) Cleanup(_ context.Context) error
Cleanup removes kubeconfig entries for this integration's cluster.
func (*EKSIntegration) Environment ¶
func (e *EKSIntegration) Environment() (map[string]string, error)
Environment returns environment variables contributed by this EKS integration.
func (*EKSIntegration) Execute ¶
func (e *EKSIntegration) Execute(ctx context.Context, creds types.ICredentials) error
Execute performs EKS kubeconfig provisioning for the configured cluster.
func (*EKSIntegration) GetCluster ¶
func (e *EKSIntegration) GetCluster() *schema.EKSCluster
GetCluster returns the configured cluster.
func (*EKSIntegration) GetIdentity ¶
func (e *EKSIntegration) GetIdentity() string
GetIdentity returns the identity name this integration uses.