v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ism.opensearch.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "ism.opensearch.upbound.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 (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

View Source
var (
	PolicyMapping_Kind             = "PolicyMapping"
	PolicyMapping_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyMapping_Kind}.String()
	PolicyMapping_KindAPIVersion   = PolicyMapping_Kind + "." + CRDGroupVersion.String()
	PolicyMapping_GroupVersionKind = CRDGroupVersion.WithKind(PolicyMapping_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Policy

type Policy 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.body) || (has(self.initProvider) && has(self.initProvider.body))",message="spec.forProvider.body is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyId) || (has(self.initProvider) && has(self.initProvider.policyId))",message="spec.forProvider.policyId is a required parameter"
	Spec   PolicySpec   `json:"spec"`
	Status PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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,opensearch}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetInitParameters

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

GetInitParameters of this Policy

func (*Policy) GetManagementPolicies

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

GetManagementPolicies of this Policy.

func (*Policy) GetMergedParameters

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

GetInitParameters of this Policy

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetPublishConnectionDetailsTo

func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) Hub

func (tr *Policy) Hub()

Hub marks this type as a conversion hub.

func (*Policy) LateInitialize

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

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

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetManagementPolicies

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

SetManagementPolicies of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetPublishConnectionDetailsTo

func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyInitParameters

type PolicyInitParameters struct {

	// (String) The policy document.
	// The policy document.
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// (String) The id of the ISM policy.
	// The id of the ISM policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// (Number) The primary term of the ISM policy version.
	// The primary term of the ISM policy version.
	PrimaryTerm *float64 `json:"primaryTerm,omitempty" tf:"primary_term,omitempty"`

	// (Number) The sequence number of the ISM policy version.
	// The sequence number of the ISM policy version.
	SeqNo *float64 `json:"seqNo,omitempty" tf:"seq_no,omitempty"`
}

func (*PolicyInitParameters) DeepCopy

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

func (*PolicyInitParameters) DeepCopyInto

func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters)

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

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyMapping

type PolicyMapping 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.indexes) || (has(self.initProvider) && has(self.initProvider.indexes))",message="spec.forProvider.indexes is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyId) || (has(self.initProvider) && has(self.initProvider.policyId))",message="spec.forProvider.policyId is a required parameter"
	Spec   PolicyMappingSpec   `json:"spec"`
	Status PolicyMappingStatus `json:"status,omitempty"`
}

PolicyMapping is the Schema for the PolicyMappings API. Provides an OpenSearch Index State Management (ISM) policy. Please refer to the OpenSearch ISM documentation for details. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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,opensearch}

func (*PolicyMapping) DeepCopy

func (in *PolicyMapping) DeepCopy() *PolicyMapping

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

func (*PolicyMapping) DeepCopyInto

func (in *PolicyMapping) DeepCopyInto(out *PolicyMapping)

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

func (*PolicyMapping) DeepCopyObject

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

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

func (*PolicyMapping) GetCondition

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

GetCondition of this PolicyMapping.

func (*PolicyMapping) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyMapping

func (*PolicyMapping) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyMapping.

func (*PolicyMapping) GetID

func (tr *PolicyMapping) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyMapping

func (*PolicyMapping) GetInitParameters

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

GetInitParameters of this PolicyMapping

func (*PolicyMapping) GetManagementPolicies

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

GetManagementPolicies of this PolicyMapping.

func (*PolicyMapping) GetMergedParameters

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

GetInitParameters of this PolicyMapping

func (*PolicyMapping) GetObservation

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

GetObservation of this PolicyMapping

func (*PolicyMapping) GetParameters

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

GetParameters of this PolicyMapping

func (*PolicyMapping) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyMapping.

func (*PolicyMapping) GetPublishConnectionDetailsTo

func (mg *PolicyMapping) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this PolicyMapping.

func (*PolicyMapping) GetTerraformResourceType

func (mg *PolicyMapping) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyMapping

func (*PolicyMapping) GetTerraformSchemaVersion

func (tr *PolicyMapping) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyMapping) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyMapping.

func (*PolicyMapping) Hub

func (tr *PolicyMapping) Hub()

Hub marks this type as a conversion hub.

func (*PolicyMapping) LateInitialize

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

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

func (*PolicyMapping) SetConditions

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

SetConditions of this PolicyMapping.

func (*PolicyMapping) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyMapping.

func (*PolicyMapping) SetManagementPolicies

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

SetManagementPolicies of this PolicyMapping.

func (*PolicyMapping) SetObservation

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

SetObservation for this PolicyMapping

func (*PolicyMapping) SetParameters

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

SetParameters for this PolicyMapping

func (*PolicyMapping) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyMapping.

func (*PolicyMapping) SetPublishConnectionDetailsTo

func (mg *PolicyMapping) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this PolicyMapping.

func (*PolicyMapping) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyMapping.

type PolicyMappingInitParameters

type PolicyMappingInitParameters struct {

	// (Set of Map of String) When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.
	// When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.
	Include []map[string]*string `json:"include,omitempty" tf:"include,omitempty"`

	// (String) Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.
	// Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.
	Indexes *string `json:"indexes,omitempty" tf:"indexes,omitempty"`

	// (Boolean)
	IsSafe *bool `json:"isSafe,omitempty" tf:"is_safe,omitempty"`

	// (Set of String)
	// +listType=set
	ManagedIndexes []*string `json:"managedIndexes,omitempty" tf:"managed_indexes,omitempty"`

	// (String) The name of the policy.
	// The name of the policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// (String) After a change in policy takes place, specify the state for the index to transition to
	// After a change in policy takes place, specify the state for the index to transition to
	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*PolicyMappingInitParameters) DeepCopy

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

