v1beta1

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterNetworkExpansion

type ClusterNetworkExpansion interface{}

type ClusterNetworkInterface

type ClusterNetworkInterface interface {
	Create(ctx context.Context, clusterNetwork *v1beta1.ClusterNetwork, opts v1.CreateOptions) (*v1beta1.ClusterNetwork, error)
	Update(ctx context.Context, clusterNetwork *v1beta1.ClusterNetwork, opts v1.UpdateOptions) (*v1beta1.ClusterNetwork, error)
	UpdateStatus(ctx context.Context, clusterNetwork *v1beta1.ClusterNetwork, opts v1.UpdateOptions) (*v1beta1.ClusterNetwork, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.ClusterNetwork, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ClusterNetworkList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ClusterNetwork, err error)
	ClusterNetworkExpansion
}

ClusterNetworkInterface has methods to work with ClusterNetwork resources.

type ClusterNetworksGetter

type ClusterNetworksGetter interface {
	ClusterNetworks() ClusterNetworkInterface
}

ClusterNetworksGetter has a method to return a ClusterNetworkInterface. A group's client should implement this interface.

type LinkMonitorExpansion added in v0.3.0

type LinkMonitorExpansion interface{}

type LinkMonitorInterface added in v0.3.0

type LinkMonitorInterface interface {
	Create(ctx context.Context, linkMonitor *v1beta1.LinkMonitor, opts v1.CreateOptions) (*v1beta1.LinkMonitor, error)
	Update(ctx context.Context, linkMonitor *v1beta1.LinkMonitor, opts v1.UpdateOptions) (*v1beta1.LinkMonitor, error)
	UpdateStatus(ctx context.Context, linkMonitor *v1beta1.LinkMonitor, opts v1.UpdateOptions) (*v1beta1.LinkMonitor, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.LinkMonitor, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.LinkMonitorList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.LinkMonitor, err error)
	LinkMonitorExpansion
}

LinkMonitorInterface has methods to work with LinkMonitor resources.

type LinkMonitorsGetter added in v0.3.0

type LinkMonitorsGetter interface {
	LinkMonitors() LinkMonitorInterface
}

LinkMonitorsGetter has a method to return a LinkMonitorInterface. A group's client should implement this interface.

type NetworkV1beta1Client

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

NetworkV1beta1Client is used to interact with features provided by the network.harvesterhci.io group.

func New

New creates a new NetworkV1beta1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*NetworkV1beta1Client, error)

NewForConfig creates a new NetworkV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v0.3.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*NetworkV1beta1Client, error)

NewForConfigAndClient creates a new NetworkV1beta1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *NetworkV1beta1Client

NewForConfigOrDie creates a new NetworkV1beta1Client for the given config and panics if there is an error in the config.

func (*NetworkV1beta1Client) ClusterNetworks

func (c *NetworkV1beta1Client) ClusterNetworks() ClusterNetworkInterface

func (*NetworkV1beta1Client) LinkMonitors added in v0.3.0

func (c *NetworkV1beta1Client) LinkMonitors() LinkMonitorInterface

func (*NetworkV1beta1Client) RESTClient

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

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*NetworkV1beta1Client) VlanConfigs added in v0.3.0

func (c *NetworkV1beta1Client) VlanConfigs() VlanConfigInterface

func (*NetworkV1beta1Client) VlanStatuses added in v0.3.0

func (c *NetworkV1beta1Client) VlanStatuses() VlanStatusInterface

type VlanConfigExpansion added in v0.3.0

type VlanConfigExpansion interface{}

type VlanConfigInterface added in v0.3.0

type VlanConfigInterface interface {
	Create(ctx context.Context, vlanConfig *v1beta1.VlanConfig, opts v1.CreateOptions) (*v1beta1.VlanConfig, error)
	Update(ctx context.Context, vlanConfig *v1beta1.VlanConfig, opts v1.UpdateOptions) (*v1beta1.VlanConfig, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VlanConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VlanConfigList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VlanConfig, err error)
	VlanConfigExpansion
}

VlanConfigInterface has methods to work with VlanConfig resources.

type VlanConfigsGetter added in v0.3.0

type VlanConfigsGetter interface {
	VlanConfigs() VlanConfigInterface
}

VlanConfigsGetter has a method to return a VlanConfigInterface. A group's client should implement this interface.

type VlanStatusExpansion added in v0.3.0

type VlanStatusExpansion interface{}

type VlanStatusInterface added in v0.3.0

type VlanStatusInterface interface {
	Create(ctx context.Context, vlanStatus *v1beta1.VlanStatus, opts v1.CreateOptions) (*v1beta1.VlanStatus, error)
	Update(ctx context.Context, vlanStatus *v1beta1.VlanStatus, opts v1.UpdateOptions) (*v1beta1.VlanStatus, error)
	UpdateStatus(ctx context.Context, vlanStatus *v1beta1.VlanStatus, opts v1.UpdateOptions) (*v1beta1.VlanStatus, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VlanStatus, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VlanStatusList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VlanStatus, err error)
	VlanStatusExpansion
}

VlanStatusInterface has methods to work with VlanStatus resources.

type VlanStatusesGetter added in v0.3.0

type VlanStatusesGetter interface {
	VlanStatuses() VlanStatusInterface
}

VlanStatusesGetter has a method to return a VlanStatusInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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