Documentation ¶
Overview ¶
+groupName=scc.google.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type NotificationConfig
- func (in *NotificationConfig) DeepCopy() *NotificationConfig
- func (in *NotificationConfig) DeepCopyInto(out *NotificationConfig)
- func (in *NotificationConfig) DeepCopyObject() runtime.Object
- func (r *NotificationConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NotificationConfig) ValidateCreate() error
- func (r *NotificationConfig) ValidateDelete() error
- func (r *NotificationConfig) ValidateUpdate(old runtime.Object) error
- type NotificationConfigList
- type NotificationConfigSpec
- type NotificationConfigSpecResource
- type NotificationConfigSpecStreamingConfig
- type NotificationConfigSpecStreamingConfigCodec
- type NotificationConfigStatus
- type Source
- func (in *Source) DeepCopy() *Source
- func (in *Source) DeepCopyInto(out *Source)
- func (in *Source) DeepCopyObject() runtime.Object
- func (r *Source) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Source) ValidateCreate() error
- func (r *Source) ValidateDelete() error
- func (r *Source) ValidateUpdate(old runtime.Object) error
- type SourceList
- type SourceSpec
- type SourceSpecResource
- type SourceStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: scc.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type NotificationConfig ¶ added in v0.4.0
type NotificationConfig struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotificationConfigSpec `json:"spec,omitempty"` Status NotificationConfigStatus `json:"status,omitempty"` }
func (*NotificationConfig) DeepCopy ¶ added in v0.4.0
func (in *NotificationConfig) DeepCopy() *NotificationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfig.
func (*NotificationConfig) DeepCopyInto ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (in *NotificationConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NotificationConfig) SetupWebhookWithManager ¶ added in v0.4.0
func (r *NotificationConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*NotificationConfig) ValidateCreate ¶ added in v0.4.0
func (r *NotificationConfig) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*NotificationConfig) ValidateDelete ¶ added in v0.4.0
func (r *NotificationConfig) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*NotificationConfig) ValidateUpdate ¶ added in v0.4.0
func (r *NotificationConfig) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type NotificationConfigList ¶ added in v0.4.0
type NotificationConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of NotificationConfig CRD objects Items []NotificationConfig `json:"items,omitempty"` }
NotificationConfigList is a list of NotificationConfigs
func (*NotificationConfigList) DeepCopy ¶ added in v0.4.0
func (in *NotificationConfigList) DeepCopy() *NotificationConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigList.
func (*NotificationConfigList) DeepCopyInto ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (in *NotificationConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationConfigSpec ¶ added in v0.4.0
type NotificationConfigSpec struct { State *NotificationConfigSpecResource `json:"state,omitempty" tf:"-"` Resource NotificationConfigSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*NotificationConfigSpec) DeepCopy ¶ added in v0.4.0
func (in *NotificationConfigSpec) DeepCopy() *NotificationConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigSpec.
func (*NotificationConfigSpec) DeepCopyInto ¶ added in v0.4.0
func (in *NotificationConfigSpec) DeepCopyInto(out *NotificationConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationConfigSpecResource ¶ added in v0.4.0
type NotificationConfigSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // This must be unique within the organization. ConfigID *string `json:"configID" tf:"config_id"` // The description of the notification config (max of 1024 characters). // +optional Description *string `json:"description,omitempty" tf:"description"` // The resource name of this notification config, in the format // 'organizations/{{organization}}/notificationConfigs/{{config_id}}'. // +optional Name *string `json:"name,omitempty" tf:"name"` // The organization whose Cloud Security Command Center the Notification // Config lives in. Organization *string `json:"organization" tf:"organization"` // The Pub/Sub topic to send notifications to. Its format is // "projects/[project_id]/topics/[topic]". PubsubTopic *string `json:"pubsubTopic" tf:"pubsub_topic"` // The service account that needs "pubsub.topics.publish" permission to // publish to the Pub/Sub topic. // +optional ServiceAccount *string `json:"serviceAccount,omitempty" tf:"service_account"` // The config for triggering streaming-based notifications. StreamingConfig *NotificationConfigSpecStreamingConfig `json:"streamingConfig" tf:"streaming_config"` }
func (*NotificationConfigSpecResource) DeepCopy ¶ added in v0.4.0
func (in *NotificationConfigSpecResource) DeepCopy() *NotificationConfigSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigSpecResource.
func (*NotificationConfigSpecResource) DeepCopyInto ¶ added in v0.4.0
func (in *NotificationConfigSpecResource) DeepCopyInto(out *NotificationConfigSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationConfigSpecStreamingConfig ¶ added in v0.4.0
type NotificationConfigSpecStreamingConfig 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. Filter *string `json:"filter" tf:"filter"` }
func (*NotificationConfigSpecStreamingConfig) DeepCopy ¶ added in v0.4.0
func (in *NotificationConfigSpecStreamingConfig) DeepCopy() *NotificationConfigSpecStreamingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigSpecStreamingConfig.
func (*NotificationConfigSpecStreamingConfig) DeepCopyInto ¶ added in v0.4.0
func (in *NotificationConfigSpecStreamingConfig) DeepCopyInto(out *NotificationConfigSpecStreamingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationConfigSpecStreamingConfigCodec ¶ added in v0.4.0
type NotificationConfigSpecStreamingConfigCodec struct { }
+k8s:deepcopy-gen=false
func (NotificationConfigSpecStreamingConfigCodec) Decode ¶ added in v0.4.0
func (NotificationConfigSpecStreamingConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (NotificationConfigSpecStreamingConfigCodec) Encode ¶ added in v0.4.0
func (NotificationConfigSpecStreamingConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (NotificationConfigSpecStreamingConfigCodec) IsEmpty ¶ added in v0.4.0
func (NotificationConfigSpecStreamingConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type NotificationConfigStatus ¶ added in v0.4.0
type NotificationConfigStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*NotificationConfigStatus) DeepCopy ¶ added in v0.4.0
func (in *NotificationConfigStatus) DeepCopy() *NotificationConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationConfigStatus.
func (*NotificationConfigStatus) DeepCopyInto ¶ added in v0.4.0
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,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SourceSpec `json:"spec,omitempty"` Status SourceStatus `json:"status,omitempty"` }
func (*Source) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.
func (*Source) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Source) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Source) SetupWebhookWithManager ¶
func (*Source) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Source) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SourceList ¶
type SourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Source CRD objects Items []Source `json:"items,omitempty"` }
SourceList is 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.
type SourceSpec ¶
type SourceSpec struct { State *SourceSpecResource `json:"state,omitempty" tf:"-"` Resource SourceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
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 SourceSpecResource ¶
type SourceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The description of the source (max of 1024 characters). // +optional Description *string `json:"description,omitempty" tf:"description"` // 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. DisplayName *string `json:"displayName" tf:"display_name"` // The resource name of this source, in the format // 'organizations/{{organization}}/sources/{{source}}'. // +optional Name *string `json:"name,omitempty" tf:"name"` // The organization whose Cloud Security Command Center the Source // lives in. Organization *string `json:"organization" tf:"organization"` }
func (*SourceSpecResource) DeepCopy ¶
func (in *SourceSpecResource) DeepCopy() *SourceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpecResource.
func (*SourceSpecResource) DeepCopyInto ¶
func (in *SourceSpecResource) DeepCopyInto(out *SourceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceStatus ¶
type SourceStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
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.