v1alpha1

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the sls v1alpha1 API group +kubebuilder:object:generate=true +groupName=sls.alibaba.crossplane.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "sls.alibaba.crossplane.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	// ProjectKind is the kind of Project
	ProjectKind = reflect.TypeOf(Project{}).Name()

	// ProjectGroupKind is the group and kind of Project
	ProjectGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: ProjectKind}.String()

	// ProjectGroupVersionKind is the group, version and kind of Project
	ProjectGroupVersionKind = GroupVersion.WithKind(ProjectKind)
)
View Source
var (
	// StoreKind is the kind of Log LogStore
	StoreKind = reflect.TypeOf(LogStore{}).Name()

	// StoreGroupKind is the group and kind of LogStore
	StoreGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: StoreKind}.String()

	// StoreGroupVersionKind is the group, version and kind of LogStore
	StoreGroupVersionKind = GroupVersion.WithKind(StoreKind)
)
View Source
var (
	// LogtailKind is the kind of Logtail
	LogtailKind = reflect.TypeOf(Logtail{}).Name()

	// LogtailGroupKind is the group and kind of Logtail
	LogtailGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: LogtailKind}.String()

	// LogtailGroupVersionKind is the group, version and kind of Logtail
	LogtailGroupVersionKind = GroupVersion.WithKind(LogtailKind)
)
View Source
var (
	// IndexKind is the kind of Logstore index
	IndexKind = reflect.TypeOf(LogstoreIndex{}).Name()

	// IndexGroupKind is the group and kind of Logstore index
	IndexGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: IndexKind}.String()

	// IndexGroupVersionKind is the group, version and kind of Logstore index
	IndexGroupVersionKind = GroupVersion.WithKind(IndexKind)

	// MachineGroupKind is the kind of MachineGroup
	MachineGroupKind = reflect.TypeOf(MachineGroup{}).Name()

	// MachineGroupGroupKind is the group and kind of MachineGroup
	MachineGroupGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: MachineGroupKind}.String()

	// MachineGroupVersionKind is the group, version and kind of MachineGroup
	MachineGroupVersionKind = GroupVersion.WithKind(MachineGroupKind)

	// MachineGroupBindingKind is the kind of MachineGroupBinding
	MachineGroupBindingKind = reflect.TypeOf(MachineGroupBinding{}).Name()

	// MachineGroupBindingGroupKind is the group and kind of MachineGroupBinding
	MachineGroupBindingGroupKind = schema.GroupKind{Group: GroupVersion.Group, Kind: MachineGroupBindingKind}.String()

	// MachineGroupBindingGroupVersionKind is the group, version and kind of MachineGroupBinding
	MachineGroupBindingGroupVersionKind = GroupVersion.WithKind(MachineGroupBindingKind)
)

Functions

This section is empty.

Types

type IndexKey

type IndexKey struct {
	Token         *[]string `json:"token"` // tokens that split the log line.
	CaseSensitive *bool     `json:"caseSensitive"`
	Type          *string   `json:"type"` // text, long, double
	DocValue      *bool     `json:"docValue,omitempty"`
	Alias         *string   `json:"alias,omitempty"`
	Chn           *bool     `json:"chn,omitempty"` // parse chinese or not
}

IndexKey is the index by key. Copied most of these fields from sdk.IndexKey and leave out the field `JsonKeys` which is not supported per SLS developer

func (*IndexKey) DeepCopy

func (in *IndexKey) DeepCopy() *IndexKey

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

func (*IndexKey) DeepCopyInto

func (in *IndexKey) DeepCopyInto(out *IndexKey)

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

type InputDetail

