apis

package
v0.0.0-...-ad0a146 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DubboOperatorGVK = schema.GroupVersionKind{
	Version: "v1alpha1",
	Group:   "install.dubbo.io",
	Kind:    "DubboOperator",
}

+k8s:deepcopy-gen=package,register +groupName=install.dubbo.io

View Source
var File_values_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BaseComponentSpec

type BaseComponentSpec struct {
	Enabled *BoolValue `json:"enabled,omitempty"`
}

type BaseConfig

type BaseConfig struct {

	// For dubboctl usage to disable dubbo config crds in base
	EnableDubboConfigCRDs *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enableDubboConfigCRDs,proto3" json:"enableDubboConfigCRDs,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseConfig) Descriptor deprecated

func (*BaseConfig) Descriptor() ([]byte, []int)

Deprecated: Use BaseConfig.ProtoReflect.Descriptor instead.

func (*BaseConfig) GetEnableDubboConfigCRDs

func (x *BaseConfig) GetEnableDubboConfigCRDs() *wrapperspb.BoolValue

func (*BaseConfig) ProtoMessage

func (*BaseConfig) ProtoMessage()

func (*BaseConfig) ProtoReflect

func (x *BaseConfig) ProtoReflect() protoreflect.Message

func (*BaseConfig) Reset

func (x *BaseConfig) Reset()

func (*BaseConfig) String

func (x *BaseConfig) String() string

type BoolValue

type BoolValue struct {
	// contains filtered or unexported fields
}

func (*BoolValue) GetValueOrFalse

func (b *BoolValue) GetValueOrFalse() bool

func (*BoolValue) GetValueOrTrue

func (b *BoolValue) GetValueOrTrue() bool

func (*BoolValue) MarshalJSON

func (b *BoolValue) MarshalJSON() ([]byte, error)

func (*BoolValue) UnmarshalJSON

func (b *BoolValue) UnmarshalJSON(bytes []byte) error

type DashboardComponentSpec

type DashboardComponentSpec struct {
	Enabled *BoolValue `json:"enabled,omitempty"`
}

type DubboComponentSpec

type DubboComponentSpec struct {
	Base     *BaseComponentSpec `json:"base,omitempty"`
	Register *RegisterSpec      `json:"register,omitempty"`
}

type DubboDashboardSpec

type DubboDashboardSpec struct {
	Admin *DashboardComponentSpec `json:"admin,omitempty"`
}

type DubboOperator

type DubboOperator struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +optional
	Spec DubboOperatorSpec `json:"spec,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubetype-gen +kubetype-gen:groupVersion=install.dubbo.io/v1alpha1 +k8s:deepcopy-gen=true

type DubboOperatorSpec

type DubboOperatorSpec struct {
	Profile    string              `json:"profile,omitempty"`
	Control    string              `json:"control,omitempty"`
	Dashboard  *DubboDashboardSpec `json:"dashboard,omitempty"`
	Components *DubboComponentSpec `json:"components,omitempty"`
	Values     json.RawMessage     `json:"values,omitempty"`
}

type GlobalConfig

type GlobalConfig struct {

	// Specifies the default namespace.
	DubboNamespace string `protobuf:"bytes,1,opt,name=dubboNamespace,proto3" json:"dubboNamespace,omitempty"`
	// contains filtered or unexported fields
}

Global Configuration for Dubbo components.

func (*GlobalConfig) Descriptor deprecated

func (*GlobalConfig) Descriptor() ([]byte, []int)

Deprecated: Use GlobalConfig.ProtoReflect.Descriptor instead.

func (*GlobalConfig) GetDubboNamespace

func (x *GlobalConfig) GetDubboNamespace() string

func (*GlobalConfig) ProtoMessage

func (*GlobalConfig) ProtoMessage()

func (*GlobalConfig) ProtoReflect

func (x *GlobalConfig) ProtoReflect() protoreflect.Message

func (*GlobalConfig) Reset

func (x *GlobalConfig) Reset()

func (*GlobalConfig) String

func (x *GlobalConfig) String() string

type IntOrString

type IntOrString struct {
	Type   int64                   `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	IntVal *wrapperspb.Int32Value  `protobuf:"bytes,2,opt,name=intVal,proto3" json:"intVal,omitempty"`
	StrVal *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=strVal,proto3" json:"strVal,omitempty"`
	// contains filtered or unexported fields
}

IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. TODO: Rename to Int32OrString

+protobuf=true +protobuf.options.(gogoproto.goproto_stringer)=false +k8s:openapi-gen=true

func (*IntOrString) Descriptor deprecated

func (*IntOrString) Descriptor() ([]byte, []int)

Deprecated: Use IntOrString.ProtoReflect.Descriptor instead.

func (*IntOrString) GetIntVal

func (x *IntOrString) GetIntVal() *wrapperspb.Int32Value

func (*IntOrString) GetStrVal

func (x *IntOrString) GetStrVal() *wrapperspb.StringValue

func (*IntOrString) GetType

func (x *IntOrString) GetType() int64

func (*IntOrString) MarshalJSON

func (i *IntOrString) MarshalJSON() ([]byte, error)

func (*IntOrString) MarshalJSONPB

func (*IntOrString) ProtoMessage

func (*IntOrString) ProtoMessage()

func (*IntOrString) ProtoReflect

func (x *IntOrString) ProtoReflect() protoreflect.Message

func (*IntOrString) Reset

func (x *IntOrString) Reset()

func (*IntOrString) String

func (x *IntOrString) String() string

func (*IntOrString) ToKubernetes

func (i *IntOrString) ToKubernetes() intstr.IntOrString

func (*IntOrString) UnmarshalJSON

