mock

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type IpRangeClient

type IpRangeClient interface {
	iprangeclient.Client
}

type NfsClient

type NfsClient interface {
	nfsinstanceclient.Client
}

type NfsConfig

type NfsConfig interface {
	SetFileSystemLifeCycleState(id string, state efsTypes.LifeCycleState)
	GetFileSystemById(id string) *efsTypes.FileSystemDescription
}

type Providers

type Providers interface {
	ScopeGardenProvider() awsclient.GardenClientProvider[scopeclient.AwsStsClient]
	IpRangeSkrProvider() awsclient.SkrClientProvider[iprangeclient.Client]
	NfsInstanceSkrProvider() awsclient.SkrClientProvider[nfsinstanceclient.Client]
	VpcPeeringSkrProvider() awsclient.SkrClientProvider[vpcpeeringclient.Client]
}

type ScopeClient

type ScopeClient interface {
	scope.AwsStsClient
}

type ScopeConfig

type ScopeConfig interface {
	SetAccount(string)
	GetAccount() string
}

type Server

type Server interface {
	Clients

	Providers

	VpcConfig
	NfsConfig
	ScopeConfig
}

func New

func New() Server

type VpcConfig

type VpcConfig interface {
	AddVpc(id, cidr string, tags []ec2Types.Tag, subnets []VpcSubnet) *ec2Types.Vpc
}

type VpcPeeringClient added in v0.1.4

type VpcPeeringClient interface {
	vpcpeeringclient.Client
}

type VpcPeeringConfig added in v0.1.4

type VpcPeeringConfig interface {
	AddVpcPeering()
}

type VpcSubnet

type VpcSubnet struct {
	AZ   string
	Cidr string
	Tags []ec2Types.Tag
}

func VpcSubnetsFromScope

func VpcSubnetsFromScope(scope *cloudcontrolv1beta1.Scope) []VpcSubnet

Jump to

Keyboard shortcuts

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