v1

package
v1.9.32 Latest Latest
Warning

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

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

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 HtbQosExpansion added in v1.9.0

type HtbQosExpansion interface{}

type HtbQosInterface added in v1.9.0

type HtbQosInterface interface {
	Create(ctx context.Context, htbQos *v1.HtbQos, opts metav1.CreateOptions) (*v1.HtbQos, error)
	Update(ctx context.Context, htbQos *v1.HtbQos, opts metav1.UpdateOptions) (*v1.HtbQos, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.HtbQos, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.HtbQosList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.HtbQos, err error)
	HtbQosExpansion
}

HtbQosInterface has methods to work with HtbQos resources.

type HtbQosesGetter added in v1.9.0

type HtbQosesGetter interface {
	HtbQoses() HtbQosInterface
}

HtbQosesGetter has a method to return a HtbQosInterface. A group's client should implement this interface.

type IPExpansion

type IPExpansion interface{}

type IPInterface

type IPInterface interface {
	Create(ctx context.Context, iP *v1.IP, opts metav1.CreateOptions) (*v1.IP, error)
	Update(ctx context.Context, iP *v1.IP, opts metav1.UpdateOptions) (*v1.IP, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.IP, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IPList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.IP, err error)
	IPExpansion
}

IPInterface has methods to work with IP resources.

type IPsGetter

type IPsGetter interface {
	IPs() IPInterface
}

IPsGetter has a method to return a IPInterface. A group's client should implement this interface.

type KubeovnV1Client

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

KubeovnV1Client is used to interact with features provided by the kubeovn.io group.

func New

New creates a new KubeovnV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v1.9.0

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

NewForConfigAndClient creates a new KubeovnV1Client 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) *KubeovnV1Client

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

func (*KubeovnV1Client) HtbQoses added in v1.9.0

func (c *KubeovnV1Client) HtbQoses() HtbQosInterface

func (*KubeovnV1Client) IPs

func (c *KubeovnV1Client) IPs() IPInterface

func (*KubeovnV1Client) ProviderNetworks added in v1.7.1

func (c *KubeovnV1Client) ProviderNetworks() ProviderNetworkInterface

func (*KubeovnV1Client) RESTClient

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

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

func (*KubeovnV1Client) SecurityGroups added in v1.8.0

func (c *KubeovnV1Client) SecurityGroups() SecurityGroupInterface

func (*KubeovnV1Client) Subnets

func (c *KubeovnV1Client) Subnets() SubnetInterface

func (*KubeovnV1Client) Vlans

func (c *KubeovnV1Client) Vlans() VlanInterface

func (*KubeovnV1Client) VpcNatGateways

func (c *KubeovnV1Client) VpcNatGateways() VpcNatGatewayInterface

func (*KubeovnV1Client) Vpcs

func (c *KubeovnV1Client) Vpcs() VpcInterface

type ProviderNetworkExpansion added in v1.7.1

type ProviderNetworkExpansion interface{}

type ProviderNetworkInterface added in v1.7.1

type ProviderNetworkInterface interface {
	Create(ctx context.Context, providerNetwork *v1.ProviderNetwork, opts metav1.CreateOptions) (*v1.ProviderNetwork, error)
	Update(ctx context.Context, providerNetwork *v1.ProviderNetwork, opts metav1.UpdateOptions) (*v1.ProviderNetwork, error)
	UpdateStatus(ctx context.Context, providerNetwork *v1.ProviderNetwork, opts metav1.UpdateOptions) (*v1.ProviderNetwork, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ProviderNetwork, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ProviderNetworkList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ProviderNetwork, err error)
	ProviderNetworkExpansion
}

ProviderNetworkInterface has methods to work with ProviderNetwork resources.

type ProviderNetworksGetter added in v1.7.1

type ProviderNetworksGetter interface {
	ProviderNetworks() ProviderNetworkInterface
}

ProviderNetworksGetter has a method to return a ProviderNetworkInterface. A group's client should implement this interface.

type SecurityGroupExpansion added in v1.8.0

type SecurityGroupExpansion interface{}

type SecurityGroupInterface added in v1.8.0

