Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
- func NewAuthorizationPolicyClient(client client.Client) *authorizationPolicyClient
- func NewPeerAuthenticationClient(client client.Client) *peerAuthenticationClient
- func NewRequestAuthenticationClient(client client.Client) *requestAuthenticationClient
- type AuthorizationPolicyClient
- type AuthorizationPolicyReader
- type AuthorizationPolicySlice
- type AuthorizationPolicyStatusWriter
- type AuthorizationPolicyTransitionFunction
- type AuthorizationPolicyWriter
- type Clientset
- type MulticlusterAuthorizationPolicyClient
- type MulticlusterClientset
- type MulticlusterPeerAuthenticationClient
- type MulticlusterRequestAuthenticationClient
- type PeerAuthenticationClient
- type PeerAuthenticationReader
- type PeerAuthenticationSlice
- type PeerAuthenticationStatusWriter
- type PeerAuthenticationTransitionFunction
- type PeerAuthenticationWriter
- type RequestAuthenticationClient
- type RequestAuthenticationReader
- type RequestAuthenticationSlice
- type RequestAuthenticationStatusWriter
- type RequestAuthenticationTransitionFunction
- type RequestAuthenticationWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPeerAuthenticationClient ¶ added in v0.1.7
func NewRequestAuthenticationClient ¶ added in v0.2.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.SubResourceUpdateOption) error // Patch patches the given AuthorizationPolicy object's subresource. PatchAuthorizationPolicyStatus(ctx context.Context, obj *security_istio_io_v1beta1.AuthorizationPolicy, patch client.Patch, opts ...client.SubResourcePatchOption) 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/v1beta1 APIs RequestAuthentications() RequestAuthenticationClient }
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 MulticlusterRequestAuthenticationClient ¶ added in v0.2.7
type MulticlusterRequestAuthenticationClient interface { // Cluster returns a RequestAuthenticationClient for the given cluster Cluster(cluster string) (RequestAuthenticationClient, error) }
Provides RequestAuthenticationClients for multiple clusters.
func NewMulticlusterRequestAuthenticationClient ¶ added in v0.2.7
func NewMulticlusterRequestAuthenticationClient(client multicluster.Client) MulticlusterRequestAuthenticationClient
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.SubResourceUpdateOption) error // Patch patches the given PeerAuthentication object's subresource. PatchPeerAuthenticationStatus(ctx context.Context, obj *security_istio_io_v1beta1.PeerAuthentication, patch client.Patch, opts ...client.SubResourcePatchOption) 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.
type RequestAuthenticationClient ¶ added in v0.2.7
type RequestAuthenticationClient interface { RequestAuthenticationReader RequestAuthenticationWriter RequestAuthenticationStatusWriter }
Client knows how to perform CRUD operations on RequestAuthentications.
type RequestAuthenticationReader ¶ added in v0.2.7
type RequestAuthenticationReader interface { // Get retrieves a RequestAuthentication for the given object key GetRequestAuthentication(ctx context.Context, key client.ObjectKey) (*security_istio_io_v1beta1.RequestAuthentication, error) // List retrieves list of RequestAuthentications for a given namespace and list options. ListRequestAuthentication(ctx context.Context, opts ...client.ListOption) (*security_istio_io_v1beta1.RequestAuthenticationList, error) }
Reader knows how to read and list RequestAuthentications.
type RequestAuthenticationSlice ¶ added in v0.2.7
type RequestAuthenticationSlice []*RequestAuthentication
RequestAuthenticationSlice represents a slice of *RequestAuthentication
type RequestAuthenticationStatusWriter ¶ added in v0.2.7
type RequestAuthenticationStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given RequestAuthentication object. UpdateRequestAuthenticationStatus(ctx context.Context, obj *security_istio_io_v1beta1.RequestAuthentication, opts ...client.SubResourceUpdateOption) error // Patch patches the given RequestAuthentication object's subresource. PatchRequestAuthenticationStatus(ctx context.Context, obj *security_istio_io_v1beta1.RequestAuthentication, patch client.Patch, opts ...client.SubResourcePatchOption) error }
StatusWriter knows how to update status subresource of a RequestAuthentication object.
type RequestAuthenticationTransitionFunction ¶ added in v0.2.7
type RequestAuthenticationTransitionFunction func(existing, desired *security_istio_io_v1beta1.RequestAuthentication) error
RequestAuthenticationTransitionFunction instructs the RequestAuthenticationWriter how to transition between an existing RequestAuthentication object and a desired on an Upsert
type RequestAuthenticationWriter ¶ added in v0.2.7
type RequestAuthenticationWriter interface { // Create saves the RequestAuthentication object. CreateRequestAuthentication(ctx context.Context, obj *security_istio_io_v1beta1.RequestAuthentication, opts ...client.CreateOption) error // Delete deletes the RequestAuthentication object. DeleteRequestAuthentication(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given RequestAuthentication object. UpdateRequestAuthentication(ctx context.Context, obj *security_istio_io_v1beta1.RequestAuthentication, opts ...client.UpdateOption) error // Patch patches the given RequestAuthentication object. PatchRequestAuthentication(ctx context.Context, obj *security_istio_io_v1beta1.RequestAuthentication, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all RequestAuthentication objects matching the given options. DeleteAllOfRequestAuthentication(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the RequestAuthentication object. UpsertRequestAuthentication(ctx context.Context, obj *security_istio_io_v1beta1.RequestAuthentication, transitionFuncs ...RequestAuthenticationTransitionFunction) error }
Writer knows how to create, delete, and update RequestAuthentications.
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_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. |