v1alpha1

package
v0.0.0-...-3408081 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientsetInterface

type ClientsetInterface interface {
	Problem(namespace string) ProblemInterface
	ProblemEnvironment(namespace string) ProblemEnvironmentInterface
	Worker() WorkerInterface
}

func NewForConfig

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

type ProblemInterface

type ProblemInterface interface {
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.ProblemList, error)
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.Problem, error)
	Create(ctx context.Context, problem *v1alpha1.Problem) (*v1alpha1.Problem, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
}

type WorkerInterface

type WorkerInterface interface {
	Create(ctx context.Context, worker *v1alpha1.Worker, opts metav1.CreateOptions) (*v1alpha1.Worker, error)
	Update(ctx context.Context, worker *v1alpha1.Worker, opts metav1.UpdateOptions) (*v1alpha1.Worker, error)
	UpdateStatus(ctx context.Context, worker *v1alpha1.Worker, opts metav1.UpdateOptions) (*v1alpha1.Worker, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.Worker, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.WorkerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL