Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BuildExpansion
- type BuildInterface
- type BuildRunExpansion
- type BuildRunInterface
- type BuildRunsGetter
- type BuildStrategiesGetter
- type BuildStrategyExpansion
- type BuildStrategyInterface
- type BuildsGetter
- type ClusterBuildStrategiesGetter
- type ClusterBuildStrategyExpansion
- type ClusterBuildStrategyInterface
- type ShipwrightV1alpha1Client
- func (c *ShipwrightV1alpha1Client) BuildRuns(namespace string) BuildRunInterface
- func (c *ShipwrightV1alpha1Client) BuildStrategies(namespace string) BuildStrategyInterface
- func (c *ShipwrightV1alpha1Client) Builds(namespace string) BuildInterface
- func (c *ShipwrightV1alpha1Client) ClusterBuildStrategies() ClusterBuildStrategyInterface
- func (c *ShipwrightV1alpha1Client) RESTClient() rest.Interface
- type ShipwrightV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 BuildRunExpansion ¶
type BuildRunExpansion interface{}
type BuildRunInterface ¶
type BuildRunInterface interface { Create(ctx context.Context, buildRun *v1alpha1.BuildRun, opts v1.CreateOptions) (*v1alpha1.BuildRun, error) Update(ctx context.Context, buildRun *v1alpha1.BuildRun, opts v1.UpdateOptions) (*v1alpha1.BuildRun, error) UpdateStatus(ctx context.Context, buildRun *v1alpha1.BuildRun, opts v1.UpdateOptions) (*v1alpha1.BuildRun, 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.BuildRun, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BuildRunList, 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.BuildRun, err error) BuildRunExpansion }
BuildRunInterface has methods to work with BuildRun resources.
type BuildRunsGetter ¶
type BuildRunsGetter interface {
BuildRuns(namespace string) BuildRunInterface
}
BuildRunsGetter has a method to return a BuildRunInterface. A group's client should implement this interface.
type BuildStrategiesGetter ¶
type BuildStrategiesGetter interface {
BuildStrategies(namespace string) BuildStrategyInterface
}
BuildStrategiesGetter has a method to return a BuildStrategyInterface. A group's client should implement this interface.
type BuildStrategyExpansion ¶
type BuildStrategyExpansion interface{}
type BuildStrategyInterface ¶
type BuildStrategyInterface interface { Create(ctx context.Context, buildStrategy *v1alpha1.BuildStrategy, opts v1.CreateOptions) (*v1alpha1.BuildStrategy, error) Update(ctx context.Context, buildStrategy *v1alpha1.BuildStrategy, opts v1.UpdateOptions) (*v1alpha1.BuildStrategy, error) UpdateStatus(ctx context.Context, buildStrategy *v1alpha1.BuildStrategy, opts v1.UpdateOptions) (*v1alpha1.BuildStrategy, 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.BuildStrategy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BuildStrategyList, 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.BuildStrategy, err error) BuildStrategyExpansion }
BuildStrategyInterface has methods to work with BuildStrategy 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 ClusterBuildStrategiesGetter ¶
type ClusterBuildStrategiesGetter interface {
ClusterBuildStrategies() ClusterBuildStrategyInterface
}
ClusterBuildStrategiesGetter has a method to return a ClusterBuildStrategyInterface. A group's client should implement this interface.
type ClusterBuildStrategyExpansion ¶
type ClusterBuildStrategyExpansion interface{}
type ClusterBuildStrategyInterface ¶
type ClusterBuildStrategyInterface interface { Create(ctx context.Context, clusterBuildStrategy *v1alpha1.ClusterBuildStrategy, opts v1.CreateOptions) (*v1alpha1.ClusterBuildStrategy, error) Update(ctx context.Context, clusterBuildStrategy *v1alpha1.ClusterBuildStrategy, opts v1.UpdateOptions) (*v1alpha1.ClusterBuildStrategy, error) UpdateStatus(ctx context.Context, clusterBuildStrategy *v1alpha1.ClusterBuildStrategy, opts v1.UpdateOptions) (*v1alpha1.ClusterBuildStrategy, 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.ClusterBuildStrategy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterBuildStrategyList, 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.ClusterBuildStrategy, err error) ClusterBuildStrategyExpansion }
ClusterBuildStrategyInterface has methods to work with ClusterBuildStrategy resources.
type ShipwrightV1alpha1Client ¶
type ShipwrightV1alpha1Client struct {
// contains filtered or unexported fields
}
ShipwrightV1alpha1Client is used to interact with features provided by the shipwright.io group.
func New ¶
func New(c rest.Interface) *ShipwrightV1alpha1Client
New creates a new ShipwrightV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ShipwrightV1alpha1Client, error)
NewForConfig creates a new ShipwrightV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.9.0
NewForConfigAndClient creates a new ShipwrightV1alpha1Client 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) *ShipwrightV1alpha1Client
NewForConfigOrDie creates a new ShipwrightV1alpha1Client for the given config and panics if there is an error in the config.
func (*ShipwrightV1alpha1Client) BuildRuns ¶
func (c *ShipwrightV1alpha1Client) BuildRuns(namespace string) BuildRunInterface
func (*ShipwrightV1alpha1Client) BuildStrategies ¶
func (c *ShipwrightV1alpha1Client) BuildStrategies(namespace string) BuildStrategyInterface
func (*ShipwrightV1alpha1Client) Builds ¶
func (c *ShipwrightV1alpha1Client) Builds(namespace string) BuildInterface
func (*ShipwrightV1alpha1Client) ClusterBuildStrategies ¶
func (c *ShipwrightV1alpha1Client) ClusterBuildStrategies() ClusterBuildStrategyInterface
func (*ShipwrightV1alpha1Client) RESTClient ¶
func (c *ShipwrightV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ShipwrightV1alpha1Interface ¶
type ShipwrightV1alpha1Interface interface { RESTClient() rest.Interface BuildsGetter BuildRunsGetter BuildStrategiesGetter ClusterBuildStrategiesGetter }