Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ConfigurationExpansion
- type ConfigurationInterface
- type ConfigurationsGetter
- type RevisionExpansion
- type RevisionInterface
- type RevisionsGetter
- type RouteExpansion
- type RouteInterface
- type RoutesGetter
- type ServiceExpansion
- type ServiceInterface
- type ServicesGetter
- type ServingV1alpha1Client
- func (c *ServingV1alpha1Client) Configurations(namespace string) ConfigurationInterface
- func (c *ServingV1alpha1Client) RESTClient() rest.Interface
- func (c *ServingV1alpha1Client) Revisions(namespace string) RevisionInterface
- func (c *ServingV1alpha1Client) Routes(namespace string) RouteInterface
- func (c *ServingV1alpha1Client) Services(namespace string) ServiceInterface
- type ServingV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationExpansion ¶
type ConfigurationExpansion interface{}
type ConfigurationInterface ¶
type ConfigurationInterface interface { Create(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.CreateOptions) (*v1alpha1.Configuration, error) Update(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.UpdateOptions) (*v1alpha1.Configuration, error) UpdateStatus(ctx context.Context, configuration *v1alpha1.Configuration, opts v1.UpdateOptions) (*v1alpha1.Configuration, 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.Configuration, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConfigurationList, 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.Configuration, err error) ConfigurationExpansion }
ConfigurationInterface has methods to work with Configuration resources.
type ConfigurationsGetter ¶
type ConfigurationsGetter interface {
Configurations(namespace string) ConfigurationInterface
}
ConfigurationsGetter has a method to return a ConfigurationInterface. A group's client should implement this interface.
type RevisionExpansion ¶
type RevisionExpansion interface{}
type RevisionInterface ¶
type RevisionInterface interface { Create(ctx context.Context, revision *v1alpha1.Revision, opts v1.CreateOptions) (*v1alpha1.Revision, error) Update(ctx context.Context, revision *v1alpha1.Revision, opts v1.UpdateOptions) (*v1alpha1.Revision, error) UpdateStatus(ctx context.Context, revision *v1alpha1.Revision, opts v1.UpdateOptions) (*v1alpha1.Revision, 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.Revision, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RevisionList, 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.Revision, err error) RevisionExpansion }
RevisionInterface has methods to work with Revision resources.
type RevisionsGetter ¶
type RevisionsGetter interface {
Revisions(namespace string) RevisionInterface
}
RevisionsGetter has a method to return a RevisionInterface. A group's client should implement this interface.
type RouteExpansion ¶
type RouteExpansion interface{}
type RouteInterface ¶
type RouteInterface interface { Create(ctx context.Context, route *v1alpha1.Route, opts v1.CreateOptions) (*v1alpha1.Route, error) Update(ctx context.Context, route *v1alpha1.Route, opts v1.UpdateOptions) (*v1alpha1.Route, error) UpdateStatus(ctx context.Context, route *v1alpha1.Route, opts v1.UpdateOptions) (*v1alpha1.Route, 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.Route, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RouteList, 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.Route, err error) RouteExpansion }
RouteInterface has methods to work with Route resources.
type RoutesGetter ¶
type RoutesGetter interface {
Routes(namespace string) RouteInterface
}
RoutesGetter has a method to return a RouteInterface. A group's client should implement this interface.
type ServiceExpansion ¶
type ServiceExpansion interface{}
type ServiceInterface ¶
type ServiceInterface interface { Create(ctx context.Context, service *v1alpha1.Service, opts v1.CreateOptions) (*v1alpha1.Service, error) Update(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (*v1alpha1.Service, error) UpdateStatus(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (*v1alpha1.Service, 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.Service, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ServiceList, 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.Service, err error) ServiceExpansion }
ServiceInterface has methods to work with Service resources.
type ServicesGetter ¶
type ServicesGetter interface {
Services(namespace string) ServiceInterface
}
ServicesGetter has a method to return a ServiceInterface. A group's client should implement this interface.
type ServingV1alpha1Client ¶
type ServingV1alpha1Client struct {
// contains filtered or unexported fields
}
ServingV1alpha1Client is used to interact with features provided by the serving.knative.dev group.
func New ¶
func New(c rest.Interface) *ServingV1alpha1Client
New creates a new ServingV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ServingV1alpha1Client, error)
NewForConfig creates a new ServingV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ServingV1alpha1Client
NewForConfigOrDie creates a new ServingV1alpha1Client for the given config and panics if there is an error in the config.
func (*ServingV1alpha1Client) Configurations ¶
func (c *ServingV1alpha1Client) Configurations(namespace string) ConfigurationInterface
func (*ServingV1alpha1Client) RESTClient ¶
func (c *ServingV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ServingV1alpha1Client) Revisions ¶
func (c *ServingV1alpha1Client) Revisions(namespace string) RevisionInterface
func (*ServingV1alpha1Client) Routes ¶
func (c *ServingV1alpha1Client) Routes(namespace string) RouteInterface
func (*ServingV1alpha1Client) Services ¶
func (c *ServingV1alpha1Client) Services(namespace string) ServiceInterface
type ServingV1alpha1Interface ¶
type ServingV1alpha1Interface interface { RESTClient() rest.Interface ConfigurationsGetter RevisionsGetter RoutesGetter ServicesGetter }