type SecurityGroupInterface interface {
	Create(ctx context.Context, securityGroup *v1.SecurityGroup, opts metav1.CreateOptions) (*v1.SecurityGroup, error)
	Update(ctx context.Context, securityGroup *v1.SecurityGroup, opts metav1.UpdateOptions) (*v1.SecurityGroup, error)
	UpdateStatus(ctx context.Context, securityGroup *v1.SecurityGroup, opts metav1.UpdateOptions) (*v1.SecurityGroup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.SecurityGroup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SecurityGroupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SecurityGroup, err error)
	SecurityGroupExpansion
}

SecurityGroupInterface has methods to work with SecurityGroup resources.

type SecurityGroupsGetter added in v1.8.0

type SecurityGroupsGetter interface {
	SecurityGroups() SecurityGroupInterface
}

SecurityGroupsGetter has a method to return a SecurityGroupInterface. A group's client should implement this interface.

type SubnetExpansion

type SubnetExpansion interface{}

type SubnetInterface

type SubnetInterface interface {
	Create(ctx context.Context, subnet *v1.Subnet, opts metav1.CreateOptions) (*v1.Subnet, error)
	Update(ctx context.Context, subnet *v1.Subnet, opts metav1.UpdateOptions) (*v1.Subnet, error)
	UpdateStatus(ctx context.Context, subnet *v1.Subnet, opts metav1.UpdateOptions) (*v1.Subnet, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Subnet, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SubnetList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Subnet, err error)
	SubnetExpansion
}

SubnetInterface has methods to work with Subnet resources.

type SubnetsGetter

type SubnetsGetter interface {
	Subnets() SubnetInterface
}

SubnetsGetter has a method to return a SubnetInterface. A group's client should implement this interface.

type VlanExpansion

type VlanExpansion interface{}

type VlanInterface

type VlanInterface interface {
	Create(ctx context.Context, vlan *v1.Vlan, opts metav1.CreateOptions) (*v1.Vlan, error)
	Update(ctx context.Context, vlan *v1.Vlan, opts metav1.UpdateOptions) (*v1.Vlan, error)
	UpdateStatus(ctx context.Context, vlan *v1.Vlan, opts metav1.UpdateOptions) (*v1.Vlan, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Vlan, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VlanList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Vlan, err error)
	VlanExpansion
}

VlanInterface has methods to work with Vlan resources.

type VlansGetter

type VlansGetter interface {
	Vlans() VlanInterface
}

VlansGetter has a method to return a VlanInterface. A group's client should implement this interface.

type VpcExpansion

type VpcExpansion interface{}

type VpcInterface

type VpcInterface interface {
	Create(ctx context.Context, vpc *v1.Vpc, opts metav1.CreateOptions) (*v1.Vpc, error)
	Update(ctx context.Context, vpc *v1.Vpc, opts metav1.UpdateOptions) (*v1.Vpc, error)
	UpdateStatus(ctx context.Context, vpc *v1.Vpc, opts metav1.UpdateOptions) (*v1.Vpc, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Vpc, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VpcList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Vpc, err error)
	VpcExpansion
}

VpcInterface has methods to work with Vpc resources.

type VpcNatGatewayExpansion

type VpcNatGatewayExpansion interface{}

type VpcNatGatewayInterface

type VpcNatGatewayInterface interface {
	Create(ctx context.Context, vpcNatGateway *v1.VpcNatGateway, opts metav1.CreateOptions) (*v1.VpcNatGateway, error)
	Update(ctx context.Context, vpcNatGateway *v1.VpcNatGateway, opts metav1.UpdateOptions) (*v1.VpcNatGateway, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VpcNatGateway, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VpcNatGatewayList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VpcNatGateway, err error)
	VpcNatGatewayExpansion
}

VpcNatGatewayInterface has methods to work with VpcNatGateway resources.

type VpcNatGatewaysGetter

type VpcNatGatewaysGetter interface {
	VpcNatGateways() VpcNatGatewayInterface
}

VpcNatGatewaysGetter has a method to return a VpcNatGatewayInterface. A group's client should implement this interface.

type VpcsGetter

type VpcsGetter interface {
	Vpcs() VpcInterface
}

VpcsGetter has a method to return a VpcInterface. 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