v1

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 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 IptablesDnatRuleExpansion added in v1.10.0

type IptablesDnatRuleExpansion interface{}

type IptablesDnatRuleInterface added in v1.10.0

type IptablesDnatRuleInterface interface {
	Create(ctx context.Context, iptablesDnatRule *v1.IptablesDnatRule, opts metav1.CreateOptions) (*v1.IptablesDnatRule, error)
	Update(ctx context.Context, iptablesDnatRule *v1.IptablesDnatRule, opts metav1.UpdateOptions) (*v1.IptablesDnatRule, error)
	UpdateStatus(ctx context.Context, iptablesDnatRule *v1.IptablesDnatRule, opts metav1.UpdateOptions) (*v1.IptablesDnatRule, 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.IptablesDnatRule, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IptablesDnatRuleList, 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.IptablesDnatRule, err error)
	IptablesDnatRuleExpansion
}

IptablesDnatRuleInterface has methods to work with IptablesDnatRule resources.

type IptablesDnatRulesGetter added in v1.10.0

type IptablesDnatRulesGetter interface {
	IptablesDnatRules() IptablesDnatRuleInterface
}

IptablesDnatRulesGetter has a method to return a IptablesDnatRuleInterface. A group's client should implement this interface.

type IptablesEIPExpansion added in v1.10.0

type IptablesEIPExpansion interface{}

type IptablesEIPInterface added in v1.10.0

type IptablesEIPInterface interface {
	Create(ctx context.Context, iptablesEIP *v1.IptablesEIP, opts metav1.CreateOptions) (*v1.IptablesEIP, error)
	Update(ctx context.Context, iptablesEIP *v1.IptablesEIP, opts metav1.UpdateOptions) (*v1.IptablesEIP, error)
	UpdateStatus(ctx context.Context, iptablesEIP *v1.IptablesEIP, opts metav1.UpdateOptions) (*v1.IptablesEIP, 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.IptablesEIP, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IptablesEIPList, 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.IptablesEIP, err error)
	IptablesEIPExpansion
}

IptablesEIPInterface has methods to work with IptablesEIP resources.

type IptablesEIPsGetter added in v1.10.0

type IptablesEIPsGetter interface {
	IptablesEIPs() IptablesEIPInterface
}

IptablesEIPsGetter has a method to return a IptablesEIPInterface. A group's client should implement this interface.

type IptablesFIPRuleExpansion added in v1.10.0

type IptablesFIPRuleExpansion interface{}

type IptablesFIPRuleInterface added in v1.10.0

type IptablesFIPRuleInterface interface {
	Create(ctx context.Context, iptablesFIPRule *v1.IptablesFIPRule, opts metav1.CreateOptions) (*v1.IptablesFIPRule, error)
	Update(ctx context.Context, iptablesFIPRule *v1.IptablesFIPRule, opts metav1.UpdateOptions) (*v1.IptablesFIPRule, error)
	UpdateStatus(ctx context.Context, iptablesFIPRule *v1.IptablesFIPRule, opts metav1.UpdateOptions) (*v1.IptablesFIPRule, 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.IptablesFIPRule, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IptablesFIPRuleList, 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.IptablesFIPRule, err error)
	IptablesFIPRuleExpansion
}

IptablesFIPRuleInterface has methods to work with IptablesFIPRule resources.

type IptablesFIPRulesGetter added in v1.10.0

type IptablesFIPRulesGetter interface {
	IptablesFIPRules() IptablesFIPRuleInterface
}

IptablesFIPRulesGetter has a method to return a IptablesFIPRuleInterface. A group's client should implement this interface.

type IptablesSnatRuleExpansion added in v1.10.0

type IptablesSnatRuleExpansion interface{}

type IptablesSnatRuleInterface added in v1.10.0

type IptablesSnatRuleInterface interface {
	Create(ctx context.Context, iptablesSnatRule *v1.IptablesSnatRule, opts metav1.CreateOptions) (*v1.IptablesSnatRule, error)
	Update(ctx context.Context, iptablesSnatRule *v1.IptablesSnatRule, opts metav1.UpdateOptions) (*v1.IptablesSnatRule, error)
	UpdateStatus(ctx context.Context, iptablesSnatRule *v1.IptablesSnatRule, opts metav1.UpdateOptions) (*v1.IptablesSnatRule, 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.IptablesSnatRule, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IptablesSnatRuleList, 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.IptablesSnatRule, err error)
	IptablesSnatRuleExpansion
}

IptablesSnatRuleInterface has methods to work with IptablesSnatRule resources.

type IptablesSnatRulesGetter added in v1.10.0

type IptablesSnatRulesGetter interface {
	IptablesSnatRules() IptablesSnatRuleInterface
}

IptablesSnatRulesGetter has a method to return a IptablesSnatRuleInterface. 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) IptablesDnatRules added in v1.10.0

func (c *KubeovnV1Client) IptablesDnatRules() IptablesDnatRuleInterface

func (*KubeovnV1Client) IptablesEIPs added in v1.10.0

func (c *KubeovnV1Client) IptablesEIPs() IptablesEIPInterface

func (*KubeovnV1Client) IptablesFIPRules added in v1.10.0

func (c *KubeovnV1Client) IptablesFIPRules() IptablesFIPRuleInterface

func (*KubeovnV1Client) IptablesSnatRules added in v1.10.0

func (c *KubeovnV1Client) IptablesSnatRules() IptablesSnatRuleInterface

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) Vips added in v1.10.0

func (c *KubeovnV1Client) Vips() VipInterface

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 VipExpansion added in v1.10.0

type VipExpansion interface{}

type VipInterface added in v1.10.0

type VipInterface interface {
	Create(ctx context.Context, vip *v1.Vip, opts metav1.CreateOptions) (*v1.Vip, error)
	Update(ctx context.Context, vip *v1.Vip, opts metav1.UpdateOptions) (*v1.Vip, error)
	UpdateStatus(ctx context.Context, vip *v1.Vip, opts metav1.UpdateOptions) (*v1.Vip, 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.Vip, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VipList, 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.Vip, err error)
	VipExpansion
}

VipInterface has methods to work with Vip resources.

type VipsGetter added in v1.10.0

type VipsGetter interface {
	Vips() VipInterface
}

VipsGetter has a method to return a VipInterface. 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