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 ProblemEnvironmentInterface ¶
type ProblemEnvironmentInterface interface { Create(ctx context.Context, problemEnvironment *v1alpha1.ProblemEnvironment, opts metav1.CreateOptions) (*v1alpha1.ProblemEnvironment, error) Update(ctx context.Context, problemEnvironment *v1alpha1.ProblemEnvironment, opts metav1.UpdateOptions) (*v1alpha1.ProblemEnvironment, error) UpdateStatus(ctx context.Context, problemEnvironment *v1alpha1.ProblemEnvironment, opts metav1.UpdateOptions) (*v1alpha1.ProblemEnvironment, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.ProblemEnvironment, error) List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.ProblemEnvironmentList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ref: https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod.go
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) }
Click to show internal directories.
Click to hide internal directories.