cluster-api-provider-aws: sigs.k8s.io/cluster-api-provider-aws/pkg/cloud Index | Files | Directories

package cloud

import "sigs.k8s.io/cluster-api-provider-aws/pkg/cloud"

Index

Package Files

interfaces.go

type ClusterObject Uses

type ClusterObject interface {
    conditions.Setter
}

ClusterObject represents a AWS cluster object

type ClusterScoper Uses

type ClusterScoper interface {
    logr.Logger
    Session
    ScopeUsage

    // Name returns the CAPI cluster name.
    Name() string
    // Namespace returns the cluster namespace.
    Namespace() string
    // Region returns the cluster region.
    Region() string
    // KubernetesClusterName is the name of the Kubernetes cluster. For EKS this
    // will differ to the CAPI cluster name
    KubernetesClusterName() string

    // InfraCluster returns the AWS infrastructure cluster object.
    InfraCluster() ClusterObject

    // ListOptionsLabelSelector returns a ListOptions with a label selector for clusterName.
    ListOptionsLabelSelector() client.ListOption
    // APIServerPort returns the port to use when communicating with the API server.
    APIServerPort() int32
    // AdditionalTags returns any tags that you would like to attach to AWS resources. The returned value will never be nil.
    AdditionalTags() infrav1.Tags
    // SetFailureDomain sets the infrastructure provider failure domain key to the spec given as input.
    SetFailureDomain(id string, spec clusterv1.FailureDomainSpec)

    // PatchObject persists the cluster configuration and status.
    PatchObject() error
    // Close closes the current scope persisting the cluster configuration and status.
    Close() error
}

ClusterScoper is the interface for a cluster scope

type ScopeUsage Uses

type ScopeUsage interface {
    // ControllerName returns the name of the controller that created the scope
    ControllerName() string
}

ScopeUsage is used to indicate which controller is using a scope

type Session Uses

type Session interface {
    Session() awsclient.ConfigProvider
}

Session represents an AWS session

Directories

PathSynopsis
awserrors
converters
endpoints
filter
metrics
scope
services
services/autoscaling
services/autoscaling/mock_autoscalingifacePackage mock_autoscalingiface is a generated GoMock package.
services/ec2
services/ec2/mock_ec2ifaceRun go generate to regenerate this mock.
services/eks
services/eks/iam
services/eks/mock_eksifaceRun go generate to regenerate this mock.
services/elb
services/elb/mock_elbifaceRun go generate to regenerate this mock.
services/elb/mock_resourcegroupstaggingapiifaceRun go generate to regenerate this mock.
services/iamauth
services/mock_servicesPackage mock_services is a generated GoMock package.
services/network
services/secretsmanager
services/securitygroup
services/ssm
services/sts
services/userdata
services/wait
tags

Package cloud imports 6 packages (graph) and is imported by 18 packages. Updated 2020-11-23. Refresh now. Tools for package owners.