kubernetes

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: AGPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlueprintInterface

type BlueprintInterface interface {
	// Create takes the representation of a blueprint and creates it.  Returns the server's representation of the blueprint, and an error, if there is any.
	Create(ctx context.Context, blueprint *v1.Blueprint, opts metav1.CreateOptions) (*v1.Blueprint, error)

	// Update takes the representation of a blueprint and updates it. Returns the server's representation of the blueprint, and an error, if there is any.
	Update(ctx context.Context, blueprint *v1.Blueprint, opts metav1.UpdateOptions) (*v1.Blueprint, error)

	// UpdateStatus was generated because the type contains a Status member.
	UpdateStatus(ctx context.Context, blueprint *v1.Blueprint, opts metav1.UpdateOptions) (*v1.Blueprint, error)

	// Delete takes name of the blueprint and deletes it. Returns an error if one occurs.
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

	// DeleteCollection deletes a collection of objects.
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

	// Get takes name of the blueprint, and returns the corresponding blueprint object, and an error if there is any.
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Blueprint, error)

	// List takes label and field selectors, and returns the list of Blueprints that match those selectors.
	List(ctx context.Context, opts metav1.ListOptions) (*v1.BlueprintList, error)

	// Watch returns a watch.Interface that watches the requested blueprints.
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

	// Patch applies the patch and returns the patched blueprint.
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Blueprint, err error)
}

type ClientSet

type ClientSet struct {
	kubernetes.Interface
	// contains filtered or unexported fields
}

ClientSet extends the kubernetes.Interface to add functionality for handling the custom resources of this operator.

func NewClientSet

func NewClientSet(config *rest.Config, clientSet *kubernetes.Clientset) (*ClientSet, error)

NewClientSet creates a new instance of the client set for this operator.

func (*ClientSet) EcosystemV1Alpha1

func (cs *ClientSet) EcosystemV1Alpha1() V1Alpha1Interface

EcosystemV1Alpha1 returns a getter for the custom resources of this operator.

type Interface

type Interface interface {
	kubernetes.Interface
	// EcosystemV1Alpha1 returns a getter for the custom resources of this operator.
	EcosystemV1Alpha1() V1Alpha1Interface
}

Interface extends the kubernetes.Interface to add functionality for handling the custom resources of this operator.

type V1Alpha1Client

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

V1Alpha1Client is a getter for the custom resources of this operator.

func (*V1Alpha1Client) Blueprints

func (brc *V1Alpha1Client) Blueprints(namespace string) BlueprintInterface

Blueprints returns a client for Blueprints in the given namespace.

type V1Alpha1Interface

type V1Alpha1Interface interface {
	// contains filtered or unexported methods
}

V1Alpha1Interface provides access for Kubernetes resources.

Directories

Path Synopsis
v1
Package v1 contains API Schema definitions for the k8s v1 API group +kubebuilder:object:generate=true +groupName=k8s.cloudogu.com
Package v1 contains API Schema definitions for the k8s v1 API group +kubebuilder:object:generate=true +groupName=k8s.cloudogu.com

Jump to

Keyboard shortcuts

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