stubs

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSetStub

type ClientSetStub struct {
	// contains filtered or unexported fields
}

func NewClientSetStub

func NewClientSetStub(nets []danmtypes.DanmNet, eps []danmtypes.DanmEp, ips []ReservedIpsList) *ClientSetStub

func (*ClientSetStub) Danm

func (*ClientSetStub) DanmV1

func (c *ClientSetStub) DanmV1() danmv1.DanmV1Interface

func (*ClientSetStub) Discovery

type ClientStub

type ClientStub struct {
	// contains filtered or unexported fields
}

func (*ClientStub) DanmEps

func (client *ClientStub) DanmEps(namespace string) client.DanmEpInterface

func (*ClientStub) DanmNets

func (client *ClientStub) DanmNets(namespace string) client.DanmNetInterface

func (*ClientStub) RESTClient

func (c *ClientStub) RESTClient() rest.Interface

type EpClientStub

type EpClientStub struct {
	// contains filtered or unexported fields
}

func (EpClientStub) Create

func (epClient EpClientStub) Create(obj *danmtypes.DanmEp) (*danmtypes.DanmEp, error)

func (EpClientStub) Delete

func (epClient EpClientStub) Delete(name string, options *meta_v1.DeleteOptions) error

func (EpClientStub) DeleteCollection

func (epClient EpClientStub) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error

func (EpClientStub) Get

func (epClient EpClientStub) Get(epName string, options meta_v1.GetOptions) (*danmtypes.DanmEp, error)

func (EpClientStub) List

func (epClient EpClientStub) List(opts meta_v1.ListOptions) (*danmtypes.DanmEpList, error)

func (EpClientStub) Patch

func (epClient EpClientStub) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *danmtypes.DanmEp, err error)

func (EpClientStub) Update

func (epClient EpClientStub) Update(obj *danmtypes.DanmEp) (*danmtypes.DanmEp, error)

func (EpClientStub) Watch

func (epClient EpClientStub) Watch(opts meta_v1.ListOptions) (watch.Interface, error)

type NetClientStub

type NetClientStub struct {
	// contains filtered or unexported fields
}

func (*NetClientStub) AddReservedIpsList

func (netClient *NetClientStub) AddReservedIpsList(reservedIps []ReservedIpsList)

func (*NetClientStub) Create

func (netClient *NetClientStub) Create(obj *danmtypes.DanmNet) (*danmtypes.DanmNet, error)

func (*NetClientStub) Delete

func (netClient *NetClientStub) Delete(name string, options *meta_v1.DeleteOptions) error

func (*NetClientStub) DeleteCollection

func (netClient *NetClientStub) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error

func (*NetClientStub) Get

func (netClient *NetClientStub) Get(netName string, options meta_v1.GetOptions) (*danmtypes.DanmNet, error)

func (*NetClientStub) List

func (netClient *NetClientStub) List(opts meta_v1.ListOptions) (*danmtypes.DanmNetList, error)

func (*NetClientStub) Patch

func (netClient *NetClientStub) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *danmtypes.DanmNet, err error)

func (*NetClientStub) Update

func (netClient *NetClientStub) Update(obj *danmtypes.DanmNet) (*danmtypes.DanmNet, error)

func (*NetClientStub) Watch

func (netClient *NetClientStub) Watch(opts meta_v1.ListOptions) (watch.Interface, error)

type Reservation

type Reservation struct {
	Ip  string
	Set bool
}

type ReservedIpsList

type ReservedIpsList struct {
	NetworkId    string
	Reservations []Reservation
}

Jump to

Keyboard shortcuts

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