Documentation ¶
Overview ¶
See readme for more info, in short: we skip CRD creation and trigger deepcopy generation with the following markers. +kubebuilder:skip +kubebuilder:object:generate=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroup is the group of the API that we are stubbing here SchemeGroup = "argoproj.io" // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: SchemeGroup, Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ArgoCD ¶
type ArgoCD struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ArgoCDSpec `json:"spec,omitempty"` }
func (*ArgoCD) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCD.
func (*ArgoCD) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCD) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArgoCDList ¶
type ArgoCDList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ArgoCD `json:"items"` }
ArgoCDList contains a list of ArgoCD
func (*ArgoCDList) DeepCopy ¶
func (in *ArgoCDList) DeepCopy() *ArgoCDList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDList.
func (*ArgoCDList) DeepCopyInto ¶
func (in *ArgoCDList) DeepCopyInto(out *ArgoCDList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDList) DeepCopyObject ¶
func (in *ArgoCDList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArgoCDRBACSpec ¶
type ArgoCDRBACSpec struct { // Policy is CSV containing user-defined RBAC policies and role definitions. // Policy rules are in the form: // p, subject, resource, action, object, effect // Role definitions and bindings are in the form: // g, subject, inherited-subject // See https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md for additional information. Policy *string `json:"policy,omitempty"` // Scopes controls which OIDC scopes to examine during rbac enforcement (in addition to `sub` scope). // If omitted, defaults to: '[groups]'. Scopes *string `json:"scopes,omitempty"` }
ArgoCDRBACSpec defines the desired state for the Argo CD RBAC configuration.
func (*ArgoCDRBACSpec) DeepCopy ¶
func (in *ArgoCDRBACSpec) DeepCopy() *ArgoCDRBACSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRBACSpec.
func (*ArgoCDRBACSpec) DeepCopyInto ¶
func (in *ArgoCDRBACSpec) DeepCopyInto(out *ArgoCDRBACSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDSpec ¶
type ArgoCDSpec struct { // RBAC defines the RBAC configuration for Argo CD. RBAC ArgoCDRBACSpec `json:"rbac,omitempty"` }
ArgoCDSpec defines the desired state of ArgoCD
func (*ArgoCDSpec) DeepCopy ¶
func (in *ArgoCDSpec) DeepCopy() *ArgoCDSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSpec.
func (*ArgoCDSpec) DeepCopyInto ¶
func (in *ArgoCDSpec) DeepCopyInto(out *ArgoCDSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.