Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterScope ¶
type ClusterScope struct { Logger *logr.Logger Cluster *clusterv1.Cluster HCCluster *infrav1alpha1.HuaweiCloudCluster Credentials *basic.Credentials // contains filtered or unexported fields }
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) Close ¶
func (s *ClusterScope) Close() error
func (*ClusterScope) PatchObject ¶
func (s *ClusterScope) PatchObject() error
func (*ClusterScope) Region ¶
func (s *ClusterScope) Region() string
Region returns the cluster region.
func (*ClusterScope) VPC ¶
func (s *ClusterScope) VPC() *infrav1alpha1.VPCSpec
VPC returns the cluster VPC.
type ClusterScopeParams ¶
type ClusterScopeParams struct { Client client.Client Logger *logr.Logger Cluster *clusterv1.Cluster HCCluster *infrav1alpha1.HuaweiCloudCluster Credentials *basic.Credentials }
ClusterScopeParams defines the input parameters used to create a new Scope.
Click to show internal directories.
Click to hide internal directories.