v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT 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 PlacementPoliciesGetter

type PlacementPoliciesGetter interface {
	PlacementPolicies(namespace string) PlacementPolicyInterface
}

PlacementPoliciesGetter has a method to return a PlacementPolicyInterface. A group's client should implement this interface.

type PlacementPolicyExpansion

type PlacementPolicyExpansion interface{}

type PlacementPolicyInterface

type PlacementPolicyInterface interface {
	Create(ctx context.Context, placementPolicy *v1alpha1.PlacementPolicy, opts v1.CreateOptions) (*v1alpha1.PlacementPolicy, error)
	Update(ctx context.Context, placementPolicy *v1alpha1.PlacementPolicy, opts v1.UpdateOptions) (*v1alpha1.PlacementPolicy, error)
	UpdateStatus(ctx context.Context, placementPolicy *v1alpha1.PlacementPolicy, opts v1.UpdateOptions) (*v1alpha1.PlacementPolicy, 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.PlacementPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PlacementPolicyList, 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.PlacementPolicy, err error)
	PlacementPolicyExpansion
}

PlacementPolicyInterface has methods to work with PlacementPolicy resources.

type PlacementpolicyV1alpha1Client

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

PlacementpolicyV1alpha1Client is used to interact with features provided by the placement-policy.scheduling.x-k8s.io group.

func New

New creates a new PlacementpolicyV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new PlacementpolicyV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *PlacementpolicyV1alpha1Client

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

func (*PlacementpolicyV1alpha1Client) PlacementPolicies

func (c *PlacementpolicyV1alpha1Client) PlacementPolicies(namespace string) PlacementPolicyInterface

func (*PlacementpolicyV1alpha1Client) RESTClient

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

type PlacementpolicyV1alpha1Interface

type PlacementpolicyV1alpha1Interface interface {
	RESTClient() rest.Interface
	PlacementPoliciesGetter
}

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