Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the syngit v1alpha2 API group +kubebuilder:object:generate=true +groupName=syngit.io
Index ¶
- Constants
- Variables
- type CommitMode
- type CommitProcess
- type DefaultUnauthorizedUserMode
- type GitServerConfiguration
- type GitUserBindingState
- type GitUserHost
- type GroupVersionKindName
- type GroupVersionResourceName
- type JsonGVRN
- type LastBypassedObjectState
- type LastObservedObjectState
- type LastPushedObjectState
- type NamespaceScopedKinds
- type NamespaceScopedResources
- type RemoteSyncer
- func (dst *RemoteSyncer) ConvertFrom(srcRaw conversion.Hub) error
- func (src *RemoteSyncer) ConvertTo(dstRaw conversion.Hub) error
- func (in *RemoteSyncer) DeepCopy() *RemoteSyncer
- func (in *RemoteSyncer) DeepCopyInto(out *RemoteSyncer)
- func (in *RemoteSyncer) DeepCopyObject() runtime.Object
- func (r *RemoteSyncer) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RemoteSyncer) ValidateCreate() (admission.Warnings, error)
- func (r *RemoteSyncer) ValidateDelete() (admission.Warnings, error)
- func (r *RemoteSyncer) ValidateRemoteSyncer() error
- func (r *RemoteSyncer) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type RemoteSyncerList
- type RemoteSyncerSpec
- type RemoteSyncerStatus
- type RemoteUser
- func (dst *RemoteUser) ConvertFrom(srcRaw conversion.Hub) error
- func (src *RemoteUser) ConvertTo(dstRaw conversion.Hub) error
- func (in *RemoteUser) DeepCopy() *RemoteUser
- func (in *RemoteUser) DeepCopyInto(out *RemoteUser)
- func (in *RemoteUser) DeepCopyObject() runtime.Object
- func (r *RemoteUser) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RemoteUser) ValidateCreate() (admission.Warnings, error)
- func (r *RemoteUser) ValidateDelete() (admission.Warnings, error)
- func (r *RemoteUser) ValidateRemoteUser() error
- func (r *RemoteUser) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- 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 = "owned-rub-"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "syngit.io", Version: "v1alpha2"} // 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 CommitMode ¶
type CommitMode string
const ( Commit CommitMode = "Commit" MergeRequest CommitMode = "MergeRequest" )
type CommitProcess ¶
type CommitProcess string
const ( CommitOnly CommitProcess = "CommitOnly" CommitApply CommitProcess = "CommitApply" )
type DefaultUnauthorizedUserMode ¶
type DefaultUnauthorizedUserMode string
const ( Block DefaultUnauthorizedUserMode = "Block" UserDefaultUserBind DefaultUnauthorizedUserMode = "UseDefaultUserBind" )
type GitServerConfiguration ¶
type GitServerConfiguration struct { // +optional Inherited bool `json:"inherited,omitempty" yaml:"inherited,omitempty"` //+ optional AuthenticationEndpoint string `json:"authenticationEndpoint,omitempty" yaml:"authenticationEndpoint,omitempty"` // +optional CaBundle string `json:"caBundle,omitempty" yaml:"caBundle,omitempty"` // +optional InsecureSkipTlsVerify bool `json:"insecureSkipTlsVerify,omitempty" yaml:"insecureSkipTlsVerify,omitempty"` }
func (*GitServerConfiguration) DeepCopy ¶
func (in *GitServerConfiguration) DeepCopy() *GitServerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServerConfiguration.
func (*GitServerConfiguration) DeepCopyInto ¶
func (in *GitServerConfiguration) DeepCopyInto(out *GitServerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
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 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 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) ConvertTo ¶
func (src *RemoteSyncer) ConvertTo(dstRaw 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.
func (*RemoteSyncer) SetupWebhookWithManager ¶
func (r *RemoteSyncer) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*RemoteSyncer) ValidateCreate ¶
func (r *RemoteSyncer) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RemoteSyncer) ValidateDelete ¶
func (r *RemoteSyncer) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*RemoteSyncer) ValidateRemoteSyncer ¶
func (r *RemoteSyncer) ValidateRemoteSyncer() error
func (*RemoteSyncer) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
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 { CommitProcess CommitProcess `json:"commitProcess"` // +optional DefaultBlockAppliedMessage string `json:"defaultBlockAppliedMessage"` // +kubebuilder:validation:Format=uri RemoteRepository string `json:"remoteRepository"` Branch string `json:"branch"` // +kubebuilder:validation:MinItems=1 AuthorizedUsers []corev1.ObjectReference `json:"authorizedUsers"` // Ref to a list of RemoteUserBinding object // +optional BypassInterceptionSubjects []rbacv1.Subject `json:"bypassInterceptionSubjects,omitempty"` // +optional DefaultUserBind *corev1.ObjectReference `json:"defaultUserBind,omitempty"` // Ref to a RemoteUser object // +optional ScopedResources ScopedResources `json:"scopedResources,omitempty"` // +optional RootPath string `json:"rootPath,omitempty"` // +optional ExcludedFields []string `json:"excludedFields,omitempty"` }
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.
func (*RemoteSyncerSpec) ValidateRemoteSyncerSpec ¶
func (r *RemoteSyncerSpec) ValidateRemoteSyncerSpec() field.ErrorList
Validate validates the RemoteSyncerSpec
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) ConvertTo ¶
func (src *RemoteUser) ConvertTo(dstRaw 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.
func (*RemoteUser) SetupWebhookWithManager ¶
func (r *RemoteUser) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*RemoteUser) ValidateCreate ¶
func (r *RemoteUser) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RemoteUser) ValidateDelete ¶
func (r *RemoteUser) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*RemoteUser) ValidateRemoteUser ¶
func (r *RemoteUser) ValidateRemoteUser() error
func (*RemoteUser) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
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 { Subject rbacv1.Subject `json:"subject"` RemoteRefs []corev1.ObjectReference `json:"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" 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 { SecretRef corev1.SecretReference `json:"secretRef"` Email string `json:"email"` GitBaseDomainFQDN string `json:"gitBaseDomainFQDN"` OwnRemoteUserBinding bool `json:"ownRemoteUserBinding"` // +optional CustomGitServerConfigRef corev1.ObjectReference `json:"customGitServerConfigRef,omitempty"` // +optional TestAuthentication bool `json:"testAuthentication,omitempty"` // +optional InsecureSkipTlsVerify bool `json:"insecureSkipTlsVerify,omitempty"` }
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.
func (*RemoteUserSpec) ValidateRemoteUserSpec ¶
func (r *RemoteUserSpec) ValidateRemoteUserSpec() field.ErrorList
Validate validates the RemoteUserSpec
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"` // +optional GitServerConfiguration GitServerConfiguration `json:"gitServerConfiguration,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" SecretNotFound SecretBoundStatus = "Secret not found" SecretWrongType SecretBoundStatus = "Secret type is not set to BasicAuth" )