Documentation
¶
Overview ¶
Package v1beta3 contains API Schema definitions for the syngit v1beta3 API group. +kubebuilder:object:generate=true +groupName=syngit.io
Index ¶
- Constants
- Variables
- type DefaultUnauthorizedUserMode
- type GitUserBindingState
- type GitUserHost
- type GroupVersionKindName
- type GroupVersionResourceName
- type JsonGVRN
- type LastBypassedObjectState
- type LastObservedObjectState
- type LastPushedObjectState
- type MergeStrategy
- type NamespaceScopedKinds
- type NamespaceScopedResources
- type RemoteSyncer
- type RemoteSyncerList
- type RemoteSyncerSpec
- type RemoteSyncerStatus
- type RemoteTarget
- type RemoteTargetList
- type RemoteTargetSpec
- type RemoteTargetStatus
- type RemoteTargetUserSpecificValues
- type RemoteUser
- type RemoteUserBinding
- type RemoteUserBindingList
- type RemoteUserBindingSpec
- type RemoteUserBindingStatus
- type RemoteUserConnexionStatus
- type RemoteUserConnexionStatusReason
- type RemoteUserList
- type RemoteUserSpec
- type RemoteUserStatus
- type ScopedResources
- type SecretBoundStatus
- type Strategy
- type TargetPattern
- type TargetStrategy
Constants ¶
const ( ManagedByLabelKey = "managed-by" ManagedByLabelValue = "syngit.io" K8sUserLabelKey = "syngit.io/k8s-user" )
const ( RtManagedNamePrefix = "rt" RtManagedDefaultForkNamePrefix = "fork" RtAnnotationKeyUserSpecific = "syngit.io/remotetarget.pattern.user-specific" RtAnnotationKeyOneOrManyBranches = "syngit.io/remotetarget.pattern.one-or-many-branches" RtLabelKeyAllowInjection = "syngit.io/remotetarget.allow-injection" RtLabelKeyBranch = "syngit.io/remotetarget.branch" RtLabelKeyPattern = "syngit.io/remotetarget.pattern" RtLabelValueOneOrManyBranches = "one-or-many-branches" RtLabelValueOneUserOneBranch = "user-specific.one-user-one-branch" )
const ( RubNamePrefix = "associated-rub" RubAnnotationKeyManaged = "syngit.io/remoteuserbinding.managed" RemoteRefsField = "spec.remoteRefs" )
const (
SecretRefField = "spec.secretRef.name"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "syngit.io", Version: "v1beta3"} // 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 DefaultUnauthorizedUserMode ¶
type DefaultUnauthorizedUserMode string
const ( Block DefaultUnauthorizedUserMode = "Block" UseDefaultUser DefaultUnauthorizedUserMode = "UseDefaultUser" )
type GitUserBindingState ¶
type GitUserBindingState string
const ( AllBound GitUserBindingState = "AllBound" PartiallyBound GitUserBindingState = "PartiallyBound" NoneBound GitUserBindingState = "NoneBound" Bound GitUserBindingState = "Bound" NotBound GitUserBindingState = "NotBound" )
type GitUserHost ¶
type GitUserHost struct { RemoteUserUsed string `json:"remoteUserUsed,omitempty"` SecretRef corev1.SecretReference `json:"secretRef"` GitFQDN string `json:"gitFQDN,omitempty"` State GitUserBindingState `json:"state,omitempty"` LastUsedTime metav1.Time `json:"lastUsedTime,omitempty"` }
func (*GitUserHost) DeepCopy ¶
func (in *GitUserHost) DeepCopy() *GitUserHost
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitUserHost.
func (*GitUserHost) DeepCopyInto ¶
func (in *GitUserHost) DeepCopyInto(out *GitUserHost)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupVersionKindName ¶
type GroupVersionKindName struct { *schema.GroupVersionKind Name string }
func (*GroupVersionKindName) DeepCopy ¶
func (in *GroupVersionKindName) DeepCopy() *GroupVersionKindName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKindName.
func (*GroupVersionKindName) DeepCopyInto ¶
func (in *GroupVersionKindName) DeepCopyInto(out *GroupVersionKindName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupVersionResourceName ¶
type GroupVersionResourceName struct { *schema.GroupVersionResource Name string }
func (*GroupVersionResourceName) DeepCopy ¶
func (in *GroupVersionResourceName) DeepCopy() *GroupVersionResourceName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResourceName.
func (*GroupVersionResourceName) DeepCopyInto ¶
func (in *GroupVersionResourceName) DeepCopyInto(out *GroupVersionResourceName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JsonGVRN ¶
type JsonGVRN struct { Group string `json:"group"` Version string `json:"version"` Resource string `json:"resource"` Name string `json:"name"` }
func (*JsonGVRN) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonGVRN.
func (*JsonGVRN) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastBypassedObjectState ¶
type LastBypassedObjectState struct { // +optional LastBypassedObjectTime metav1.Time `json:"lastBypassObjectTime,omitempty"` // +optional LastBypassedObjectUserInfo authenticationv1.UserInfo `json:"lastBypassObjectUserInfo,omitempty"` // +optional LastBypassedObject JsonGVRN `json:"lastBypassObject,omitempty"` }
func (*LastBypassedObjectState) DeepCopy ¶
func (in *LastBypassedObjectState) DeepCopy() *LastBypassedObjectState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastBypassedObjectState.
func (*LastBypassedObjectState) DeepCopyInto ¶
func (in *LastBypassedObjectState) DeepCopyInto(out *LastBypassedObjectState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastObservedObjectState ¶
type LastObservedObjectState struct { // +optional LastObservedObjectTime metav1.Time `json:"lastObservedObjectTime,omitempty"` // +optional LastObservedObjectUsername string `json:"lastObservedObjectUsername,omitempty"` // +optional LastObservedObject JsonGVRN `json:"lastObservedObject,omitempty"` }
func (*LastObservedObjectState) DeepCopy ¶
func (in *LastObservedObjectState) DeepCopy() *LastObservedObjectState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastObservedObjectState.
func (*LastObservedObjectState) DeepCopyInto ¶
func (in *LastObservedObjectState) DeepCopyInto(out *LastObservedObjectState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastPushedObjectState ¶
type LastPushedObjectState struct { // +optional LastPushedObjectTime metav1.Time `json:"lastPushedObjectTime,omitempty"` // +optional LastPushedGitUser string `json:"lastPushedGitUser,omitempty"` // +optional LastPushedObjectGitRepos []string `json:"lastPushedObjectGitRepo,omitempty"` // +optional LastPushedObjectGitPath string `json:"lastPushedObjectGitPath,omitempty"` // +optional LastPushedObjectGitCommitHashes []string `json:"lastPushedObjectCommitHash,omitempty"` // +optional LastPushedObject JsonGVRN `json:"lastPushedObject,omitempty"` // +optional LastPushedObjectStatus string `json:"lastPushedObjectState,omitempty"` }
func (*LastPushedObjectState) DeepCopy ¶
func (in *LastPushedObjectState) DeepCopy() *LastPushedObjectState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastPushedObjectState.
func (*LastPushedObjectState) DeepCopyInto ¶
func (in *LastPushedObjectState) DeepCopyInto(out *LastPushedObjectState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MergeStrategy ¶
type MergeStrategy string
const ( TryFastForwardOrDie MergeStrategy = "TryFastForwardOrDie" TryFastForwardOrHardReset MergeStrategy = "TryFastForwardOrHardReset" TryHardResetOrDie MergeStrategy = "TryHardResetOrDie" )
type NamespaceScopedKinds ¶
type NamespaceScopedKinds struct { APIGroups []string `json:"apiGroups"` APIVersions []string `json:"apiVersions"` Kinds []string `json:"kinds"` // +optional Names []string `json:"names"` }
func (*NamespaceScopedKinds) DeepCopy ¶
func (in *NamespaceScopedKinds) DeepCopy() *NamespaceScopedKinds
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceScopedKinds.
func (*NamespaceScopedKinds) DeepCopyInto ¶
func (in *NamespaceScopedKinds) DeepCopyInto(out *NamespaceScopedKinds)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceScopedResources ¶
type NamespaceScopedResources struct { APIGroups []string `json:"apiGroups"` APIVersions []string `json:"apiVersions"` Resources []string `json:"resources"` // +optional Names []string `json:"names"` }
func (*NamespaceScopedResources) DeepCopy ¶
func (in *NamespaceScopedResources) DeepCopy() *NamespaceScopedResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceScopedResources.
func (*NamespaceScopedResources) DeepCopyInto ¶
func (in *NamespaceScopedResources) DeepCopyInto(out *NamespaceScopedResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteSyncer ¶
type RemoteSyncer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RemoteSyncerSpec `json:"spec,omitempty"` Status RemoteSyncerStatus `json:"status,omitempty"` }
RemoteSyncer is the Schema for the remotesyncers API
func (*RemoteSyncer) DeepCopy ¶
func (in *RemoteSyncer) DeepCopy() *RemoteSyncer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteSyncer.
func (*RemoteSyncer) DeepCopyInto ¶
func (in *RemoteSyncer) DeepCopyInto(out *RemoteSyncer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteSyncer) DeepCopyObject ¶
func (in *RemoteSyncer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RemoteSyncer) Hub ¶
func (*RemoteSyncer) Hub()
type RemoteSyncerList ¶
type RemoteSyncerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RemoteSyncer `json:"items"` }
RemoteSyncerList contains a list of RemoteSyncer
func (*RemoteSyncerList) DeepCopy ¶
func (in *RemoteSyncerList) DeepCopy() *RemoteSyncerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteSyncerList.
func (*RemoteSyncerList) DeepCopyInto ¶
func (in *RemoteSyncerList) DeepCopyInto(out *RemoteSyncerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteSyncerList) DeepCopyObject ¶
func (in *RemoteSyncerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RemoteSyncerSpec ¶
type RemoteSyncerSpec struct { // +kubebuilder:validation:Required // +kubebuilder:example="https://git.example.com/my-repo.git" // +kubebuilder:validation:Format=uri RemoteRepository string `json:"remoteRepository" protobuf:"bytes,1,name=remoteRepository"` // +kubebuilder:example="main" // +kubebuilder:default:value="main" // +kubebuilder:validation:Required DefaultBranch string `json:"defaultBranch" protobuf:"bytes,opt,2,name=defaultBranch"` // +kubebuilder:default:value={} // +kubebuilder:validation:Required ScopedResources ScopedResources `json:"scopedResources" protobuf:"bytes,3,name=scopedResources,casttype=ScopedResources"` // +kubebuilder:validation:Required // +kubebuilder:default:value="CommitApply" // +kubebuilder:validation:Enum=CommitOnly;CommitApply Strategy Strategy `json:"strategy" protobuf:"bytes,4,name=strategy"` // +kubebuilder:validation:Required // +kubebuilder:default:value="OneTarget" // +kubebuilder:validation:Enum=OneTarget;MultipleTarget TargetStrategy TargetStrategy `json:"targetStrategy" protobuf:"bytes,5,name=targetStrategy"` // +kubebuilder:validation:Optional RemoteTargetSelector *metav1.LabelSelector `json:"remoteTargetSelector" protobuf:"bytes,opt,6,name=remoteTargetSelector"` // +kubebuilder:validation:Optional DefaultBlockAppliedMessage string `json:"defaultBlockAppliedMessage,omitempty" protobuf:"bytes,opt,7,name=defaultBlockAppliedMessage"` // +kubebuilder:validation:Optional ExcludedFields []string `json:"excludedFields,omitempty" protobuf:"bytes,opt,8,name=excludedFields"` // +kubebuilder:validation:Optional ExcludedFieldsConfigMapRef *corev1.ObjectReference `json:"excludedFieldsConfig,omitempty" protobuf:"bytes,opt,9,name=excludedFieldsConfig"` // Ref to a ConfigMap // +kubebuilder:validation:Optional RootPath string `json:"rootPath,omitempty" protobuf:"bytes,opt,10,name=rootPath"` // +kubebuilder:validation:Optional RemoteUserBindingSelector *metav1.LabelSelector `json:"remoteUserBindingSelector" protobuf:"bytes,opt,11,name=remoteUserBindingSelector"` // +kubebuilder:validation:Optional BypassInterceptionSubjects []rbacv1.Subject `json:"bypassInterceptionSubjects,omitempty" protobuf:"bytes,opt,12,name=bypassInterceptionSubjects"` // +kubebuilder:validation:Enum=Block;UseDefaultUser DefaultUnauthorizedUserMode DefaultUnauthorizedUserMode `json:"defaultUnauthorizedUserMode" protobuf:"bytes,opt,13,name=defaultUnauthorizedUserMode"` // +kubebuilder:validation:Optional DefaultRemoteUserRef *corev1.ObjectReference `json:"defaultRemoteUserRef,omitempty" protobuf:"bytes,opt,14,name=defaultRemoteUserRef"` // Ref to a RemoteUser object // +kubebuilder:validation:Optional DefaultRemoteTargetRef *corev1.ObjectReference `json:"defaultRemoteTargetRef,omitempty" protobuf:"bytes,opt,15,name=defaultRemoteTargetRef"` // Ref to a RemoteUser object // +kubebuilder:validation:Optional InsecureSkipTlsVerify bool `json:"insecureSkipTlsVerify,omitempty" protobuf:"bytes,opt,16,name=insecureSkipTlsVerify"` // +kubebuilder:validation:Optional CABundleSecretRef corev1.SecretReference `json:"caBundleSecretRef,omitempty" protobuf:"bytes,opt,17,name=caBundleSecretRef"` }
RemoteSyncerSpec defines the desired state of RemoteSyncer
func (*RemoteSyncerSpec) DeepCopy ¶
func (in *RemoteSyncerSpec) DeepCopy() *RemoteSyncerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteSyncerSpec.
func (*RemoteSyncerSpec) DeepCopyInto ¶
func (in *RemoteSyncerSpec) DeepCopyInto(out *RemoteSyncerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteSyncerStatus ¶
type RemoteSyncerStatus struct { // +listType=map // +listMapKey=type // +patchStrategy=merge // +patchMergeKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // +optional LastBypassedObjectState LastBypassedObjectState `json:"lastBypassedObjectState,omitempty" protobuf:"bytes,2,rep,name=lastBypassedObjectState"` // +optional LastObservedObjectState LastObservedObjectState `json:"lastObservedObjectState,omitempty" protobuf:"bytes,3,rep,name=lastObservedObjectState"` // +optional LastPushedObjectState LastPushedObjectState `json:"lastPushedObjectState,omitempty" protobuf:"bytes,4,rep,name=lastPushedObjectState"` }
func (*RemoteSyncerStatus) DeepCopy ¶
func (in *RemoteSyncerStatus) DeepCopy() *RemoteSyncerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteSyncerStatus.
func (*RemoteSyncerStatus) DeepCopyInto ¶
func (in *RemoteSyncerStatus) DeepCopyInto(out *RemoteSyncerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteTarget ¶
type RemoteTarget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RemoteTargetSpec `json:"spec,omitempty"` Status RemoteTargetStatus `json:"status,omitempty"` }
RemoteTarget is the Schema for the remotetargets API.
func (*RemoteTarget) DeepCopy ¶
func (in *RemoteTarget) DeepCopy() *RemoteTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteTarget.
func (*RemoteTarget) DeepCopyInto ¶
func (in *RemoteTarget) DeepCopyInto(out *RemoteTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteTarget) DeepCopyObject ¶
func (in *RemoteTarget) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RemoteTarget) Hub ¶
func (*RemoteTarget) Hub()
type RemoteTargetList ¶
type RemoteTargetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RemoteTarget `json:"items"` }
RemoteTargetList contains a list of RemoteTarget.
func (*RemoteTargetList) DeepCopy ¶
func (in *RemoteTargetList) DeepCopy() *RemoteTargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteTargetList.
func (*RemoteTargetList) DeepCopyInto ¶
func (in *RemoteTargetList) DeepCopyInto(out *RemoteTargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteTargetList) DeepCopyObject ¶
func (in *RemoteTargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RemoteTargetSpec ¶
type RemoteTargetSpec struct { // +kubebuilder:validation:Required // +kubebuilder:example="https://git.example.com/my-upstream-repo.git" // +kubebuilder:validation:Format=uri UpstreamRepository string `json:"upstreamRepository" protobuf:"bytes,1,name=upstreamRepository"` // +kubebuilder:validation:Required // +kubebuilder:example:"main" UpstreamBranch string `json:"upstreamBranch" protobuf:"bytes,2,name=upstreamBranch"` // +kubebuilder:validation:Required // +kubebuilder:example="https://git.example.com/my-target-repo.git" // +kubebuilder:validation:Format=uri TargetRepository string `json:"targetRepository" protobuf:"bytes,3,name=targetRepository"` // +kubebuilder:validation:Required // +kubebuilder:example:"main" TargetBranch string `json:"targetBranch" protobuf:"bytes,4,name=targetBranch"` // +kubebuilder:validation:Optional // +kubebuilder:validation:Enum=TryFastForwardOrDie;TryFastForwardOrHardReset;TryHardResetOrDie;"" MergeStrategy MergeStrategy `json:"mergeStrategy" protobuf:"bytes,5,name=mergeStrategy"` }
RemoteTargetSpec defines the desired state of RemoteTarget.
func (*RemoteTargetSpec) DeepCopy ¶
func (in *RemoteTargetSpec) DeepCopy() *RemoteTargetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteTargetSpec.
func (*RemoteTargetSpec) DeepCopyInto ¶
func (in *RemoteTargetSpec) DeepCopyInto(out *RemoteTargetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteTargetStatus ¶
type RemoteTargetStatus struct { // +listType=map // +listMapKey=type // +patchStrategy=merge // +patchMergeKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // +optional LastObservedCommitHash string `json:"lastObservedCommitHash,omitempty" protobuf:"bytes,2,rep,name=lastObservedCommitHash"` // +optional LastConsistencyOperationType string `json:"lastConsistencyOperationType,omitempty" protobuf:"bytes,3,rep,name=lastConsistencyOperationType"` // +optional LastConsistencyOperationTime string `json:"lastConsistencyOperationTime,omitempty" protobuf:"bytes,4,rep,name=lastConsistencyOperationTime"` }
RemoteTargetStatus defines the observed state of RemoteTarget.
func (*RemoteTargetStatus) DeepCopy ¶
func (in *RemoteTargetStatus) DeepCopy() *RemoteTargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteTargetStatus.
func (*RemoteTargetStatus) DeepCopyInto ¶
func (in *RemoteTargetStatus) DeepCopyInto(out *RemoteTargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteTargetUserSpecificValues ¶
type RemoteTargetUserSpecificValues string
const ( RtAnnotationValueOneUserOneBranch RemoteTargetUserSpecificValues = "one-user-one-branch" RtAnnotationValueOneUserOneFork RemoteTargetUserSpecificValues = "one-user-one-fork" )
type RemoteUser ¶
type RemoteUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RemoteUserSpec `json:"spec,omitempty"` Status RemoteUserStatus `json:"status,omitempty"` }
RemoteUser is the Schema for the remoteusers API
func (*RemoteUser) DeepCopy ¶
func (in *RemoteUser) DeepCopy() *RemoteUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUser.
func (*RemoteUser) DeepCopyInto ¶
func (in *RemoteUser) DeepCopyInto(out *RemoteUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteUser) DeepCopyObject ¶
func (in *RemoteUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RemoteUser) Hub ¶
func (*RemoteUser) Hub()
type RemoteUserBinding ¶
type RemoteUserBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RemoteUserBindingSpec `json:"spec,omitempty"` Status RemoteUserBindingStatus `json:"status,omitempty"` }
RemoteUserBinding is the Schema for the remoteuserbindings API
func (*RemoteUserBinding) DeepCopy ¶
func (in *RemoteUserBinding) DeepCopy() *RemoteUserBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserBinding.
func (*RemoteUserBinding) DeepCopyInto ¶
func (in *RemoteUserBinding) DeepCopyInto(out *RemoteUserBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteUserBinding) DeepCopyObject ¶
func (in *RemoteUserBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RemoteUserBinding) Hub ¶
func (*RemoteUserBinding) Hub()
type RemoteUserBindingList ¶
type RemoteUserBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RemoteUserBinding `json:"items"` }
RemoteUserBindingList contains a list of RemoteUserBinding
func (*RemoteUserBindingList) DeepCopy ¶
func (in *RemoteUserBindingList) DeepCopy() *RemoteUserBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserBindingList.
func (*RemoteUserBindingList) DeepCopyInto ¶
func (in *RemoteUserBindingList) DeepCopyInto(out *RemoteUserBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteUserBindingList) DeepCopyObject ¶
func (in *RemoteUserBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RemoteUserBindingSpec ¶
type RemoteUserBindingSpec struct { // +kubebuilder:validation:Required Subject rbacv1.Subject `json:"subject" protobuf:"bytes,1,name=subject"` // +kubebuilder:validation:Required RemoteUserRefs []corev1.ObjectReference `json:"remoteUserRefs" protobuf:"bytes,2,name=remoteUserRefs"` // Ref to the listed RemoteUser objects // +kubebuilder:validation:Optional RemoteTargetRefs []corev1.ObjectReference `json:"remoteTargetRefs" protobuf:"bytes,3,name=remoteTargetRefs"` // Ref to the listed RemoteTarget objects }
func (*RemoteUserBindingSpec) DeepCopy ¶
func (in *RemoteUserBindingSpec) DeepCopy() *RemoteUserBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserBindingSpec.
func (*RemoteUserBindingSpec) DeepCopyInto ¶
func (in *RemoteUserBindingSpec) DeepCopyInto(out *RemoteUserBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteUserBindingStatus ¶
type RemoteUserBindingStatus struct { // +listType=map // +listMapKey=type // +patchStrategy=merge // +patchMergeKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // +optional State GitUserBindingState `json:"state,omitempty" protobuf:"bytes,2,rep,name=state"` // +optional GitUserHosts []GitUserHost `json:"gitUserHosts" protobuf:"bytes,3,rep,name=gitUserHosts"` // +optional UserKubernetesID string `json:"userKubernetesID,omitempty" protobuf:"bytes,4,rep,name=userKubernetesID"` // +optional LastUsedTime metav1.Time `json:"lastUsedTime,omitempty" protobuf:"bytes,5,rep,name=lastUsedTime"` }
func (*RemoteUserBindingStatus) DeepCopy ¶
func (in *RemoteUserBindingStatus) DeepCopy() *RemoteUserBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserBindingStatus.
func (*RemoteUserBindingStatus) DeepCopyInto ¶
func (in *RemoteUserBindingStatus) DeepCopyInto(out *RemoteUserBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteUserConnexionStatus ¶
type RemoteUserConnexionStatus struct { Status RemoteUserConnexionStatusReason `json:"status,omitempty"` // +optional Details string `json:"details,omitempty"` }
func (*RemoteUserConnexionStatus) DeepCopy ¶
func (in *RemoteUserConnexionStatus) DeepCopy() *RemoteUserConnexionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserConnexionStatus.
func (*RemoteUserConnexionStatus) DeepCopyInto ¶
func (in *RemoteUserConnexionStatus) DeepCopyInto(out *RemoteUserConnexionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteUserConnexionStatusReason ¶
type RemoteUserConnexionStatusReason string
const ( GitAuthenticated RemoteUserConnexionStatusReason = "Authenticated" GitNotAuthenticated RemoteUserConnexionStatusReason = "NotAuthenticated" )
type RemoteUserList ¶
type RemoteUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RemoteUser `json:"items"` }
RemoteUserList contains a list of RemoteUser
func (*RemoteUserList) DeepCopy ¶
func (in *RemoteUserList) DeepCopy() *RemoteUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserList.
func (*RemoteUserList) DeepCopyInto ¶
func (in *RemoteUserList) DeepCopyInto(out *RemoteUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteUserList) DeepCopyObject ¶
func (in *RemoteUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RemoteUserSpec ¶
type RemoteUserSpec struct { // +kubebuilder:validation:Required SecretRef corev1.SecretReference `json:"secretRef" protobuf:"bytes,1,name=secretRef"` // +kubebuilder:validation:Required Email string `json:"email" protobuf:"bytes,2,name=email"` // +kubebuilder:validation:Required GitBaseDomainFQDN string `json:"gitBaseDomainFQDN" protobuf:"bytes,3,name=gitBaseDomainFQDN"` }
func (*RemoteUserSpec) DeepCopy ¶
func (in *RemoteUserSpec) DeepCopy() *RemoteUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserSpec.
func (*RemoteUserSpec) DeepCopyInto ¶
func (in *RemoteUserSpec) DeepCopyInto(out *RemoteUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteUserStatus ¶
type RemoteUserStatus struct { // +listType=map // +listMapKey=type // +patchStrategy=merge // +patchMergeKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // +optional ConnexionStatus RemoteUserConnexionStatus `json:"connexionStatus,omitempty" protobuf:"bytes,2,rep,name=connexionStatus"` // +optional GitUser string `json:"gitUser,omitempty" protobuf:"bytes,3,rep,name=gitUser"` // +optional LastAuthTime metav1.Time `json:"lastAuthTime,omitempty" protobuf:"bytes,4,rep,name=lastAuthTime"` // +optional SecretBoundStatus SecretBoundStatus `json:"secretBoundStatus,omitempty" protobuf:"bytes,5,rep,name=secretBoundStatus"` }
func (*RemoteUserStatus) DeepCopy ¶
func (in *RemoteUserStatus) DeepCopy() *RemoteUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteUserStatus.
func (*RemoteUserStatus) DeepCopyInto ¶
func (in *RemoteUserStatus) DeepCopyInto(out *RemoteUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopedResources ¶
type ScopedResources struct { // +optional MatchPolicy *admissionv1.MatchPolicyType `json:"matchPolicy,omitempty" protobuf:"bytes,9,opt,name=matchPolicy,casttype=MatchPolicyType"` // +optional ObjectSelector *metav1.LabelSelector `json:"objectSelector,omitempty" protobuf:"bytes,10,opt,name=objectSelector"` Rules []admissionv1.RuleWithOperations `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"` }
func (*ScopedResources) DeepCopy ¶
func (in *ScopedResources) DeepCopy() *ScopedResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedResources.
func (*ScopedResources) DeepCopyInto ¶
func (in *ScopedResources) DeepCopyInto(out *ScopedResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretBoundStatus ¶
type SecretBoundStatus string
const ( SecretBound SecretBoundStatus = "Secret bound" SecretFound SecretBoundStatus = "Secret found" SecretNotFound SecretBoundStatus = "Secret not found" SecretWrongType SecretBoundStatus = "Secret type is not set to BasicAuth" )
type TargetPattern ¶
type TargetPattern string
const ( OneUserOneBranch TargetPattern = "OneUserOneBranch" OneOrMultipleBranches TargetPattern = "OneOrMultipleBranches" )
type TargetStrategy ¶
type TargetStrategy string
const ( OneTarget TargetStrategy = "OneTarget" MultipleTarget TargetStrategy = "MultipleTarget" )