v1

package
v0.0.0-...-1fec092 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

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 SIPCallExpansion

type SIPCallExpansion interface{}

type SIPCallInterface

type SIPCallInterface interface {
	Create(ctx context.Context, sIPCall *v1.SIPCall, opts metav1.CreateOptions) (*v1.SIPCall, error)
	Update(ctx context.Context, sIPCall *v1.SIPCall, opts metav1.UpdateOptions) (*v1.SIPCall, 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.SIPCall, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SIPCallList, 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.SIPCall, err error)
	SIPCallExpansion
}

SIPCallInterface has methods to work with SIPCall resources.

type SIPCallsGetter

type SIPCallsGetter interface {
	SIPCalls(namespace string) SIPCallInterface
}

SIPCallsGetter has a method to return a SIPCallInterface. A group's client should implement this interface.

type SIPMessageExpansion

type SIPMessageExpansion interface{}

type SIPMessageInterface

type SIPMessageInterface interface {
	Create(ctx context.Context, sIPMessage *v1.SIPMessage, opts metav1.CreateOptions) (*v1.SIPMessage, error)
	Update(ctx context.Context, sIPMessage *v1.SIPMessage, opts metav1.UpdateOptions) (*v1.SIPMessage, 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.SIPMessage, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SIPMessageList, 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.SIPMessage, err error)
	SIPMessageExpansion
}

SIPMessageInterface has methods to work with SIPMessage resources.

type SIPMessagesGetter

type SIPMessagesGetter interface {
	SIPMessages(namespace string) SIPMessageInterface
}

SIPMessagesGetter has a method to return a SIPMessageInterface. A group's client should implement this interface.

type SipV1Client

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

SipV1Client is used to interact with features provided by the sip group.

func New

func New(c rest.Interface) *SipV1Client

New creates a new SipV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient

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

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

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

func (*SipV1Client) RESTClient

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

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

func (*SipV1Client) SIPCalls

func (c *SipV1Client) SIPCalls(namespace string) SIPCallInterface

func (*SipV1Client) SIPMessages

func (c *SipV1Client) SIPMessages(namespace string) SIPMessageInterface

type SipV1Interface

type SipV1Interface interface {
	RESTClient() rest.Interface
	SIPCallsGetter
	SIPMessagesGetter
}

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