v1beta1

package
v0.31.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloud.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "cloud.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

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 (
	IdsEndpoint_Kind             = "IdsEndpoint"
	IdsEndpoint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: IdsEndpoint_Kind}.String()
	IdsEndpoint_KindAPIVersion   = IdsEndpoint_Kind + "." + CRDGroupVersion.String()
	IdsEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(IdsEndpoint_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IdsEndpoint

type IdsEndpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IdsEndpointSpec   `json:"spec"`
	Status            IdsEndpointStatus `json:"status,omitempty"`
}

IdsEndpoint is the Schema for the IdsEndpoints API. Cloud IDS is an intrusion detection service that provides threat detection for intrusions, malware, spyware, and command-and-control attacks on your network. +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,gcp}

func (*IdsEndpoint) DeepCopy

func (in *IdsEndpoint) DeepCopy() *IdsEndpoint

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

func (*IdsEndpoint) DeepCopyInto

func (in *IdsEndpoint) DeepCopyInto(out *IdsEndpoint)

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

func (*IdsEndpoint) DeepCopyObject

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

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

func (*IdsEndpoint) GetCondition

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

GetCondition of this IdsEndpoint.

func (*IdsEndpoint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this IdsEndpoint

func (*IdsEndpoint) GetDeletionPolicy

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

GetDeletionPolicy of this IdsEndpoint.

func (*IdsEndpoint) GetID

func (tr *IdsEndpoint) GetID() string

GetID returns ID of underlying Terraform resource of this IdsEndpoint

func (*IdsEndpoint) GetObservation

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

GetObservation of this IdsEndpoint

func (*IdsEndpoint) GetParameters

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

GetParameters of this IdsEndpoint

func (*IdsEndpoint) GetProviderConfigReference

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

GetProviderConfigReference of this IdsEndpoint.

func (*IdsEndpoint) GetProviderReference

func (mg *IdsEndpoint) GetProviderReference() *xpv1.Reference

GetProviderReference of this IdsEndpoint. Deprecated: Use GetProviderConfigReference.

func (*IdsEndpoint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IdsEndpoint.

func (*IdsEndpoint) GetTerraformResourceType

func (mg *IdsEndpoint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this IdsEndpoint

func (*IdsEndpoint) GetTerraformSchemaVersion

func (tr *IdsEndpoint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*IdsEndpoint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IdsEndpoint.

func (*IdsEndpoint) LateInitialize

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

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

func (*IdsEndpoint) ResolveReferences

func (mg *IdsEndpoint) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this IdsEndpoint.

func (*IdsEndpoint) SetConditions

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

SetConditions of this IdsEndpoint.

func (*IdsEndpoint) SetDeletionPolicy

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

SetDeletionPolicy of this IdsEndpoint.

func (*IdsEndpoint) SetObservation

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

SetObservation for this IdsEndpoint

func (*IdsEndpoint) SetParameters

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

SetParameters for this IdsEndpoint

func (*IdsEndpoint) SetProviderConfigReference

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

SetProviderConfigReference of this IdsEndpoint.

func (*IdsEndpoint) SetProviderReference

func (mg *IdsEndpoint) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this IdsEndpoint. Deprecated: Use SetProviderConfigReference.

func (*IdsEndpoint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IdsEndpoint.

func (*IdsEndpoint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IdsEndpoint.

type IdsEndpointList

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

IdsEndpointList contains a list of IdsEndpoints

func (*IdsEndpointList) DeepCopy

func (in *IdsEndpointList) DeepCopy() *IdsEndpointList

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

func (*IdsEndpointList) DeepCopyInto

func (in *IdsEndpointList) DeepCopyInto(out *IdsEndpointList)

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

func (*IdsEndpointList) DeepCopyObject

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

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

func (*IdsEndpointList) GetItems

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

GetItems of this IdsEndpointList.

type IdsEndpointObservation

type IdsEndpointObservation struct {

	// Creation timestamp in RFC 3339 text format.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// URL of the endpoint's network address to which traffic is to be sent by Packet Mirroring.
	EndpointForwardingRule *string `json:"endpointForwardingRule,omitempty" tf:"endpoint_forwarding_rule,omitempty"`

	// Internal IP address of the endpoint's network entry point.
	EndpointIP *string `json:"endpointIp,omitempty" tf:"endpoint_ip,omitempty"`

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/endpoints/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Last update timestamp in RFC 3339 text format.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*IdsEndpointObservation) DeepCopy

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

func (*IdsEndpointObservation) DeepCopyInto

func (in *IdsEndpointObservation) DeepCopyInto(out *IdsEndpointObservation)

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

type IdsEndpointParameters

type IdsEndpointParameters struct {

	// An optional description of the endpoint.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The location for the endpoint.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// Name of the endpoint in the format projects/{project_id}/locations/{locationId}/endpoints/{endpointId}.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Name of the VPC network that is connected to the IDS endpoint. This can either contain the VPC network name itself (like "src-net") or the full URL to the network (like "projects/{project_id}/global/networks/src-net").
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// Reference to a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The minimum alert severity level that is reported by the endpoint.
	// Possible values are INFORMATIONAL, LOW, MEDIUM, HIGH, and CRITICAL.
	// +kubebuilder:validation:Required
	Severity *string `json:"severity" tf:"severity,omitempty"`

	// Configuration for threat IDs excluded from generating alerts. Limit: 99 IDs.
	// +kubebuilder:validation:Optional
	ThreatExceptions []*string `json:"threatExceptions,omitempty" tf:"threat_exceptions,omitempty"`
}

func (*IdsEndpointParameters) DeepCopy

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

func (*IdsEndpointParameters) DeepCopyInto

func (in *IdsEndpointParameters) DeepCopyInto(out *IdsEndpointParameters)

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

type IdsEndpointSpec

type IdsEndpointSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IdsEndpointParameters `json:"forProvider"`
}

IdsEndpointSpec defines the desired state of IdsEndpoint

func (*IdsEndpointSpec) DeepCopy

func (in *IdsEndpointSpec) DeepCopy() *IdsEndpointSpec

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

func (*IdsEndpointSpec) DeepCopyInto

func (in *IdsEndpointSpec) DeepCopyInto(out *IdsEndpointSpec)

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

type IdsEndpointStatus

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

IdsEndpointStatus defines the observed state of IdsEndpoint.

func (*IdsEndpointStatus) DeepCopy

func (in *IdsEndpointStatus) DeepCopy() *IdsEndpointStatus

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

func (*IdsEndpointStatus) DeepCopyInto

func (in *IdsEndpointStatus) DeepCopyInto(out *IdsEndpointStatus)

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