Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=artifact.artifactory.jfrog.m.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ItemProperties
- func (in *ItemProperties) DeepCopy() *ItemProperties
- func (in *ItemProperties) DeepCopyInto(out *ItemProperties)
- func (in *ItemProperties) DeepCopyObject() runtime.Object
- func (mg *ItemProperties) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ItemProperties) GetConnectionDetailsMapping() map[string]string
- func (tr *ItemProperties) GetID() string
- func (tr *ItemProperties) GetInitParameters() (map[string]any, error)
- func (mg *ItemProperties) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ItemProperties) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ItemProperties) GetObservation() (map[string]any, error)
- func (tr *ItemProperties) GetParameters() (map[string]any, error)
- func (mg *ItemProperties) GetProviderConfigReference() *xpv1.ProviderConfigReference
- func (mg *ItemProperties) GetTerraformResourceType() string
- func (tr *ItemProperties) GetTerraformSchemaVersion() int
- func (mg *ItemProperties) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference
- func (tr *ItemProperties) Hub()
- func (tr *ItemProperties) LateInitialize(attrs []byte) (bool, error)
- func (mg *ItemProperties) SetConditions(c ...xpv1.Condition)
- func (mg *ItemProperties) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ItemProperties) SetObservation(obs map[string]any) error
- func (tr *ItemProperties) SetParameters(params map[string]any) error
- func (mg *ItemProperties) SetProviderConfigReference(r *xpv1.ProviderConfigReference)
- func (mg *ItemProperties) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference)
- type ItemPropertiesInitParameters
- type ItemPropertiesList
- type ItemPropertiesObservation
- type ItemPropertiesParameters
- type ItemPropertiesSpec
- type ItemPropertiesStatus
Constants ¶
const ( CRDGroup = "artifact.artifactory.jfrog.m.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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=Namespaced,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) 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.ProviderConfigReference
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.LocalSecretReference
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) 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.ProviderConfigReference)
SetProviderConfigReference of this ItemProperties.
func (*ItemProperties) SetWriteConnectionSecretToReference ¶
func (mg *ItemProperties) SetWriteConnectionSecretToReference(r *xpv1.LocalSecretReference)
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 ¶
func (in *ItemPropertiesInitParameters) DeepCopy() *ItemPropertiesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemPropertiesInitParameters.
func (*ItemPropertiesInitParameters) DeepCopyInto ¶
func (in *ItemPropertiesInitParameters) DeepCopyInto(out *ItemPropertiesInitParameters)
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 ¶
func (in *ItemPropertiesObservation) DeepCopy() *ItemPropertiesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemPropertiesObservation.
func (*ItemPropertiesObservation) DeepCopyInto ¶
func (in *ItemPropertiesObservation) DeepCopyInto(out *ItemPropertiesObservation)
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 ¶
func (in *ItemPropertiesParameters) DeepCopy() *ItemPropertiesParameters
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 {
v2.ManagedResourceSpec `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 ¶
func (in *ItemPropertiesStatus) DeepCopy() *ItemPropertiesStatus
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.