v1beta1

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: EUPL-1.2 Imports: 3 Imported by: 0

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

View Source
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

func (in *ArgoCD) DeepCopy() *ArgoCD

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

func (*ArgoCD) DeepCopyInto

func (in *ArgoCD) DeepCopyInto(out *ArgoCD)

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

func (*ArgoCD) DeepCopyObject

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL