Documentation ¶
Index ¶
- func New(scope BastionScope) *aso.Service[*asonetworkv1.BastionHost, BastionScope]
- type AzureBastionSpec
- func (s *AzureBastionSpec) Parameters(ctx context.Context, existingBastionHost *asonetworkv1.BastionHost) (parameters *asonetworkv1.BastionHost, err error)
- func (s *AzureBastionSpec) ResourceRef() *asonetworkv1.BastionHost
- func (s *AzureBastionSpec) WasManaged(resource *asonetworkv1.BastionHost) bool
- type BastionScope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(scope BastionScope) *aso.Service[*asonetworkv1.BastionHost, BastionScope]
New creates a new service.
Types ¶
type AzureBastionSpec ¶ added in v1.2.0
type AzureBastionSpec struct { Name string Namespace string ResourceGroup string Location string ClusterName string SubnetID string PublicIPID string Sku infrav1.BastionHostSkuName EnableTunneling bool }
AzureBastionSpec defines the specification for azure bastion feature.
func (*AzureBastionSpec) Parameters ¶ added in v1.2.0
func (s *AzureBastionSpec) Parameters(ctx context.Context, existingBastionHost *asonetworkv1.BastionHost) (parameters *asonetworkv1.BastionHost, err error)
Parameters implements azure.ASOResourceSpecGetter.
func (*AzureBastionSpec) ResourceRef ¶ added in v1.13.0
func (s *AzureBastionSpec) ResourceRef() *asonetworkv1.BastionHost
ResourceRef implements azure.ASOResourceSpecGetter.
func (*AzureBastionSpec) WasManaged ¶ added in v1.13.0
func (s *AzureBastionSpec) WasManaged(resource *asonetworkv1.BastionHost) bool
WasManaged implements azure.ASOResourceSpecGetter.
type BastionScope ¶
type BastionScope interface { azure.ClusterScoper aso.Scope AzureBastionSpec() azure.ASOResourceSpecGetter[*asonetworkv1.BastionHost] }
BastionScope defines the scope interface for a bastion host service.
Click to show internal directories.
Click to hide internal directories.