bastionhosts

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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.

Jump to

Keyboard shortcuts

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