v1beta1

package
v1.126.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1beta1 contains API Schema definitions for the cloudids v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/cloudids +k8s:defaulter-gen=TypeMeta +groupName=cloudids.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "cloudids.cnrm.cloud.google.com", Version: "v1beta1"}

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

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	CloudIDSEndpointGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(CloudIDSEndpoint{}).Name(),
	}
)

Functions

This section is empty.

Types

type CloudIDSEndpoint

type CloudIDSEndpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudIDSEndpointSpec   `json:"spec,omitempty"`
	Status CloudIDSEndpointStatus `json:"status,omitempty"`
}

CloudIDSEndpoint is the Schema for the cloudids API +k8s:openapi-gen=true

func (*CloudIDSEndpoint) DeepCopy

func (in *CloudIDSEndpoint) DeepCopy() *CloudIDSEndpoint

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

func (*CloudIDSEndpoint) DeepCopyInto

func (in *CloudIDSEndpoint) DeepCopyInto(out *CloudIDSEndpoint)

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

func (*CloudIDSEndpoint) DeepCopyObject

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

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

type CloudIDSEndpointList

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

CloudIDSEndpointList contains a list of CloudIDSEndpoint

func (*CloudIDSEndpointList) DeepCopy

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

func (*CloudIDSEndpointList) DeepCopyInto

func (in *CloudIDSEndpointList) DeepCopyInto(out *CloudIDSEndpointList)

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

func (*CloudIDSEndpointList) DeepCopyObject

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

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

type CloudIDSEndpointSpec

type CloudIDSEndpointSpec struct {
	/* Immutable. An optional description of the endpoint. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. The location for the endpoint. */
	Location string `json:"location"`

	/* Immutable. 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"). */
	NetworkRef v1alpha1.ResourceRef `json:"networkRef"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The minimum alert severity level that is reported by the endpoint. Possible values: ["INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL"]. */
	Severity string `json:"severity"`

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

func (*CloudIDSEndpointSpec) DeepCopy

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

func (*CloudIDSEndpointSpec) DeepCopyInto

func (in *CloudIDSEndpointSpec) DeepCopyInto(out *CloudIDSEndpointSpec)

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

type CloudIDSEndpointStatus

type CloudIDSEndpointStatus struct {
	/* Conditions represent the latest available observations of the
	   CloudIDSEndpoint's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* The observed state of the underlying GCP resource. */
	// +optional
	ObservedState *EndpointObservedStateStatus `json:"observedState,omitempty"`
}

func (*CloudIDSEndpointStatus) DeepCopy

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

func (*CloudIDSEndpointStatus) DeepCopyInto

func (in *CloudIDSEndpointStatus) DeepCopyInto(out *CloudIDSEndpointStatus)

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

type EndpointObservedStateStatus

type EndpointObservedStateStatus struct {
	/* Creation timestamp in RFC 3339 text format. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

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

	/* Internal IP address of the endpoint's network entry point. */
	// +optional
	EndpointIP *string `json:"endpointIP,omitempty"`

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

func (*EndpointObservedStateStatus) DeepCopy

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

func (*EndpointObservedStateStatus) 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