v1beta1

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 9 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 ApplicationExpansion

type ApplicationExpansion interface{}

type ApplicationInterface

type ApplicationInterface interface {
	Create(ctx context.Context, application *v1beta1.Application, opts v1.CreateOptions) (*v1beta1.Application, error)
	Update(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (*v1beta1.Application, error)
	UpdateStatus(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (*v1beta1.Application, 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) (*v1beta1.Application, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ApplicationList, 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 *v1beta1.Application, err error)
	ApplicationExpansion
}

ApplicationInterface has methods to work with Application resources.

type ApplicationRevisionExpansion

type ApplicationRevisionExpansion interface{}

type ApplicationRevisionInterface

type ApplicationRevisionInterface interface {
	Create(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, opts v1.CreateOptions) (*v1beta1.ApplicationRevision, error)
	Update(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, opts v1.UpdateOptions) (*v1beta1.ApplicationRevision, error)
	UpdateStatus(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, opts v1.UpdateOptions) (*v1beta1.ApplicationRevision, 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) (*v1beta1.ApplicationRevision, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ApplicationRevisionList, 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 *v1beta1.ApplicationRevision, err error)
	ApplicationRevisionExpansion
}

ApplicationRevisionInterface has methods to work with ApplicationRevision resources.

type ApplicationRevisionsGetter

type ApplicationRevisionsGetter interface {
	ApplicationRevisions(namespace string) ApplicationRevisionInterface
}

ApplicationRevisionsGetter has a method to return a ApplicationRevisionInterface. A group's client should implement this interface.

type ApplicationsGetter

type ApplicationsGetter interface {
	Applications(namespace string) ApplicationInterface
}

ApplicationsGetter has a method to return a ApplicationInterface. A group's client should implement this interface.

type ComponentDefinitionExpansion

type ComponentDefinitionExpansion interface{}

type ComponentDefinitionInterface

type ComponentDefinitionInterface interface {
	Create(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, opts v1.CreateOptions) (*v1beta1.ComponentDefinition, error)
	Update(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, opts v1.UpdateOptions) (*v1beta1.ComponentDefinition, error)
	UpdateStatus(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, opts v1.UpdateOptions) (*v1beta1.ComponentDefinition, 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) (*v1beta1.ComponentDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ComponentDefinitionList, 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 *v1beta1.ComponentDefinition, err error)
	ComponentDefinitionExpansion
}

ComponentDefinitionInterface has methods to work with ComponentDefinition resources.

type ComponentDefinitionsGetter

type ComponentDefinitionsGetter interface {
	ComponentDefinitions(namespace string) ComponentDefinitionInterface
}

ComponentDefinitionsGetter has a method to return a ComponentDefinitionInterface. A group's client should implement this interface.

type CoreV1beta1Client

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

CoreV1beta1Client is used to interact with features provided by the core.oam.dev group.

func New

New creates a new CoreV1beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CoreV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v1.4.4

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*CoreV1beta1Client, error)

NewForConfigAndClient creates a new CoreV1beta1Client 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) *CoreV1beta1Client

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

func (*CoreV1beta1Client) ApplicationRevisions

func (c *CoreV1beta1Client) ApplicationRevisions(namespace string) ApplicationRevisionInterface

func (*CoreV1beta1Client) Applications

func (c *CoreV1beta1Client) Applications(namespace string) ApplicationInterface

func (*CoreV1beta1Client) ComponentDefinitions

func (c *CoreV1beta1Client) ComponentDefinitions(namespace string) ComponentDefinitionInterface

func (*CoreV1beta1Client) DefinitionRevisions

func (c *CoreV1beta1Client) DefinitionRevisions(namespace string) DefinitionRevisionInterface

func (*CoreV1beta1Client) PolicyDefinitions

func (c *CoreV1beta1Client) PolicyDefinitions(namespace string) PolicyDefinitionInterface

func (*CoreV1beta1Client) RESTClient

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

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

