Documentation
¶
Index ¶
- func NewClusterWorkflowTemplateServer(instanceID instanceid.Service, ...) clusterwftmplpkg.ClusterWorkflowTemplateServiceServer
- type ClientStore
- type Informer
- type NullClusterWorkflowTemplateStore
- type Server
- func (cwts *Server) CreateClusterWorkflowTemplate(ctx context.Context, ...) (*v1alpha1.ClusterWorkflowTemplate, error)
- func (cwts *Server) DeleteClusterWorkflowTemplate(ctx context.Context, ...) (*clusterwftmplpkg.ClusterWorkflowTemplateDeleteResponse, error)
- func (cwts *Server) GetClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateGetRequest) (*v1alpha1.ClusterWorkflowTemplate, error)
- func (cwts *Server) LintClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateLintRequest) (*v1alpha1.ClusterWorkflowTemplate, error)
- func (cwts *Server) ListClusterWorkflowTemplates(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateListRequest) (*v1alpha1.ClusterWorkflowTemplateList, error)
- func (cwts *Server) UpdateClusterWorkflowTemplate(ctx context.Context, ...) (*v1alpha1.ClusterWorkflowTemplate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterWorkflowTemplateServer ¶
func NewClusterWorkflowTemplateServer(instanceID instanceid.Service, cwftmplStore servertypes.ClusterWorkflowTemplateStore, wfDefaults *v1alpha1.Workflow) clusterwftmplpkg.ClusterWorkflowTemplateServiceServer
Types ¶
type ClientStore ¶ added in v4.1.0
type ClientStore struct {
}
ClientStore is a wrapper around informer.
func NewClientStore ¶ added in v4.1.0
func NewClientStore() *ClientStore
func (*ClientStore) Getter ¶ added in v4.1.0
func (wcs *ClientStore) Getter(ctx context.Context) templateresolution.ClusterWorkflowTemplateGetter
type Informer ¶
type Informer interface {
Run(ctx context.Context, stopCh <-chan struct{})
Getter(ctx context.Context) templateresolution.ClusterWorkflowTemplateGetter
}
type NullClusterWorkflowTemplateStore ¶
type NullClusterWorkflowTemplateStore struct{}
NullClusterWorkflowTemplateStore is a no-op implementation of ClusterWorkflowTemplateStore implements both informer and store interfaces
func NewNullClusterWorkflowTemplate ¶
func NewNullClusterWorkflowTemplate() *NullClusterWorkflowTemplateStore
func (NullClusterWorkflowTemplateStore) Run ¶
func (NullClusterWorkflowTemplateStore) Run(ctx context.Context, stopCh <-chan struct{})
type Server ¶ added in v4.1.0
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateClusterWorkflowTemplate ¶ added in v4.1.0
func (cwts *Server) CreateClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateCreateRequest) (*v1alpha1.ClusterWorkflowTemplate, error)
func (*Server) DeleteClusterWorkflowTemplate ¶ added in v4.1.0
func (cwts *Server) DeleteClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateDeleteRequest) (*clusterwftmplpkg.ClusterWorkflowTemplateDeleteResponse, error)
func (*Server) GetClusterWorkflowTemplate ¶ added in v4.1.0
func (cwts *Server) GetClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateGetRequest) (*v1alpha1.ClusterWorkflowTemplate, error)
func (*Server) LintClusterWorkflowTemplate ¶ added in v4.1.0
func (cwts *Server) LintClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateLintRequest) (*v1alpha1.ClusterWorkflowTemplate, error)
func (*Server) ListClusterWorkflowTemplates ¶ added in v4.1.0
func (cwts *Server) ListClusterWorkflowTemplates(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateListRequest) (*v1alpha1.ClusterWorkflowTemplateList, error)
func (*Server) UpdateClusterWorkflowTemplate ¶ added in v4.1.0
func (cwts *Server) UpdateClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateUpdateRequest) (*v1alpha1.ClusterWorkflowTemplate, error)
Click to show internal directories.
Click to hide internal directories.