v1alpha1

package
v0.3.0-preview Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=scc.gcp.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "scc.gcp.jet.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 (
	NotificationConfig_Kind             = "NotificationConfig"
	NotificationConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NotificationConfig_Kind}.String()
	NotificationConfig_KindAPIVersion   = NotificationConfig_Kind + "." + CRDGroupVersion.String()
	NotificationConfig_GroupVersionKind = CRDGroupVersion.WithKind(NotificationConfig_Kind)
)

Repository type metadata.

View Source
var (
	Source_Kind             = "Source"
	Source_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Source_Kind}.String()
	Source_KindAPIVersion   = Source_Kind + "." + CRDGroupVersion.String()
	Source_GroupVersionKind = CRDGroupVersion.WithKind(Source_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type NotificationConfig

type NotificationConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NotificationConfigSpec   `json:"spec"`
	Status            NotificationConfigStatus `json:"status,omitempty"`
}

NotificationConfig is the Schema for the NotificationConfigs 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,gcpjet}

func (*NotificationConfig) DeepCopy

func (in *NotificationConfig) DeepCopy() *NotificationConfig

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

func (*NotificationConfig) DeepCopyInto

func (in *NotificationConfig) DeepCopyInto(out *NotificationConfig)

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

func (*NotificationConfig) DeepCopyObject

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

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

func (*NotificationConfig) GetCondition

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

GetCondition of this NotificationConfig.

func (*NotificationConfig) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NotificationConfig

func (*NotificationConfig) GetDeletionPolicy

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

GetDeletionPolicy of this NotificationConfig.

func (*NotificationConfig) GetID

func (tr *NotificationConfig) GetID() string

GetID returns ID of underlying Terraform resource of this NotificationConfig

func (*NotificationConfig) GetObservation

func (tr *NotificationConfig) GetObservation() (map[string]interface{}, error)

GetObservation of this NotificationConfig

func (*NotificationConfig) GetParameters

func (tr *NotificationConfig) GetParameters() (map[string]interface{}, error)

GetParameters of this NotificationConfig

func (*NotificationConfig) GetProviderConfigReference

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

GetProviderConfigReference of this NotificationConfig.

func (*NotificationConfig) GetProviderReference

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

GetProviderReference of this NotificationConfig. Deprecated: Use GetProviderConfigReference.

