namespace

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var NamespaceSpec_SearchAttributeType_name = map[int32]string{
	0: "Unspecified",
	1: "Keyword",
	2: "Text",
	3: "Int",
	4: "Double",
	5: "Datetime",
	6: "Bool",
}
View Source
var NamespaceSpec_SearchAttributeType_value = map[string]int32{
	"Unspecified": 0,
	"Keyword":     1,
	"Text":        2,
	"Int":         3,
	"Double":      4,
	"Datetime":    5,
	"Bool":        6,
}
View Source
var Namespace_State_name = map[int32]string{
	0:  "Unspecified",
	1:  "Activating",
	2:  "ActivationFailed",
	3:  "Active",
	4:  "Updating",
	5:  "UpdateFailed",
	6:  "Deleting",
	7:  "DeleteFailed",
	8:  "Deleted",
	9:  "Suspending",
	10: "SuspendFailed",
	11: "Suspended",
}
View Source
var Namespace_State_value = map[string]int32{
	"Unspecified":      0,
	"Activating":       1,
	"ActivationFailed": 2,
	"Active":           3,
	"Updating":         4,
	"UpdateFailed":     5,
	"Deleting":         6,
	"DeleteFailed":     7,
	"Deleted":          8,
	"Suspending":       9,
	"SuspendFailed":    10,
	"Suspended":        11,
}

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
	// the namespace
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// the current version of the namespace specification
	// the next update request will have to include this version
	ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// the namespace specification
	Spec *NamespaceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// the current state of the namespace
	State Namespace_State `protobuf:"varint,4,opt,name=state,proto3,enum=api.namespace.v1.Namespace_State" json:"state,omitempty"`
	// the id of the request thats registering/updating the namespace, if any
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// the date and time when the namespace was last modified
	LastModifiedTime *types.Timestamp `protobuf:"bytes,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// the web uri for the namespace
	Uri *NamespaceURI `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"`
}

func (*Namespace) Descriptor

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

func (*Namespace) Equal

func (this *Namespace) Equal(that interface{}) bool

func (*Namespace) GetLastModifiedTime

func (m *Namespace) GetLastModifiedTime() *types.Timestamp

func (*Namespace) GetNamespace

func (m *Namespace) GetNamespace() string

func (*Namespace) GetRequestId

func (m *Namespace) GetRequestId() string

func (*Namespace) GetResourceVersion

func (m *Namespace) GetResourceVersion() string

func (*Namespace) GetSpec

func (m *Namespace) GetSpec() *NamespaceSpec

func (*Namespace) GetState

func (m *Namespace) GetState() Namespace_State

func (*Namespace) GetUri

func (m *Namespace) GetUri() *NamespaceURI

func (*Namespace) GoString

func (this *Namespace) GoString() string

func (*Namespace) Marshal

func (m *Namespace) Marshal() (dAtA []byte, err error)

func (*Namespace) MarshalTo

func (m *Namespace) MarshalTo(dAtA []byte) (int, error)

func (*Namespace) MarshalToSizedBuffer

func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Size

func (m *Namespace) Size() (n int)

func (*Namespace) String

func (this *Namespace) String() string

func (*Namespace) Unmarshal

func (m *Namespace) Unmarshal(dAtA []byte) error

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Namespace) XXX_Merge

func (m *Namespace) XXX_Merge(src proto.Message)

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

func (m *Namespace) XXX_Unmarshal(b []byte) error

type NamespaceSpec

