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 VpnV1alpha1Client ¶
type VpnV1alpha1Client struct {
// contains filtered or unexported fields
}
VpnV1alpha1Client is used to interact with features provided by the vpn.plural.sh group.
func New ¶
func New(c rest.Interface) *VpnV1alpha1Client
New creates a new VpnV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*VpnV1alpha1Client, error)
NewForConfig creates a new VpnV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new VpnV1alpha1Client 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) *VpnV1alpha1Client
NewForConfigOrDie creates a new VpnV1alpha1Client for the given config and panics if there is an error in the config.
func (*VpnV1alpha1Client) RESTClient ¶
func (c *VpnV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*VpnV1alpha1Client) WireguardPeers ¶
func (c *VpnV1alpha1Client) WireguardPeers(namespace string) WireguardPeerInterface
func (*VpnV1alpha1Client) WireguardServers ¶
func (c *VpnV1alpha1Client) WireguardServers(namespace string) WireguardServerInterface
type VpnV1alpha1Interface ¶
type VpnV1alpha1Interface interface { RESTClient() rest.Interface WireguardPeersGetter WireguardServersGetter }
type WireguardPeerExpansion ¶
type WireguardPeerExpansion interface{}
type WireguardPeerInterface ¶
type WireguardPeerInterface interface { Create(ctx context.Context, wireguardPeer *v1alpha1.WireguardPeer, opts v1.CreateOptions) (*v1alpha1.WireguardPeer, error) Update(ctx context.Context, wireguardPeer *v1alpha1.WireguardPeer, opts v1.UpdateOptions) (*v1alpha1.WireguardPeer, error) UpdateStatus(ctx context.Context, wireguardPeer *v1alpha1.WireguardPeer, opts v1.UpdateOptions) (*v1alpha1.WireguardPeer, 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) (*v1alpha1.WireguardPeer, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WireguardPeerList, 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 *v1alpha1.WireguardPeer, err error) WireguardPeerExpansion }
WireguardPeerInterface has methods to work with WireguardPeer resources.
type WireguardPeersGetter ¶
type WireguardPeersGetter interface {
WireguardPeers(namespace string) WireguardPeerInterface
}
WireguardPeersGetter has a method to return a WireguardPeerInterface. A group's client should implement this interface.
type WireguardServerExpansion ¶
type WireguardServerExpansion interface{}
type WireguardServerInterface ¶
type WireguardServerInterface interface { Create(ctx context.Context, wireguardServer *v1alpha1.WireguardServer, opts v1.CreateOptions) (*v1alpha1.WireguardServer, error) Update(ctx context.Context, wireguardServer *v1alpha1.WireguardServer, opts v1.UpdateOptions) (*v1alpha1.WireguardServer, error) UpdateStatus(ctx context.Context, wireguardServer *v1alpha1.WireguardServer, opts v1.UpdateOptions) (*v1alpha1.WireguardServer, 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) (*v1alpha1.WireguardServer, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WireguardServerList, 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 *v1alpha1.WireguardServer, err error) WireguardServerExpansion }
WireguardServerInterface has methods to work with WireguardServer resources.
type WireguardServersGetter ¶
type WireguardServersGetter interface {
WireguardServers(namespace string) WireguardServerInterface
}
WireguardServersGetter has a method to return a WireguardServerInterface. A group's client should implement this interface.