func (*NotificationConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NotificationConfig.

func (*NotificationConfig) GetTerraformResourceType

func (mg *NotificationConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NotificationConfig

func (*NotificationConfig) GetTerraformSchemaVersion

func (tr *NotificationConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NotificationConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NotificationConfig.

func (*NotificationConfig) LateInitialize

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

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

func (*NotificationConfig) SetConditions

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

SetConditions of this NotificationConfig.

func (*NotificationConfig) SetDeletionPolicy

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

SetDeletionPolicy of this NotificationConfig.

func (*NotificationConfig) SetObservation

func (tr *NotificationConfig) SetObservation(obs map[string]interface{}) error

SetObservation for this NotificationConfig

func (*NotificationConfig) SetParameters

func (tr *NotificationConfig) SetParameters(params map[string]interface{}) error

SetParameters for this NotificationConfig

func (*NotificationConfig) SetProviderConfigReference

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

SetProviderConfigReference of this NotificationConfig.

func (*NotificationConfig) SetProviderReference

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

SetProviderReference of this NotificationConfig. Deprecated: Use SetProviderConfigReference.

func (*NotificationConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NotificationConfig.

func (*NotificationConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NotificationConfig.

type NotificationConfigList

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

NotificationConfigList contains a list of NotificationConfigs

func (*NotificationConfigList) DeepCopy

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

func (*NotificationConfigList) DeepCopyInto

func (in *NotificationConfigList) DeepCopyInto(out *NotificationConfigList)

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

func (*NotificationConfigList) DeepCopyObject

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

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

func (*NotificationConfigList) GetItems

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

GetItems of this NotificationConfigList.

type NotificationConfigObservation

type NotificationConfigObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`
}

func (*NotificationConfigObservation) DeepCopy

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

func (*NotificationConfigObservation) DeepCopyInto

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

type NotificationConfigParameters

type NotificationConfigParameters struct {

	// This must be unique within the organization.
	// +kubebuilder:validation:Required
	ConfigID *string `json:"configId" tf:"config_id,omitempty"`

	// The description of the notification config (max of 1024 characters).
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The organization whose Cloud Security Command Center the Notification
	// Config lives in.
	// +kubebuilder:validation:Required
	Organization *string `json:"organization" tf:"organization,omitempty"`

	// The Pub/Sub topic to send notifications to. Its format is
	// "projects/[project_id]/topics/[topic]".
	// +kubebuilder:validation:Required
	PubsubTopic *string `json:"pubsubTopic" tf:"pubsub_topic,omitempty"`

	// The config for triggering streaming-based notifications.
	// +kubebuilder:validation:Required
	StreamingConfig []StreamingConfigParameters `json:"streamingConfig" tf:"streaming_config,omitempty"`
}

func (*NotificationConfigParameters) DeepCopy

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

func (*NotificationConfigParameters) DeepCopyInto

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

type NotificationConfigSpec

type NotificationConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NotificationConfigParameters `json:"forProvider"`
}

NotificationConfigSpec defines the desired state of NotificationConfig

func (*NotificationConfigSpec) DeepCopy

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

func (*NotificationConfigSpec) DeepCopyInto

func (in *NotificationConfigSpec) DeepCopyInto(out *NotificationConfigSpec)

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

type NotificationConfigStatus

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

NotificationConfigStatus defines the observed state of NotificationConfig.

func (*NotificationConfigStatus) DeepCopy

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

func (*NotificationConfigStatus) DeepCopyInto

func (in *NotificationConfigStatus) DeepCopyInto(out *NotificationConfigStatus)

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

type Source

type Source struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SourceSpec   `json:"spec"`
	Status            SourceStatus `json:"status,omitempty"`
}

Source is the Schema for the Sources 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,gcpjet}

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

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

func (*Source) DeepCopyObject

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

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

func (*Source) GetCondition

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

GetCondition of this Source.

func (*Source) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Source

func (*Source) GetDeletionPolicy

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

GetDeletionPolicy of this Source.

func (*Source) GetID

func (tr *Source) GetID() string

GetID returns ID of underlying Terraform resource of this Source

func (*Source) GetObservation

func (tr *Source) GetObservation() (map[string]interface{}, error)

GetObservation of this Source

func (*Source) GetParameters

func (tr *Source) GetParameters() (map[string]interface{}, error)

GetParameters of this Source

func (*Source) GetProviderConfigReference

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

GetProviderConfigReference of this Source.

func (*Source) GetProviderReference

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

GetProviderReference of this Source. Deprecated: Use GetProviderConfigReference.

func (*Source) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Source.

func (*Source) GetTerraformResourceType

func (mg *Source) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Source

func (*Source) GetTerraformSchemaVersion

func (tr *Source) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Source) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Source.

func (*Source) LateInitialize

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

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

func (*Source) SetConditions

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

SetConditions of this Source.

func (*Source) SetDeletionPolicy

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

SetDeletionPolicy of this Source.

func (*Source) SetObservation

func (tr *Source) SetObservation(obs map[string]interface{}) error

SetObservation for this Source

func (*Source) SetParameters

func (tr *Source) SetParameters(params map[string]interface{}) error

SetParameters for this Source

func (*Source) SetProviderConfigReference

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

SetProviderConfigReference of this Source.

func (*Source) SetProviderReference

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

SetProviderReference of this Source. Deprecated: Use SetProviderConfigReference.

func (*Source) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Source.

func (*Source) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Source.

type SourceList

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

SourceList contains a list of Sources

func (*SourceList) DeepCopy

func (in *SourceList) DeepCopy() *SourceList

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

func (*SourceList) DeepCopyInto

func (in *SourceList) DeepCopyInto(out *SourceList)

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

func (*SourceList) DeepCopyObject

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

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

func (*SourceList) GetItems

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

GetItems of this SourceList.

type SourceObservation

type SourceObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*SourceObservation) DeepCopy

func (in *SourceObservation) DeepCopy() *SourceObservation

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

func (*SourceObservation) DeepCopyInto

func (in *SourceObservation) DeepCopyInto(out *SourceObservation)

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

type SourceParameters

type SourceParameters struct {

	// The description of the source (max of 1024 characters).
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The source’s display name. A source’s display name must be unique
	// amongst its siblings, for example, two sources with the same parent
	// can't share the same display name. The display name must start and end
	// with a letter or digit, may contain letters, digits, spaces, hyphens,
	// and underscores, and can be no longer than 32 characters.
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// The organization whose Cloud Security Command Center the Source
	// lives in.
	// +kubebuilder:validation:Required
	Organization *string `json:"organization" tf:"organization,omitempty"`
}

func (*SourceParameters) DeepCopy

func (in *SourceParameters) DeepCopy() *SourceParameters

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

func (*SourceParameters) DeepCopyInto

func (in *SourceParameters) DeepCopyInto(out *SourceParameters)

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

type SourceSpec

type SourceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SourceParameters `json:"forProvider"`
}

SourceSpec defines the desired state of Source

func (*SourceSpec) DeepCopy

func (in *SourceSpec) DeepCopy() *SourceSpec

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

func (*SourceSpec) DeepCopyInto

func (in *SourceSpec) DeepCopyInto(out *SourceSpec)

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

type SourceStatus

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

SourceStatus defines the observed state of Source.

func (*SourceStatus) DeepCopy

func (in *SourceStatus) DeepCopy() *SourceStatus

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

func (*SourceStatus) DeepCopyInto

func (in *SourceStatus) DeepCopyInto(out *SourceStatus)

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

type StreamingConfigObservation

type StreamingConfigObservation struct {
}

func (*StreamingConfigObservation) DeepCopy

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

func (*StreamingConfigObservation) DeepCopyInto

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

type StreamingConfigParameters

type StreamingConfigParameters struct {

	// Expression that defines the filter to apply across create/update
	// events of assets or findings as specified by the event type. The
	// expression is a list of zero or more restrictions combined via
	// logical operators AND and OR. Parentheses are supported, and OR
	// has higher precedence than AND.
	//
	// Restrictions have the form <field> <operator> <value> and may have
	// a - character in front of them to indicate negation. The fields
	// map to those defined in the corresponding resource.
	//
	// The supported operators are:
	//
	// * = for all value types.
	// * >, <, >=, <= for integer values.
	// * :, meaning substring matching, for strings.
	//
	// The supported value types are:
	//
	// * string literals in quotes.
	// * integer literals without quotes.
	// * boolean literals true and false without quotes.
	//
	// See
	// [Filtering notifications](https://cloud.google.com/security-command-center/docs/how-to-api-filter-notifications)
	// for information on how to write a filter.
	// +kubebuilder:validation:Required
	Filter *string `json:"filter" tf:"filter,omitempty"`
}

func (*StreamingConfigParameters) DeepCopy

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

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