type InputDetail struct {
	LogType     *string `json:"logType"`
	LogPath     *string `json:"logPath"`
	FilePattern *string `json:"filePattern"`
	TopicFormat *string `json:"topicFormat"`
	TimeFormat  *string `json:"timeFormat,omitempty"`
	// +kubebuilder:default:=false
	Preserve           *bool              `json:"preserve,omitempty"`
	PreserveDepth      *int               `json:"preserveDepth,omitempty"`
	FileEncoding       *string            `json:"fileEncoding,omitempty"`
	DiscardUnmatch     *bool              `json:"discardUnmatch,omitempty"`
	MaxDepth           *int               `json:"maxDepth,omitempty"`
	TailExisted        *bool              `json:"tailExisted,omitempty"`
	DiscardNonUtf8     *bool              `json:"discardNonUtf8,omitempty"`
	DelaySkipBytes     *int               `json:"delaySkipBytes,omitempty"`
	IsDockerFile       *bool              `json:"dockerFile,omitempty"`
	DockerIncludeLabel *map[string]string `json:"dockerIncludeLabel,omitempty"`
	DockerExcludeLabel *map[string]string `json:"dockerExcludeLabel,omitempty"`
	DockerIncludeEnv   *map[string]string `json:"dockerIncludeEnv,omitempty"`
	DockerExcludeEnv   *map[string]string `json:"dockerExcludeEnv,omitempty"`

	LogBeginRegex *string  `json:"logBeginRegex,omitempty"`
	Regex         *string  `json:"regex,omitempty"`
	Keys          []string `json:"keys"`
}

InputDetail defines all file input detail's basic config

func (*InputDetail) DeepCopy

func (in *InputDetail) DeepCopy() *InputDetail

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

func (*InputDetail) DeepCopyInto

func (in *InputDetail) DeepCopyInto(out *InputDetail)

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

type LogStore

type LogStore struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogStoreSpec   `json:"spec"`
	Status            LogStoreStatus `json:"status,omitempty"`
}

LogStore is the Schema for the SLS Stores 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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,alibaba}

func (*LogStore) DeepCopy

func (in *LogStore) DeepCopy() *LogStore

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

func (*LogStore) DeepCopyInto

func (in *LogStore) DeepCopyInto(out *LogStore)

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

func (*LogStore) DeepCopyObject

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

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

func (*LogStore) GetCondition

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

GetCondition of this LogStore.

func (*LogStore) GetDeletionPolicy

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

GetDeletionPolicy of this LogStore.

func (*LogStore) GetProviderConfigReference

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

GetProviderConfigReference of this LogStore.

func (*LogStore) GetProviderReference

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

GetProviderReference of this LogStore. Deprecated: Use GetProviderConfigReference.

func (*LogStore) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LogStore.

func (*LogStore) SetConditions

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

SetConditions of this LogStore.

func (*LogStore) SetDeletionPolicy

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

SetDeletionPolicy of this LogStore.

func (*LogStore) SetProviderConfigReference

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

SetProviderConfigReference of this LogStore.

func (*LogStore) SetProviderReference

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

SetProviderReference of this LogStore. Deprecated: Use SetProviderConfigReference.

func (*LogStore) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LogStore.

type LogStoreList

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

LogStoreList contains a list of LogStore

func (*LogStoreList) DeepCopy

func (in *LogStoreList) DeepCopy() *LogStoreList

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

func (*LogStoreList) DeepCopyInto

func (in *LogStoreList) DeepCopyInto(out *LogStoreList)

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

func (*LogStoreList) DeepCopyObject

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

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

func (*LogStoreList) GetItems

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

GetItems of this LogStoreList.

type LogStoreSpec

type LogStoreSpec struct {
	xpv1.ResourceSpec `json:",inline"`

	// ForProvider field is where use set parameters for SLS LogStore
	ForProvider StoreParameters `json:"forProvider"`
}

LogStoreSpec defines the desired state of SLS LogStore

func (*LogStoreSpec) DeepCopy

func (in *LogStoreSpec) DeepCopy() *LogStoreSpec

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

func (*LogStoreSpec) DeepCopyInto

func (in *LogStoreSpec) DeepCopyInto(out *LogStoreSpec)

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

type LogStoreStatus

type LogStoreStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          StoreObservation `json:"atProvider,omitempty"`
}

LogStoreStatus defines the observed state of SLS LogStore

func (*LogStoreStatus) DeepCopy

func (in *LogStoreStatus) DeepCopy() *LogStoreStatus

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

func (*LogStoreStatus) DeepCopyInto

func (in *LogStoreStatus) DeepCopyInto(out *LogStoreStatus)

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

type LogstoreIndex

type LogstoreIndex struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogstoreIndexSpec   `json:"spec"`
	Status            LogstoreIndexStatus `json:"status,omitempty"`
}

LogstoreIndex is the Schema for the SLS LogstoreIndex 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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,alibaba},shortName=index

func (*LogstoreIndex) DeepCopy

func (in *LogstoreIndex) DeepCopy() *LogstoreIndex

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

func (*LogstoreIndex) DeepCopyInto

func (in *LogstoreIndex) DeepCopyInto(out *LogstoreIndex)

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

func (*LogstoreIndex) DeepCopyObject

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

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

func (*LogstoreIndex) GetCondition

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

GetCondition of this LogstoreIndex.

func (*LogstoreIndex) GetDeletionPolicy

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

GetDeletionPolicy of this LogstoreIndex.

func (*LogstoreIndex) GetProviderConfigReference

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

GetProviderConfigReference of this LogstoreIndex.

func (*LogstoreIndex) GetProviderReference

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

GetProviderReference of this LogstoreIndex. Deprecated: Use GetProviderConfigReference.

func (*LogstoreIndex) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LogstoreIndex.

func (*LogstoreIndex) SetConditions

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

SetConditions of this LogstoreIndex.

func (*LogstoreIndex) SetDeletionPolicy

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

SetDeletionPolicy of this LogstoreIndex.

func (*LogstoreIndex) SetProviderConfigReference

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

SetProviderConfigReference of this LogstoreIndex.

func (*LogstoreIndex) SetProviderReference

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

SetProviderReference of this LogstoreIndex. Deprecated: Use SetProviderConfigReference.

func (*LogstoreIndex) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LogstoreIndex.

type LogstoreIndexList

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

LogstoreIndexList contains a list of LogstoreIndex

func (*LogstoreIndexList) DeepCopy

func (in *LogstoreIndexList) DeepCopy() *LogstoreIndexList

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

func (*LogstoreIndexList) DeepCopyInto

func (in *LogstoreIndexList) DeepCopyInto(out *LogstoreIndexList)

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

func (*LogstoreIndexList) DeepCopyObject

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

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

func (*LogstoreIndexList) GetItems

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

GetItems of this LogstoreIndexList.

type LogstoreIndexObservation

type LogstoreIndexObservation struct {
}

LogstoreIndexObservation is the representation of the current state that is observed.

func (*LogstoreIndexObservation) DeepCopy

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

func (*LogstoreIndexObservation) DeepCopyInto

func (in *LogstoreIndexObservation) DeepCopyInto(out *LogstoreIndexObservation)

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

type LogstoreIndexParameters

type LogstoreIndexParameters struct {
	ProjectName  *string             `json:"projectName"`
	LogstoreName *string             `json:"logstoreName"`
	Keys         map[string]IndexKey `json:"keys"`
}

LogstoreIndexParameters define the desired state of an SLS LogstoreIndex.

func (*LogstoreIndexParameters) DeepCopy

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

func (*LogstoreIndexParameters) DeepCopyInto

func (in *LogstoreIndexParameters) DeepCopyInto(out *LogstoreIndexParameters)

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

type LogstoreIndexSpec

type LogstoreIndexSpec struct {
	xpv1.ResourceSpec `json:",inline"`

	// ForProvider field is SLS LogstoreIndex parameters
	ForProvider LogstoreIndexParameters `json:"forProvider"`
}

LogstoreIndexSpec defines the desired state of SLS LogstoreIndex

func (*LogstoreIndexSpec) DeepCopy

func (in *LogstoreIndexSpec) DeepCopy() *LogstoreIndexSpec

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

func (*LogstoreIndexSpec) DeepCopyInto

func (in *LogstoreIndexSpec) DeepCopyInto(out *LogstoreIndexSpec)

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

type LogstoreIndexStatus

type LogstoreIndexStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          LogstoreIndexObservation `json:"atProvider,omitempty"`
}

LogstoreIndexStatus defines the observed state of SLS LogstoreIndex

func (*LogstoreIndexStatus) DeepCopy

func (in *LogstoreIndexStatus) DeepCopy() *LogstoreIndexStatus

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

func (*LogstoreIndexStatus) DeepCopyInto

func (in *LogstoreIndexStatus) DeepCopyInto(out *LogstoreIndexStatus)

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

type Logtail

type Logtail struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogtailSpec   `json:"spec"`
	Status            LogtailStatus `json:"status,omitempty"`
}

Logtail is the Schema for the SLS Logtail 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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,alibaba},shortName=config

