Documentation ¶
Index ¶
- type ClientSetStub
- type ClientStub
- type EpClientStub
- func (epClient EpClientStub) Create(obj *danmtypes.DanmEp) (*danmtypes.DanmEp, error)
- func (epClient EpClientStub) Delete(name string, options *meta_v1.DeleteOptions) error
- func (epClient EpClientStub) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (epClient EpClientStub) Get(epName string, options meta_v1.GetOptions) (*danmtypes.DanmEp, error)
- func (epClient EpClientStub) List(opts meta_v1.ListOptions) (*danmtypes.DanmEpList, error)
- func (epClient EpClientStub) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *danmtypes.DanmEp, err error)
- func (epClient EpClientStub) Update(obj *danmtypes.DanmEp) (*danmtypes.DanmEp, error)
- func (epClient EpClientStub) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type NetClientStub
- func (netClient *NetClientStub) AddReservedIpsList(reservedIps []ReservedIpsList)
- func (netClient *NetClientStub) Create(obj *danmtypes.DanmNet) (*danmtypes.DanmNet, error)
- func (netClient *NetClientStub) Delete(name string, options *meta_v1.DeleteOptions) error
- func (netClient *NetClientStub) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (netClient *NetClientStub) Get(netName string, options meta_v1.GetOptions) (*danmtypes.DanmNet, error)
- func (netClient *NetClientStub) List(opts meta_v1.ListOptions) (*danmtypes.DanmNetList, error)
- func (netClient *NetClientStub) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *danmtypes.DanmNet, err error)
- func (netClient *NetClientStub) Update(obj *danmtypes.DanmNet) (*danmtypes.DanmNet, error)
- func (netClient *NetClientStub) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type Reservation
- type ReservedIpsList
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 (c *ClientSetStub) Danm() danmv1.DanmV1Interface
func (*ClientSetStub) DanmV1 ¶
func (c *ClientSetStub) DanmV1() danmv1.DanmV1Interface
func (*ClientSetStub) Discovery ¶
func (c *ClientSetStub) Discovery() discovery.DiscoveryInterface
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) 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) 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) 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) Watch ¶
func (netClient *NetClientStub) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
type Reservation ¶
type ReservedIpsList ¶
type ReservedIpsList struct { NetworkId string Reservations []Reservation }
Click to show internal directories.
Click to hide internal directories.