v1beta1

package
v0.0.0-...-6c851f4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 9

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 MachineExpansion

type MachineExpansion interface{}

type MachineHealthCheckExpansion

type MachineHealthCheckExpansion interface{}

type MachineHealthCheckInterface

type MachineHealthCheckInterface interface {
	Create(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.CreateOptions) (*v1beta1.MachineHealthCheck, error)
	Update(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.UpdateOptions) (*v1beta1.MachineHealthCheck, error)
	UpdateStatus(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.UpdateOptions) (*v1beta1.MachineHealthCheck, 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.MachineHealthCheck, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MachineHealthCheckList, 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.MachineHealthCheck, err error)
	Apply(ctx context.Context, machineHealthCheck *machinev1beta1.MachineHealthCheckApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineHealthCheck, err error)
	ApplyStatus(ctx context.Context, machineHealthCheck *machinev1beta1.MachineHealthCheckApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineHealthCheck, err error)
	MachineHealthCheckExpansion
}

MachineHealthCheckInterface has methods to work with MachineHealthCheck resources.

type MachineHealthChecksGetter

type MachineHealthChecksGetter interface {
	MachineHealthChecks(namespace string) MachineHealthCheckInterface
}

MachineHealthChecksGetter has a method to return a MachineHealthCheckInterface. A group's client should implement this interface.

type MachineInterface

type MachineInterface interface {
	Create(ctx context.Context, machine *v1beta1.Machine, opts v1.CreateOptions) (*v1beta1.Machine, error)
	Update(ctx context.Context, machine *v1beta1.Machine, opts v1.UpdateOptions) (*v1beta1.Machine, error)
	UpdateStatus(ctx context.Context, machine *v1beta1.Machine, opts v1.UpdateOptions) (*v1beta1.Machine, 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.Machine, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MachineList, 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.Machine, err error)
	Apply(ctx context.Context, machine *machinev1beta1.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Machine, err error)
	ApplyStatus(ctx context.Context, machine *machinev1beta1.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Machine, err error)
	MachineExpansion
}

MachineInterface has methods to work with Machine resources.

type MachineSetExpansion

type MachineSetExpansion interface{}

type MachineSetInterface

type MachineSetInterface interface {
	Create(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.CreateOptions) (*v1beta1.MachineSet, error)
	Update(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (*v1beta1.MachineSet, error)
	UpdateStatus(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (*v1beta1.MachineSet, 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.MachineSet, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MachineSetList, 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.MachineSet, err error)
	Apply(ctx context.Context, machineSet *machinev1beta1.MachineSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineSet, err error)
	ApplyStatus(ctx context.Context, machineSet *machinev1beta1.MachineSetApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MachineSet, err error)
	MachineSetExpansion
}

MachineSetInterface has methods to work with MachineSet resources.

type MachineSetsGetter

type MachineSetsGetter interface {
	MachineSets(namespace string) MachineSetInterface
}

MachineSetsGetter has a method to return a MachineSetInterface. A group's client should implement this interface.

type MachineV1beta1Client

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

MachineV1beta1Client is used to interact with features provided by the machine.openshift.io group.

func New

New creates a new MachineV1beta1Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*MachineV1beta1Client) MachineHealthChecks

func (c *MachineV1beta1Client) MachineHealthChecks(namespace string) MachineHealthCheckInterface

func (*MachineV1beta1Client) MachineSets

func (c *MachineV1beta1Client) MachineSets(namespace string) MachineSetInterface

func (*MachineV1beta1Client) Machines

func (c *MachineV1beta1Client) Machines(namespace string) MachineInterface

func (*MachineV1beta1Client) RESTClient

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

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

type MachineV1beta1Interface

type MachineV1beta1Interface interface {
	RESTClient() rest.Interface
	MachinesGetter
	MachineHealthChecksGetter
	MachineSetsGetter
}

type MachinesGetter

type MachinesGetter interface {
	Machines(namespace string) MachineInterface
}

MachinesGetter has a method to return a MachineInterface. 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