func (*Logtail) DeepCopy

func (in *Logtail) DeepCopy() *Logtail

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

func (*Logtail) DeepCopyInto

func (in *Logtail) DeepCopyInto(out *Logtail)

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

func (*Logtail) DeepCopyObject

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

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

func (*Logtail) GetCondition

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

GetCondition of this Logtail.

func (*Logtail) GetDeletionPolicy

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

GetDeletionPolicy of this Logtail.

func (*Logtail) GetProviderConfigReference

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

GetProviderConfigReference of this Logtail.

func (*Logtail) GetProviderReference

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

GetProviderReference of this Logtail. Deprecated: Use GetProviderConfigReference.

func (*Logtail) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Logtail.

func (*Logtail) SetConditions

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

SetConditions of this Logtail.

func (*Logtail) SetDeletionPolicy

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

SetDeletionPolicy of this Logtail.

func (*Logtail) SetProviderConfigReference

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

SetProviderConfigReference of this Logtail.

func (*Logtail) SetProviderReference

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

SetProviderReference of this Logtail. Deprecated: Use SetProviderConfigReference.

func (*Logtail) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Logtail.

type LogtailList

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

LogtailList contains a list of Logtail

func (*LogtailList) DeepCopy

func (in *LogtailList) DeepCopy() *LogtailList

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

func (*LogtailList) DeepCopyInto

func (in *LogtailList) DeepCopyInto(out *LogtailList)

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

func (*LogtailList) DeepCopyObject

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

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

func (*LogtailList) GetItems

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

GetItems of this LogtailList.

type LogtailObservation

type LogtailObservation struct {
	// CreateTime is the time the resource was created
	CreateTime uint32 `json:"createTime"`

	// LastModifyTime is the time when the resource was last modified
	LastModifyTime uint32 `json:"lastModifyTime"`
}

LogtailObservation is the representation of the current state that is observed.

func (*LogtailObservation) DeepCopy

func (in *LogtailObservation) DeepCopy() *LogtailObservation

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

func (*LogtailObservation) DeepCopyInto

func (in *LogtailObservation) DeepCopyInto(out *LogtailObservation)

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

type LogtailParameters

type LogtailParameters struct {
	// +kubebuilder:validation:Enum:=plugin;file
	InputType   *string     `json:"inputType"`
	InputDetail InputDetail `json:"inputDetail"`
	// +kubebuilder:validation:Enum:=LogService
	OutputType   *string      `json:"outputType"`
	OutputDetail OutputDetail `json:"outputDetail"`
	LogSample    *string      `json:"logSample,omitempty"`
}

LogtailParameters define the desired state of an SLS Logtail.

func (*LogtailParameters) DeepCopy

func (in *LogtailParameters) DeepCopy() *LogtailParameters

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

func (*LogtailParameters) DeepCopyInto

func (in *LogtailParameters) DeepCopyInto(out *LogtailParameters)

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

type LogtailSpec

type LogtailSpec struct {
	xpv1.ResourceSpec `json:",inline"`

	// ForProvider field is SLS Logtail parameters
	ForProvider LogtailParameters `json:"forProvider"`
}

LogtailSpec defines the desired state of SLS Logtail

func (*LogtailSpec) DeepCopy

func (in *LogtailSpec) DeepCopy() *LogtailSpec

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

func (*LogtailSpec) DeepCopyInto

func (in *LogtailSpec) DeepCopyInto(out *LogtailSpec)

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

type LogtailStatus

type LogtailStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          LogtailObservation `json:"atProvider,omitempty"`
}

LogtailStatus defines the observed state of SLS Logtail

func (*LogtailStatus) DeepCopy

func (in *LogtailStatus) DeepCopy() *LogtailStatus

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

func (*LogtailStatus) DeepCopyInto

func (in *LogtailStatus) DeepCopyInto(out *LogtailStatus)

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

type MachineGroup

type MachineGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MachineGroupSpec   `json:"spec"`
	Status            MachineGroupStatus `json:"status,omitempty"`
}

MachineGroup is the Schema for the SLS MachineGroup 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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,alibaba},shortName=machinegroup

func (*MachineGroup) DeepCopy

func (in *MachineGroup) DeepCopy() *MachineGroup

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

