Documentation ¶
Index ¶
- Constants
- func FormAddressNameByRuleName(ruleName string) (string, error)
- func FormForwardRuleNameByAddressName(addressName string) (string, error)
- type AwsAction
- type CloudActions
- type Endpoints
- type PEActions
- func (peActions *PEActions) CreatePrivateEndpoint(name string) (v1.PrivateEndpoint, error)
- func (peActions *PEActions) DeletePrivateEndpoint(name string) error
- func (peActions *PEActions) IsStatusPrivateEndpointAvailable(privateID string) bool
- func (peActions *PEActions) IsStatusPrivateEndpointPending(privateID string) bool
Constants ¶
View Source
const ( // TODO get from Azure ResourceGroup = "svet-test" Vpc = "svet-test-vpc" SubnetName = "default" )
View Source
const ( // TODO get from GCP GoogleProjectID = "atlasoperator" // Google Cloud Project ID GoogleVPC = "atlas-operator-test" // VPC Name GoogleSubnetName = "atlas-operator-subnet-leo" // Subnet Name )
Variables ¶
This section is empty.
Functions ¶
func FormAddressNameByRuleName ¶ added in v1.2.0
func FormForwardRuleNameByAddressName ¶ added in v1.2.0
Types ¶
type AwsAction ¶ added in v1.3.0
type AwsAction struct{}
func NewAwsAction ¶ added in v1.3.0
func NewAwsAction() *AwsAction
type CloudActions ¶
type CloudActions interface {
// contains filtered or unexported methods
}
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) IsStatusPrivateEndpointAvailable ¶
func (*PEActions) IsStatusPrivateEndpointPending ¶
privateID is different for different clouds: privateID for AWS or PEname for AZURE AWS = PrivateID, AZURE = privateEndpoint Name GCP = prefix
Click to show internal directories.
Click to hide internal directories.