v1alpha1

package
Version: v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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 CycloneV1alpha1Client

type CycloneV1alpha1Client struct {
	// contains filtered or unexported fields
}

CycloneV1alpha1Client is used to interact with features provided by the cyclone.dev group.

func New

New creates a new CycloneV1alpha1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*CycloneV1alpha1Client, error)

NewForConfig creates a new CycloneV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CycloneV1alpha1Client

NewForConfigOrDie creates a new CycloneV1alpha1Client for the given config and panics if there is an error in the config.

func (*CycloneV1alpha1Client) ExecutionClusters added in v0.9.6

func (c *CycloneV1alpha1Client) ExecutionClusters() ExecutionClusterInterface

func (*CycloneV1alpha1Client) Projects added in v0.9.3

func (c *CycloneV1alpha1Client) Projects(namespace string) ProjectInterface

func (*CycloneV1alpha1Client) RESTClient

func (c *CycloneV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*CycloneV1alpha1Client) Resources

func (c *CycloneV1alpha1Client) Resources(namespace string) ResourceInterface

func (*CycloneV1alpha1Client) Stages

func (c *CycloneV1alpha1Client) Stages(namespace string) StageInterface

func (*CycloneV1alpha1Client) WorkflowRuns

func (c *CycloneV1alpha1Client) WorkflowRuns(namespace string) WorkflowRunInterface

func (*CycloneV1alpha1Client) WorkflowTriggers

func (c *CycloneV1alpha1Client) WorkflowTriggers(namespace string) WorkflowTriggerInterface

func (*CycloneV1alpha1Client) Workflows

func (c *CycloneV1alpha1Client) Workflows(namespace string) WorkflowInterface

type ExecutionClusterExpansion added in v0.9.6

type ExecutionClusterExpansion interface{}

type ExecutionClusterInterface added in v0.9.6

type ExecutionClusterInterface interface {
	Create(ctx context.Context, executionCluster *v1alpha1.ExecutionCluster, opts v1.CreateOptions) (*v1alpha1.ExecutionCluster, error)
	Update(ctx context.Context, executionCluster *v1alpha1.ExecutionCluster, opts v1.UpdateOptions) (*v1alpha1.ExecutionCluster, 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.ExecutionCluster, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ExecutionClusterList, 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.ExecutionCluster, err error)
	ExecutionClusterExpansion
}

ExecutionClusterInterface has methods to work with ExecutionCluster resources.

type ExecutionClustersGetter added in v0.9.6

type ExecutionClustersGetter interface {
	ExecutionClusters() ExecutionClusterInterface
}

ExecutionClustersGetter has a method to return a ExecutionClusterInterface. A group's client should implement this interface.

type ProjectExpansion added in v0.9.3

type ProjectExpansion interface{}

type ProjectInterface added in v0.9.3