func (i *IntOrString) UnmarshalJSON(value []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

func (*IntOrString) UnmarshalJSONPB

func (i *IntOrString) UnmarshalJSONPB(_ *github_com_golang_protobuf_jsonpb.Unmarshaler, value []byte) error

type MetadataCompSpec

type MetadataCompSpec struct {
	RegisterComponentSpec
}

type NacosConfig

type NacosConfig struct {
	Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*NacosConfig) Descriptor deprecated

func (*NacosConfig) Descriptor() ([]byte, []int)

Deprecated: Use NacosConfig.ProtoReflect.Descriptor instead.

func (*NacosConfig) GetMode

func (x *NacosConfig) GetMode() string

func (*NacosConfig) ProtoMessage

func (*NacosConfig) ProtoMessage()

func (*NacosConfig) ProtoReflect

func (x *NacosConfig) ProtoReflect() protoreflect.Message

func (*NacosConfig) Reset

func (x *NacosConfig) Reset()

func (*NacosConfig) String

func (x *NacosConfig) String() string

type RegisterComponentSpec

type RegisterComponentSpec struct {
	Enabled   *BoolValue     `json:"enabled,omitempty"`
	Namespace string         `json:"namespace,omitempty"`
	Raw       map[string]any `json:"-"`
}

type RegisterSpec

type RegisterSpec struct {
	Nacos     *RegisterComponentSpec `json:"nacos,omitempty"`
	Zookeeper *RegisterComponentSpec `json:"zookeeper,omitempty"`
}

type Values

type Values struct {

	// Global configuration for dubbo components.
	Global *GlobalConfig `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"`
	// Configuration for the base component.
	Base *BaseConfig `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
	// Specifies which installation configuration profile to apply.
	Profile   string           `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	Zookeeper *ZookeeperConfig `protobuf:"bytes,4,opt,name=zookeeper,proto3" json:"zookeeper,omitempty"`
	Nacos     *NacosConfig     `protobuf:"bytes,5,opt,name=nacos,proto3" json:"nacos,omitempty"`
	// contains filtered or unexported fields
}

func (*Values) Descriptor deprecated

func (*Values) Descriptor() ([]byte, []int)

Deprecated: Use Values.ProtoReflect.Descriptor instead.

func (*Values) GetBase

func (x *Values) GetBase() *BaseConfig

func (*Values) GetGlobal

func (x *Values) GetGlobal() *GlobalConfig

func (*Values) GetNacos

func (x *Values) GetNacos() *NacosConfig

func (*Values) GetProfile

func (x *Values) GetProfile() string

func (*Values) GetZookeeper

func (x *Values) GetZookeeper() *ZookeeperConfig

func (*Values) MarshalJSON

func (in *Values) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaler for Values

func (*Values) ProtoMessage

func (*Values) ProtoMessage()

func (*Values) ProtoReflect

func (x *Values) ProtoReflect() protoreflect.Message

func (*Values) Reset

func (x *Values) Reset()

func (*Values) String

func (x *Values) String() string

func (*Values) UnmarshalJSON

func (in *Values) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaler for Values

type ZookeeperConfig

type ZookeeperConfig struct {
	DataLogDir              *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=dataLogDir,proto3" json:"dataLogDir,omitempty"`
	TickTime                *wrapperspb.Int64Value  `protobuf:"bytes,2,opt,name=tickTime,proto3" json:"tickTime,omitempty"`
	InitLimit               *wrapperspb.Int64Value  `protobuf:"bytes,3,opt,name=initLimit,proto3" json:"initLimit,omitempty"`
	SyncLimit               *wrapperspb.Int64Value  `protobuf:"bytes,4,opt,name=syncLimit,proto3" json:"syncLimit,omitempty"`
	PreAllocSize            *wrapperspb.Int64Value  `protobuf:"bytes,5,opt,name=preAllocSize,proto3" json:"preAllocSize,omitempty"`
	SnapCount               *wrapperspb.Int64Value  `protobuf:"bytes,6,opt,name=snapCount,proto3" json:"snapCount,omitempty"`
	FourlwCommandsWhitelist *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=fourlwCommandsWhitelist,proto3" json:"fourlwCommandsWhitelist,omitempty"`
	ListenOnAllIPs          *wrapperspb.BoolValue   `protobuf:"bytes,8,opt,name=listenOnAllIPs,proto3" json:"listenOnAllIPs,omitempty"`
	// contains filtered or unexported fields
}

func (*ZookeeperConfig) Descriptor deprecated

func (*ZookeeperConfig) Descriptor() ([]byte, []int)

Deprecated: Use ZookeeperConfig.ProtoReflect.Descriptor instead.

func (*ZookeeperConfig) GetDataLogDir

func (x *ZookeeperConfig) GetDataLogDir() *wrapperspb.StringValue

func (*ZookeeperConfig) GetFourlwCommandsWhitelist

func (x *ZookeeperConfig) GetFourlwCommandsWhitelist() *wrapperspb.StringValue

func (*ZookeeperConfig) GetInitLimit

func (x *ZookeeperConfig) GetInitLimit() *wrapperspb.Int64Value

func (*ZookeeperConfig) GetListenOnAllIPs

func (x *ZookeeperConfig) GetListenOnAllIPs() *wrapperspb.BoolValue

func (*ZookeeperConfig) GetPreAllocSize

func (x *ZookeeperConfig) GetPreAllocSize() *wrapperspb.Int64Value

func (*ZookeeperConfig) GetSnapCount

func (x *ZookeeperConfig) GetSnapCount() *wrapperspb.Int64Value

func (*ZookeeperConfig) GetSyncLimit

func (x *ZookeeperConfig) GetSyncLimit() *wrapperspb.Int64Value

func (*ZookeeperConfig) GetTickTime

func (x *ZookeeperConfig) GetTickTime() *wrapperspb.Int64Value

func (*ZookeeperConfig) ProtoMessage

func (*ZookeeperConfig) ProtoMessage()

func (*ZookeeperConfig) ProtoReflect

func (x *ZookeeperConfig) ProtoReflect() protoreflect.Message

func (*ZookeeperConfig) Reset

func (x *ZookeeperConfig) Reset()

func (*ZookeeperConfig) String

func (x *ZookeeperConfig) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL