Documentation
¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (this *Account) Equal(that interface{}) bool
- func (m *Account) GetAsyncOperationId() string
- func (m *Account) GetId() string
- func (m *Account) GetMetrics() *Metrics
- func (m *Account) GetResourceVersion() string
- func (m *Account) GetSpec() *AccountSpec
- func (m *Account) GetState() v1.ResourceState
- func (this *Account) GoString() string
- func (m *Account) Marshal() (dAtA []byte, err error)
- func (m *Account) MarshalTo(dAtA []byte) (int, error)
- func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) Size() (n int)
- func (this *Account) String() string
- func (m *Account) Unmarshal(dAtA []byte) error
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountSpec
- func (*AccountSpec) Descriptor() ([]byte, []int)
- func (this *AccountSpec) Equal(that interface{}) bool
- func (m *AccountSpec) GetMetrics() *MetricsSpec
- func (this *AccountSpec) GoString() string
- func (m *AccountSpec) Marshal() (dAtA []byte, err error)
- func (m *AccountSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountSpec) ProtoMessage()
- func (m *AccountSpec) Reset()
- func (m *AccountSpec) Size() (n int)
- func (this *AccountSpec) String() string
- func (m *AccountSpec) Unmarshal(dAtA []byte) error
- func (m *AccountSpec) XXX_DiscardUnknown()
- func (m *AccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountSpec) XXX_Merge(src proto.Message)
- func (m *AccountSpec) XXX_Size() int
- func (m *AccountSpec) XXX_Unmarshal(b []byte) error
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)
- func (this *Metrics) Equal(that interface{}) bool
- func (m *Metrics) GetUri() string
- func (this *Metrics) GoString() string
- func (m *Metrics) Marshal() (dAtA []byte, err error)
- func (m *Metrics) MarshalTo(dAtA []byte) (int, error)
- func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metrics) ProtoMessage()
- func (m *Metrics) Reset()
- func (m *Metrics) Size() (n int)
- func (this *Metrics) String() string
- func (m *Metrics) Unmarshal(dAtA []byte) error
- func (m *Metrics) XXX_DiscardUnknown()
- func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metrics) XXX_Merge(src proto.Message)
- func (m *Metrics) XXX_Size() int
- func (m *Metrics) XXX_Unmarshal(b []byte) error
- type MetricsSpec
- func (*MetricsSpec) Descriptor() ([]byte, []int)
- func (this *MetricsSpec) Equal(that interface{}) bool
- func (m *MetricsSpec) GetAcceptedClientCa() []byte
- func (this *MetricsSpec) GoString() string
- func (m *MetricsSpec) Marshal() (dAtA []byte, err error)
- func (m *MetricsSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *MetricsSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetricsSpec) ProtoMessage()
- func (m *MetricsSpec) Reset()
- func (m *MetricsSpec) Size() (n int)
- func (this *MetricsSpec) String() string
- func (m *MetricsSpec) Unmarshal(dAtA []byte) error
- func (m *MetricsSpec) XXX_DiscardUnknown()
- func (m *MetricsSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsSpec) XXX_Merge(src proto.Message)
- func (m *MetricsSpec) XXX_Size() int
- func (m *MetricsSpec) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// The id of the account.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The account specification.
Spec *AccountSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// The current version of the account specification.
// The next update operation will have to include this version.
ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
// The current state of the account.
State v1.ResourceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"`
// The id of the async operation that is updating the account, if any.
AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
// Information related to metrics.
Metrics *Metrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"`
}
func (*Account) Descriptor ¶
func (*Account) GetAsyncOperationId ¶
func (*Account) GetMetrics ¶
func (*Account) GetResourceVersion ¶
func (*Account) GetSpec ¶
func (m *Account) GetSpec() *AccountSpec
func (*Account) GetState ¶
func (m *Account) GetState() v1.ResourceState
func (*Account) MarshalToSizedBuffer ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type AccountSpec ¶
type AccountSpec struct {
// The metrics specification for this account.
// If not specified, metrics will not be enabled.
Metrics *MetricsSpec `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"`
}
func (*AccountSpec) Descriptor ¶
func (*AccountSpec) Descriptor() ([]byte, []int)
func (*AccountSpec) Equal ¶
func (this *AccountSpec) Equal(that interface{}) bool
func (*AccountSpec) GetMetrics ¶
func (m *AccountSpec) GetMetrics() *MetricsSpec
func (*AccountSpec) GoString ¶
func (this *AccountSpec) GoString() string
func (*AccountSpec) Marshal ¶
func (m *AccountSpec) Marshal() (dAtA []byte, err error)
func (*AccountSpec) MarshalToSizedBuffer ¶
func (m *AccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountSpec) ProtoMessage ¶
func (*AccountSpec) ProtoMessage()
func (*AccountSpec) Reset ¶
func (m *AccountSpec) Reset()
func (*AccountSpec) Size ¶
func (m *AccountSpec) Size() (n int)
func (*AccountSpec) String ¶
func (this *AccountSpec) String() string
func (*AccountSpec) Unmarshal ¶
func (m *AccountSpec) Unmarshal(dAtA []byte) error
func (*AccountSpec) XXX_DiscardUnknown ¶
func (m *AccountSpec) XXX_DiscardUnknown()
func (*AccountSpec) XXX_Marshal ¶
func (m *AccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountSpec) XXX_Merge ¶
func (m *AccountSpec) XXX_Merge(src proto.Message)
func (*AccountSpec) XXX_Size ¶
func (m *AccountSpec) XXX_Size() int
func (*AccountSpec) XXX_Unmarshal ¶
func (m *AccountSpec) XXX_Unmarshal(b []byte) error
type Metrics ¶
type Metrics struct {
// The prometheus metrics endpoint uri.
// This is only populated when the metrics is enabled in the metrics specification.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
}
func (*Metrics) Descriptor ¶
func (*Metrics) MarshalToSizedBuffer ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) XXX_DiscardUnknown ¶
func (m *Metrics) XXX_DiscardUnknown()
func (*Metrics) XXX_Marshal ¶
func (*Metrics) XXX_Unmarshal ¶
type MetricsSpec ¶
type MetricsSpec struct {
// The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
// This must only be one value, but the CA can have a chain.
AcceptedClientCa []byte `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"`
}
func (*MetricsSpec) Descriptor ¶
func (*MetricsSpec) Descriptor() ([]byte, []int)
func (*MetricsSpec) Equal ¶
func (this *MetricsSpec) Equal(that interface{}) bool
func (*MetricsSpec) GetAcceptedClientCa ¶
func (m *MetricsSpec) GetAcceptedClientCa() []byte
func (*MetricsSpec) GoString ¶
func (this *MetricsSpec) GoString() string
func (*MetricsSpec) Marshal ¶
func (m *MetricsSpec) Marshal() (dAtA []byte, err error)
func (*MetricsSpec) MarshalToSizedBuffer ¶
func (m *MetricsSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetricsSpec) ProtoMessage ¶
func (*MetricsSpec) ProtoMessage()
func (*MetricsSpec) Reset ¶
func (m *MetricsSpec) Reset()
func (*MetricsSpec) Size ¶
func (m *MetricsSpec) Size() (n int)
func (*MetricsSpec) String ¶
func (this *MetricsSpec) String() string
func (*MetricsSpec) Unmarshal ¶
func (m *MetricsSpec) Unmarshal(dAtA []byte) error
func (*MetricsSpec) XXX_DiscardUnknown ¶
func (m *MetricsSpec) XXX_DiscardUnknown()
func (*MetricsSpec) XXX_Marshal ¶
func (m *MetricsSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsSpec) XXX_Merge ¶
func (m *MetricsSpec) XXX_Merge(src proto.Message)
func (*MetricsSpec) XXX_Size ¶
func (m *MetricsSpec) XXX_Size() int
func (*MetricsSpec) XXX_Unmarshal ¶
func (m *MetricsSpec) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.