vippool

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Get(context.Context, string, string) (*[]network.VipPool, error)
	CreateOrUpdate(context.Context, string, string, *network.VipPool) (*network.VipPool, error)
	Delete(context.Context, string, string) error
}

Service interface

type VipPoolClient

type VipPoolClient struct {
	network.BaseClient
	// contains filtered or unexported fields
}

VipPoolClient structure

func NewVipPoolClient

func NewVipPoolClient(cloudFQDN string, authorizer auth.Authorizer) (*VipPoolClient, error)

NewVipPoolClient method returns new client

func (*VipPoolClient) CreateOrUpdate

func (c *VipPoolClient) CreateOrUpdate(ctx context.Context, location, name string, vp *network.VipPool) (*network.VipPool, error)

Ensure methods invokes create or update on the client

func (*VipPoolClient) Delete

func (c *VipPoolClient) Delete(ctx context.Context, location, name string) error

Delete methods invokes delete of the network resource

func (*VipPoolClient) Get

func (c *VipPoolClient) Get(ctx context.Context, location, name string) (*[]network.VipPool, error)

Get methods invokes the client Get method

Jump to

Keyboard shortcuts

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