type NamespaceSpec struct {
	// the region where the namespace is (or will be) located
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// the base64 encoded ca cert(s) that the clients can use for authentication and authorization
	AcceptedClientCa string `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
	// the num of days the workflows's data will be retained for
	RetentionDays int32 `protobuf:"varint,3,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"`
	// the custom search attributes to use for the namespace
	SearchAttributes map[string]NamespaceSpec_SearchAttributeType `` /* 254-byte string literal not displayed */
}

func (*NamespaceSpec) Descriptor

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

func (*NamespaceSpec) Equal

func (this *NamespaceSpec) Equal(that interface{}) bool

func (*NamespaceSpec) GetAcceptedClientCa

func (m *NamespaceSpec) GetAcceptedClientCa() string

func (*NamespaceSpec) GetRegion

func (m *NamespaceSpec) GetRegion() string

func (*NamespaceSpec) GetRetentionDays

func (m *NamespaceSpec) GetRetentionDays() int32

func (*NamespaceSpec) GetSearchAttributes

func (m *NamespaceSpec) GetSearchAttributes() map[string]NamespaceSpec_SearchAttributeType

func (*NamespaceSpec) GoString

func (this *NamespaceSpec) GoString() string

func (*NamespaceSpec) Marshal

func (m *NamespaceSpec) Marshal() (dAtA []byte, err error)

func (*NamespaceSpec) MarshalTo

func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceSpec) MarshalToSizedBuffer

func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceSpec) ProtoMessage

func (*NamespaceSpec) ProtoMessage()

func (*NamespaceSpec) Reset

func (m *NamespaceSpec) Reset()

func (*NamespaceSpec) Size

func (m *NamespaceSpec) Size() (n int)

func (*NamespaceSpec) String

func (this *NamespaceSpec) String() string

func (*NamespaceSpec) Unmarshal

func (m *NamespaceSpec) Unmarshal(dAtA []byte) error

func (*NamespaceSpec) XXX_DiscardUnknown

func (m *NamespaceSpec) XXX_DiscardUnknown()

func (*NamespaceSpec) XXX_Marshal

func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceSpec) XXX_Merge

func (m *NamespaceSpec) XXX_Merge(src proto.Message)

func (*NamespaceSpec) XXX_Size

func (m *NamespaceSpec) XXX_Size() int

func (*NamespaceSpec) XXX_Unmarshal

func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error

type NamespaceSpec_SearchAttributeType

type NamespaceSpec_SearchAttributeType int32
const (
	SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED NamespaceSpec_SearchAttributeType = 0
	SEARCH_ATTRIBUTE_TYPE_KEYWORD     NamespaceSpec_SearchAttributeType = 1
	SEARCH_ATTRIBUTE_TYPE_TEXT        NamespaceSpec_SearchAttributeType = 2
	SEARCH_ATTRIBUTE_TYPE_INT         NamespaceSpec_SearchAttributeType = 3
	SEARCH_ATTRIBUTE_TYPE_DOUBLE      NamespaceSpec_SearchAttributeType = 4
	SEARCH_ATTRIBUTE_TYPE_DATETIME    NamespaceSpec_SearchAttributeType = 5
	SEARCH_ATTRIBUTE_TYPE_BOOL        NamespaceSpec_SearchAttributeType = 6
)

func (NamespaceSpec_SearchAttributeType) EnumDescriptor

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

func (NamespaceSpec_SearchAttributeType) String

type NamespaceURI

type NamespaceURI struct {
	// the web ui address
	Web string `protobuf:"bytes,1,opt,name=web,proto3" json:"web,omitempty"`
	// the grpc address
	Grpc string `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
}

func (*NamespaceURI) Descriptor

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

func (*NamespaceURI) Equal

func (this *NamespaceURI) Equal(that interface{}) bool

func (*NamespaceURI) GetGrpc

func (m *NamespaceURI) GetGrpc() string

func (*NamespaceURI) GetWeb

func (m *NamespaceURI) GetWeb() string

func (*NamespaceURI) GoString

func (this *NamespaceURI) GoString() string

func (*NamespaceURI) Marshal

func (m *NamespaceURI) Marshal() (dAtA []byte, err error)

func (*NamespaceURI) MarshalTo

func (m *NamespaceURI) MarshalTo(dAtA []byte) (int, error)

func (*NamespaceURI) MarshalToSizedBuffer

func (m *NamespaceURI) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NamespaceURI) ProtoMessage

func (*NamespaceURI) ProtoMessage()

func (*NamespaceURI) Reset

func (m *NamespaceURI) Reset()

func (*NamespaceURI) Size

func (m *NamespaceURI) Size() (n int)

func (*NamespaceURI) String

func (this *NamespaceURI) String() string

func (*NamespaceURI) Unmarshal

func (m *NamespaceURI) Unmarshal(dAtA []byte) error

func (*NamespaceURI) XXX_DiscardUnknown

func (m *NamespaceURI) XXX_DiscardUnknown()

func (*NamespaceURI) XXX_Marshal

func (m *NamespaceURI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamespaceURI) XXX_Merge

func (m *NamespaceURI) XXX_Merge(src proto.Message)

func (*NamespaceURI) XXX_Size

func (m *NamespaceURI) XXX_Size() int

func (*NamespaceURI) XXX_Unmarshal

func (m *NamespaceURI) XXX_Unmarshal(b []byte) error

type Namespace_State

type Namespace_State int32
const (
	STATE_UNSPECIFIED       Namespace_State = 0
	STATE_ACTIVATING        Namespace_State = 1
	STATE_ACTIVATION_FAILED Namespace_State = 2
	STATE_ACTIVE            Namespace_State = 3
	STATE_UPDATING          Namespace_State = 4
	STATE_UPDATE_FAILED     Namespace_State = 5
	STATE_DELETING          Namespace_State = 6
	STATE_DELETE_FAILED     Namespace_State = 7
	STATE_DELETED           Namespace_State = 8
	STATE_SUSPENDING        Namespace_State = 9
	STATE_SUSPEND_FAILED    Namespace_State = 10
	STATE_SUSPENDED         Namespace_State = 11
)

func (Namespace_State) EnumDescriptor

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

func (Namespace_State) String

func (x Namespace_State) String() string

Jump to

Keyboard shortcuts

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