func (*MachineGroup) DeepCopyInto

func (in *MachineGroup) DeepCopyInto(out *MachineGroup)

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

func (*MachineGroup) DeepCopyObject

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

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

func (*MachineGroup) GetCondition

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

GetCondition of this MachineGroup.

func (*MachineGroup) GetDeletionPolicy

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

GetDeletionPolicy of this MachineGroup.

func (*MachineGroup) GetProviderConfigReference

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

GetProviderConfigReference of this MachineGroup.

func (*MachineGroup) GetProviderReference

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

GetProviderReference of this MachineGroup. Deprecated: Use GetProviderConfigReference.

func (*MachineGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MachineGroup.

func (*MachineGroup) SetConditions

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

SetConditions of this MachineGroup.

func (*MachineGroup) SetDeletionPolicy

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

SetDeletionPolicy of this MachineGroup.

func (*MachineGroup) SetProviderConfigReference

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

SetProviderConfigReference of this MachineGroup.

func (*MachineGroup) SetProviderReference

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

SetProviderReference of this MachineGroup. Deprecated: Use SetProviderConfigReference.

func (*MachineGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MachineGroup.

type MachineGroupBinding

type MachineGroupBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MachineGroupBindingSpec   `json:"spec"`
	Status            MachineGroupBindingStatus `json:"status,omitempty"`
}

MachineGroupBinding is the Schema for the SLS MachineGroupBindings 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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,alibaba}

func (*MachineGroupBinding) DeepCopy

func (in *MachineGroupBinding) DeepCopy() *MachineGroupBinding

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

func (*MachineGroupBinding) DeepCopyInto

func (in *MachineGroupBinding) DeepCopyInto(out *MachineGroupBinding)

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

func (*MachineGroupBinding) DeepCopyObject

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

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

func (*MachineGroupBinding) GetCondition

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

GetCondition of this MachineGroupBinding.

func (*MachineGroupBinding) GetDeletionPolicy

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

GetDeletionPolicy of this MachineGroupBinding.

func (*MachineGroupBinding) GetProviderConfigReference

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

GetProviderConfigReference of this MachineGroupBinding.

func (*MachineGroupBinding) GetProviderReference

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

GetProviderReference of this MachineGroupBinding. Deprecated: Use GetProviderConfigReference.

func (*MachineGroupBinding) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MachineGroupBinding.

func (*MachineGroupBinding) SetConditions

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

SetConditions of this MachineGroupBinding.

func (*MachineGroupBinding) SetDeletionPolicy

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

SetDeletionPolicy of this MachineGroupBinding.

func (*MachineGroupBinding) SetProviderConfigReference

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

SetProviderConfigReference of this MachineGroupBinding.

func (*MachineGroupBinding) SetProviderReference

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

SetProviderReference of this MachineGroupBinding. Deprecated: Use SetProviderConfigReference.

func (*MachineGroupBinding) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MachineGroupBinding.

type MachineGroupBindingList

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

MachineGroupBindingList contains a list of MachineGroupBinding

func (*MachineGroupBindingList) DeepCopy

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

func (*MachineGroupBindingList) DeepCopyInto

func (in *MachineGroupBindingList) DeepCopyInto(out *MachineGroupBindingList)

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

func (*MachineGroupBindingList) DeepCopyObject

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

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

func (*MachineGroupBindingList) GetItems

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

GetItems of this MachineGroupBindingList.

type MachineGroupBindingObservation

type MachineGroupBindingObservation struct {
	Configs []string `json:"configs"`
}

MachineGroupBindingObservation is the representation of the current state that is observed.

func (*MachineGroupBindingObservation) DeepCopy

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

func (*MachineGroupBindingObservation) DeepCopyInto

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

type MachineGroupBindingParameters

type MachineGroupBindingParameters struct {
	// SLS project name
	// +kubebuilder:validation:MinLength:=3
	// +kubebuilder:validation:MaxLength:=63
	ProjectName *string `json:"projectName"`

	GroupName *string `json:"groupName"`

	ConfigName *string `json:"configName"`
}

MachineGroupBindingParameters define the desired state of an SLS store.

func (*MachineGroupBindingParameters) DeepCopy

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

func (*MachineGroupBindingParameters) DeepCopyInto

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

