instance

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_CREATING",
		2: "STATE_RUNNING",
		3: "STATE_STOPPING",
		4: "STATE_STOPPED",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_CREATING":    1,
		"STATE_RUNNING":     2,
		"STATE_STOPPING":    3,
		"STATE_STOPPED":     4,
	}
)

Enum value maps for State.

View Source
var (
	FieldName_name = map[int32]string{
		0: "FIELD_NAME_UNSPECIFIED",
		1: "FIELD_NAME_ID",
		2: "FIELD_NAME_NAME",
		3: "FIELD_NAME_CREATION_DATE",
	}
	FieldName_value = map[string]int32{
		"FIELD_NAME_UNSPECIFIED":   0,
		"FIELD_NAME_ID":            1,
		"FIELD_NAME_NAME":          2,
		"FIELD_NAME_CREATION_DATE": 3,
	}
)

Enum value maps for FieldName.

View Source
var (
	DomainFieldName_name = map[int32]string{
		0: "DOMAIN_FIELD_NAME_UNSPECIFIED",
		1: "DOMAIN_FIELD_NAME_DOMAIN",
		2: "DOMAIN_FIELD_NAME_PRIMARY",
		3: "DOMAIN_FIELD_NAME_GENERATED",
		4: "DOMAIN_FIELD_NAME_CREATION_DATE",
	}
	DomainFieldName_value = map[string]int32{
		"DOMAIN_FIELD_NAME_UNSPECIFIED":   0,
		"DOMAIN_FIELD_NAME_DOMAIN":        1,
		"DOMAIN_FIELD_NAME_PRIMARY":       2,
		"DOMAIN_FIELD_NAME_GENERATED":     3,
		"DOMAIN_FIELD_NAME_CREATION_DATE": 4,
	}
)

Enum value maps for DomainFieldName.

View Source
var File_zitadel_instance_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Domain

type Domain struct {
	Details   *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	Domain    string                `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	Primary   bool                  `protobuf:"varint,3,opt,name=primary,proto3" json:"primary,omitempty"`
	Generated bool                  `protobuf:"varint,4,opt,name=generated,proto3" json:"generated,omitempty"`
	// contains filtered or unexported fields
}

func (*Domain) Descriptor deprecated

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

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetDetails

func (x *Domain) GetDetails() *object.ObjectDetails

func (*Domain) GetDomain

func (x *Domain) GetDomain() string

func (*Domain) GetGenerated

func (x *Domain) GetGenerated() bool

func (*Domain) GetPrimary

func (x *Domain) GetPrimary() bool

func (*Domain) ProtoMessage

func (*Domain) ProtoMessage()

func (*Domain) ProtoReflect

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

func (*Domain) Reset

func (x *Domain) Reset()

func (*Domain) String

func (x *Domain) String() string

type DomainFieldName

type DomainFieldName int32
const (
	DomainFieldName_DOMAIN_FIELD_NAME_UNSPECIFIED   DomainFieldName = 0
	DomainFieldName_DOMAIN_FIELD_NAME_DOMAIN        DomainFieldName = 1
	DomainFieldName_DOMAIN_FIELD_NAME_PRIMARY       DomainFieldName = 2
	DomainFieldName_DOMAIN_FIELD_NAME_GENERATED     DomainFieldName = 3
	DomainFieldName_DOMAIN_FIELD_NAME_CREATION_DATE DomainFieldName = 4
)

func (DomainFieldName) Descriptor

func (DomainFieldName) Enum

func (x DomainFieldName) Enum() *DomainFieldName

func (DomainFieldName) EnumDescriptor deprecated

func (DomainFieldName) EnumDescriptor() ([]byte, []int)

Deprecated: Use DomainFieldName.Descriptor instead.

func (DomainFieldName) Number

func (DomainFieldName) String

func (x DomainFieldName) String() string

func (DomainFieldName) Type

type DomainGeneratedQuery

type DomainGeneratedQuery struct {
	Generated bool `protobuf:"varint,1,opt,name=generated,proto3" json:"generated,omitempty"`
	// contains filtered or unexported fields
}

DomainGeneratedQuery is always equals

func (*DomainGeneratedQuery) Descriptor deprecated

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

Deprecated: Use DomainGeneratedQuery.ProtoReflect.Descriptor instead.

func (*DomainGeneratedQuery) GetGenerated

func (x *DomainGeneratedQuery) GetGenerated() bool

func (*DomainGeneratedQuery) ProtoMessage

func (*DomainGeneratedQuery) ProtoMessage()

func (*DomainGeneratedQuery) ProtoReflect

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

func (*DomainGeneratedQuery) Reset

func (x *DomainGeneratedQuery) Reset()

func (*DomainGeneratedQuery) String

func (x *DomainGeneratedQuery) String() string

type DomainPrimaryQuery

type DomainPrimaryQuery struct {
	Primary bool `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"`
	// contains filtered or unexported fields
}

