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 ResourceExpansion ¶
type ResourceExpansion interface{}
type ResourceInterface ¶
type ResourceInterface interface { Create(ctx context.Context, resource *v1.Resource, opts metav1.CreateOptions) (*v1.Resource, error) Update(ctx context.Context, resource *v1.Resource, opts metav1.UpdateOptions) (*v1.Resource, 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.Resource, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ResourceList, 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.Resource, err error) ResourceExpansion }
ResourceInterface has methods to work with Resource resources.
type ResourcesGetter ¶
type ResourcesGetter interface {
Resources(namespace string) ResourceInterface
}
ResourcesGetter has a method to return a ResourceInterface. A group's client should implement this interface.
type ResourcesV1Client ¶
type ResourcesV1Client struct {
// contains filtered or unexported fields
}
ResourcesV1Client is used to interact with features provided by the resources.solo.io group.
func New ¶
func New(c rest.Interface, def crd.Crd) *ResourcesV1Client
New creates a new ResourcesV1Client for the given RESTClient.
func NewForConfig ¶
NewForConfig creates a new ResourcesV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config, def crd.Crd) *ResourcesV1Client
NewForConfigOrDie creates a new ResourcesV1Client for the given config and panics if there is an error in the config.
func (*ResourcesV1Client) RESTClient ¶
func (c *ResourcesV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ResourcesV1Client) Resources ¶
func (c *ResourcesV1Client) Resources(namespace string) ResourceInterface
type ResourcesV1Interface ¶
type ResourcesV1Interface interface { RESTClient() rest.Interface ResourcesGetter }