v1beta1

package
v0.0.0-...-8d97484 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the rbacdefinitions v1beta1 API group +kubebuilder:object:generate=true +groupName=access-manager.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "access-manager.io", Version: "v1beta1"}

	// 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 BindingsSpec

type BindingsSpec struct {
	// +kubebuilder:default=""
	// +kubebuilder:validation:Optional
	Name     string `json:"name"`
	RoleName string `json:"roleName"`
	Kind     string `json:"kind"`
	// +kubebuilder:validation:Optional
	Subjects []rbacv1.Subject `json:"subjects"`
	// +kubebuilder:default=false
	// +kubebuilder:validation:Optional
	AllServiceAccounts bool `json:"allServiceAccounts"`
}

func (*BindingsSpec) DeepCopy

func (in *BindingsSpec) DeepCopy() *BindingsSpec

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

func (*BindingsSpec) DeepCopyInto

func (in *BindingsSpec) DeepCopyInto(out *BindingsSpec)

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

type ClusterSpec

type ClusterSpec struct {
	Name            string           `json:"name"`
	ClusterRoleName string           `json:"clusterRoleName"`
	Subjects        []rbacv1.Subject `json:"subjects"`
}

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type NamespaceSpec

type NamespaceSpec struct {
	Name string `json:"name"`
}

func (*NamespaceSpec) DeepCopy

func (in *NamespaceSpec) DeepCopy() *NamespaceSpec

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

func (*NamespaceSpec) DeepCopyInto

func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec)

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

type NamespacedSpec

type NamespacedSpec struct {
	Namespace         NamespaceSpec        `json:"namespace,omitempty"`
	NamespaceSelector metav1.LabelSelector `json:"namespaceSelector,omitempty"`
	Bindings          []BindingsSpec       `json:"bindings"`
}

func (*NamespacedSpec) DeepCopy

func (in *NamespacedSpec) DeepCopy() *NamespacedSpec

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

func (*NamespacedSpec) DeepCopyInto

func (in *NamespacedSpec) DeepCopyInto(out *NamespacedSpec)

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

type RbacDefinition

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

	Spec   RbacDefinitionSpec   `json:"spec,omitempty"`
	Status RbacDefinitionStatus `json:"status,omitempty"`
}

RbacDefinition is the Schema for the rbacdefinitions API +kubebuilder:subresource:status +kubebuilder:resource:path=rbacdefinitions,scope=Cluster

func (*RbacDefinition) DeepCopy

func (in *RbacDefinition) DeepCopy() *RbacDefinition

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

func (*RbacDefinition) DeepCopyInto

func (in *RbacDefinition) DeepCopyInto(out *RbacDefinition)

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

func (*RbacDefinition) DeepCopyObject

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

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

type RbacDefinitionList

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

RbacDefinitionList contains a list of RbacDefinition

func (*RbacDefinitionList) DeepCopy

func (in *RbacDefinitionList) DeepCopy() *RbacDefinitionList

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

func (*RbacDefinitionList) DeepCopyInto

func (in *RbacDefinitionList) DeepCopyInto(out *RbacDefinitionList)

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

func (*RbacDefinitionList) DeepCopyObject

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

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

type RbacDefinitionSpec

type RbacDefinitionSpec struct {
	Paused     bool             `json:"paused,omitempty"`
	Namespaced []NamespacedSpec `json:"namespaced,omitempty"`
	Cluster    []ClusterSpec    `json:"cluster,omitempty"`
}

RbacDefinitionSpec defines the desired state of RbacDefinition

func (*RbacDefinitionSpec) DeepCopy

func (in *RbacDefinitionSpec) DeepCopy() *RbacDefinitionSpec

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

func (*RbacDefinitionSpec) DeepCopyInto

func (in *RbacDefinitionSpec) DeepCopyInto(out *RbacDefinitionSpec)

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

type RbacDefinitionStatus

type RbacDefinitionStatus struct {
}

RbacDefinitionStatus defines the observed state of RbacDefinition

func (*RbacDefinitionStatus) DeepCopy

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

func (*RbacDefinitionStatus) DeepCopyInto

func (in *RbacDefinitionStatus) DeepCopyInto(out *RbacDefinitionStatus)

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

type SourceSpec

type SourceSpec struct {
	Namespace string `json:"namespace"`
	Name      string `json:"name"`
}

func (*SourceSpec) DeepCopy

func (in *SourceSpec) DeepCopy() *SourceSpec

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

func (*SourceSpec) DeepCopyInto

func (in *SourceSpec) DeepCopyInto(out *SourceSpec)

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

type SyncSecretDefinition

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

	Spec   SyncSecretDefinitionSpec   `json:"spec,omitempty"`
	Status SyncSecretDefinitionStatus `json:"status,omitempty"`
}

SyncSecretDefinition is the Schema for the syncsecretdefinitions API

func (*SyncSecretDefinition) DeepCopy

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

func (*SyncSecretDefinition) DeepCopyInto

func (in *SyncSecretDefinition) DeepCopyInto(out *SyncSecretDefinition)

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

func (*SyncSecretDefinition) DeepCopyObject

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

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

type SyncSecretDefinitionList

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

SyncSecretDefinitionList contains a list of SyncSecretDefinition

func (*SyncSecretDefinitionList) DeepCopy

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

func (*SyncSecretDefinitionList) DeepCopyInto

func (in *SyncSecretDefinitionList) DeepCopyInto(out *SyncSecretDefinitionList)

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

func (*SyncSecretDefinitionList) DeepCopyObject

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

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

type SyncSecretDefinitionSpec

type SyncSecretDefinitionSpec struct {
	// +kubebuilder:default=false
	// +kubebuilder:validation:Optional
	Paused  bool         `json:"paused,omitempty"`
	Source  SourceSpec   `json:"source"`
	Targets []TargetSpec `json:"targets"`
}

SyncSecretDefinitionSpec defines the desired state of SyncSecretDefinition

func (*SyncSecretDefinitionSpec) DeepCopy

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

func (*SyncSecretDefinitionSpec) DeepCopyInto

func (in *SyncSecretDefinitionSpec) DeepCopyInto(out *SyncSecretDefinitionSpec)

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

type SyncSecretDefinitionStatus

type SyncSecretDefinitionStatus struct {
}

SyncSecretDefinitionStatus defines the observed state of SyncSecretDefinition

func (*SyncSecretDefinitionStatus) DeepCopy

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

func (*SyncSecretDefinitionStatus) DeepCopyInto

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

type TargetSpec

type TargetSpec struct {
	Namespace         NamespaceSpec        `json:"namespace,omitempty"`
	NamespaceSelector metav1.LabelSelector `json:"namespaceSelector,omitempty"`
}

func (*TargetSpec) DeepCopy

func (in *TargetSpec) DeepCopy() *TargetSpec

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

func (*TargetSpec) DeepCopyInto

func (in *TargetSpec) DeepCopyInto(out *TargetSpec)

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