v1beta1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Definitions for the Kubernetes types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthorizationPolicyClient

func NewAuthorizationPolicyClient(client client.Client) *authorizationPolicyClient

Types

type AuthorizationPolicyClient

Client knows how to perform CRUD operations on AuthorizationPolicys.

type AuthorizationPolicyReader

type AuthorizationPolicyReader interface {
	// Get retrieves a AuthorizationPolicy for the given object key
	GetAuthorizationPolicy(ctx context.Context, key client.ObjectKey) (*security_istio_io_v1beta1.AuthorizationPolicy, error)

	// List retrieves list of AuthorizationPolicys for a given namespace and list options.
	ListAuthorizationPolicy(ctx context.Context, opts ...client.ListOption) (*security_istio_io_v1beta1.AuthorizationPolicyList, error)
}

Reader knows how to read and list AuthorizationPolicys.

type AuthorizationPolicySlice

type AuthorizationPolicySlice []*AuthorizationPolicy

AuthorizationPolicySlice represents a slice of *AuthorizationPolicy

type AuthorizationPolicyStatusWriter

type AuthorizationPolicyStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given AuthorizationPolicy object.
	UpdateAuthorizationPolicyStatus(ctx context.Context, obj *security_istio_io_v1beta1.AuthorizationPolicy, opts ...client.UpdateOption) error

	// Patch patches the given AuthorizationPolicy object's subresource.
	PatchAuthorizationPolicyStatus(ctx context.Context, obj *security_istio_io_v1beta1.AuthorizationPolicy, patch client.Patch, opts ...client.PatchOption) error
}

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

type AuthorizationPolicyTransitionFunction

type AuthorizationPolicyTransitionFunction func(existing, desired *security_istio_io_v1beta1.AuthorizationPolicy) error

AuthorizationPolicyTransitionFunction instructs the AuthorizationPolicyWriter how to transition between an existing AuthorizationPolicy object and a desired on an Upsert

type AuthorizationPolicyWriter

type AuthorizationPolicyWriter interface {
	// Create saves the AuthorizationPolicy object.
	CreateAuthorizationPolicy(ctx context.Context, obj *security_istio_io_v1beta1.AuthorizationPolicy, opts ...client.CreateOption) error

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

	// Update updates the given AuthorizationPolicy object.
	UpdateAuthorizationPolicy(ctx context.Context, obj *security_istio_io_v1beta1.AuthorizationPolicy, opts ...client.UpdateOption) error

	// Patch patches the given AuthorizationPolicy object.
	PatchAuthorizationPolicy(ctx context.Context, obj *security_istio_io_v1beta1.AuthorizationPolicy, patch client.Patch, opts ...client.PatchOption) error

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

	// Create or Update the AuthorizationPolicy object.
	UpsertAuthorizationPolicy(ctx context.Context, obj *security_istio_io_v1beta1.AuthorizationPolicy, transitionFuncs ...AuthorizationPolicyTransitionFunction) error
}

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

type Clientset

type Clientset interface {
	// clienset for the security.istio.io/v1beta1/v1beta1 APIs
	AuthorizationPolicies() AuthorizationPolicyClient
}

clienset for the security.istio.io/v1beta1 APIs

func NewClientset

func NewClientset(client client.Client) Clientset

func NewClientsetFromConfig

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

type MulticlusterAuthorizationPolicyClient

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

Provides AuthorizationPolicyClients for multiple clusters.

func NewMulticlusterAuthorizationPolicyClient

func NewMulticlusterAuthorizationPolicyClient(client multicluster.Client) MulticlusterAuthorizationPolicyClient

type MulticlusterClientset

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

MulticlusterClientset for the security.istio.io/v1beta1 APIs

func NewMulticlusterClientset

func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset

Directories

Path Synopsis
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers
Definitions for the Kubernetes Controllers Definitions for the multicluster 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_v1beta1 is a generated GoMock package.
Package mock_v1beta1 is a generated GoMock package.
mocks
Package mock_v1beta1sets is a generated GoMock package.
Package mock_v1beta1sets is a generated GoMock package.

Jump to

Keyboard shortcuts

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