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 MinioV1Client ¶
type MinioV1Client struct {
// contains filtered or unexported fields
}
MinioV1Client is used to interact with features provided by the minio.min.io group.
func New ¶
func New(c rest.Interface) *MinioV1Client
New creates a new MinioV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MinioV1Client, error)
NewForConfig creates a new MinioV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MinioV1Client
NewForConfigOrDie creates a new MinioV1Client for the given config and panics if there is an error in the config.
func (*MinioV1Client) RESTClient ¶
func (c *MinioV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*MinioV1Client) Tenants ¶
func (c *MinioV1Client) Tenants(namespace string) TenantInterface
type MinioV1Interface ¶
type MinioV1Interface interface { RESTClient() rest.Interface TenantsGetter }
type TenantExpansion ¶
type TenantExpansion interface{}
type TenantInterface ¶
type TenantInterface interface { Create(ctx context.Context, tenant *v1.Tenant, opts metav1.CreateOptions) (*v1.Tenant, error) Update(ctx context.Context, tenant *v1.Tenant, opts metav1.UpdateOptions) (*v1.Tenant, error) UpdateStatus(ctx context.Context, tenant *v1.Tenant, opts metav1.UpdateOptions) (*v1.Tenant, 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.Tenant, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.TenantList, 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.Tenant, err error) TenantExpansion }
TenantInterface has methods to work with Tenant resources.
type TenantsGetter ¶
type TenantsGetter interface {
Tenants(namespace string) TenantInterface
}
TenantsGetter has a method to return a TenantInterface. A group's client should implement this interface.