type MachineGroupBindingSpec

type MachineGroupBindingSpec struct {
	xpv1.ResourceSpec `json:",inline"`

	// ForProvider field is where use set parameters for SLS MachineGroupBinding
	ForProvider MachineGroupBindingParameters `json:"forProvider"`
}

MachineGroupBindingSpec defines the desired state of SLS MachineGroupBinding

func (*MachineGroupBindingSpec) DeepCopy

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

func (*MachineGroupBindingSpec) DeepCopyInto

func (in *MachineGroupBindingSpec) DeepCopyInto(out *MachineGroupBindingSpec)

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

type MachineGroupBindingStatus

type MachineGroupBindingStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          MachineGroupBindingObservation `json:"atProvider,omitempty"`
}

MachineGroupBindingStatus defines the observed state of SLS MachineGroupBinding

func (*MachineGroupBindingStatus) DeepCopy

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

func (*MachineGroupBindingStatus) DeepCopyInto

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

type MachineGroupList

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

MachineGroupList contains a list of MachineGroup

func (*MachineGroupList) DeepCopy

func (in *MachineGroupList) DeepCopy() *MachineGroupList

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

func (*MachineGroupList) DeepCopyInto

func (in *MachineGroupList) DeepCopyInto(out *MachineGroupList)

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

func (*MachineGroupList) DeepCopyObject

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

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

func (*MachineGroupList) GetItems

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

GetItems of this MachineGroupList.

type MachineGroupObservation

type MachineGroupObservation struct {
	// CreateTime is the time the resource was created
	CreateTime uint32 `json:"createTime"`

	// LastModifyTime is the time when the resource was last modified
	LastModifyTime uint32 `json:"lastModifyTime"`
}

MachineGroupObservation is the representation of the current state that is observed.

func (*MachineGroupObservation) DeepCopy

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

func (*MachineGroupObservation) DeepCopyInto

func (in *MachineGroupObservation) DeepCopyInto(out *MachineGroupObservation)

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

type MachineGroupParameters

type MachineGroupParameters struct {
	Project       *string                   `json:"project"`
	Logstore      *string                   `json:"logstore"`
	Type          *string                   `json:"type,omitempty"`
	MachineIDType *string                   `json:"machineIDType"`
	MachineIDList *[]string                 `json:"machineIDList"`
	Attribute     *sdk.MachinGroupAttribute `json:"attribute"`
}

MachineGroupParameters define the desired state of an SLS MachineGroup.

func (*MachineGroupParameters) DeepCopy

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

func (*MachineGroupParameters) DeepCopyInto

func (in *MachineGroupParameters) DeepCopyInto(out *MachineGroupParameters)

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

type MachineGroupSpec

type MachineGroupSpec struct {
	xpv1.ResourceSpec `json:",inline"`

	// ForProvider field is SLS MachineGroup parameters
	ForProvider MachineGroupParameters `json:"forProvider"`
}

MachineGroupSpec defines the desired state of SLS MachineGroup

func (*MachineGroupSpec) DeepCopy

func (in *MachineGroupSpec) DeepCopy() *MachineGroupSpec

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

func (*MachineGroupSpec) DeepCopyInto

func (in *MachineGroupSpec) DeepCopyInto(out *MachineGroupSpec)

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

type MachineGroupStatus

type MachineGroupStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          MachineGroupObservation `json:"atProvider,omitempty"`
}

MachineGroupStatus defines the observed state of SLS MachineGroup

func (*MachineGroupStatus) DeepCopy

func (in *MachineGroupStatus) DeepCopy() *MachineGroupStatus

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

func (*MachineGroupStatus) DeepCopyInto

func (in *MachineGroupStatus) DeepCopyInto(out *MachineGroupStatus)

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

type OutputDetail

type OutputDetail struct {
	ProjectName  string `json:"projectName"`
	LogStoreName string `json:"logstoreName"`
}

OutputDetail defines output

func (*OutputDetail) DeepCopy

func (in *OutputDetail) DeepCopy() *OutputDetail

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

func (*OutputDetail) DeepCopyInto

func (in *OutputDetail) DeepCopyInto(out *OutputDetail)

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

type Project

type Project struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProjectSpec   `json:"spec"`
	Status            ProjectStatus `json:"status,omitempty"`
}

