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 ArticleExpansion ¶
type ArticleExpansion interface{}
type ArticleInterface ¶
type ArticleInterface interface { Create(ctx context.Context, article *v1alpha1.Article, opts v1.CreateOptions) (*v1alpha1.Article, error) Update(ctx context.Context, article *v1alpha1.Article, opts v1.UpdateOptions) (*v1alpha1.Article, error) UpdateStatus(ctx context.Context, article *v1alpha1.Article, opts v1.UpdateOptions) (*v1alpha1.Article, 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.Article, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ArticleList, 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.Article, err error) ArticleExpansion }
ArticleInterface has methods to work with Article resources.
type ArticlesGetter ¶
type ArticlesGetter interface {
Articles(namespace string) ArticleInterface
}
ArticlesGetter has a method to return a ArticleInterface. A group's client should implement this interface.
type CoreV1alpha1Client ¶
type CoreV1alpha1Client struct {
// contains filtered or unexported fields
}
CoreV1alpha1Client is used to interact with features provided by the core.kuberiter.io group.
func New ¶
func New(c rest.Interface) *CoreV1alpha1Client
New creates a new CoreV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CoreV1alpha1Client, error)
NewForConfig creates a new CoreV1alpha1Client 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 CoreV1alpha1Client 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) *CoreV1alpha1Client
NewForConfigOrDie creates a new CoreV1alpha1Client for the given config and panics if there is an error in the config.
func (*CoreV1alpha1Client) Articles ¶
func (c *CoreV1alpha1Client) Articles(namespace string) ArticleInterface
func (*CoreV1alpha1Client) RESTClient ¶
func (c *CoreV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CoreV1alpha1Client) Tags ¶
func (c *CoreV1alpha1Client) Tags(namespace string) TagInterface
func (*CoreV1alpha1Client) Users ¶
func (c *CoreV1alpha1Client) Users(namespace string) UserInterface
type CoreV1alpha1Interface ¶
type CoreV1alpha1Interface interface { RESTClient() rest.Interface ArticlesGetter TagsGetter UsersGetter }
type TagExpansion ¶
type TagExpansion interface{}
type TagInterface ¶
type TagInterface interface { Create(ctx context.Context, tag *v1alpha1.Tag, opts v1.CreateOptions) (*v1alpha1.Tag, error) Update(ctx context.Context, tag *v1alpha1.Tag, opts v1.UpdateOptions) (*v1alpha1.Tag, 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.Tag, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TagList, 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.Tag, err error) TagExpansion }
TagInterface has methods to work with Tag resources.
type TagsGetter ¶
type TagsGetter interface {
Tags(namespace string) TagInterface
}
TagsGetter has a method to return a TagInterface. A group's client should implement this interface.
type UserExpansion ¶
type UserExpansion interface{}
type UserInterface ¶
type UserInterface interface { Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (*v1alpha1.User, error) Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error) UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, 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.User, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UserList, 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.User, err error) UserExpansion }
UserInterface has methods to work with User resources.
type UsersGetter ¶
type UsersGetter interface {
Users(namespace string) UserInterface
}
UsersGetter has a method to return a UserInterface. A group's client should implement this interface.