bastionhosts

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BastionScope

type BastionScope interface {
	logr.Logger
	azure.ClusterDescriber
	azure.NetworkDescriber
	BastionSpec() azure.BastionSpec
}

BastionScope defines the scope interface for a bastion host service.

type Service

type Service struct {
	Scope BastionScope
	// contains filtered or unexported fields
}

Service provides operations on Azure resources.

func New

func New(scope BastionScope) *Service

New creates a new service.

func (*Service) Delete

func (s *Service) Delete(ctx context.Context) error

Delete deletes the bastion host with the provided scope.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) error

Reconcile gets/creates/updates a bastion host.

Directories

Path Synopsis
Package mock_bastionhosts is a generated GoMock package.
Package mock_bastionhosts is a generated GoMock package.

Jump to

Keyboard shortcuts

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