v1alpha1

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=artifact.artifactory.jfrog.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "artifact.artifactory.jfrog.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	ItemProperties_Kind             = "ItemProperties"
	ItemProperties_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ItemProperties_Kind}.String()
	ItemProperties_KindAPIVersion   = ItemProperties_Kind + "." + CRDGroupVersion.String()
	ItemProperties_GroupVersionKind = CRDGroupVersion.WithKind(ItemProperties_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ItemProperties

type ItemProperties struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.properties) || (has(self.initProvider) && has(self.initProvider.properties))",message="spec.forProvider.properties is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.repoKey) || (has(self.initProvider) && has(self.initProvider.repoKey))",message="spec.forProvider.repoKey is a required parameter"
	Spec   ItemPropertiesSpec   `json:"spec"`
	Status ItemPropertiesStatus `json:"status,omitempty"`
}

ItemProperties is the Schema for the ItemPropertiess API. Provides a resource for managaing item (file, folder, or repository) properties. When a folder is used property attachment is recursive by default. See JFrog documentation https://jfrog.com/help/r/jfrog-artifactory-documentation/working-with-jfrog-properties for more details. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,artifactory}

func (*ItemProperties) DeepCopy

func (in *ItemProperties) DeepCopy() *ItemProperties

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

func (*ItemProperties) DeepCopyInto

func (in *ItemProperties) DeepCopyInto(out *ItemProperties)

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

func (*ItemProperties) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ItemProperties) GetCondition

func (mg *ItemProperties) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ItemProperties.

func (*ItemProperties) GetConnectionDetailsMapping

func (tr *ItemProperties) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ItemProperties

func (*ItemProperties) GetDeletionPolicy

func (mg *ItemProperties) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ItemProperties.

func (*ItemProperties) GetID

func (tr *ItemProperties) GetID() string

GetID returns ID of underlying Terraform resource of this ItemProperties

func (*ItemProperties) GetInitParameters

func (tr *ItemProperties) GetInitParameters() (map[string]any, error)

GetInitParameters of this ItemProperties

func (*ItemProperties) GetManagementPolicies

func (mg *ItemProperties) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ItemProperties.

func (*ItemProperties) GetMergedParameters

func (tr *ItemProperties) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ItemProperties

func (*ItemProperties) GetObservation

func (tr *ItemProperties) GetObservation() (map[string]any, error)

GetObservation of this ItemProperties

func (*ItemProperties) GetParameters

func (tr *ItemProperties) GetParameters() (map[string]any, error)

GetParameters of this ItemProperties

func (*ItemProperties) GetProviderConfigReference

func (mg *ItemProperties) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ItemProperties.

func (*ItemProperties) GetTerraformResourceType

func (mg *ItemProperties) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ItemProperties

func (*ItemProperties) GetTerraformSchemaVersion

func (tr *ItemProperties) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ItemProperties) GetWriteConnectionSecretToReference

func (mg *ItemProperties) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ItemProperties.

func (*ItemProperties) Hub

func (tr *ItemProperties) Hub()

Hub marks this type as a conversion hub.

func (*ItemProperties) LateInitialize

func (tr *ItemProperties) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ItemProperties using its observed tfState. returns True if there are any spec changes for the resource.

func (*ItemProperties) SetConditions

func (mg *ItemProperties) SetConditions(c ...xpv1.Condition)

SetConditions of this ItemProperties.

func (*ItemProperties) SetDeletionPolicy

func (mg *ItemProperties) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ItemProperties.

func (*ItemProperties) SetManagementPolicies

func (mg *ItemProperties) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ItemProperties.

func (*ItemProperties) SetObservation

func (tr *ItemProperties) SetObservation(obs map[string]any) error

SetObservation for this ItemProperties

func (*ItemProperties) SetParameters

func (tr *ItemProperties) SetParameters(params map[string]any) error

SetParameters for this ItemProperties

func (*ItemProperties) SetProviderConfigReference

func (mg *ItemProperties) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ItemProperties.

func (*ItemProperties) SetWriteConnectionSecretToReference

func (mg *ItemProperties) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ItemProperties.

type ItemPropertiesInitParameters

type ItemPropertiesInitParameters struct {

	// (Boolean) Add this property to the selected folder and to all of artifacts and folders under this folder. Default to false
	// Add this property to the selected folder and to all of artifacts and folders under this folder. Default to `false`
	IsRecursive *bool `json:"isRecursive,omitempty" tf:"is_recursive,omitempty"`

	// (String) The relative path of the item (file/folder/repository). Leave unset for repository.
	// The relative path of the item (file/folder/repository). Leave unset for repository.
	ItemPath *string `json:"itemPath,omitempty" tf:"item_path,omitempty"`

	// (Map of Set of String) Map of key and list of values.
	// Map of key and list of values.
	//
	// ~>Keys are limited up to 255 characters and values are limited up to 2,400 characters. Using properties with values over this limit might cause backend issues.
	//
	// ~>The following special characters are forbidden in the key field: `)(}{][*+^$/~“!@#%&<>;=,±§` and the space character.
	Properties map[string][]*string `json:"properties,omitempty" tf:"properties,omitempty"`

	// (String) Respository key.
	// Respository key.
	RepoKey *string `json:"repoKey,omitempty" tf:"repo_key,omitempty"`
}

func (*ItemPropertiesInitParameters) DeepCopy

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

func (*ItemPropertiesInitParameters) DeepCopyInto

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

type ItemPropertiesList

type ItemPropertiesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ItemProperties `json:"items"`
}

ItemPropertiesList contains a list of ItemPropertiess

func (*ItemPropertiesList) DeepCopy

func (in *ItemPropertiesList) DeepCopy() *ItemPropertiesList

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

func (*ItemPropertiesList) DeepCopyInto

func (in *ItemPropertiesList) DeepCopyInto(out *ItemPropertiesList)

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

func (*ItemPropertiesList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ItemPropertiesList) GetItems

func (l *ItemPropertiesList) GetItems() []resource.Managed

GetItems of this ItemPropertiesList.

type ItemPropertiesObservation

type ItemPropertiesObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Boolean) Add this property to the selected folder and to all of artifacts and folders under this folder. Default to false
	// Add this property to the selected folder and to all of artifacts and folders under this folder. Default to `false`
	IsRecursive *bool `json:"isRecursive,omitempty" tf:"is_recursive,omitempty"`

	// (String) The relative path of the item (file/folder/repository). Leave unset for repository.
	// The relative path of the item (file/folder/repository). Leave unset for repository.
	ItemPath *string `json:"itemPath,omitempty" tf:"item_path,omitempty"`

	// (Map of Set of String) Map of key and list of values.
	// Map of key and list of values.
	//
	// ~>Keys are limited up to 255 characters and values are limited up to 2,400 characters. Using properties with values over this limit might cause backend issues.
	//
	// ~>The following special characters are forbidden in the key field: `)(}{][*+^$/~“!@#%&<>;=,±§` and the space character.
	Properties map[string][]*string `json:"properties,omitempty" tf:"properties,omitempty"`

	// (String) Respository key.
	// Respository key.
	RepoKey *string `json:"repoKey,omitempty" tf:"repo_key,omitempty"`
}

func (*ItemPropertiesObservation) DeepCopy

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

func (*ItemPropertiesObservation) DeepCopyInto

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

type ItemPropertiesParameters

type ItemPropertiesParameters struct {

	// (Boolean) Add this property to the selected folder and to all of artifacts and folders under this folder. Default to false
	// Add this property to the selected folder and to all of artifacts and folders under this folder. Default to `false`
	// +kubebuilder:validation:Optional
	IsRecursive *bool `json:"isRecursive,omitempty" tf:"is_recursive,omitempty"`

	// (String) The relative path of the item (file/folder/repository). Leave unset for repository.
	// The relative path of the item (file/folder/repository). Leave unset for repository.
	// +kubebuilder:validation:Optional
	ItemPath *string `json:"itemPath,omitempty" tf:"item_path,omitempty"`

	// (Map of Set of String) Map of key and list of values.
	// Map of key and list of values.
	//
	// ~>Keys are limited up to 255 characters and values are limited up to 2,400 characters. Using properties with values over this limit might cause backend issues.
	//
	// ~>The following special characters are forbidden in the key field: `)(}{][*+^$/~“!@#%&<>;=,±§` and the space character.
	// +kubebuilder:validation:Optional
	Properties map[string][]*string `json:"properties,omitempty" tf:"properties,omitempty"`

	// (String) Respository key.
	// Respository key.
	// +kubebuilder:validation:Optional
	RepoKey *string `json:"repoKey,omitempty" tf:"repo_key,omitempty"`
}

func (*ItemPropertiesParameters) DeepCopy

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

func (*ItemPropertiesParameters) DeepCopyInto

func (in *ItemPropertiesParameters) DeepCopyInto(out *ItemPropertiesParameters)

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

type ItemPropertiesSpec

type ItemPropertiesSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ItemPropertiesParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ItemPropertiesInitParameters `json:"initProvider,omitempty"`
}

ItemPropertiesSpec defines the desired state of ItemProperties

func (*ItemPropertiesSpec) DeepCopy

func (in *ItemPropertiesSpec) DeepCopy() *ItemPropertiesSpec

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

func (*ItemPropertiesSpec) DeepCopyInto

func (in *ItemPropertiesSpec) DeepCopyInto(out *ItemPropertiesSpec)

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

type ItemPropertiesStatus

type ItemPropertiesStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ItemPropertiesObservation `json:"atProvider,omitempty"`
}

ItemPropertiesStatus defines the observed state of ItemProperties.

func (*ItemPropertiesStatus) DeepCopy

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

func (*ItemPropertiesStatus) DeepCopyInto

func (in *ItemPropertiesStatus) DeepCopyInto(out *ItemPropertiesStatus)

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