v1alpha1

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

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 CowboyExpansion

type CowboyExpansion interface{}

type CowboyInterface

type CowboyInterface interface {
	Create(ctx context.Context, cowboy *v1alpha1.Cowboy, opts v1.CreateOptions) (*v1alpha1.Cowboy, error)
	Update(ctx context.Context, cowboy *v1alpha1.Cowboy, opts v1.UpdateOptions) (*v1alpha1.Cowboy, error)
	UpdateStatus(ctx context.Context, cowboy *v1alpha1.Cowboy, opts v1.UpdateOptions) (*v1alpha1.Cowboy, 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.Cowboy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CowboyList, 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.Cowboy, err error)
	Apply(ctx context.Context, cowboy *wildwestv1alpha1.CowboyApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Cowboy, err error)
	ApplyStatus(ctx context.Context, cowboy *wildwestv1alpha1.CowboyApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Cowboy, err error)
	CowboyExpansion
}

CowboyInterface has methods to work with Cowboy resources.

type CowboysGetter

type CowboysGetter interface {
	Cowboys(namespace string) CowboyInterface
}

CowboysGetter has a method to return a CowboyInterface. A group's client should implement this interface.

type SheriffExpansion added in v0.22.0

type SheriffExpansion interface{}

type SheriffInterface added in v0.22.0

type SheriffInterface interface {
	Create(ctx context.Context, sheriff *v1alpha1.Sheriff, opts v1.CreateOptions) (*v1alpha1.Sheriff, error)
	Update(ctx context.Context, sheriff *v1alpha1.Sheriff, opts v1.UpdateOptions) (*v1alpha1.Sheriff, error)
	UpdateStatus(ctx context.Context, sheriff *v1alpha1.Sheriff, opts v1.UpdateOptions) (*v1alpha1.Sheriff, 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.Sheriff, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SheriffList, 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.Sheriff, err error)
	Apply(ctx context.Context, sheriff *wildwestv1alpha1.SheriffApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Sheriff, err error)
	ApplyStatus(ctx context.Context, sheriff *wildwestv1alpha1.SheriffApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Sheriff, err error)
	SheriffExpansion
}

SheriffInterface has methods to work with Sheriff resources.

type SherifvesGetter added in v0.22.0

type SherifvesGetter interface {
	Sherifves() SheriffInterface
}

SherifvesGetter has a method to return a SheriffInterface. A group's client should implement this interface.

type WildwestV1alpha1Client

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

WildwestV1alpha1Client is used to interact with features provided by the wildwest.dev group.

func New

New creates a new WildwestV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new WildwestV1alpha1Client 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) (*WildwestV1alpha1Client, error)

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

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

func (*WildwestV1alpha1Client) Cowboys

func (c *WildwestV1alpha1Client) Cowboys(namespace string) CowboyInterface

func (*WildwestV1alpha1Client) RESTClient

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

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

func (*WildwestV1alpha1Client) Sherifves added in v0.22.0

type WildwestV1alpha1Interface

type WildwestV1alpha1Interface interface {
	RESTClient() rest.Interface
	CowboysGetter
	SherifvesGetter
}

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