Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateLinksScope ¶
type PrivateLinksScope interface { GetClusterName() types.NamespacedName GetSubscriptionID() string GetLocation() string GetResourceGroup() string GetPrivateLinksWithAllowedSubscription(managementClusterSubscriptionID string) []capz.PrivateLink LookupPrivateLink(privateLinkResourceID string) (capz.PrivateLink, bool) PatchObject(ctx context.Context) error PrivateLinksReady() bool SetPrivateEndpointIPAddressForWcApi(ip net.IP) SetPrivateEndpointIPAddressForMcIngress(ip net.IP) Close(ctx context.Context) error }
PrivateLinksScope is the interface for getting private links for which the private endpoints are needed.
type Scope ¶
type Scope interface { GetClusterName() types.NamespacedName GetSubscriptionID() string GetLocation() string GetResourceGroup() string GetPrivateEndpoints() []capz.PrivateEndpointSpec GetPrivateEndpointsToWorkloadCluster(workloadClusterSubscriptionID, workloadClusterResourceGroup string) []capz.PrivateEndpointSpec GetPrivateEndpointIPAddress(ctx context.Context, privateEndpointName string) (net.IP, error) ContainsPrivateEndpointSpec(capz.PrivateEndpointSpec) bool AddPrivateEndpointSpec(capz.PrivateEndpointSpec) RemovePrivateEndpointByName(string) PatchObject(ctx context.Context) error Close(ctx context.Context) error }
Scope is the interface for working with private endpoints.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(privateEndpointsScope Scope, privateLinksScope PrivateLinksScope) (*Service, error)
func (*Service) DeleteMcToWcApi ¶ added in v0.2.0
func (*Service) ReconcileMcToWcApi ¶ added in v0.2.0
func (*Service) ReconcileWcToMcIngress ¶ added in v0.2.0
Directories
¶
Path | Synopsis |
---|---|
Package mock_privateendpoints is a generated GoMock package.
|
Package mock_privateendpoints is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.