azure

package
v0.0.0-...-2a55d0f Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzContext

type AzContext struct {
	SubnetClient              n.SubnetsClient
	PrivateLinkServicesClient n.PrivateLinkServicesClient
	PrivateEndpointsClient    n.PrivateEndpointsClient
	LbFrontEndConfigClient    n.LoadBalancerFrontendIPConfigurationsClient

	Location string
	// contains filtered or unexported fields
}

AzContext is the holder of all az api clients

func NewAzContext

func NewAzContext(cfg config.Config, recorder record.EventRecorder) (AzContext, error)

NewAzContext creates a new azure api client

func (AzContext) AddUpdatePrivateConnection

func (azCtx AzContext) AddUpdatePrivateConnection(conn *apl.ServiceConnection, serviceName string) error

AddUpdatePrivateConnection adds or updates a private link endpoint

func (AzContext) AddUpdatePrivateService

func (azCtx AzContext) AddUpdatePrivateService(service *v1.Service) error

AddUpdatePrivateService adds or updates a private link service

func (AzContext) RemoveEndpoint

func (azCtx AzContext) RemoveEndpoint(conn *apl.ServiceConnection) error

RemoveEndpoint Deletes a private endpoint

func (AzContext) RemoveService

func (azCtx AzContext) RemoveService(service *v1.Service) error

RemoveService removes a private link service if it exists

Jump to

Keyboard shortcuts

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