v1alpha1

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:rbac:groups=gcpauthpolicy.nuxeo.io,resources=profiles,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=gcpauthpolicy.nuxeo.io,resources=profiles/status,verbs=get;update;patch +kubebuilder:rbac:groups="",resources=secrets,verbs=* +kubebuilder:rbac:groups="",resources=namespaces,verbs=get;list;watch +kubebuilder:webhook:versions={v1,v1beta1},groups=gcpauthpolicy.nuxeo.io,resources=serviceaccounts,verbs="CREATE",name=gcpauthpolicy,path=/mutate-v1-serviceaccounts,mutating=true,failurePolicy=Ignore

+k8s:deepcopy-gen=package,register +kubebuilder:object:generate=true +groupName=gcpauthpolicy.nuxeo.io +versionName=v1alpha1

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "gcpauthpolicy.nuxeo.io", Version: "v1alpha1"}

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

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

	ProfilesResource = SchemeGroupVersion.WithResource("profiles")
)

Functions

This section is empty.

Types

type KeyValue

type KeyValue string

KeyValue typed gcpauth annotation identifiers

const (
	ProfilesKey KeyValue = "gcpauthpolicy.nuxeo.io/profiles"
	TypeKey     KeyValue = "gcpauthpolicy.nuxeo.io/type"
	WatchKey    KeyValue = "gcpauthpolicy.nuxeo.io/watch"
)

func (KeyValue) String

func (name KeyValue) String() string

type Profile

type Profile struct {
	meta_api.TypeMeta   `json:",inline"`
	meta_api.ObjectMeta `json:"metadata,omitempty"`

	Spec   ProfileSpec   `json:"spec,omitempty"`
	Status ProfileStatus `json:"status,omitempty"`
}

GCPAuthProfile is the schema for the GCPAuthPolicy profile API

func (*Profile) DeepCopy

func (in *Profile) DeepCopy() *Profile

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

func (*Profile) DeepCopyInto

func (in *Profile) DeepCopyInto(out *Profile)

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

func (*Profile) DeepCopyObject

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

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

type ProfileList

type ProfileList struct {
	meta_api.TypeMeta `json:",inline"`
	meta_api.ListMeta `json:"metadata,omitempty"`
	Items             []Profile `json:"items"`
}

ProfileList contains a list of GCPAuthPolicyProfile

func (*ProfileList) DeepCopy

func (in *ProfileList) DeepCopy() *ProfileList

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

func (*ProfileList) DeepCopyInto

func (in *ProfileList) DeepCopyInto(out *ProfileList)

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

func (*ProfileList) DeepCopyObject

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

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

type ProfileSpec

type ProfileSpec struct {
	Namespaces string                  `json:"namespaces,omitempty"`
	Selector   *meta_api.LabelSelector `json:"selector,omitempty"`
	Datasource SecretRef               `json:"datasource,omitempty"`
}

func (*ProfileSpec) DeepCopy

func (in *ProfileSpec) DeepCopy() *ProfileSpec

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

func (*ProfileSpec) DeepCopyInto

func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)

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

type ProfileStatus

type ProfileStatus struct {
}

ProfileStatus the status

func (*ProfileStatus) DeepCopy

func (in *ProfileStatus) DeepCopy() *ProfileStatus

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

func (*ProfileStatus) DeepCopyInto

func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)

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

type ResourceKind

type ResourceKind string
const (
	ProfileKind ResourceKind = "Profile"
)

func (ResourceKind) String

func (name ResourceKind) String() string

type SecretRef

type SecretRef struct {
	Namespace string `json:"namespace,omitempty"`
	Name      string `json:"name,omitempty"`
}

func (*SecretRef) DeepCopy

func (in *SecretRef) DeepCopy() *SecretRef

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

func (*SecretRef) DeepCopyInto

func (in *SecretRef) DeepCopyInto(out *SecretRef)

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