v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 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 BatchReleaseExpansion

type BatchReleaseExpansion interface{}

type BatchReleaseInterface

type BatchReleaseInterface interface {
	Create(ctx context.Context, batchRelease *v1alpha1.BatchRelease, opts v1.CreateOptions) (*v1alpha1.BatchRelease, error)
	Update(ctx context.Context, batchRelease *v1alpha1.BatchRelease, opts v1.UpdateOptions) (*v1alpha1.BatchRelease, error)
	UpdateStatus(ctx context.Context, batchRelease *v1alpha1.BatchRelease, opts v1.UpdateOptions) (*v1alpha1.BatchRelease, 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.BatchRelease, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BatchReleaseList, 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.BatchRelease, err error)
	BatchReleaseExpansion
}

BatchReleaseInterface has methods to work with BatchRelease resources.

type BatchReleasesGetter

type BatchReleasesGetter interface {
	BatchReleases(namespace string) BatchReleaseInterface
}

BatchReleasesGetter has a method to return a BatchReleaseInterface. A group's client should implement this interface.

type RolloutExpansion

type RolloutExpansion interface{}

type RolloutHistoriesGetter

type RolloutHistoriesGetter interface {
	RolloutHistories(namespace string) RolloutHistoryInterface
}

RolloutHistoriesGetter has a method to return a RolloutHistoryInterface. A group's client should implement this interface.

type RolloutHistoryExpansion

type RolloutHistoryExpansion interface{}

type RolloutHistoryInterface

type RolloutHistoryInterface interface {
	Create(ctx context.Context, rolloutHistory *v1alpha1.RolloutHistory, opts v1.CreateOptions) (*v1alpha1.RolloutHistory, error)
	Update(ctx context.Context, rolloutHistory *v1alpha1.RolloutHistory, opts v1.UpdateOptions) (*v1alpha1.RolloutHistory, error)
	UpdateStatus(ctx context.Context, rolloutHistory *v1alpha1.RolloutHistory, opts v1.UpdateOptions) (*v1alpha1.RolloutHistory, 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.RolloutHistory, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RolloutHistoryList, 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.RolloutHistory, err error)
	RolloutHistoryExpansion
}

RolloutHistoryInterface has methods to work with RolloutHistory resources.

type RolloutInterface

type RolloutInterface interface {
	Create(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.CreateOptions) (*v1alpha1.Rollout, error)
	Update(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.UpdateOptions) (*v1alpha1.Rollout, error)
	UpdateStatus(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.UpdateOptions) (*v1alpha1.Rollout, 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.Rollout, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RolloutList, 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.Rollout, err error)
	RolloutExpansion
}

RolloutInterface has methods to work with Rollout resources.

type RolloutsGetter

type RolloutsGetter interface {
	Rollouts(namespace string) RolloutInterface
}

RolloutsGetter has a method to return a RolloutInterface. A group's client should implement this interface.

type RolloutsV1alpha1Client

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

RolloutsV1alpha1Client is used to interact with features provided by the rollouts.kruise.io group.

func New

New creates a new RolloutsV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new RolloutsV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *RolloutsV1alpha1Client

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

func (*RolloutsV1alpha1Client) BatchReleases

func (c *RolloutsV1alpha1Client) BatchReleases(namespace string) BatchReleaseInterface

func (*RolloutsV1alpha1Client) RESTClient

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

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

func (*RolloutsV1alpha1Client) RolloutHistories

func (c *RolloutsV1alpha1Client) RolloutHistories(namespace string) RolloutHistoryInterface

func (*RolloutsV1alpha1Client) Rollouts

func (c *RolloutsV1alpha1Client) Rollouts(namespace string) RolloutInterface

func (*RolloutsV1alpha1Client) TrafficRoutings

func (c *RolloutsV1alpha1Client) TrafficRoutings(namespace string) TrafficRoutingInterface

type TrafficRoutingExpansion

type TrafficRoutingExpansion interface{}

type TrafficRoutingInterface

type TrafficRoutingInterface interface {
	Create(ctx context.Context, trafficRouting *v1alpha1.TrafficRouting, opts v1.CreateOptions) (*v1alpha1.TrafficRouting, error)
	Update(ctx context.Context, trafficRouting *v1alpha1.TrafficRouting, opts v1.UpdateOptions) (*v1alpha1.TrafficRouting, error)
	UpdateStatus(ctx context.Context, trafficRouting *v1alpha1.TrafficRouting, opts v1.UpdateOptions) (*v1alpha1.TrafficRouting, 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.TrafficRouting, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TrafficRoutingList, 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.TrafficRouting, err error)
	TrafficRoutingExpansion
}

TrafficRoutingInterface has methods to work with TrafficRouting resources.

type TrafficRoutingsGetter

type TrafficRoutingsGetter interface {
	TrafficRoutings(namespace string) TrafficRoutingInterface
}

TrafficRoutingsGetter has a method to return a TrafficRoutingInterface. 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