v1alpha1

package
v0.0.0-...-4e90f2d Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the linkerd-dynauth v1alpha1 API group +kubebuilder:object:generate=true +groupName=linkerd-dynauth.k.r8y.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "linkerd-dynauth.k.r8y.net", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Client

type Client struct {
	// Healthcheck authorizes node IP addresses. This is useful for clusters in which
	// the kubelet IP addresses are not predictable.
	Healthcheck bool `json:"healthcheck,omitempty"`
	// MeshTLS is used to dynamically authorize clients to a server.
	MeshTLS *MeshTLS `json:"meshTLS,omitempty"`
}

Client describes ways that clients may be authorized to access a server.

func (*Client) DeepCopy

func (in *Client) DeepCopy() *Client

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Client.

func (*Client) DeepCopyInto

func (in *Client) DeepCopyInto(out *Client)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommonMeta

type CommonMeta struct {
	Labels      map[string]string `json:"labels,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*CommonMeta) DeepCopy

func (in *CommonMeta) DeepCopy() *CommonMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonMeta.

func (*CommonMeta) DeepCopyInto

func (in *CommonMeta) DeepCopyInto(out *CommonMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicServerAuthorization

type DynamicServerAuthorization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DynamicServerAuthorizationSpec   `json:"spec,omitempty"`
	Status DynamicServerAuthorizationStatus `json:"status,omitempty"`
}

DynamicServerAuthorization is the Schema for the dynamicserverauthorizations API

+kubebuilder:resource:shortName=dsaz

func (*DynamicServerAuthorization) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorization.

func (*DynamicServerAuthorization) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DynamicServerAuthorization) DeepCopyObject

func (in *DynamicServerAuthorization) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DynamicServerAuthorizationList

type DynamicServerAuthorizationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DynamicServerAuthorization `json:"items"`
}

DynamicServerAuthorizationList contains a list of DynamicServerAuthorization

func (*DynamicServerAuthorizationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorizationList.

func (*DynamicServerAuthorizationList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DynamicServerAuthorizationList) DeepCopyObject

func (in *DynamicServerAuthorizationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DynamicServerAuthorizationSpec

type DynamicServerAuthorizationSpec struct {
	CommonMetadata CommonMeta `json:"commonMetadata,omitempty"`

	Server serverauthorizationv1beta1.Server `json:"server,omitempty"`
	Client Client                            `json:"client,omitempty"`
}

DynamicServerAuthorizationSpec defines the desired state of DynamicServerAuthorization

func (*DynamicServerAuthorizationSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorizationSpec.

func (*DynamicServerAuthorizationSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicServerAuthorizationStatus

type DynamicServerAuthorizationStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

DynamicServerAuthorizationStatus defines the observed state of DynamicServerAuthorization

func (*DynamicServerAuthorizationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorizationStatus.

func (*DynamicServerAuthorizationStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MeshTLS

type MeshTLS struct {
	// ServiceAccounts defines the authorized service accounts. At most 16 items
	// may be specified in a single dynamic server authorization.
	//
	//+kubebuilder:validation:MaxItems=16
	ServiceAccounts []*ServiceAccountSelector `json:"serviceAccounts,omitempty"`
}

func (*MeshTLS) DeepCopy

func (in *MeshTLS) DeepCopy() *MeshTLS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTLS.

func (*MeshTLS) DeepCopyInto

func (in *MeshTLS) DeepCopyInto(out *MeshTLS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceAccountSelector

type ServiceAccountSelector struct {
	// Name defines the name of the service account.
	Name              string                `json:"name,omitempty"`
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
}

func (*ServiceAccountSelector) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountSelector.

func (*ServiceAccountSelector) DeepCopyInto

func (in *ServiceAccountSelector) DeepCopyInto(out *ServiceAccountSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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