scope

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagementClusterName = "MANAGEMENT_CLUSTER_NAME"
)
View Source
const (
	ManagementClusterRegion = "MANAGEMENT_CLUSTER_AZURE_REGION"
)

Variables

This section is empty.

Functions

func NewClusterScopeWrapper

func NewClusterScopeWrapper(clusterScope scope.ClusterScope) (dns.Scope, error)

func NewManagementClusterAzureClients

func NewManagementClusterAzureClients() (*capzscope.AzureClients, error)

Types

type ManagementClusterScope

type ManagementClusterScope struct {
	capzscope.AzureClients
	Client client.Client
	logr.Logger
	// contains filtered or unexported fields
}

ManagementClusterScope defines the basic context for an actuator to operate upon.

func (*ManagementClusterScope) Authorizer

func (s *ManagementClusterScope) Authorizer() autorest.Authorizer

Authorizer returns the Azure client Authorizer.

func (*ManagementClusterScope) BaseURI

func (s *ManagementClusterScope) BaseURI() string

BaseURI returns the Azure ResourceManagerEndpoint.

func (*ManagementClusterScope) DNSSpec

func (s *ManagementClusterScope) DNSSpec() azure.DNSSpec

func (*ManagementClusterScope) ResourceGroup

func (s *ManagementClusterScope) ResourceGroup() string

func (*ManagementClusterScope) SetNSRecordSetSpecs

func (s *ManagementClusterScope) SetNSRecordSetSpecs(nsRecordSetSpecs []azure.NSRecordSetSpec)

type ManagementClusterScopeParams

type ManagementClusterScopeParams struct {
	Client                          client.Client
	Logger                          logr.Logger
	WorkloadClusterName             string
	WorkloadClusterNSRecordSetSpecs []azure.NSRecordSetSpec
}

ManagementClusterScopeParams defines the input parameters used to create a new ManagementClusterScope.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL