v1

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT 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 ClusterScalingScheduleExpansion

type ClusterScalingScheduleExpansion interface{}

type ClusterScalingScheduleInterface

type ClusterScalingScheduleInterface interface {
	Create(ctx context.Context, clusterScalingSchedule *v1.ClusterScalingSchedule, opts metav1.CreateOptions) (*v1.ClusterScalingSchedule, error)
	Update(ctx context.Context, clusterScalingSchedule *v1.ClusterScalingSchedule, opts metav1.UpdateOptions) (*v1.ClusterScalingSchedule, error)
	UpdateStatus(ctx context.Context, clusterScalingSchedule *v1.ClusterScalingSchedule, opts metav1.UpdateOptions) (*v1.ClusterScalingSchedule, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterScalingSchedule, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterScalingScheduleList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterScalingSchedule, err error)
	ClusterScalingScheduleExpansion
}

ClusterScalingScheduleInterface has methods to work with ClusterScalingSchedule resources.

type ClusterScalingSchedulesGetter

type ClusterScalingSchedulesGetter interface {
	ClusterScalingSchedules() ClusterScalingScheduleInterface
}

ClusterScalingSchedulesGetter has a method to return a ClusterScalingScheduleInterface. A group's client should implement this interface.

type ScalingScheduleExpansion

type ScalingScheduleExpansion interface{}

type ScalingScheduleInterface

type ScalingScheduleInterface interface {
	Create(ctx context.Context, scalingSchedule *v1.ScalingSchedule, opts metav1.CreateOptions) (*v1.ScalingSchedule, error)
	Update(ctx context.Context, scalingSchedule *v1.ScalingSchedule, opts metav1.UpdateOptions) (*v1.ScalingSchedule, error)
	UpdateStatus(ctx context.Context, scalingSchedule *v1.ScalingSchedule, opts metav1.UpdateOptions) (*v1.ScalingSchedule, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ScalingSchedule, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ScalingScheduleList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ScalingSchedule, err error)
	ScalingScheduleExpansion
}

ScalingScheduleInterface has methods to work with ScalingSchedule resources.

type ScalingSchedulesGetter

type ScalingSchedulesGetter interface {
	ScalingSchedules(namespace string) ScalingScheduleInterface
}

ScalingSchedulesGetter has a method to return a ScalingScheduleInterface. A group's client should implement this interface.

type ZalandoV1Client

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

ZalandoV1Client is used to interact with features provided by the zalando.org group.

func New

New creates a new ZalandoV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v0.1.18

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

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

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

func (*ZalandoV1Client) ClusterScalingSchedules

func (c *ZalandoV1Client) ClusterScalingSchedules() ClusterScalingScheduleInterface

func (*ZalandoV1Client) RESTClient

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

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

func (*ZalandoV1Client) ScalingSchedules

func (c *ZalandoV1Client) ScalingSchedules(namespace string) ScalingScheduleInterface

type ZalandoV1Interface

type ZalandoV1Interface interface {
	RESTClient() rest.Interface
	ClusterScalingSchedulesGetter
	ScalingSchedulesGetter
}

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