Project is the Schema for the SLS Projects 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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,alibaba}

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) GetCondition

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

GetCondition of this Project.

func (*Project) GetDeletionPolicy

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

GetDeletionPolicy of this Project.

func (*Project) GetProviderConfigReference

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

GetProviderConfigReference of this Project.

func (*Project) GetProviderReference

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

GetProviderReference of this Project. Deprecated: Use GetProviderConfigReference.

func (*Project) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Project.

func (*Project) SetConditions

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

SetConditions of this Project.

func (*Project) SetDeletionPolicy

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

SetDeletionPolicy of this Project.

func (*Project) SetProviderConfigReference

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

SetProviderConfigReference of this Project.

func (*Project) SetProviderReference

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

SetProviderReference of this Project. Deprecated: Use SetProviderConfigReference.

func (*Project) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Project.

type ProjectList

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

ProjectList contains a list of Project

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

func (*ProjectList) GetItems

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

GetItems of this ProjectList.

type ProjectObservation

type ProjectObservation struct {
	// CreateTime is the time when the project was created
	CreateTime string `json:"createTime"`

	// LastModifyTime is the time when the project was last modified
	LastModifyTime string `json:"lastModifyTime"`

	// Owner is the ID of the Alibaba Cloud account that was used to create the project
	Owner string `json:"owner"`

	// Status is the the status of the project
	Status string `json:"status"`

	// Region is the region to which the project belongs
	Region string `json:"region"`
}

ProjectObservation is the representation of the current state that is observed.

func (*ProjectObservation) DeepCopy

func (in *ProjectObservation) DeepCopy() *ProjectObservation

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

func (*ProjectObservation) DeepCopyInto

func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation)

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

type ProjectParameters

type ProjectParameters struct {
	Description string `json:"description"`
}

ProjectParameters define the desired state of an SLS project.

func (*ProjectParameters) DeepCopy

func (in *ProjectParameters) DeepCopy() *ProjectParameters

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

func (*ProjectParameters) DeepCopyInto

func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters)

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

type ProjectSpec

type ProjectSpec struct {
	xpv1.ResourceSpec `json:",inline"`

	// ForProvider field is where use set parameters for SLS project
	ForProvider ProjectParameters `json:"forProvider"`
}

ProjectSpec defines the desired state of SLS Project

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

type ProjectStatus

type ProjectStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          ProjectObservation `json:"atProvider,omitempty"`
}

ProjectStatus defines the observed state of SLS Project

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

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

type StoreObservation

type StoreObservation struct {
	// CreateTime is the time when the store was created
	CreateTime uint32 `json:"createTime"`

	// LastModifyTime is the time when the store was last modified
	LastModifyTime uint32 `json:"lastModifyTime"`
}

StoreObservation is the representation of the current state that is observed.

func (*StoreObservation) DeepCopy

func (in *StoreObservation) DeepCopy() *StoreObservation

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

func (*StoreObservation) DeepCopyInto

func (in *StoreObservation) DeepCopyInto(out *StoreObservation)

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

type StoreParameters

type StoreParameters struct {
	// SLS project name
	// +kubebuilder:validation:MinLength:=3
	// +kubebuilder:validation:MaxLength:=63
	ProjectName string `json:"projectName"`

	// The data retention period. Unit: days. If you set the value to 3650, the data is permanently stored
	// +kubebuilder:validation:Minimum:=1
	// +kubebuilder:validation:Maximum:=3650
	TTL int `json:"ttl"`

	// The number of shards
	// +kubebuilder:validation:Minimum:=1
	// +kubebuilder:validation:Maximum:=10
	ShardCount int `json:"shardCount"`

	// Specifies whether to enable automatic sharding. Default value: false.
	// +optional
	// +kubebuilder:default:=false
	AutoSplit *bool `json:"autoSplit,omitempty"`

	// The maximum number of shards for automatic sharding.
	// +optional
	MaxSplitShard *int `json:"maxSplitShard,omitempty"`
}

StoreParameters define the desired state of an SLS store.

func (*StoreParameters) DeepCopy

func (in *StoreParameters) DeepCopy() *StoreParameters

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

func (*StoreParameters) DeepCopyInto

func (in *StoreParameters) DeepCopyInto(out *StoreParameters)

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