v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=packet.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: packet.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 Capture

type Capture struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CaptureSpec   `json:"spec,omitempty"`
	Status            CaptureStatus `json:"status,omitempty"`
}

func (*Capture) DeepCopy

func (in *Capture) DeepCopy() *Capture

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

func (*Capture) DeepCopyInto

func (in *Capture) DeepCopyInto(out *Capture)

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

func (*Capture) DeepCopyObject

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

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

func (*Capture) SetupWebhookWithManager

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

func (*Capture) ValidateCreate

func (r *Capture) ValidateCreate() error

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

func (*Capture) ValidateDelete

func (r *Capture) ValidateDelete() error

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

func (*Capture) ValidateUpdate

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

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

type CaptureList

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

CaptureList is a list of Captures

func (*CaptureList) DeepCopy

func (in *CaptureList) DeepCopy() *CaptureList

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

func (*CaptureList) DeepCopyInto

func (in *CaptureList) DeepCopyInto(out *CaptureList)

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

func (*CaptureList) DeepCopyObject

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

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

type CaptureSpec

type CaptureSpec struct {
	State *CaptureSpecResource `json:"state,omitempty" tf:"-"`

	Resource CaptureSpecResource `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 (*CaptureSpec) DeepCopy

func (in *CaptureSpec) DeepCopy() *CaptureSpec

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

func (*CaptureSpec) DeepCopyInto

func (in *CaptureSpec) DeepCopyInto(out *CaptureSpec)

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

type CaptureSpecFilter

type CaptureSpecFilter struct {
	// +optional
	LocalIPAddress *string `json:"localIPAddress,omitempty" tf:"local_ip_address"`
	// +optional
	LocalPort *string `json:"localPort,omitempty" tf:"local_port"`
	Protocol  *string `json:"protocol" tf:"protocol"`
	// +optional
	RemoteIPAddress *string `json:"remoteIPAddress,omitempty" tf:"remote_ip_address"`
	// +optional
	RemotePort *string `json:"remotePort,omitempty" tf:"remote_port"`
}

func (*CaptureSpecFilter) DeepCopy

func (in *CaptureSpecFilter) DeepCopy() *CaptureSpecFilter

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

func (*CaptureSpecFilter) DeepCopyInto

func (in *CaptureSpecFilter) DeepCopyInto(out *CaptureSpecFilter)

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

type CaptureSpecResource

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

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

	// +optional
	Filter []CaptureSpecFilter `json:"filter,omitempty" tf:"filter"`
	// +optional
	MaximumBytesPerPacket *int64 `json:"maximumBytesPerPacket,omitempty" tf:"maximum_bytes_per_packet"`
	// +optional
	MaximumBytesPerSession *int64 `json:"maximumBytesPerSession,omitempty" tf:"maximum_bytes_per_session"`
	// +optional
	MaximumCaptureDuration *int64                      `json:"maximumCaptureDuration,omitempty" tf:"maximum_capture_duration"`
	Name                   *string                     `json:"name" tf:"name"`
	NetworkWatcherName     *string                     `json:"networkWatcherName" tf:"network_watcher_name"`
	ResourceGroupName      *string                     `json:"resourceGroupName" tf:"resource_group_name"`
	StorageLocation        *CaptureSpecStorageLocation `json:"storageLocation" tf:"storage_location"`
	TargetResourceID       *string                     `json:"targetResourceID" tf:"target_resource_id"`
}

func (*CaptureSpecResource) DeepCopy

func (in *CaptureSpecResource) DeepCopy() *CaptureSpecResource

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

func (*CaptureSpecResource) DeepCopyInto

func (in *CaptureSpecResource) DeepCopyInto(out *CaptureSpecResource)

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

type CaptureSpecStorageLocation

type CaptureSpecStorageLocation struct {
	// +optional
	FilePath *string `json:"filePath,omitempty" tf:"file_path"`
	// +optional
	StorageAccountID *string `json:"storageAccountID,omitempty" tf:"storage_account_id"`
	// +optional
	StoragePath *string `json:"storagePath,omitempty" tf:"storage_path"`
}

func (*CaptureSpecStorageLocation) DeepCopy

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

func (*CaptureSpecStorageLocation) DeepCopyInto

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

type CaptureSpecStorageLocationCodec

type CaptureSpecStorageLocationCodec struct {
}

+k8s:deepcopy-gen=false

func (CaptureSpecStorageLocationCodec) Decode

func (CaptureSpecStorageLocationCodec) Encode

func (CaptureSpecStorageLocationCodec) IsEmpty

type CaptureStatus

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

func (in *CaptureStatus) DeepCopy() *CaptureStatus

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

func (*CaptureStatus) DeepCopyInto

func (in *CaptureStatus) DeepCopyInto(out *CaptureStatus)

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