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=flow.aws.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: flow.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 Log

type Log struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogSpec   `json:"spec,omitempty"`
	Status            LogStatus `json:"status,omitempty"`
}

func (*Log) DeepCopy

func (in *Log) DeepCopy() *Log

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

func (*Log) DeepCopyInto

func (in *Log) DeepCopyInto(out *Log)

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

func (*Log) DeepCopyObject

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

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

func (*Log) SetupWebhookWithManager

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

func (*Log) ValidateCreate

func (r *Log) ValidateCreate() error

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

func (*Log) ValidateDelete

func (r *Log) ValidateDelete() error

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

func (*Log) ValidateUpdate

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

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

type LogList

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

LogList is a list of Logs

func (*LogList) DeepCopy

func (in *LogList) DeepCopy() *LogList

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

func (*LogList) DeepCopyInto

func (in *LogList) DeepCopyInto(out *LogList)

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

func (*LogList) DeepCopyObject

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

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

type LogSpec

type LogSpec struct {
	State *LogSpecResource `json:"state,omitempty" tf:"-"`

	Resource LogSpecResource `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 (*LogSpec) DeepCopy

func (in *LogSpec) DeepCopy() *LogSpec

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

func (*LogSpec) DeepCopyInto

func (in *LogSpec) DeepCopyInto(out *LogSpec)

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

type LogSpecDestinationOptions added in v0.5.0

type LogSpecDestinationOptions struct {
	// +optional
	FileFormat *string `json:"fileFormat,omitempty" tf:"file_format"`
	// +optional
	HiveCompatiblePartitions *bool `json:"hiveCompatiblePartitions,omitempty" tf:"hive_compatible_partitions"`
	// +optional
	PerHourPartition *bool `json:"perHourPartition,omitempty" tf:"per_hour_partition"`
}

func (*LogSpecDestinationOptions) DeepCopy added in v0.5.0

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

func (*LogSpecDestinationOptions) DeepCopyInto added in v0.5.0

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

type LogSpecDestinationOptionsCodec added in v0.5.0

type LogSpecDestinationOptionsCodec struct {
}

+k8s:deepcopy-gen=false

func (LogSpecDestinationOptionsCodec) Decode added in v0.5.0

func (LogSpecDestinationOptionsCodec) Encode added in v0.5.0

func (LogSpecDestinationOptionsCodec) IsEmpty added in v0.5.0

type LogSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	DestinationOptions *LogSpecDestinationOptions `json:"destinationOptions,omitempty" tf:"destination_options"`
	// +optional
	EniID *string `json:"eniID,omitempty" tf:"eni_id"`
	// +optional
	IamRoleArn *string `json:"iamRoleArn,omitempty" tf:"iam_role_arn"`
	// +optional
	LogDestination *string `json:"logDestination,omitempty" tf:"log_destination"`
	// +optional
	LogDestinationType *string `json:"logDestinationType,omitempty" tf:"log_destination_type"`
	// +optional
	LogFormat *string `json:"logFormat,omitempty" tf:"log_format"`
	// +optional
	// Deprecated
	LogGroupName *string `json:"logGroupName,omitempty" tf:"log_group_name"`
	// +optional
	MaxAggregationInterval *int64 `json:"maxAggregationInterval,omitempty" tf:"max_aggregation_interval"`
	// +optional
	SubnetID *string `json:"subnetID,omitempty" tf:"subnet_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll     *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	TrafficType *string            `json:"trafficType" tf:"traffic_type"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
}

func (*LogSpecResource) DeepCopy

func (in *LogSpecResource) DeepCopy() *LogSpecResource

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

func (*LogSpecResource) DeepCopyInto

func (in *LogSpecResource) DeepCopyInto(out *LogSpecResource)

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

type LogStatus

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

func (in *LogStatus) DeepCopy() *LogStatus

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

func (*LogStatus) DeepCopyInto

func (in *LogStatus) DeepCopyInto(out *LogStatus)

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