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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Client.
func (*Client) DeepCopyInto ¶
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 ¶
func (in *DynamicServerAuthorization) DeepCopy() *DynamicServerAuthorization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorization.
func (*DynamicServerAuthorization) DeepCopyInto ¶
func (in *DynamicServerAuthorization) DeepCopyInto(out *DynamicServerAuthorization)
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 ¶
func (in *DynamicServerAuthorizationList) DeepCopy() *DynamicServerAuthorizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorizationList.
func (*DynamicServerAuthorizationList) DeepCopyInto ¶
func (in *DynamicServerAuthorizationList) DeepCopyInto(out *DynamicServerAuthorizationList)
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 ¶
func (in *DynamicServerAuthorizationSpec) DeepCopy() *DynamicServerAuthorizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorizationSpec.
func (*DynamicServerAuthorizationSpec) DeepCopyInto ¶
func (in *DynamicServerAuthorizationSpec) DeepCopyInto(out *DynamicServerAuthorizationSpec)
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 ¶
func (in *DynamicServerAuthorizationStatus) DeepCopy() *DynamicServerAuthorizationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicServerAuthorizationStatus.
func (*DynamicServerAuthorizationStatus) DeepCopyInto ¶
func (in *DynamicServerAuthorizationStatus) DeepCopyInto(out *DynamicServerAuthorizationStatus)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTLS.
func (*MeshTLS) DeepCopyInto ¶
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 ¶
func (in *ServiceAccountSelector) DeepCopy() *ServiceAccountSelector
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.