Documentation ¶
Index ¶
- Constants
- func GetResourceTagsFromInfraClusterAnnotations(annotations map[string]string) map[string]*string
- type ClusterZoneAzureConfig
- type CommonPatcher
- func (s *CommonPatcher) APIServerPrivateIP() string
- func (s *CommonPatcher) APIServerPublicIP() *infrav1.PublicIPSpec
- func (s *CommonPatcher) ClientID() string
- func (s *CommonPatcher) Close(ctx context.Context) error
- func (s *CommonPatcher) ClusterName() string
- func (s *CommonPatcher) IsAPIServerPrivate() bool
- func (s *CommonPatcher) PatchObject(ctx context.Context) error
- func (s *CommonPatcher) SubscriptionID() string
- func (s *CommonPatcher) TenantID() string
- type CommonPatcherParams
- type ManagementClusterConfig
- type Patcher
- type PublicIPService
- type Scope
- func (s *Scope) AzureClusterSpec() *infrav1.AzureClusterSpec
- func (s *Scope) AzureClusterStatus() *infrav1.AzureClusterStatus
- func (s *Scope) ClusterK8sClient(ctx context.Context) (client.Client, error)
- func (s *Scope) InfraClusterAnnotations() map[string]string
- func (s *Scope) InfraClusterIdentity(ctx context.Context) (*infrav1.AzureClusterIdentity, error)
- func (s *Scope) IsAzureCluster() bool
- func (s *Scope) ManagementCluster(ctx context.Context) (*infrav1.AzureCluster, error)
- func (s *Scope) ManagementClusterIdentity(ctx context.Context) (*infrav1.AzureClusterIdentity, error)
- func (s *Scope) PublicIPsService() async.Getter
- type ScopeParams
Constants ¶
View Source
const (
ResourceTagNamePrefix = "azure-resourcegroup-tag."
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterZoneAzureConfig ¶
type CommonPatcher ¶
type CommonPatcher struct { Cluster *capi.Cluster InfraCluster *unstructured.Unstructured // contains filtered or unexported fields }
func NewCommonPatcher ¶
func NewCommonPatcher(ctx context.Context, params CommonPatcherParams) (*CommonPatcher, error)
func (*CommonPatcher) APIServerPrivateIP ¶
func (s *CommonPatcher) APIServerPrivateIP() string
func (*CommonPatcher) APIServerPublicIP ¶
func (s *CommonPatcher) APIServerPublicIP() *infrav1.PublicIPSpec
func (*CommonPatcher) ClientID ¶
func (s *CommonPatcher) ClientID() string
func (*CommonPatcher) ClusterName ¶
func (s *CommonPatcher) ClusterName() string
func (*CommonPatcher) IsAPIServerPrivate ¶
func (s *CommonPatcher) IsAPIServerPrivate() bool
func (*CommonPatcher) PatchObject ¶
func (s *CommonPatcher) PatchObject(ctx context.Context) error
func (*CommonPatcher) SubscriptionID ¶
func (s *CommonPatcher) SubscriptionID() string
func (*CommonPatcher) TenantID ¶
func (s *CommonPatcher) TenantID() string
type CommonPatcherParams ¶
type CommonPatcherParams struct { ClientID string SubscriptionID string TenantID string Cluster *capi.Cluster InfraCluster *unstructured.Unstructured K8sClient client.Client }
type ManagementClusterConfig ¶
type PublicIPService ¶
type PublicIPService struct {
// contains filtered or unexported fields
}
func NewPublicIPService ¶
func NewPublicIPService(cluster *capi.Cluster) *PublicIPService
func (*PublicIPService) Get ¶
func (s *PublicIPService) Get(ctx context.Context, spec azure.ResourceSpecGetter) (result interface{}, err error)
type Scope ¶
type Scope struct { Client client.Client Cluster *capi.Cluster InfraCluster *unstructured.Unstructured Patcher Patcher AzureLocation string // contains filtered or unexported fields }
func (*Scope) AzureClusterSpec ¶
func (s *Scope) AzureClusterSpec() *infrav1.AzureClusterSpec
func (*Scope) AzureClusterStatus ¶
func (s *Scope) AzureClusterStatus() *infrav1.AzureClusterStatus
func (*Scope) ClusterK8sClient ¶
func (*Scope) InfraClusterAnnotations ¶
func (*Scope) InfraClusterIdentity ¶
func (*Scope) IsAzureCluster ¶
func (*Scope) ManagementCluster ¶
func (*Scope) ManagementClusterIdentity ¶
func (*Scope) PublicIPsService ¶
type ScopeParams ¶
type ScopeParams struct { Client client.Client Cluster *capi.Cluster InfraCluster *unstructured.Unstructured Cache *capzscope.ClusterCache ManagementClusterConfig ManagementClusterConfig ClusterIdentityRef *corev1.ObjectReference ClusterZoneAzureConfig ClusterZoneAzureConfig }
Click to show internal directories.
Click to hide internal directories.