operatorclients

package
v0.16.5-rc4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 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 HostnameOperatorClient

type HostnameOperatorClient interface {
	Check(ctx context.Context) error
	String() string

	Stop()
}

func NewHostnameOperatorClient

func NewHostnameOperatorClient(logger log.Logger, kubeConfig *rest.Config, endpoint *net.SRV) (HostnameOperatorClient, error)

type IPOperatorClient

type IPOperatorClient interface {
	Check(ctx context.Context) error
	GetIPAddressUsage(ctx context.Context) (ipoptypes.IPAddressUsage, error)

	GetIPAddressStatus(ctx context.Context, orderID mtypes.OrderID) ([]ipoptypes.LeaseIPStatus, error)
	Stop()
	String() string
}

func NewIPOperatorClient

func NewIPOperatorClient(logger log.Logger, kubeConfig *rest.Config, endpoint *net.SRV) (IPOperatorClient, error)

func NullIPOperatorClient

func NullIPOperatorClient() IPOperatorClient

Jump to

Keyboard shortcuts

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