v1alpha3

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Definitions for the Kubernetes types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPRouteGroupClient

func NewHTTPRouteGroupClient(client client.Client) *hTTPRouteGroupClient

Types

type Clientset

type Clientset interface {
	// clienset for the specs.smi-spec.io/v1alpha3/v1alpha3 APIs
	HTTPRouteGroups() HTTPRouteGroupClient
}

clienset for the specs.smi-spec.io/v1alpha3 APIs

func NewClientset

func NewClientset(client client.Client) Clientset

func NewClientsetFromConfig

func NewClientsetFromConfig(cfg *rest.Config) (Clientset, error)

type HTTPRouteGroupClient

type HTTPRouteGroupClient interface {
	HTTPRouteGroupReader
	HTTPRouteGroupWriter
	HTTPRouteGroupStatusWriter
}

Client knows how to perform CRUD operations on HTTPRouteGroups.

type HTTPRouteGroupReader

type HTTPRouteGroupReader interface {
	// Get retrieves a HTTPRouteGroup for the given object key
	GetHTTPRouteGroup(ctx context.Context, key client.ObjectKey) (*specs_smi_spec_io_v1alpha3.HTTPRouteGroup, error)

	// List retrieves list of HTTPRouteGroups for a given namespace and list options.
	ListHTTPRouteGroup(ctx context.Context, opts ...client.ListOption) (*specs_smi_spec_io_v1alpha3.HTTPRouteGroupList, error)
}

Reader knows how to read and list HTTPRouteGroups.

type HTTPRouteGroupSlice

type HTTPRouteGroupSlice []*HTTPRouteGroup

HTTPRouteGroupSlice represents a slice of *HTTPRouteGroup

type HTTPRouteGroupStatusWriter

type HTTPRouteGroupStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given HTTPRouteGroup object.
	UpdateHTTPRouteGroupStatus(ctx context.Context, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup, opts ...client.SubResourceUpdateOption) error

	// Patch patches the given HTTPRouteGroup object's subresource.
	PatchHTTPRouteGroupStatus(ctx context.Context, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup, patch client.Patch, opts ...client.SubResourcePatchOption) error
}

StatusWriter knows how to update status subresource of a HTTPRouteGroup object.

type HTTPRouteGroupTransitionFunction

type HTTPRouteGroupTransitionFunction func(existing, desired *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error

HTTPRouteGroupTransitionFunction instructs the HTTPRouteGroupWriter how to transition between an existing HTTPRouteGroup object and a desired on an Upsert

type HTTPRouteGroupWriter

type HTTPRouteGroupWriter interface {
	// Create saves the HTTPRouteGroup object.
	CreateHTTPRouteGroup(ctx context.Context, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup, opts ...client.CreateOption) error

	// Delete deletes the HTTPRouteGroup object.
	DeleteHTTPRouteGroup(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given HTTPRouteGroup object.
	UpdateHTTPRouteGroup(ctx context.Context, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup, opts ...client.UpdateOption) error

	// Patch patches the given HTTPRouteGroup object.
	PatchHTTPRouteGroup(ctx context.Context, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all HTTPRouteGroup objects matching the given options.
	DeleteAllOfHTTPRouteGroup(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the HTTPRouteGroup object.
	UpsertHTTPRouteGroup(ctx context.Context, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup, transitionFuncs ...HTTPRouteGroupTransitionFunction) error
}

Writer knows how to create, delete, and update HTTPRouteGroups.

type MulticlusterClientset

type MulticlusterClientset interface {
	// Cluster returns a Clientset for the given cluster
	Cluster(cluster string) (Clientset, error)
}

MulticlusterClientset for the specs.smi-spec.io/v1alpha3 APIs

func NewMulticlusterClientset

func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset

type MulticlusterHTTPRouteGroupClient

type MulticlusterHTTPRouteGroupClient interface {
	// Cluster returns a HTTPRouteGroupClient for the given cluster
	Cluster(cluster string) (HTTPRouteGroupClient, error)
}

Provides HTTPRouteGroupClients for multiple clusters.

func NewMulticlusterHTTPRouteGroupClient

func NewMulticlusterHTTPRouteGroupClient(client multicluster.Client) MulticlusterHTTPRouteGroupClient

Directories

Path Synopsis
Definitions for the Kubernetes Controllers
Definitions for the Kubernetes Controllers
mocks
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.
Package mock_v1alpha3 is a generated GoMock package.
Package mock_v1alpha3 is a generated GoMock package.
mocks
Package mock_v1alpha3sets is a generated GoMock package.
Package mock_v1alpha3sets is a generated GoMock package.

Jump to

Keyboard shortcuts

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