Documentation
¶
Overview ¶
Package v1beta2 contains API Schema definitions for the syngit v1beta2 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 NamespaceScopedKinds
- type NamespaceScopedResources
- type ProcessMode
- type PushMode
- type RemoteSyncer
- type RemoteSyncerList
- type RemoteSyncerSpec
- type RemoteSyncerStatus
- type RemoteUser
- type RemoteUserBinding
- func (dst *RemoteUserBinding) ConvertFrom(srcRaw conversion.Hub) error
- func (src *RemoteUserBinding) ConvertTo(dstRaw conversion.Hub) error
- func (in *RemoteUserBinding) DeepCopy() *RemoteUserBinding
- func (in *RemoteUserBinding) DeepCopyInto(out *RemoteUserBinding)
- func (in *RemoteUserBinding) DeepCopyObject() runtime.Object
- type RemoteUserBindingList
- type RemoteUserBindingSpec
- type RemoteUserBindingStatus
- type RemoteUserConnexionStatus
- type RemoteUserConnexionStatusReason
- type RemoteUserList
- type RemoteUserSpec
- type RemoteUserStatus
- type ScopedResources
- type SecretBoundStatus
Constants ¶
const (
RubPrefix = "associated-rub-"
RubAnnotation = "syngit.io/associated-remoteuserbinding"
)
const (
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: "v1beta2"}
// 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 (
Bound GitUserBindingState = "Bound"
PartiallyBound GitUserBindingState = "PartiallyBound"
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 ¶
func (in *JsonGVRN) DeepCopy() *JsonGVRN
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonGVRN.
func (*JsonGVRN) DeepCopyInto ¶
func (in *JsonGVRN) DeepCopyInto(out *JsonGVRN)
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
LastObservedObjectUserInfo authenticationv1.UserInfo `json:"lastObservedObjectUserInfo,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
LastPushedObjectGitRepo string `json:"lastPushedObjectGitRepo,omitempty"`
// +optional
LastPushedObjectGitPath string `json:"lastPushedObjectGitPath,omitempty"`
// +optional
LastPushedObjectGitCommitHash 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 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 ProcessMode ¶
type ProcessMode string
const (
CommitOnly ProcessMode = "CommitOnly"
CommitApply ProcessMode = "CommitApply"
)
type PushMode ¶
type PushMode string
const (
SameBranch PushMode = "SameBranch"
MultipleBranch PushMode = "MultipleBranch"
MergeRequest PushMode = "MergeRequest"
)
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) ConvertFrom ¶
func (dst *RemoteSyncer) ConvertFrom(srcRaw conversion.Hub) error
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.
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:validation:Optional
DefaultBranch string `json:"defaultBranch,omitempty" 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
ProcessMode ProcessMode `json:"processMode" protobuf:"bytes,4,name=processMode"`
// +kubebuilder:validation:Required
// +kubebuilder:default:value="SameBranch"
// +kubebuilder:validation:Enum=SameBranch;MultipleBranch;MergeRequest
PushMode PushMode `json:"pushMode" protobuf:"bytes,5,name=pushMode"`
// +kubebuilder:validation:Optional
DefaultBlockAppliedMessage string `json:"defaultBlockAppliedMessage,omitempty" protobuf:"bytes,opt,6,name=defaultBlockAppliedMessage"`
// +kubebuilder:validation:Optional
ExcludedFields []string `json:"excludedFields,omitempty" protobuf:"bytes,opt,7,name=excludedFields"`
// +kubebuilder:validation:Optional
ExcludedFieldsConfigMapRef *corev1.ObjectReference `json:"excludedFieldsConfig,omitempty" protobuf:"bytes,opt,8,name=excludedFieldsConfig"` // Ref to a ConfigMap
// +kubebuilder:validation:Optional
RootPath string `json:"rootPath,omitempty" protobuf:"bytes,opt,9,name=rootPath"`
// +kubebuilder:validation:Optional
BypassInterceptionSubjects []rbacv1.Subject `json:"bypassInterceptionSubjects,omitempty" protobuf:"bytes,opt,10,name=bypassInterceptionSubjects"`
// +kubebuilder:default:value="Block"
// +kubebuilder:validation:Enum=Block;UseDefaultUser
DefaultUnauthorizedUserMode DefaultUnauthorizedUserMode `json:"defaultUnauthorizedUserMode" protobuf:"bytes,opt,11,name=defaultUnauthorizedUserMode"`
// +kubebuilder:validation:Optional
DefaultRemoteUserRef *corev1.ObjectReference `json:"defaultRemoteUserRef,omitempty" protobuf:"bytes,opt,12,name=defaultRemoteUserRef"` // Ref to a RemoteUser object
// +kubebuilder:validation:Optional
InsecureSkipTlsVerify bool `json:"insecureSkipTlsVerify,omitempty" protobuf:"bytes,opt,13,name=insecureSkipTlsVerify"`
// +kubebuilder:validation:Optional
CABundleSecretRef corev1.SecretReference `json:"caBundleSecretRef,omitempty" protobuf:"bytes,opt,14,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"`
// +optional
LastObservedObjectState LastObservedObjectState `json:"lastObservedObjectState,omitempty"`
// +optional
LastPushedObjectState LastPushedObjectState `json:"lastPushedObjectState,omitempty"`
}
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 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) ConvertFrom ¶
func (dst *RemoteUser) ConvertFrom(srcRaw conversion.Hub) error
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.
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) ConvertFrom ¶
func (dst *RemoteUserBinding) ConvertFrom(srcRaw conversion.Hub) error
func (*RemoteUserBinding) ConvertTo ¶
func (src *RemoteUserBinding) ConvertTo(dstRaw conversion.Hub) error
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.
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
RemoteRefs []corev1.ObjectReference `json:"remoteRefs" protobuf:"bytes,2,name=remoteRefs"` // Ref to the listed RemoteUser 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 {
// +optional
GlobalState GitUserBindingState `json:"state,omitempty"`
// +optional
GitUserHosts []GitUserHost `json:"gitUserHosts"`
// +optional
UserKubernetesID string `json:"userKubernetesID,omitempty"`
// +optional
LastUsedTime metav1.Time `json:"lastUsedTime,omitempty"`
}
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 (
GitConnected RemoteUserConnexionStatusReason = "Connected"
GitUnauthorized RemoteUserConnexionStatusReason = "Unauthorized: bad credentials"
GitForbidden RemoteUserConnexionStatusReason = "Forbidden : Not enough permission"
GitNotFound RemoteUserConnexionStatusReason = "Not found: the git server is not found"
GitServerError RemoteUserConnexionStatusReason = "Server error: a server error happened"
GitUnexpectedStatus RemoteUserConnexionStatusReason = "Unexpected response status code"
GitNotConnected RemoteUserConnexionStatusReason = "Not Connected"
GitUnsupported RemoteUserConnexionStatusReason = "Unsupported Git provider"
GitConfigNotFound RemoteUserConnexionStatusReason = "Git provider ConfigMap not found"
GitConfigParseError RemoteUserConnexionStatusReason = "Failed to parse the git provider ConfigMap"
)
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"`
// +optional
GitUser string `json:"gitUser,omitempty"`
// +optional
LastAuthTime metav1.Time `json:"lastAuthTime,omitempty"`
// +optional
SecretBoundStatus SecretBoundStatus `json:"secretBoundStatus,omitempty"`
}
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"
)