Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type IPAMBlockExpansion
- type IPAMBlockInterface
- type IPAMBlocksGetter
- type IPAMHandleExpansion
- type IPAMHandleInterface
- type IPAMHandlesGetter
- type IPPoolExpansion
- type IPPoolInterface
- type IPPoolsGetter
- type NamespaceNetworkPoliciesGetter
- type NamespaceNetworkPolicyExpansion
- type NamespaceNetworkPolicyInterface
- type NetworkV1alpha1Client
- func (c *NetworkV1alpha1Client) IPAMBlocks() IPAMBlockInterface
- func (c *NetworkV1alpha1Client) IPAMHandles() IPAMHandleInterface
- func (c *NetworkV1alpha1Client) IPPools() IPPoolInterface
- func (c *NetworkV1alpha1Client) NamespaceNetworkPolicies(namespace string) NamespaceNetworkPolicyInterface
- func (c *NetworkV1alpha1Client) RESTClient() rest.Interface
- type NetworkV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAMBlockExpansion ¶
type IPAMBlockExpansion interface{}
type IPAMBlockInterface ¶
type IPAMBlockInterface interface { Create(*v1alpha1.IPAMBlock) (*v1alpha1.IPAMBlock, error) Update(*v1alpha1.IPAMBlock) (*v1alpha1.IPAMBlock, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.IPAMBlock, error) List(opts v1.ListOptions) (*v1alpha1.IPAMBlockList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IPAMBlock, err error) IPAMBlockExpansion }
IPAMBlockInterface has methods to work with IPAMBlock resources.
type IPAMBlocksGetter ¶
type IPAMBlocksGetter interface {
IPAMBlocks() IPAMBlockInterface
}
IPAMBlocksGetter has a method to return a IPAMBlockInterface. A group's client should implement this interface.
type IPAMHandleExpansion ¶
type IPAMHandleExpansion interface{}
type IPAMHandleInterface ¶
type IPAMHandleInterface interface { Create(*v1alpha1.IPAMHandle) (*v1alpha1.IPAMHandle, error) Update(*v1alpha1.IPAMHandle) (*v1alpha1.IPAMHandle, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.IPAMHandle, error) List(opts v1.ListOptions) (*v1alpha1.IPAMHandleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IPAMHandle, err error) IPAMHandleExpansion }
IPAMHandleInterface has methods to work with IPAMHandle resources.
type IPAMHandlesGetter ¶
type IPAMHandlesGetter interface {
IPAMHandles() IPAMHandleInterface
}
IPAMHandlesGetter has a method to return a IPAMHandleInterface. A group's client should implement this interface.
type IPPoolExpansion ¶
type IPPoolExpansion interface{}
type IPPoolInterface ¶
type IPPoolInterface interface { Create(*v1alpha1.IPPool) (*v1alpha1.IPPool, error) Update(*v1alpha1.IPPool) (*v1alpha1.IPPool, error) UpdateStatus(*v1alpha1.IPPool) (*v1alpha1.IPPool, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.IPPool, error) List(opts v1.ListOptions) (*v1alpha1.IPPoolList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IPPool, err error) IPPoolExpansion }
IPPoolInterface has methods to work with IPPool resources.
type IPPoolsGetter ¶
type IPPoolsGetter interface {
IPPools() IPPoolInterface
}
IPPoolsGetter has a method to return a IPPoolInterface. A group's client should implement this interface.
type NamespaceNetworkPoliciesGetter ¶
type NamespaceNetworkPoliciesGetter interface {
NamespaceNetworkPolicies(namespace string) NamespaceNetworkPolicyInterface
}
NamespaceNetworkPoliciesGetter has a method to return a NamespaceNetworkPolicyInterface. A group's client should implement this interface.
type NamespaceNetworkPolicyExpansion ¶
type NamespaceNetworkPolicyExpansion interface{}
type NamespaceNetworkPolicyInterface ¶
type NamespaceNetworkPolicyInterface interface { Create(*v1alpha1.NamespaceNetworkPolicy) (*v1alpha1.NamespaceNetworkPolicy, error) Update(*v1alpha1.NamespaceNetworkPolicy) (*v1alpha1.NamespaceNetworkPolicy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.NamespaceNetworkPolicy, error) List(opts v1.ListOptions) (*v1alpha1.NamespaceNetworkPolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NamespaceNetworkPolicy, err error) NamespaceNetworkPolicyExpansion }
NamespaceNetworkPolicyInterface has methods to work with NamespaceNetworkPolicy resources.
type NetworkV1alpha1Client ¶
type NetworkV1alpha1Client struct {
// contains filtered or unexported fields
}
NetworkV1alpha1Client is used to interact with features provided by the network.kubesphere.io group.
func New ¶
func New(c rest.Interface) *NetworkV1alpha1Client
New creates a new NetworkV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*NetworkV1alpha1Client, error)
NewForConfig creates a new NetworkV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *NetworkV1alpha1Client
NewForConfigOrDie creates a new NetworkV1alpha1Client for the given config and panics if there is an error in the config.
func (*NetworkV1alpha1Client) IPAMBlocks ¶
func (c *NetworkV1alpha1Client) IPAMBlocks() IPAMBlockInterface
func (*NetworkV1alpha1Client) IPAMHandles ¶
func (c *NetworkV1alpha1Client) IPAMHandles() IPAMHandleInterface
func (*NetworkV1alpha1Client) IPPools ¶
func (c *NetworkV1alpha1Client) IPPools() IPPoolInterface
func (*NetworkV1alpha1Client) NamespaceNetworkPolicies ¶
func (c *NetworkV1alpha1Client) NamespaceNetworkPolicies(namespace string) NamespaceNetworkPolicyInterface
func (*NetworkV1alpha1Client) RESTClient ¶
func (c *NetworkV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type NetworkV1alpha1Interface ¶
type NetworkV1alpha1Interface interface { RESTClient() rest.Interface IPAMBlocksGetter IPAMHandlesGetter IPPoolsGetter NamespaceNetworkPoliciesGetter }