v1beta1

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 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

func NewPeerAuthenticationClient added in v0.1.7

func NewPeerAuthenticationClient(client client.Client) *peerAuthenticationClient

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/v1beta1 APIs
	PeerAuthentications() PeerAuthenticationClient
}

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

type MulticlusterPeerAuthenticationClient added in v0.1.7

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

Provides PeerAuthenticationClients for multiple clusters.

func NewMulticlusterPeerAuthenticationClient added in v0.1.7

func NewMulticlusterPeerAuthenticationClient(client multicluster.Client) MulticlusterPeerAuthenticationClient

type PeerAuthenticationClient added in v0.1.7

Client knows how to perform CRUD operations on PeerAuthentications.

type PeerAuthenticationReader added in v0.1.7

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

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

Reader knows how to read and list PeerAuthentications.

type PeerAuthenticationSlice added in v0.1.7

type PeerAuthenticationSlice []*PeerAuthentication

PeerAuthenticationSlice represents a slice of *PeerAuthentication

type PeerAuthenticationStatusWriter added in v0.1.7

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

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

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

type PeerAuthenticationTransitionFunction added in v0.1.7

type PeerAuthenticationTransitionFunction func(existing, desired *security_istio_io_v1beta1.PeerAuthentication) error

PeerAuthenticationTransitionFunction instructs the PeerAuthenticationWriter how to transition between an existing PeerAuthentication object and a desired on an Upsert

type PeerAuthenticationWriter added in v0.1.7

type PeerAuthenticationWriter interface {
	// Create saves the PeerAuthentication object.
	CreatePeerAuthentication(ctx context.Context, obj *security_istio_io_v1beta1.PeerAuthentication, opts ...client.CreateOption) error

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

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

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

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

	// Create or Update the PeerAuthentication object.
	UpsertPeerAuthentication(ctx context.Context, obj *security_istio_io_v1beta1.PeerAuthentication, transitionFuncs ...PeerAuthenticationTransitionFunction) error
}

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

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