func (*PolicyMappingInitParameters) DeepCopyInto

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

type PolicyMappingList

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

PolicyMappingList contains a list of PolicyMappings

func (*PolicyMappingList) DeepCopy

func (in *PolicyMappingList) DeepCopy() *PolicyMappingList

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

func (*PolicyMappingList) DeepCopyInto

func (in *PolicyMappingList) DeepCopyInto(out *PolicyMappingList)

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

func (*PolicyMappingList) DeepCopyObject

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

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

func (*PolicyMappingList) GetItems

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

GetItems of this PolicyMappingList.

type PolicyMappingObservation

type PolicyMappingObservation struct {

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Set of Map of String) When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.
	// When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.
	Include []map[string]*string `json:"include,omitempty" tf:"include,omitempty"`

	// (String) Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.
	// Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.
	Indexes *string `json:"indexes,omitempty" tf:"indexes,omitempty"`

	// (Boolean)
	IsSafe *bool `json:"isSafe,omitempty" tf:"is_safe,omitempty"`

	// (Set of String)
	// +listType=set
	ManagedIndexes []*string `json:"managedIndexes,omitempty" tf:"managed_indexes,omitempty"`

	// (String) The name of the policy.
	// The name of the policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// (String) After a change in policy takes place, specify the state for the index to transition to
	// After a change in policy takes place, specify the state for the index to transition to
	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*PolicyMappingObservation) DeepCopy

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

func (*PolicyMappingObservation) DeepCopyInto

func (in *PolicyMappingObservation) DeepCopyInto(out *PolicyMappingObservation)

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

type PolicyMappingParameters

type PolicyMappingParameters struct {

	// (Set of Map of String) When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.
	// When updating multiple indices, you might want to include a state filter to only affect certain managed indices. The background process only applies the change if the index is currently in the state specified.
	// +kubebuilder:validation:Optional
	Include []map[string]*string `json:"include,omitempty" tf:"include,omitempty"`

	// (String) Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.
	// Name of the index to apply the policy to. You can use an index pattern to update multiple indices at once.
	// +kubebuilder:validation:Optional
	Indexes *string `json:"indexes,omitempty" tf:"indexes,omitempty"`

	// (Boolean)
	// +kubebuilder:validation:Optional
	IsSafe *bool `json:"isSafe,omitempty" tf:"is_safe,omitempty"`

	// (Set of String)
	// +kubebuilder:validation:Optional
	// +listType=set
	ManagedIndexes []*string `json:"managedIndexes,omitempty" tf:"managed_indexes,omitempty"`

	// (String) The name of the policy.
	// The name of the policy.
	// +kubebuilder:validation:Optional
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// (String) After a change in policy takes place, specify the state for the index to transition to
	// After a change in policy takes place, specify the state for the index to transition to
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*PolicyMappingParameters) DeepCopy

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

func (*PolicyMappingParameters) DeepCopyInto

func (in *PolicyMappingParameters) DeepCopyInto(out *PolicyMappingParameters)

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

type PolicyMappingSpec

type PolicyMappingSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyMappingParameters `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 PolicyMappingInitParameters `json:"initProvider,omitempty"`
}

PolicyMappingSpec defines the desired state of PolicyMapping

func (*PolicyMappingSpec) DeepCopy

func (in *PolicyMappingSpec) DeepCopy() *PolicyMappingSpec

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

func (*PolicyMappingSpec) DeepCopyInto

func (in *PolicyMappingSpec) DeepCopyInto(out *PolicyMappingSpec)

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

type PolicyMappingStatus

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

PolicyMappingStatus defines the observed state of PolicyMapping.

func (*PolicyMappingStatus) DeepCopy

func (in *PolicyMappingStatus) DeepCopy() *PolicyMappingStatus

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

func (*PolicyMappingStatus) DeepCopyInto

func (in *PolicyMappingStatus) DeepCopyInto(out *PolicyMappingStatus)

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

type PolicyObservation

type PolicyObservation struct {

	// (String) The policy document.
	// The policy document.
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String) The id of the ISM policy.
	// The id of the ISM policy.
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// (Number) The primary term of the ISM policy version.
	// The primary term of the ISM policy version.
	PrimaryTerm *float64 `json:"primaryTerm,omitempty" tf:"primary_term,omitempty"`

	// (Number) The sequence number of the ISM policy version.
	// The sequence number of the ISM policy version.
	SeqNo *float64 `json:"seqNo,omitempty" tf:"seq_no,omitempty"`
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// (String) The policy document.
	// The policy document.
	// +kubebuilder:validation:Optional
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// (String) The id of the ISM policy.
	// The id of the ISM policy.
	// +kubebuilder:validation:Optional
	PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"`

	// (Number) The primary term of the ISM policy version.
	// The primary term of the ISM policy version.
	// +kubebuilder:validation:Optional
	PrimaryTerm *float64 `json:"primaryTerm,omitempty" tf:"primary_term,omitempty"`

	// (Number) The sequence number of the ISM policy version.
	// The sequence number of the ISM policy version.
	// +kubebuilder:validation:Optional
	SeqNo *float64 `json:"seqNo,omitempty" tf:"seq_no,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `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 PolicyInitParameters `json:"initProvider,omitempty"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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