Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
- func NewAuthorizationPolicyClient(client client.Client) *authorizationPolicyClient
- func NewPeerAuthenticationClient(client client.Client) *peerAuthenticationClient
- type AuthorizationPolicyClient
- type AuthorizationPolicyReader
- type AuthorizationPolicySlice
- type AuthorizationPolicyStatusWriter
- type AuthorizationPolicyTransitionFunction
- type AuthorizationPolicyWriter
- type Clientset
- type MulticlusterAuthorizationPolicyClient
- type MulticlusterClientset
- type MulticlusterPeerAuthenticationClient
- type PeerAuthenticationClient
- type PeerAuthenticationReader
- type PeerAuthenticationSlice
- type PeerAuthenticationStatusWriter
- type PeerAuthenticationTransitionFunction
- type PeerAuthenticationWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPeerAuthenticationClient ¶ added in v0.1.7
Types ¶
type AuthorizationPolicyClient ¶
type AuthorizationPolicyClient interface { AuthorizationPolicyReader AuthorizationPolicyWriter AuthorizationPolicyStatusWriter }
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 ¶
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
type PeerAuthenticationClient interface { PeerAuthenticationReader PeerAuthenticationWriter PeerAuthenticationStatusWriter }
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. |