privateendpoints

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "privateendpoints"

ServiceName is the name of this service.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrivateEndpointScope

type PrivateEndpointScope interface {
	azure.Authorizer
	azure.AsyncStatusUpdater
	PrivateEndpointSpecs() []azure.ResourceSpecGetter
}

PrivateEndpointScope defines the scope interface for a private endpoint.

type PrivateEndpointSpec

type PrivateEndpointSpec struct {
	Name                          string
	ResourceGroup                 string
	Location                      string
	CustomNetworkInterfaceName    string
	PrivateIPAddresses            []string
	SubnetID                      string
	ApplicationSecurityGroups     []string
	ManualApproval                bool
	PrivateLinkServiceConnections []PrivateLinkServiceConnection
	AdditionalTags                infrav1.Tags
	ClusterName                   string
}

PrivateEndpointSpec defines the specification for a private endpoint.

func (*PrivateEndpointSpec) OwnerResourceName

func (s *PrivateEndpointSpec) OwnerResourceName() string

OwnerResourceName is a no-op for private endpoints.

func (*PrivateEndpointSpec) Parameters

func (s *PrivateEndpointSpec) Parameters(ctx context.Context, existing interface{}) (interface{}, error)

Parameters returns the parameters for the PrivateEndpointSpec.

func (*PrivateEndpointSpec) ResourceGroupName

func (s *PrivateEndpointSpec) ResourceGroupName() string

ResourceGroupName returns the name of the resource group.

func (*PrivateEndpointSpec) ResourceName

func (s *PrivateEndpointSpec) ResourceName() string

ResourceName returns the name of the private endpoint.

type PrivateLinkServiceConnection

type PrivateLinkServiceConnection struct {
	Name                 string
	PrivateLinkServiceID string
	GroupIDs             []string
	RequestMessage       string
}

PrivateLinkServiceConnection defines the specification for a private link service connection associated with a private endpoint.

type Service

type Service struct {
	Scope PrivateEndpointScope
	async.Reconciler
}

Service provides operations on Azure resources.

func New

func New(scope PrivateEndpointScope) (*Service, error)

New creates a new service.

func (*Service) Delete

func (s *Service) Delete(ctx context.Context) error

Delete deletes the private endpoint with the provided name.

func (*Service) IsManaged

func (s *Service) IsManaged(ctx context.Context) (bool, error)

IsManaged returns always returns true as CAPZ does not support BYO private endpoints.

func (*Service) Name

func (s *Service) Name() string

Name returns the service name.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) error

Reconcile idempotently creates or updates a private endpoint.

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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