v1alpha1

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=advanced.azurerm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: advanced.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

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 ThreatProtection

type ThreatProtection struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ThreatProtectionSpec   `json:"spec,omitempty"`
	Status            ThreatProtectionStatus `json:"status,omitempty"`
}

func (*ThreatProtection) DeepCopy

func (in *ThreatProtection) DeepCopy() *ThreatProtection

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

func (*ThreatProtection) DeepCopyInto

func (in *ThreatProtection) DeepCopyInto(out *ThreatProtection)

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

func (*ThreatProtection) DeepCopyObject

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

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

func (*ThreatProtection) SetupWebhookWithManager

func (r *ThreatProtection) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ThreatProtection) ValidateCreate

func (r *ThreatProtection) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ThreatProtection) ValidateDelete

func (r *ThreatProtection) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ThreatProtection) ValidateUpdate

func (r *ThreatProtection) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ThreatProtectionList

type ThreatProtectionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ThreatProtection CRD objects
	Items []ThreatProtection `json:"items,omitempty"`
}

ThreatProtectionList is a list of ThreatProtections

func (*ThreatProtectionList) DeepCopy

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

func (*ThreatProtectionList) DeepCopyInto

func (in *ThreatProtectionList) DeepCopyInto(out *ThreatProtectionList)

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

func (*ThreatProtectionList) DeepCopyObject

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

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

type ThreatProtectionSpec

type ThreatProtectionSpec struct {
	State *ThreatProtectionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ThreatProtectionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ThreatProtectionSpec) DeepCopy

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

func (*ThreatProtectionSpec) DeepCopyInto

func (in *ThreatProtectionSpec) DeepCopyInto(out *ThreatProtectionSpec)

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

type ThreatProtectionSpecResource

type ThreatProtectionSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	Enabled          *bool   `json:"enabled" tf:"enabled"`
	TargetResourceID *string `json:"targetResourceID" tf:"target_resource_id"`
}

func (*ThreatProtectionSpecResource) DeepCopy

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

func (*ThreatProtectionSpecResource) DeepCopyInto

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

type ThreatProtectionStatus

type ThreatProtectionStatus 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 (*ThreatProtectionStatus) DeepCopy

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

func (*ThreatProtectionStatus) DeepCopyInto

func (in *ThreatProtectionStatus) DeepCopyInto(out *ThreatProtectionStatus)

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