type ProjectInterface interface {
	Create(ctx context.Context, project *v1alpha1.Project, opts v1.CreateOptions) (*v1alpha1.Project, error)
	Update(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (*v1alpha1.Project, 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.Project, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ProjectList, 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.Project, err error)
	ProjectExpansion
}

ProjectInterface has methods to work with Project resources.

type ProjectsGetter added in v0.9.3

type ProjectsGetter interface {
	Projects(namespace string) ProjectInterface
}

ProjectsGetter has a method to return a ProjectInterface. A group's client should implement this interface.

type ResourceExpansion

type ResourceExpansion interface{}

type ResourceInterface

type ResourceInterface interface {
	Create(ctx context.Context, resource *v1alpha1.Resource, opts v1.CreateOptions) (*v1alpha1.Resource, error)
	Update(ctx context.Context, resource *v1alpha1.Resource, opts v1.UpdateOptions) (*v1alpha1.Resource, 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.Resource, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ResourceList, 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.Resource, err error)
	ResourceExpansion
}

ResourceInterface has methods to work with Resource resources.

type ResourcesGetter

type ResourcesGetter interface {
	Resources(namespace string) ResourceInterface
}

ResourcesGetter has a method to return a ResourceInterface. A group's client should implement this interface.

type StageExpansion

type StageExpansion interface{}

type StageInterface

type StageInterface interface {
	Create(ctx context.Context, stage *v1alpha1.Stage, opts v1.CreateOptions) (*v1alpha1.Stage, error)
	Update(ctx context.Context, stage *v1alpha1.Stage, opts v1.UpdateOptions) (*v1alpha1.Stage, 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.Stage, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.StageList, 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.Stage, err error)
	StageExpansion
}

StageInterface has methods to work with Stage resources.

type StagesGetter

type StagesGetter interface {
	Stages(namespace string) StageInterface
}

StagesGetter has a method to return a StageInterface. A group's client should implement this interface.

type WorkflowExpansion

type WorkflowExpansion interface{}

type WorkflowInterface

type WorkflowInterface interface {
	Create(ctx context.Context, workflow *v1alpha1.Workflow, opts v1.CreateOptions) (*v1alpha1.Workflow, error)
	Update(ctx context.Context, workflow *v1alpha1.Workflow, opts v1.UpdateOptions) (*v1alpha1.Workflow, 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.Workflow, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WorkflowList, 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.Workflow, err error)
	WorkflowExpansion
}

WorkflowInterface has methods to work with Workflow resources.

type WorkflowRunExpansion

type WorkflowRunExpansion interface{}

type WorkflowRunInterface

type WorkflowRunInterface interface {
	Create(ctx context.Context, workflowRun *v1alpha1.WorkflowRun, opts v1.CreateOptions) (*v1alpha1.WorkflowRun, error)
	Update(ctx context.Context, workflowRun *v1alpha1.WorkflowRun, opts v1.UpdateOptions) (*v1alpha1.WorkflowRun, error)
	UpdateStatus(ctx context.Context, workflowRun *v1alpha1.WorkflowRun, opts v1.UpdateOptions) (*v1alpha1.WorkflowRun, 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.WorkflowRun, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WorkflowRunList, 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.WorkflowRun, err error)
	WorkflowRunExpansion
}

WorkflowRunInterface has methods to work with WorkflowRun resources.

type WorkflowRunsGetter

type WorkflowRunsGetter interface {
	WorkflowRuns(namespace string) WorkflowRunInterface
}

WorkflowRunsGetter has a method to return a WorkflowRunInterface. A group's client should implement this interface.

type WorkflowTriggerExpansion

type WorkflowTriggerExpansion interface{}

type WorkflowTriggerInterface

type WorkflowTriggerInterface interface {
	Create(ctx context.Context, workflowTrigger *v1alpha1.WorkflowTrigger, opts v1.CreateOptions) (*v1alpha1.WorkflowTrigger, error)
	Update(ctx context.Context, workflowTrigger *v1alpha1.WorkflowTrigger, opts v1.UpdateOptions) (*v1alpha1.WorkflowTrigger, error)
	UpdateStatus(ctx context.Context, workflowTrigger *v1alpha1.WorkflowTrigger, opts v1.UpdateOptions) (*v1alpha1.WorkflowTrigger, 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.WorkflowTrigger, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WorkflowTriggerList, 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.WorkflowTrigger, err error)
	WorkflowTriggerExpansion
}

WorkflowTriggerInterface has methods to work with WorkflowTrigger resources.

type WorkflowTriggersGetter

type WorkflowTriggersGetter interface {
	WorkflowTriggers(namespace string) WorkflowTriggerInterface
}

WorkflowTriggersGetter has a method to return a WorkflowTriggerInterface. A group's client should implement this interface.

type WorkflowsGetter

type WorkflowsGetter interface {
	Workflows(namespace string) WorkflowInterface
}

WorkflowsGetter has a method to return a WorkflowInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL