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 ServingV1Client
- func (c *ServingV1Client) Configurations(namespace string) ConfigurationInterface
- func (c *ServingV1Client) RESTClient() rest.Interface
- func (c *ServingV1Client) Revisions(namespace string) RevisionInterface
- func (c *ServingV1Client) Routes(namespace string) RouteInterface
- func (c *ServingV1Client) Services(namespace string) ServiceInterface
- type ServingV1Interface
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 *v1.Configuration, opts metav1.CreateOptions) (*v1.Configuration, error) Update(ctx context.Context, configuration *v1.Configuration, opts metav1.UpdateOptions) (*v1.Configuration, error) UpdateStatus(ctx context.Context, configuration *v1.Configuration, opts metav1.UpdateOptions) (*v1.Configuration, 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.Configuration, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ConfigurationList, 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.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 *v1.Revision, opts metav1.CreateOptions) (*v1.Revision, error) Update(ctx context.Context, revision *v1.Revision, opts metav1.UpdateOptions) (*v1.Revision, error) UpdateStatus(ctx context.Context, revision *v1.Revision, opts metav1.UpdateOptions) (*v1.Revision, 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.Revision, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RevisionList, 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.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 *v1.Route, opts metav1.CreateOptions) (*v1.Route, error) Update(ctx context.Context, route *v1.Route, opts metav1.UpdateOptions) (*v1.Route, error) UpdateStatus(ctx context.Context, route *v1.Route, opts metav1.UpdateOptions) (*v1.Route, 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.Route, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.RouteList, 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.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 *v1.Service, opts metav1.CreateOptions) (*v1.Service, error) Update(ctx context.Context, service *v1.Service, opts metav1.UpdateOptions) (*v1.Service, error) UpdateStatus(ctx context.Context, service *v1.Service, opts metav1.UpdateOptions) (*v1.Service, 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.Service, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ServiceList, 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.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 ServingV1Client ¶
type ServingV1Client struct {
// contains filtered or unexported fields
}
ServingV1Client is used to interact with features provided by the serving.knative.dev group.
func New ¶
func New(c rest.Interface) *ServingV1Client
New creates a new ServingV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ServingV1Client, error)
NewForConfig creates a new ServingV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ServingV1Client
NewForConfigOrDie creates a new ServingV1Client for the given config and panics if there is an error in the config.
func (*ServingV1Client) Configurations ¶
func (c *ServingV1Client) Configurations(namespace string) ConfigurationInterface
func (*ServingV1Client) RESTClient ¶
func (c *ServingV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ServingV1Client) Revisions ¶
func (c *ServingV1Client) Revisions(namespace string) RevisionInterface
func (*ServingV1Client) Routes ¶
func (c *ServingV1Client) Routes(namespace string) RouteInterface
func (*ServingV1Client) Services ¶
func (c *ServingV1Client) Services(namespace string) ServiceInterface
type ServingV1Interface ¶
type ServingV1Interface interface { RESTClient() rest.Interface ConfigurationsGetter RevisionsGetter RoutesGetter ServicesGetter }