Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceQuotasClient ¶
func NewServiceQuotasClient(session aws.Session, arn string, target runtime.Object) *servicequotas.ServiceQuotas
NewServiceQuotasClient creates a new ServiceQuotas API client for a given session
Types ¶
type AWSClients ¶
type AWSClients struct {
ServiceQuotas *servicequotas.ServiceQuotas
}
AWSClients contains all the aws clients used by the scopes
type ClusterScope ¶
ClusterScope defines the basic context for an actuator to operate upon.
func NewClusterScope ¶
func NewClusterScope(params ClusterScopeParams) (*ClusterScope, error)
NewClusterScope creates a new Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*ClusterScope) ARN ¶
func (s *ClusterScope) ARN() string
ARN returns the AWS SDK assumed role.
func (*ClusterScope) Cluster ¶
func (s *ClusterScope) Cluster() runtime.Object
Cluster returns the AWS infrastructure cluster object.
func (*ClusterScope) ClusterName ¶
func (s *ClusterScope) ClusterName() string
ClusterName returns the name of AWS infrastructure cluster object.
func (*ClusterScope) ClusterNamespace ¶
func (s *ClusterScope) ClusterNamespace() string
ClusterNameSpace returns the namespace of AWS infrastructure cluster object.
func (*ClusterScope) Region ¶
func (s *ClusterScope) Region() string
Region returns the region of the AWS infrastructure cluster object.
func (*ClusterScope) Session ¶
func (s *ClusterScope) Session() awsclient.ConfigProvider
Session returns the AWS SDK session.
type ClusterScopeParams ¶
type ClusterScopeParams struct { ARN string Cluster runtime.Object ClusterName string ClusterNamespace string Region string Logger logr.Logger Session awsclient.ConfigProvider }
ClusterScopeParams defines the input parameters used to create a new Scope.
type ServiceEndpoint ¶
ServiceEndpoint defines a tuple containing AWS Service resolution information
type ServiceQuotasScope ¶
type ServiceQuotasScope interface { aws.ClusterScoper }
ServiceQuotasScope is a scope for use with the ServiceQuotas reconciling service in cluster