DomainPrimaryQuery is always equals

func (*DomainPrimaryQuery) Descriptor deprecated

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

Deprecated: Use DomainPrimaryQuery.ProtoReflect.Descriptor instead.

func (*DomainPrimaryQuery) GetPrimary

func (x *DomainPrimaryQuery) GetPrimary() bool

func (*DomainPrimaryQuery) ProtoMessage

func (*DomainPrimaryQuery) ProtoMessage()

func (*DomainPrimaryQuery) ProtoReflect

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

func (*DomainPrimaryQuery) Reset

func (x *DomainPrimaryQuery) Reset()

func (*DomainPrimaryQuery) String

func (x *DomainPrimaryQuery) String() string

type DomainQuery

type DomainQuery struct {
	Domain string                 `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Method object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainQuery) Descriptor deprecated

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

Deprecated: Use DomainQuery.ProtoReflect.Descriptor instead.

func (*DomainQuery) GetDomain

func (x *DomainQuery) GetDomain() string

func (*DomainQuery) GetMethod

func (x *DomainQuery) GetMethod() object.TextQueryMethod

func (*DomainQuery) ProtoMessage

func (*DomainQuery) ProtoMessage()

func (*DomainQuery) ProtoReflect

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

func (*DomainQuery) Reset

func (x *DomainQuery) Reset()

func (*DomainQuery) String

func (x *DomainQuery) String() string

type DomainSearchQuery

type DomainSearchQuery struct {

	// Types that are assignable to Query:
	//
	//	*DomainSearchQuery_DomainQuery
	//	*DomainSearchQuery_GeneratedQuery
	//	*DomainSearchQuery_PrimaryQuery
	Query isDomainSearchQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*DomainSearchQuery) Descriptor deprecated

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

Deprecated: Use DomainSearchQuery.ProtoReflect.Descriptor instead.

func (*DomainSearchQuery) GetDomainQuery

func (x *DomainSearchQuery) GetDomainQuery() *DomainQuery

func (*DomainSearchQuery) GetGeneratedQuery

func (x *DomainSearchQuery) GetGeneratedQuery() *DomainGeneratedQuery

func (*DomainSearchQuery) GetPrimaryQuery

func (x *DomainSearchQuery) GetPrimaryQuery() *DomainPrimaryQuery

func (*DomainSearchQuery) GetQuery

func (m *DomainSearchQuery) GetQuery() isDomainSearchQuery_Query

func (*DomainSearchQuery) ProtoMessage

func (*DomainSearchQuery) ProtoMessage()

func (*DomainSearchQuery) ProtoReflect

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

func (*DomainSearchQuery) Reset

func (x *DomainSearchQuery) Reset()

func (*DomainSearchQuery) String

func (x *DomainSearchQuery) String() string

type DomainSearchQuery_DomainQuery

type DomainSearchQuery_DomainQuery struct {
	DomainQuery *DomainQuery `protobuf:"bytes,1,opt,name=domain_query,json=domainQuery,proto3,oneof"`
}

type DomainSearchQuery_GeneratedQuery

type DomainSearchQuery_GeneratedQuery struct {
	GeneratedQuery *DomainGeneratedQuery `protobuf:"bytes,2,opt,name=generated_query,json=generatedQuery,proto3,oneof"`
}

type DomainSearchQuery_PrimaryQuery

type DomainSearchQuery_PrimaryQuery struct {
	PrimaryQuery *DomainPrimaryQuery `protobuf:"bytes,3,opt,name=primary_query,json=primaryQuery,proto3,oneof"`
}

type DomainsQuery added in v2.1.2

type DomainsQuery struct {
	Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainsQuery) Descriptor deprecated added in v2.1.2

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

Deprecated: Use DomainsQuery.ProtoReflect.Descriptor instead.

func (*DomainsQuery) GetDomains added in v2.1.2

func (x *DomainsQuery) GetDomains() []string

func (*DomainsQuery) ProtoMessage added in v2.1.2

func (*DomainsQuery) ProtoMessage()

func (*DomainsQuery) ProtoReflect added in v2.1.2

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

func (*DomainsQuery) Reset added in v2.1.2

func (x *DomainsQuery) Reset()

func (*DomainsQuery) String added in v2.1.2

func (x *DomainsQuery) String() string

type FieldName

type FieldName int32
const (
	FieldName_FIELD_NAME_UNSPECIFIED   FieldName = 0
	FieldName_FIELD_NAME_ID            FieldName = 1
	FieldName_FIELD_NAME_NAME          FieldName = 2
	FieldName_FIELD_NAME_CREATION_DATE FieldName = 3
)

func (FieldName) Descriptor

func (FieldName) Descriptor() protoreflect.EnumDescriptor

func (FieldName) Enum

func (x FieldName) Enum() *FieldName

func (FieldName) EnumDescriptor deprecated

func (FieldName) EnumDescriptor() ([]byte, []int)

Deprecated: Use FieldName.Descriptor instead.

func (FieldName) Number

func (x FieldName) Number() protoreflect.EnumNumber

func (FieldName) String

func (x FieldName) String() string

func (FieldName) Type

type IdsQuery

type IdsQuery struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

IdQuery always equals

func (*IdsQuery) Descriptor deprecated

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

Deprecated: Use IdsQuery.ProtoReflect.Descriptor instead.

func (*IdsQuery) GetIds

func (x *IdsQuery) GetIds() []string

func (*IdsQuery) ProtoMessage

func (*IdsQuery) ProtoMessage()

func (*IdsQuery) ProtoReflect

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

func (*IdsQuery) Reset

func (x *IdsQuery) Reset()

func (*IdsQuery) String

func (x *IdsQuery) String() string

type Instance

type Instance struct {
	Id      string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Details *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	State   State                 `protobuf:"varint,3,opt,name=state,proto3,enum=zitadel.instance.v1.State" json:"state,omitempty"`
	Name    string                `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Version string                `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Domains []*Domain             `protobuf:"bytes,6,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetDetails

func (x *Instance) GetDetails() *object.ObjectDetails

func (*Instance) GetDomains

func (x *Instance) GetDomains() []*Domain

func (*Instance) GetId

func (x *Instance) GetId() string

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetState

func (x *Instance) GetState() State

func (*Instance) GetVersion

func (x *Instance) GetVersion() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type InstanceDetail

type InstanceDetail struct {
	Id      string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Details *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	State   State                 `protobuf:"varint,3,opt,name=state,proto3,enum=zitadel.instance.v1.State" json:"state,omitempty"`
	Name    string                `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Version string                `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Domains []*Domain             `protobuf:"bytes,6,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceDetail) Descriptor deprecated

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

Deprecated: Use InstanceDetail.ProtoReflect.Descriptor instead.

func (*InstanceDetail) GetDetails

func (x *InstanceDetail) GetDetails() *object.ObjectDetails

func (*InstanceDetail) GetDomains

func (x *InstanceDetail) GetDomains() []*Domain

func (*InstanceDetail) GetId

func (x *InstanceDetail) GetId() string

func (*InstanceDetail) GetName

func (x *InstanceDetail) GetName() string

func (*InstanceDetail) GetState

func (x *InstanceDetail) GetState() State

func (*InstanceDetail) GetVersion

func (x *InstanceDetail) GetVersion() string

func (*InstanceDetail) ProtoMessage

func (*InstanceDetail) ProtoMessage()

func (*InstanceDetail) ProtoReflect

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

func (*InstanceDetail) Reset

func (x *InstanceDetail) Reset()

func (*InstanceDetail) String

func (x *InstanceDetail) String() string

type Query

type Query struct {

	// Types that are assignable to Query:
	//
	//	*Query_IdQuery
	//	*Query_DomainQuery
	Query isQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*Query) Descriptor deprecated

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetDomainQuery added in v2.1.2

func (x *Query) GetDomainQuery() *DomainsQuery

func (*Query) GetIdQuery

func (x *Query) GetIdQuery() *IdsQuery

func (*Query) GetQuery

func (m *Query) GetQuery() isQuery_Query

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type Query_DomainQuery added in v2.1.2

type Query_DomainQuery struct {
	DomainQuery *DomainsQuery `protobuf:"bytes,2,opt,name=domain_query,json=domainQuery,proto3,oneof"`
}

type Query_IdQuery

type Query_IdQuery struct {
	IdQuery *IdsQuery `protobuf:"bytes,1,opt,name=id_query,json=idQuery,proto3,oneof"`
}

type State

type State int32
const (
	State_STATE_UNSPECIFIED State = 0
	State_STATE_CREATING    State = 1
	State_STATE_RUNNING     State = 2
	State_STATE_STOPPING    State = 3
	State_STATE_STOPPED     State = 4
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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