v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=interrogationservices.harbor.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "interrogationservices.harbor.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 (
	InterrogationServices_Kind             = "InterrogationServices"
	InterrogationServices_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: InterrogationServices_Kind}.String()
	InterrogationServices_KindAPIVersion   = InterrogationServices_Kind + "." + CRDGroupVersion.String()
	InterrogationServices_GroupVersionKind = CRDGroupVersion.WithKind(InterrogationServices_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type InterrogationServices

type InterrogationServices 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.vulnerabilityScanPolicy) || (has(self.initProvider) && has(self.initProvider.vulnerabilityScanPolicy))",message="spec.forProvider.vulnerabilityScanPolicy is a required parameter"
	Spec   InterrogationServicesSpec   `json:"spec"`
	Status InterrogationServicesStatus `json:"status,omitempty"`
}

InterrogationServices is the Schema for the InterrogationServicess API. +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,harbor}

func (*InterrogationServices) DeepCopy

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

func (*InterrogationServices) DeepCopyInto

func (in *InterrogationServices) DeepCopyInto(out *InterrogationServices)

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

func (*InterrogationServices) DeepCopyObject

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

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

func (*InterrogationServices) GetCondition

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

GetCondition of this InterrogationServices.

func (*InterrogationServices) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this InterrogationServices

func (*InterrogationServices) GetDeletionPolicy

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

GetDeletionPolicy of this InterrogationServices.

func (*InterrogationServices) GetID

func (tr *InterrogationServices) GetID() string

GetID returns ID of underlying Terraform resource of this InterrogationServices

func (*InterrogationServices) GetInitParameters

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

GetInitParameters of this InterrogationServices

func (*InterrogationServices) GetManagementPolicies

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

GetManagementPolicies of this InterrogationServices.

func (*InterrogationServices) GetObservation

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

GetObservation of this InterrogationServices

func (*InterrogationServices) GetParameters

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

GetParameters of this InterrogationServices

func (*InterrogationServices) GetProviderConfigReference

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

GetProviderConfigReference of this InterrogationServices.

func (*InterrogationServices) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this InterrogationServices.

func (*InterrogationServices) GetTerraformResourceType

func (mg *InterrogationServices) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this InterrogationServices

func (*InterrogationServices) GetTerraformSchemaVersion

func (tr *InterrogationServices) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*InterrogationServices) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this InterrogationServices.

func (*InterrogationServices) LateInitialize

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

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

func (*InterrogationServices) SetConditions

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

SetConditions of this InterrogationServices.

func (*InterrogationServices) SetDeletionPolicy

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

SetDeletionPolicy of this InterrogationServices.

func (*InterrogationServices) SetManagementPolicies

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

SetManagementPolicies of this InterrogationServices.

func (*InterrogationServices) SetObservation

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

SetObservation for this InterrogationServices

func (*InterrogationServices) SetParameters

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

SetParameters for this InterrogationServices

func (*InterrogationServices) SetProviderConfigReference

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

SetProviderConfigReference of this InterrogationServices.

func (*InterrogationServices) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this InterrogationServices.

func (*InterrogationServices) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this InterrogationServices.

type InterrogationServicesInitParameters

type InterrogationServicesInitParameters struct {

	// (String) Sets the default interrogation service "Clair"
	DefaultScanner *string `json:"defaultScanner,omitempty" tf:"default_scanner,omitempty"`

	// (String) The frequency of the vulnerability scanning is done. This can be Daily, Weekly, Monthly or can be a custom cron string.
	VulnerabilityScanPolicy *string `json:"vulnerabilityScanPolicy,omitempty" tf:"vulnerability_scan_policy,omitempty"`
}

func (*InterrogationServicesInitParameters) DeepCopy

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

func (*InterrogationServicesInitParameters) DeepCopyInto

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

type InterrogationServicesList

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

InterrogationServicesList contains a list of InterrogationServicess

func (*InterrogationServicesList) DeepCopy

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

func (*InterrogationServicesList) DeepCopyInto

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

func (*InterrogationServicesList) DeepCopyObject

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

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

func (*InterrogationServicesList) GetItems

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

GetItems of this InterrogationServicesList.

type InterrogationServicesObservation

type InterrogationServicesObservation struct {

	// (String) Sets the default interrogation service "Clair"
	DefaultScanner *string `json:"defaultScanner,omitempty" tf:"default_scanner,omitempty"`

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

	// (String) The frequency of the vulnerability scanning is done. This can be Daily, Weekly, Monthly or can be a custom cron string.
	VulnerabilityScanPolicy *string `json:"vulnerabilityScanPolicy,omitempty" tf:"vulnerability_scan_policy,omitempty"`
}

func (*InterrogationServicesObservation) DeepCopy

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

func (*InterrogationServicesObservation) DeepCopyInto

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

type InterrogationServicesParameters

type InterrogationServicesParameters struct {

	// (String) Sets the default interrogation service "Clair"
	// +kubebuilder:validation:Optional
	DefaultScanner *string `json:"defaultScanner,omitempty" tf:"default_scanner,omitempty"`

	// (String) The frequency of the vulnerability scanning is done. This can be Daily, Weekly, Monthly or can be a custom cron string.
	// +kubebuilder:validation:Optional
	VulnerabilityScanPolicy *string `json:"vulnerabilityScanPolicy,omitempty" tf:"vulnerability_scan_policy,omitempty"`
}

func (*InterrogationServicesParameters) DeepCopy

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

func (*InterrogationServicesParameters) DeepCopyInto

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

type InterrogationServicesSpec

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

InterrogationServicesSpec defines the desired state of InterrogationServices

func (*InterrogationServicesSpec) DeepCopy

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

func (*InterrogationServicesSpec) DeepCopyInto

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

type InterrogationServicesStatus

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

InterrogationServicesStatus defines the observed state of InterrogationServices.

func (*InterrogationServicesStatus) DeepCopy

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

func (*InterrogationServicesStatus) DeepCopyInto

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