func (*CoreV1beta1Client) ResourceTrackers

func (c *CoreV1beta1Client) ResourceTrackers(namespace string) ResourceTrackerInterface

func (*CoreV1beta1Client) ScopeDefinitions

func (c *CoreV1beta1Client) ScopeDefinitions(namespace string) ScopeDefinitionInterface

func (*CoreV1beta1Client) TraitDefinitions

func (c *CoreV1beta1Client) TraitDefinitions(namespace string) TraitDefinitionInterface

func (*CoreV1beta1Client) WorkflowStepDefinitions

func (c *CoreV1beta1Client) WorkflowStepDefinitions(namespace string) WorkflowStepDefinitionInterface

func (*CoreV1beta1Client) WorkloadDefinitions

func (c *CoreV1beta1Client) WorkloadDefinitions(namespace string) WorkloadDefinitionInterface

type DefinitionRevisionExpansion

type DefinitionRevisionExpansion interface{}

type DefinitionRevisionInterface

type DefinitionRevisionInterface interface {
	Create(ctx context.Context, definitionRevision *v1beta1.DefinitionRevision, opts v1.CreateOptions) (*v1beta1.DefinitionRevision, error)
	Update(ctx context.Context, definitionRevision *v1beta1.DefinitionRevision, opts v1.UpdateOptions) (*v1beta1.DefinitionRevision, 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) (*v1beta1.DefinitionRevision, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DefinitionRevisionList, 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 *v1beta1.DefinitionRevision, err error)
	DefinitionRevisionExpansion
}

DefinitionRevisionInterface has methods to work with DefinitionRevision resources.

type DefinitionRevisionsGetter

type DefinitionRevisionsGetter interface {
	DefinitionRevisions(namespace string) DefinitionRevisionInterface
}

DefinitionRevisionsGetter has a method to return a DefinitionRevisionInterface. A group's client should implement this interface.

type PolicyDefinitionExpansion

type PolicyDefinitionExpansion interface{}

type PolicyDefinitionInterface

type PolicyDefinitionInterface interface {
	Create(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, opts v1.CreateOptions) (*v1beta1.PolicyDefinition, error)
	Update(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, opts v1.UpdateOptions) (*v1beta1.PolicyDefinition, error)
	UpdateStatus(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, opts v1.UpdateOptions) (*v1beta1.PolicyDefinition, 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) (*v1beta1.PolicyDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PolicyDefinitionList, 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 *v1beta1.PolicyDefinition, err error)
	PolicyDefinitionExpansion
}

PolicyDefinitionInterface has methods to work with PolicyDefinition resources.

type PolicyDefinitionsGetter

type PolicyDefinitionsGetter interface {
	PolicyDefinitions(namespace string) PolicyDefinitionInterface
}

PolicyDefinitionsGetter has a method to return a PolicyDefinitionInterface. A group's client should implement this interface.

type ResourceTrackerExpansion

type ResourceTrackerExpansion interface{}

type ResourceTrackerInterface

type ResourceTrackerInterface interface {
	Create(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, opts v1.CreateOptions) (*v1beta1.ResourceTracker, error)
	Update(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, opts v1.UpdateOptions) (*v1beta1.ResourceTracker, error)
	UpdateStatus(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, opts v1.UpdateOptions) (*v1beta1.ResourceTracker, 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) (*v1beta1.ResourceTracker, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ResourceTrackerList, 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 *v1beta1.ResourceTracker, err error)
	ResourceTrackerExpansion
}

ResourceTrackerInterface has methods to work with ResourceTracker resources.

type ResourceTrackersGetter

type ResourceTrackersGetter interface {
	ResourceTrackers(namespace string) ResourceTrackerInterface
}

ResourceTrackersGetter has a method to return a ResourceTrackerInterface. A group's client should implement this interface.

type ScopeDefinitionExpansion

type ScopeDefinitionExpansion interface{}

type ScopeDefinitionInterface

