cloud

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudActions

type CloudActions interface {
	// contains filtered or unexported methods
}

type Endpoints added in v1.0.0

type Endpoints struct {
	IP   string
	Name string
}

type PEActions

type PEActions struct {
	CloudActions    CloudActions
	PrivateEndpoint status.ProjectPrivateEndpoint
}

func CreatePEActions

func CreatePEActions(pe status.ProjectPrivateEndpoint) (PEActions, error)

func (*PEActions) CreatePrivateEndpoint

func (peActions *PEActions) CreatePrivateEndpoint(name string) (v1.PrivateEndpoint, error)

func (*PEActions) DeletePrivateEndpoint

func (peActions *PEActions) DeletePrivateEndpoint(name string) error

func (*PEActions) IsStatusPrivateEndpointAvailable

func (peActions *PEActions) IsStatusPrivateEndpointAvailable(privateID string) bool

func (*PEActions) IsStatusPrivateEndpointPending

func (peActions *PEActions) IsStatusPrivateEndpointPending(privateID string) bool

privateID is different for different clouds: privateID for AWS or PEname for AZURE AWS = PrivateID, AZURE = privateEndpoint Name GCP = prefix

Jump to

Keyboard shortcuts

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