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 ¶
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 ¶
func (in *RoleBindingTemplateList) DeepCopy() *RoleBindingTemplateList
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
func (in *RoleBindingTemplateResource) DeepCopy() *RoleBindingTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingTemplateResource.
func (*RoleBindingTemplateResource) DeepCopyInto ¶ added in v0.39.0
func (in *RoleBindingTemplateResource) DeepCopyInto(out *RoleBindingTemplateResource)
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
func (in *RoleBindingTemplateScopes) DeepCopy() *RoleBindingTemplateScopes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingTemplateScopes.
func (*RoleBindingTemplateScopes) DeepCopyInto ¶ added in v0.39.0
func (in *RoleBindingTemplateScopes) DeepCopyInto(out *RoleBindingTemplateScopes)
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 ¶
func (in *RoleBindingTemplateSpec) DeepCopy() *RoleBindingTemplateSpec
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 ¶
func (in *RoleBindingTemplateStatus) DeepCopy() *RoleBindingTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingTemplateStatus.
func (*RoleBindingTemplateStatus) DeepCopyInto ¶
func (in *RoleBindingTemplateStatus) DeepCopyInto(out *RoleBindingTemplateStatus)
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.