Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AppExpansion
- type AppInterface
- type AppsGetter
- type BuildExpansion
- type BuildInterface
- type BuildsGetter
- type ClusterServiceBrokerExpansion
- type ClusterServiceBrokerInterface
- type ClusterServiceBrokersGetter
- type KfV1alpha1Client
- func (c *KfV1alpha1Client) Apps(namespace string) AppInterface
- func (c *KfV1alpha1Client) Builds(namespace string) BuildInterface
- func (c *KfV1alpha1Client) ClusterServiceBrokers() ClusterServiceBrokerInterface
- func (c *KfV1alpha1Client) RESTClient() rest.Interface
- func (c *KfV1alpha1Client) Routes(namespace string) RouteInterface
- func (c *KfV1alpha1Client) Scales(namespace string) ScaleInterface
- func (c *KfV1alpha1Client) ServiceBrokers(namespace string) ServiceBrokerInterface
- func (c *KfV1alpha1Client) ServiceInstanceBindings(namespace string) ServiceInstanceBindingInterface
- func (c *KfV1alpha1Client) ServiceInstances(namespace string) ServiceInstanceInterface
- func (c *KfV1alpha1Client) SourcePackages(namespace string) SourcePackageInterface
- func (c *KfV1alpha1Client) Spaces() SpaceInterface
- func (c *KfV1alpha1Client) TaskSchedules(namespace string) TaskScheduleInterface
- func (c *KfV1alpha1Client) Tasks(namespace string) TaskInterface
- type KfV1alpha1Interface
- type RouteExpansion
- type RouteInterface
- type RoutesGetter
- type ScaleExpansion
- type ScaleInterface
- type ScalesGetter
- type ServiceBrokerExpansion
- type ServiceBrokerInterface
- type ServiceBrokersGetter
- type ServiceInstanceBindingExpansion
- type ServiceInstanceBindingInterface
- type ServiceInstanceBindingsGetter
- type ServiceInstanceExpansion
- type ServiceInstanceInterface
- type ServiceInstancesGetter
- type SourcePackageExpansion
- type SourcePackageInterface
- type SourcePackagesGetter
- type SpaceExpansion
- type SpaceInterface
- type SpacesGetter
- type TaskExpansion
- type TaskInterface
- type TaskScheduleExpansion
- type TaskScheduleInterface
- type TaskSchedulesGetter
- type TasksGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppExpansion ¶
type AppExpansion interface{}
type AppInterface ¶
type AppInterface interface { Create(ctx context.Context, app *v1alpha1.App, opts v1.CreateOptions) (*v1alpha1.App, error) Update(ctx context.Context, app *v1alpha1.App, opts v1.UpdateOptions) (*v1alpha1.App, error) UpdateStatus(ctx context.Context, app *v1alpha1.App, opts v1.UpdateOptions) (*v1alpha1.App, 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.App, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AppList, 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.App, err error) AppExpansion }
AppInterface has methods to work with App resources.
type AppsGetter ¶
type AppsGetter interface {
Apps(namespace string) AppInterface
}
AppsGetter has a method to return a AppInterface. A group's client should implement this interface.
type BuildExpansion ¶
type BuildExpansion interface{}
type BuildInterface ¶
type BuildInterface interface { Create(ctx context.Context, build *v1alpha1.Build, opts v1.CreateOptions) (*v1alpha1.Build, error) Update(ctx context.Context, build *v1alpha1.Build, opts v1.UpdateOptions) (*v1alpha1.Build, error) UpdateStatus(ctx context.Context, build *v1alpha1.Build, opts v1.UpdateOptions) (*v1alpha1.Build, 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.Build, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BuildList, 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.Build, err error) BuildExpansion }
BuildInterface has methods to work with Build resources.
type BuildsGetter ¶
type BuildsGetter interface {
Builds(namespace string) BuildInterface
}
BuildsGetter has a method to return a BuildInterface. A group's client should implement this interface.
type ClusterServiceBrokerExpansion ¶
type ClusterServiceBrokerExpansion interface{}
type ClusterServiceBrokerInterface ¶
type ClusterServiceBrokerInterface interface { Create(ctx context.Context, clusterServiceBroker *v1alpha1.ClusterServiceBroker, opts v1.CreateOptions) (*v1alpha1.ClusterServiceBroker, error) Update(ctx context.Context, clusterServiceBroker *v1alpha1.ClusterServiceBroker, opts v1.UpdateOptions) (*v1alpha1.ClusterServiceBroker, error) UpdateStatus(ctx context.Context, clusterServiceBroker *v1alpha1.ClusterServiceBroker, opts v1.UpdateOptions) (*v1alpha1.ClusterServiceBroker, 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.ClusterServiceBroker, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterServiceBrokerList, 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.ClusterServiceBroker, err error) ClusterServiceBrokerExpansion }
ClusterServiceBrokerInterface has methods to work with ClusterServiceBroker resources.
type ClusterServiceBrokersGetter ¶
type ClusterServiceBrokersGetter interface {
ClusterServiceBrokers() ClusterServiceBrokerInterface
}
ClusterServiceBrokersGetter has a method to return a ClusterServiceBrokerInterface. A group's client should implement this interface.
type KfV1alpha1Client ¶
type KfV1alpha1Client struct {
// contains filtered or unexported fields
}
KfV1alpha1Client is used to interact with features provided by the kf.dev group.
func New ¶
func New(c rest.Interface) *KfV1alpha1Client
New creates a new KfV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KfV1alpha1Client, error)
NewForConfig creates a new KfV1alpha1Client 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 KfV1alpha1Client 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) *KfV1alpha1Client
NewForConfigOrDie creates a new KfV1alpha1Client for the given config and panics if there is an error in the config.
func (*KfV1alpha1Client) Apps ¶
func (c *KfV1alpha1Client) Apps(namespace string) AppInterface
func (*KfV1alpha1Client) Builds ¶
func (c *KfV1alpha1Client) Builds(namespace string) BuildInterface
func (*KfV1alpha1Client) ClusterServiceBrokers ¶
func (c *KfV1alpha1Client) ClusterServiceBrokers() ClusterServiceBrokerInterface
func (*KfV1alpha1Client) RESTClient ¶
func (c *KfV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*KfV1alpha1Client) Routes ¶
func (c *KfV1alpha1Client) Routes(namespace string) RouteInterface
func (*KfV1alpha1Client) Scales ¶
func (c *KfV1alpha1Client) Scales(namespace string) ScaleInterface
func (*KfV1alpha1Client) ServiceBrokers ¶
func (c *KfV1alpha1Client) ServiceBrokers(namespace string) ServiceBrokerInterface
func (*KfV1alpha1Client) ServiceInstanceBindings ¶
func (c *KfV1alpha1Client) ServiceInstanceBindings(namespace string) ServiceInstanceBindingInterface
func (*KfV1alpha1Client) ServiceInstances ¶
func (c *KfV1alpha1Client) ServiceInstances(namespace string) ServiceInstanceInterface
func (*KfV1alpha1Client) SourcePackages ¶
func (c *KfV1alpha1Client) SourcePackages(namespace string) SourcePackageInterface
func (*KfV1alpha1Client) Spaces ¶
func (c *KfV1alpha1Client) Spaces() SpaceInterface
func (*KfV1alpha1Client) TaskSchedules ¶
func (c *KfV1alpha1Client) TaskSchedules(namespace string) TaskScheduleInterface
func (*KfV1alpha1Client) Tasks ¶
func (c *KfV1alpha1Client) Tasks(namespace string) TaskInterface
type KfV1alpha1Interface ¶
type KfV1alpha1Interface interface { RESTClient() rest.Interface AppsGetter BuildsGetter ClusterServiceBrokersGetter RoutesGetter ScalesGetter ServiceBrokersGetter ServiceInstancesGetter ServiceInstanceBindingsGetter SourcePackagesGetter SpacesGetter TasksGetter TaskSchedulesGetter }
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 ScaleExpansion ¶
type ScaleExpansion interface{}
type ScaleInterface ¶
type ScaleInterface interface { Create(ctx context.Context, scale *v1alpha1.Scale, opts v1.CreateOptions) (*v1alpha1.Scale, error) Update(ctx context.Context, scale *v1alpha1.Scale, opts v1.UpdateOptions) (*v1alpha1.Scale, 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.Scale, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ScaleList, 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.Scale, err error) ScaleExpansion }
ScaleInterface has methods to work with Scale resources.
type ScalesGetter ¶
type ScalesGetter interface {
Scales(namespace string) ScaleInterface
}
ScalesGetter has a method to return a ScaleInterface. A group's client should implement this interface.
type ServiceBrokerExpansion ¶
type ServiceBrokerExpansion interface{}
type ServiceBrokerInterface ¶
type ServiceBrokerInterface interface { Create(ctx context.Context, serviceBroker *v1alpha1.ServiceBroker, opts v1.CreateOptions) (*v1alpha1.ServiceBroker, error) Update(ctx context.Context, serviceBroker *v1alpha1.ServiceBroker, opts v1.UpdateOptions) (*v1alpha1.ServiceBroker, error) UpdateStatus(ctx context.Context, serviceBroker *v1alpha1.ServiceBroker, opts v1.UpdateOptions) (*v1alpha1.ServiceBroker, 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.ServiceBroker, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ServiceBrokerList, 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.ServiceBroker, err error) ServiceBrokerExpansion }
ServiceBrokerInterface has methods to work with ServiceBroker resources.
type ServiceBrokersGetter ¶
type ServiceBrokersGetter interface {
ServiceBrokers(namespace string) ServiceBrokerInterface
}
ServiceBrokersGetter has a method to return a ServiceBrokerInterface. A group's client should implement this interface.
type ServiceInstanceBindingExpansion ¶
type ServiceInstanceBindingExpansion interface{}
type ServiceInstanceBindingInterface ¶
type ServiceInstanceBindingInterface interface { Create(ctx context.Context, serviceInstanceBinding *v1alpha1.ServiceInstanceBinding, opts v1.CreateOptions) (*v1alpha1.ServiceInstanceBinding, error) Update(ctx context.Context, serviceInstanceBinding *v1alpha1.ServiceInstanceBinding, opts v1.UpdateOptions) (*v1alpha1.ServiceInstanceBinding, error) UpdateStatus(ctx context.Context, serviceInstanceBinding *v1alpha1.ServiceInstanceBinding, opts v1.UpdateOptions) (*v1alpha1.ServiceInstanceBinding, 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.ServiceInstanceBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ServiceInstanceBindingList, 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.ServiceInstanceBinding, err error) ServiceInstanceBindingExpansion }
ServiceInstanceBindingInterface has methods to work with ServiceInstanceBinding resources.
type ServiceInstanceBindingsGetter ¶
type ServiceInstanceBindingsGetter interface {
ServiceInstanceBindings(namespace string) ServiceInstanceBindingInterface
}
ServiceInstanceBindingsGetter has a method to return a ServiceInstanceBindingInterface. A group's client should implement this interface.
type ServiceInstanceExpansion ¶
type ServiceInstanceExpansion interface{}
type ServiceInstanceInterface ¶
type ServiceInstanceInterface interface { Create(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, opts v1.CreateOptions) (*v1alpha1.ServiceInstance, error) Update(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, opts v1.UpdateOptions) (*v1alpha1.ServiceInstance, error) UpdateStatus(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, opts v1.UpdateOptions) (*v1alpha1.ServiceInstance, 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.ServiceInstance, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ServiceInstanceList, 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.ServiceInstance, err error) ServiceInstanceExpansion }
ServiceInstanceInterface has methods to work with ServiceInstance resources.
type ServiceInstancesGetter ¶
type ServiceInstancesGetter interface {
ServiceInstances(namespace string) ServiceInstanceInterface
}
ServiceInstancesGetter has a method to return a ServiceInstanceInterface. A group's client should implement this interface.
type SourcePackageExpansion ¶
type SourcePackageExpansion interface{}
type SourcePackageInterface ¶
type SourcePackageInterface interface { Create(ctx context.Context, sourcePackage *v1alpha1.SourcePackage, opts v1.CreateOptions) (*v1alpha1.SourcePackage, error) Update(ctx context.Context, sourcePackage *v1alpha1.SourcePackage, opts v1.UpdateOptions) (*v1alpha1.SourcePackage, error) UpdateStatus(ctx context.Context, sourcePackage *v1alpha1.SourcePackage, opts v1.UpdateOptions) (*v1alpha1.SourcePackage, 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.SourcePackage, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SourcePackageList, 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.SourcePackage, err error) SourcePackageExpansion }
SourcePackageInterface has methods to work with SourcePackage resources.
type SourcePackagesGetter ¶
type SourcePackagesGetter interface {
SourcePackages(namespace string) SourcePackageInterface
}
SourcePackagesGetter has a method to return a SourcePackageInterface. A group's client should implement this interface.
type SpaceExpansion ¶
type SpaceExpansion interface{}
type SpaceInterface ¶
type SpaceInterface interface { Create(ctx context.Context, space *v1alpha1.Space, opts v1.CreateOptions) (*v1alpha1.Space, error) Update(ctx context.Context, space *v1alpha1.Space, opts v1.UpdateOptions) (*v1alpha1.Space, error) UpdateStatus(ctx context.Context, space *v1alpha1.Space, opts v1.UpdateOptions) (*v1alpha1.Space, 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.Space, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SpaceList, 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.Space, err error) SpaceExpansion }
SpaceInterface has methods to work with Space resources.
type SpacesGetter ¶
type SpacesGetter interface {
Spaces() SpaceInterface
}
SpacesGetter has a method to return a SpaceInterface. A group's client should implement this interface.
type TaskExpansion ¶
type TaskExpansion interface{}
type TaskInterface ¶
type TaskInterface interface { Create(ctx context.Context, task *v1alpha1.Task, opts v1.CreateOptions) (*v1alpha1.Task, error) Update(ctx context.Context, task *v1alpha1.Task, opts v1.UpdateOptions) (*v1alpha1.Task, error) UpdateStatus(ctx context.Context, task *v1alpha1.Task, opts v1.UpdateOptions) (*v1alpha1.Task, 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.Task, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TaskList, 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.Task, err error) TaskExpansion }
TaskInterface has methods to work with Task resources.
type TaskScheduleExpansion ¶
type TaskScheduleExpansion interface{}
type TaskScheduleInterface ¶
type TaskScheduleInterface interface { Create(ctx context.Context, taskSchedule *v1alpha1.TaskSchedule, opts v1.CreateOptions) (*v1alpha1.TaskSchedule, error) Update(ctx context.Context, taskSchedule *v1alpha1.TaskSchedule, opts v1.UpdateOptions) (*v1alpha1.TaskSchedule, error) UpdateStatus(ctx context.Context, taskSchedule *v1alpha1.TaskSchedule, opts v1.UpdateOptions) (*v1alpha1.TaskSchedule, 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.TaskSchedule, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TaskScheduleList, 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.TaskSchedule, err error) TaskScheduleExpansion }
TaskScheduleInterface has methods to work with TaskSchedule resources.
type TaskSchedulesGetter ¶
type TaskSchedulesGetter interface {
TaskSchedules(namespace string) TaskScheduleInterface
}
TaskSchedulesGetter has a method to return a TaskScheduleInterface. A group's client should implement this interface.
type TasksGetter ¶
type TasksGetter interface {
Tasks(namespace string) TaskInterface
}
TasksGetter has a method to return a TaskInterface. A group's client should implement this interface.