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 MaistraV1alpha1Client ¶ added in v0.0.2
type MaistraV1alpha1Client struct {
// contains filtered or unexported fields
}
MaistraV1alpha1Client is used to interact with features provided by the maistra.io group.
func New ¶
func New(c rest.Interface) *MaistraV1alpha1Client
New creates a new MaistraV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MaistraV1alpha1Client, error)
NewForConfig creates a new MaistraV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MaistraV1alpha1Client
NewForConfigOrDie creates a new MaistraV1alpha1Client for the given config and panics if there is an error in the config.
func (*MaistraV1alpha1Client) RESTClient ¶ added in v0.0.2
func (c *MaistraV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*MaistraV1alpha1Client) Sessions ¶ added in v0.0.2
func (c *MaistraV1alpha1Client) Sessions(namespace string) SessionInterface
type MaistraV1alpha1Interface ¶ added in v0.0.2
type MaistraV1alpha1Interface interface { RESTClient() rest.Interface SessionsGetter }
type SessionExpansion ¶
type SessionExpansion interface{}
type SessionInterface ¶
type SessionInterface interface { Create(*v1alpha1.Session) (*v1alpha1.Session, error) Update(*v1alpha1.Session) (*v1alpha1.Session, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.Session, error) List(opts v1.ListOptions) (*v1alpha1.SessionList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Session, err error) SessionExpansion }
SessionInterface has methods to work with Session resources.
type SessionsGetter ¶
type SessionsGetter interface {
Sessions(namespace string) SessionInterface
}
SessionsGetter has a method to return a SessionInterface. A group's client should implement this interface.