v1alpha1

package
v0.41.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the auth.giantswarm.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=auth.giantswarm.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "auth.giantswarm.io", 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 RoleBindingTemplate

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

	Spec   RoleBindingTemplateSpec   `json:"spec,omitempty"`
	Status RoleBindingTemplateStatus `json:"status,omitempty"`
}

RoleBindingTemplate is the Schema for the rolebindingtemplates API

func (*RoleBindingTemplate) DeepCopy

func (in *RoleBindingTemplate) DeepCopy() *RoleBindingTemplate

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

func (*RoleBindingTemplate) DeepCopyInto

func (in *RoleBindingTemplate) DeepCopyInto(out *RoleBindingTemplate)

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

func (*RoleBindingTemplate) DeepCopyObject

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

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

type RoleBindingTemplateList

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

RoleBindingTemplateList contains a list of RoleBindingTemplate

func (*RoleBindingTemplateList) DeepCopy

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

func (*RoleBindingTemplateList) DeepCopyInto

func (in *RoleBindingTemplateList) DeepCopyInto(out *RoleBindingTemplateList)

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

func (*RoleBindingTemplateList) DeepCopyObject

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

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

type RoleBindingTemplateResource

type RoleBindingTemplateResource struct {
	// Standard object's metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Subjects holds references to the objects the role applies to.
	// +optional
	Subjects []rbacv1.Subject `json:"subjects,omitempty"`

	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
	// If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef rbacv1.RoleRef `json:"roleRef"`
}

RoleBindingTemplateResource describes the data needed to create a rolebinding from a template.

func (*RoleBindingTemplateResource) DeepCopy added in v0.39.0

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

func (*RoleBindingTemplateResource) DeepCopyInto added in v0.39.0

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

type RoleBindingTemplateScopes

type RoleBindingTemplateScopes struct {
	OrganizationSelector ScopeSelector `json:"organizationSelector"`
}

RoleBindingTemplateScopes describes the scopes the RoleBindingTemplate should be applied to

func (*RoleBindingTemplateScopes) DeepCopy added in v0.39.0

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

func (*RoleBindingTemplateScopes) DeepCopyInto added in v0.39.0

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

type RoleBindingTemplateSpec

type RoleBindingTemplateSpec struct {
	Template RoleBindingTemplateResource `json:"template"`
	Scopes   RoleBindingTemplateScopes   `json:"scopes"`
}

RoleBindingTemplateSpec defines the desired state of RoleBindingTemplate

func (*RoleBindingTemplateSpec) DeepCopy

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

func (*RoleBindingTemplateSpec) DeepCopyInto

func (in *RoleBindingTemplateSpec) DeepCopyInto(out *RoleBindingTemplateSpec)

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

type RoleBindingTemplateStatus

type RoleBindingTemplateStatus struct {
	// Namespaces contains a list of namespaces the RoleBinding is currently applied to
	Namespaces []string `json:"namespaces,omitempty"`
}

RoleBindingTemplateStatus defines the observed state of RoleBindingTemplate

func (*RoleBindingTemplateStatus) DeepCopy

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

func (*RoleBindingTemplateStatus) DeepCopyInto

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

type ScopeSelector

type ScopeSelector struct {
	MatchLabels      map[string]string                 `json:"matchLabels,omitempty"`
	MatchExpressions []metav1.LabelSelectorRequirement `json:"matchExpressions,omitempty"`
}

ScopeSelector wraps a k8s label selector

func (*ScopeSelector) DeepCopy added in v0.39.0

func (in *ScopeSelector) DeepCopy() *ScopeSelector

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

func (*ScopeSelector) DeepCopyInto added in v0.39.0

func (in *ScopeSelector) DeepCopyInto(out *ScopeSelector)

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