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 DevOpsProjectExpansion ¶
type DevOpsProjectExpansion interface{}
type DevOpsProjectInterface ¶
type DevOpsProjectInterface interface { Create(ctx context.Context, devOpsProject *v1alpha3.DevOpsProject, opts v1.CreateOptions) (*v1alpha3.DevOpsProject, error) Update(ctx context.Context, devOpsProject *v1alpha3.DevOpsProject, opts v1.UpdateOptions) (*v1alpha3.DevOpsProject, error) UpdateStatus(ctx context.Context, devOpsProject *v1alpha3.DevOpsProject, opts v1.UpdateOptions) (*v1alpha3.DevOpsProject, 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) (*v1alpha3.DevOpsProject, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha3.DevOpsProjectList, 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 *v1alpha3.DevOpsProject, err error) DevOpsProjectExpansion }
DevOpsProjectInterface has methods to work with DevOpsProject resources.
type DevOpsProjectsGetter ¶
type DevOpsProjectsGetter interface {
DevOpsProjects() DevOpsProjectInterface
}
DevOpsProjectsGetter has a method to return a DevOpsProjectInterface. A group's client should implement this interface.
type DevopsV1alpha3Client ¶
type DevopsV1alpha3Client struct {
// contains filtered or unexported fields
}
DevopsV1alpha3Client is used to interact with features provided by the devops.kubesphere.io group.
func New ¶
func New(c rest.Interface) *DevopsV1alpha3Client
New creates a new DevopsV1alpha3Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DevopsV1alpha3Client, error)
NewForConfig creates a new DevopsV1alpha3Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *DevopsV1alpha3Client
NewForConfigOrDie creates a new DevopsV1alpha3Client for the given config and panics if there is an error in the config.
func (*DevopsV1alpha3Client) DevOpsProjects ¶
func (c *DevopsV1alpha3Client) DevOpsProjects() DevOpsProjectInterface
func (*DevopsV1alpha3Client) Pipelines ¶
func (c *DevopsV1alpha3Client) Pipelines(namespace string) PipelineInterface
func (*DevopsV1alpha3Client) RESTClient ¶
func (c *DevopsV1alpha3Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type DevopsV1alpha3Interface ¶
type DevopsV1alpha3Interface interface { RESTClient() rest.Interface DevOpsProjectsGetter PipelinesGetter }
type PipelineExpansion ¶
type PipelineExpansion interface{}
type PipelineInterface ¶
type PipelineInterface interface { Create(ctx context.Context, pipeline *v1alpha3.Pipeline, opts v1.CreateOptions) (*v1alpha3.Pipeline, error) Update(ctx context.Context, pipeline *v1alpha3.Pipeline, opts v1.UpdateOptions) (*v1alpha3.Pipeline, error) UpdateStatus(ctx context.Context, pipeline *v1alpha3.Pipeline, opts v1.UpdateOptions) (*v1alpha3.Pipeline, 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) (*v1alpha3.Pipeline, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha3.PipelineList, 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 *v1alpha3.Pipeline, err error) PipelineExpansion }
PipelineInterface has methods to work with Pipeline resources.
type PipelinesGetter ¶
type PipelinesGetter interface {
Pipelines(namespace string) PipelineInterface
}
PipelinesGetter has a method to return a PipelineInterface. A group's client should implement this interface.