type ScopeDefinitionInterface interface {
	Create(ctx context.Context, scopeDefinition *v1beta1.ScopeDefinition, opts v1.CreateOptions) (*v1beta1.ScopeDefinition, error)
	Update(ctx context.Context, scopeDefinition *v1beta1.ScopeDefinition, opts v1.UpdateOptions) (*v1beta1.ScopeDefinition, 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) (*v1beta1.ScopeDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ScopeDefinitionList, 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 *v1beta1.ScopeDefinition, err error)
	ScopeDefinitionExpansion
}

ScopeDefinitionInterface has methods to work with ScopeDefinition resources.

type ScopeDefinitionsGetter

type ScopeDefinitionsGetter interface {
	ScopeDefinitions(namespace string) ScopeDefinitionInterface
}

ScopeDefinitionsGetter has a method to return a ScopeDefinitionInterface. A group's client should implement this interface.

type TraitDefinitionExpansion

type TraitDefinitionExpansion interface{}

type TraitDefinitionInterface

type TraitDefinitionInterface interface {
	Create(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, opts v1.CreateOptions) (*v1beta1.TraitDefinition, error)
	Update(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, opts v1.UpdateOptions) (*v1beta1.TraitDefinition, error)
	UpdateStatus(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, opts v1.UpdateOptions) (*v1beta1.TraitDefinition, 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) (*v1beta1.TraitDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.TraitDefinitionList, 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 *v1beta1.TraitDefinition, err error)
	TraitDefinitionExpansion
}

TraitDefinitionInterface has methods to work with TraitDefinition resources.

type TraitDefinitionsGetter

type TraitDefinitionsGetter interface {
	TraitDefinitions(namespace string) TraitDefinitionInterface
}

TraitDefinitionsGetter has a method to return a TraitDefinitionInterface. A group's client should implement this interface.

type WorkflowStepDefinitionExpansion

type WorkflowStepDefinitionExpansion interface{}

type WorkflowStepDefinitionInterface

type WorkflowStepDefinitionInterface interface {
	Create(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, opts v1.CreateOptions) (*v1beta1.WorkflowStepDefinition, error)
	Update(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, opts v1.UpdateOptions) (*v1beta1.WorkflowStepDefinition, error)
	UpdateStatus(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, opts v1.UpdateOptions) (*v1beta1.WorkflowStepDefinition, 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) (*v1beta1.WorkflowStepDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.WorkflowStepDefinitionList, 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 *v1beta1.WorkflowStepDefinition, err error)
	WorkflowStepDefinitionExpansion
}

WorkflowStepDefinitionInterface has methods to work with WorkflowStepDefinition resources.

type WorkflowStepDefinitionsGetter

type WorkflowStepDefinitionsGetter interface {
	WorkflowStepDefinitions(namespace string) WorkflowStepDefinitionInterface
}

WorkflowStepDefinitionsGetter has a method to return a WorkflowStepDefinitionInterface. A group's client should implement this interface.

type WorkloadDefinitionExpansion

type WorkloadDefinitionExpansion interface{}

type WorkloadDefinitionInterface

type WorkloadDefinitionInterface interface {
	Create(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, opts v1.CreateOptions) (*v1beta1.WorkloadDefinition, error)
	Update(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, opts v1.UpdateOptions) (*v1beta1.WorkloadDefinition, error)
	UpdateStatus(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, opts v1.UpdateOptions) (*v1beta1.WorkloadDefinition, 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) (*v1beta1.WorkloadDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.WorkloadDefinitionList, 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 *v1beta1.WorkloadDefinition, err error)
	WorkloadDefinitionExpansion
}

WorkloadDefinitionInterface has methods to work with WorkloadDefinition resources.

type WorkloadDefinitionsGetter

type WorkloadDefinitionsGetter interface {
	WorkloadDefinitions(namespace string) WorkloadDefinitionInterface
}

WorkloadDefinitionsGetter has a method to return a WorkloadDefinitionInterface. 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