v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 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 AttachExpansion

type AttachExpansion interface{}

type AttachInterface

type AttachInterface interface {
	Create(ctx context.Context, attach *v1alpha1.Attach, opts v1.CreateOptions) (*v1alpha1.Attach, error)
	Update(ctx context.Context, attach *v1alpha1.Attach, opts v1.UpdateOptions) (*v1alpha1.Attach, error)
	UpdateStatus(ctx context.Context, attach *v1alpha1.Attach, opts v1.UpdateOptions) (*v1alpha1.Attach, 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.Attach, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AttachList, 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.Attach, err error)
	AttachExpansion
}

AttachInterface has methods to work with Attach resources.

type AttachesGetter

type AttachesGetter interface {
	Attaches(namespace string) AttachInterface
}

AttachesGetter has a method to return a AttachInterface. A group's client should implement this interface.

type ClusterAttachExpansion

type ClusterAttachExpansion interface{}

type ClusterAttachInterface

type ClusterAttachInterface interface {
	Create(ctx context.Context, clusterAttach *v1alpha1.ClusterAttach, opts v1.CreateOptions) (*v1alpha1.ClusterAttach, error)
	Update(ctx context.Context, clusterAttach *v1alpha1.ClusterAttach, opts v1.UpdateOptions) (*v1alpha1.ClusterAttach, error)
	UpdateStatus(ctx context.Context, clusterAttach *v1alpha1.ClusterAttach, opts v1.UpdateOptions) (*v1alpha1.ClusterAttach, 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.ClusterAttach, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterAttachList, 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.ClusterAttach, err error)
	ClusterAttachExpansion
}

ClusterAttachInterface has methods to work with ClusterAttach resources.

type ClusterAttachesGetter

type ClusterAttachesGetter interface {
	ClusterAttaches() ClusterAttachInterface
}

ClusterAttachesGetter has a method to return a ClusterAttachInterface. A group's client should implement this interface.

type ClusterExecExpansion

type ClusterExecExpansion interface{}

type ClusterExecInterface

type ClusterExecInterface interface {
	Create(ctx context.Context, clusterExec *v1alpha1.ClusterExec, opts v1.CreateOptions) (*v1alpha1.ClusterExec, error)
	Update(ctx context.Context, clusterExec *v1alpha1.ClusterExec, opts v1.UpdateOptions) (*v1alpha1.ClusterExec, error)
	UpdateStatus(ctx context.Context, clusterExec *v1alpha1.ClusterExec, opts v1.UpdateOptions) (*v1alpha1.ClusterExec, 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.ClusterExec, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterExecList, 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.ClusterExec, err error)
	ClusterExecExpansion
}

ClusterExecInterface has methods to work with ClusterExec resources.

type ClusterExecsGetter

type ClusterExecsGetter interface {
	ClusterExecs() ClusterExecInterface
}

ClusterExecsGetter has a method to return a ClusterExecInterface. A group's client should implement this interface.

type ClusterLogsExpansion

type ClusterLogsExpansion interface{}

type ClusterLogsGetter

type ClusterLogsGetter interface {
	ClusterLogs() ClusterLogsInterface
}

ClusterLogsGetter has a method to return a ClusterLogsInterface. A group's client should implement this interface.

type ClusterLogsInterface

type ClusterLogsInterface interface {
	Create(ctx context.Context, clusterLogs *v1alpha1.ClusterLogs, opts v1.CreateOptions) (*v1alpha1.ClusterLogs, error)
	Update(ctx context.Context, clusterLogs *v1alpha1.ClusterLogs, opts v1.UpdateOptions) (*v1alpha1.ClusterLogs, error)
	UpdateStatus(ctx context.Context, clusterLogs *v1alpha1.ClusterLogs, opts v1.UpdateOptions) (*v1alpha1.ClusterLogs, 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.ClusterLogs, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterLogsList, 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.ClusterLogs, err error)
	ClusterLogsExpansion
}

ClusterLogsInterface has methods to work with ClusterLogs resources.

type ClusterPortForwardExpansion

type ClusterPortForwardExpansion interface{}

type ClusterPortForwardInterface

type ClusterPortForwardInterface interface {
	Create(ctx context.Context, clusterPortForward *v1alpha1.ClusterPortForward, opts v1.CreateOptions) (*v1alpha1.ClusterPortForward, error)
	Update(ctx context.Context, clusterPortForward *v1alpha1.ClusterPortForward, opts v1.UpdateOptions) (*v1alpha1.ClusterPortForward, error)
	UpdateStatus(ctx context.Context, clusterPortForward *v1alpha1.ClusterPortForward, opts v1.UpdateOptions) (*v1alpha1.ClusterPortForward, 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.ClusterPortForward, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterPortForwardList, 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.ClusterPortForward, err error)
	ClusterPortForwardExpansion
}

ClusterPortForwardInterface has methods to work with ClusterPortForward resources.

type ClusterPortForwardsGetter

type ClusterPortForwardsGetter interface {
	ClusterPortForwards() ClusterPortForwardInterface
}

ClusterPortForwardsGetter has a method to return a ClusterPortForwardInterface. A group's client should implement this interface.

type ClusterResourceUsageExpansion added in v0.5.0

type ClusterResourceUsageExpansion interface{}

type ClusterResourceUsageInterface added in v0.5.0

type ClusterResourceUsageInterface interface {
	Create(ctx context.Context, clusterResourceUsage *v1alpha1.ClusterResourceUsage, opts v1.CreateOptions) (*v1alpha1.ClusterResourceUsage, error)
	Update(ctx context.Context, clusterResourceUsage *v1alpha1.ClusterResourceUsage, opts v1.UpdateOptions) (*v1alpha1.ClusterResourceUsage, error)
	UpdateStatus(ctx context.Context, clusterResourceUsage *v1alpha1.ClusterResourceUsage, opts v1.UpdateOptions) (*v1alpha1.ClusterResourceUsage, 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.ClusterResourceUsage, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterResourceUsageList, 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.ClusterResourceUsage, err error)
	ClusterResourceUsageExpansion
}

ClusterResourceUsageInterface has methods to work with ClusterResourceUsage resources.

type ClusterResourceUsagesGetter added in v0.5.0

type ClusterResourceUsagesGetter interface {
	ClusterResourceUsages() ClusterResourceUsageInterface
}

ClusterResourceUsagesGetter has a method to return a ClusterResourceUsageInterface. A group's client should implement this interface.

type ExecExpansion

type ExecExpansion interface{}

type ExecInterface

type ExecInterface interface {
	Create(ctx context.Context, exec *v1alpha1.Exec, opts v1.CreateOptions) (*v1alpha1.Exec, error)
	Update(ctx context.Context, exec *v1alpha1.Exec, opts v1.UpdateOptions) (*v1alpha1.Exec, error)
	UpdateStatus(ctx context.Context, exec *v1alpha1.Exec, opts v1.UpdateOptions) (*v1alpha1.Exec, 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.Exec, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ExecList, 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.Exec, err error)
	ExecExpansion
}

ExecInterface has methods to work with Exec resources.

type ExecsGetter

type ExecsGetter interface {
	Execs(namespace string) ExecInterface
}

ExecsGetter has a method to return a ExecInterface. A group's client should implement this interface.

type KwokV1alpha1Client

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

KwokV1alpha1Client is used to interact with features provided by the kwok.x-k8s.io group.

func New

New creates a new KwokV1alpha1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient

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

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

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

func (*KwokV1alpha1Client) Attaches

func (c *KwokV1alpha1Client) Attaches(namespace string) AttachInterface

func (*KwokV1alpha1Client) ClusterAttaches

func (c *KwokV1alpha1Client) ClusterAttaches() ClusterAttachInterface

func (*KwokV1alpha1Client) ClusterExecs

func (c *KwokV1alpha1Client) ClusterExecs() ClusterExecInterface

func (*KwokV1alpha1Client) ClusterLogs

func (c *KwokV1alpha1Client) ClusterLogs() ClusterLogsInterface

func (*KwokV1alpha1Client) ClusterPortForwards

func (c *KwokV1alpha1Client) ClusterPortForwards() ClusterPortForwardInterface

func (*KwokV1alpha1Client) ClusterResourceUsages added in v0.5.0

func (c *KwokV1alpha1Client) ClusterResourceUsages() ClusterResourceUsageInterface

func (*KwokV1alpha1Client) Execs

func (c *KwokV1alpha1Client) Execs(namespace string) ExecInterface

func (*KwokV1alpha1Client) Logs

func (c *KwokV1alpha1Client) Logs(namespace string) LogsInterface

func (*KwokV1alpha1Client) Metrics

func (c *KwokV1alpha1Client) Metrics() MetricInterface

func (*KwokV1alpha1Client) PortForwards

func (c *KwokV1alpha1Client) PortForwards(namespace string) PortForwardInterface

func (*KwokV1alpha1Client) RESTClient

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

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

func (*KwokV1alpha1Client) ResourceUsages added in v0.5.0

func (c *KwokV1alpha1Client) ResourceUsages(namespace string) ResourceUsageInterface

func (*KwokV1alpha1Client) Stages

func (c *KwokV1alpha1Client) Stages() StageInterface

type LogsExpansion

type LogsExpansion interface{}

type LogsGetter

type LogsGetter interface {
	Logs(namespace string) LogsInterface
}

LogsGetter has a method to return a LogsInterface. A group's client should implement this interface.

type LogsInterface

type LogsInterface interface {
	Create(ctx context.Context, logs *v1alpha1.Logs, opts v1.CreateOptions) (*v1alpha1.Logs, error)
	Update(ctx context.Context, logs *v1alpha1.Logs, opts v1.UpdateOptions) (*v1alpha1.Logs, error)
	UpdateStatus(ctx context.Context, logs *v1alpha1.Logs, opts v1.UpdateOptions) (*v1alpha1.Logs, 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.Logs, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LogsList, 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.Logs, err error)
	LogsExpansion
}

LogsInterface has methods to work with Logs resources.

type MetricExpansion

type MetricExpansion interface{}

type MetricInterface

type MetricInterface interface {
	Create(ctx context.Context, metric *v1alpha1.Metric, opts v1.CreateOptions) (*v1alpha1.Metric, error)
	Update(ctx context.Context, metric *v1alpha1.Metric, opts v1.UpdateOptions) (*v1alpha1.Metric, error)
	UpdateStatus(ctx context.Context, metric *v1alpha1.Metric, opts v1.UpdateOptions) (*v1alpha1.Metric, 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.Metric, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MetricList, 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.Metric, err error)
	MetricExpansion
}

MetricInterface has methods to work with Metric resources.

type MetricsGetter

type MetricsGetter interface {
	Metrics() MetricInterface
}

MetricsGetter has a method to return a MetricInterface. A group's client should implement this interface.

type PortForwardExpansion

type PortForwardExpansion interface{}

type PortForwardInterface

type PortForwardInterface interface {
	Create(ctx context.Context, portForward *v1alpha1.PortForward, opts v1.CreateOptions) (*v1alpha1.PortForward, error)
	Update(ctx context.Context, portForward *v1alpha1.PortForward, opts v1.UpdateOptions) (*v1alpha1.PortForward, error)
	UpdateStatus(ctx context.Context, portForward *v1alpha1.PortForward, opts v1.UpdateOptions) (*v1alpha1.PortForward, 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.PortForward, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PortForwardList, 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.PortForward, err error)
	PortForwardExpansion
}

PortForwardInterface has methods to work with PortForward resources.

type PortForwardsGetter

type PortForwardsGetter interface {
	PortForwards(namespace string) PortForwardInterface
}

PortForwardsGetter has a method to return a PortForwardInterface. A group's client should implement this interface.

type ResourceUsageExpansion added in v0.5.0

type ResourceUsageExpansion interface{}

type ResourceUsageInterface added in v0.5.0

type ResourceUsageInterface interface {
	Create(ctx context.Context, resourceUsage *v1alpha1.ResourceUsage, opts v1.CreateOptions) (*v1alpha1.ResourceUsage, error)
	Update(ctx context.Context, resourceUsage *v1alpha1.ResourceUsage, opts v1.UpdateOptions) (*v1alpha1.ResourceUsage, error)
	UpdateStatus(ctx context.Context, resourceUsage *v1alpha1.ResourceUsage, opts v1.UpdateOptions) (*v1alpha1.ResourceUsage, 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.ResourceUsage, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ResourceUsageList, 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.ResourceUsage, err error)
	ResourceUsageExpansion
}

ResourceUsageInterface has methods to work with ResourceUsage resources.

type ResourceUsagesGetter added in v0.5.0

type ResourceUsagesGetter interface {
	ResourceUsages(namespace string) ResourceUsageInterface
}

ResourceUsagesGetter has a method to return a ResourceUsageInterface. 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)
	UpdateStatus(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() StageInterface
}

StagesGetter has a method to return a StageInterface. 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