Documentation ¶
Index ¶
- Variables
- type CreateWriteTokenRequest
- func (*CreateWriteTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (*CreateWriteTokenRequest) ProtoMessage()
- func (x *CreateWriteTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWriteTokenRequest) Reset()
- func (x *CreateWriteTokenRequest) String() string
- func (m *CreateWriteTokenRequest) Validate() error
- func (m *CreateWriteTokenRequest) ValidateAll() error
- type CreateWriteTokenRequestMultiError
- type CreateWriteTokenRequestValidationError
- func (e CreateWriteTokenRequestValidationError) Cause() error
- func (e CreateWriteTokenRequestValidationError) Error() string
- func (e CreateWriteTokenRequestValidationError) ErrorName() string
- func (e CreateWriteTokenRequestValidationError) Field() string
- func (e CreateWriteTokenRequestValidationError) Key() bool
- func (e CreateWriteTokenRequestValidationError) Reason() string
- type CreateWriteTokenResponse
- func (*CreateWriteTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWriteTokenResponse) GetId() string
- func (x *CreateWriteTokenResponse) GetWriteToken() string
- func (*CreateWriteTokenResponse) ProtoMessage()
- func (x *CreateWriteTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWriteTokenResponse) Reset()
- func (x *CreateWriteTokenResponse) String() string
- func (m *CreateWriteTokenResponse) Validate() error
- func (m *CreateWriteTokenResponse) ValidateAll() error
- type CreateWriteTokenResponseMultiError
- type CreateWriteTokenResponseValidationError
- func (e CreateWriteTokenResponseValidationError) Cause() error
- func (e CreateWriteTokenResponseValidationError) Error() string
- func (e CreateWriteTokenResponseValidationError) ErrorName() string
- func (e CreateWriteTokenResponseValidationError) Field() string
- func (e CreateWriteTokenResponseValidationError) Key() bool
- func (e CreateWriteTokenResponseValidationError) Reason() string
- type ValidateWriteTokenRequest
- func (*ValidateWriteTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateWriteTokenRequest) GetWriteToken() string
- func (*ValidateWriteTokenRequest) ProtoMessage()
- func (x *ValidateWriteTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateWriteTokenRequest) Reset()
- func (x *ValidateWriteTokenRequest) String() string
- func (m *ValidateWriteTokenRequest) Validate() error
- func (m *ValidateWriteTokenRequest) ValidateAll() error
- type ValidateWriteTokenRequestMultiError
- type ValidateWriteTokenRequestValidationError
- func (e ValidateWriteTokenRequestValidationError) Cause() error
- func (e ValidateWriteTokenRequestValidationError) Error() string
- func (e ValidateWriteTokenRequestValidationError) ErrorName() string
- func (e ValidateWriteTokenRequestValidationError) Field() string
- func (e ValidateWriteTokenRequestValidationError) Key() bool
- func (e ValidateWriteTokenRequestValidationError) Reason() string
- type ValidateWriteTokenResponse
- func (*ValidateWriteTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateWriteTokenResponse) GetAccountId() string
- func (x *ValidateWriteTokenResponse) GetDeploymentId() string
- func (*ValidateWriteTokenResponse) ProtoMessage()
- func (x *ValidateWriteTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateWriteTokenResponse) Reset()
- func (x *ValidateWriteTokenResponse) String() string
- func (m *ValidateWriteTokenResponse) Validate() error
- func (m *ValidateWriteTokenResponse) ValidateAll() error
- type ValidateWriteTokenResponseMultiError
- type ValidateWriteTokenResponseValidationError
- func (e ValidateWriteTokenResponseValidationError) Cause() error
- func (e ValidateWriteTokenResponseValidationError) Error() string
- func (e ValidateWriteTokenResponseValidationError) ErrorName() string
- func (e ValidateWriteTokenResponseValidationError) Field() string
- func (e ValidateWriteTokenResponseValidationError) Key() bool
- func (e ValidateWriteTokenResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_commonfate_factory_monitoring_v1alpha1_token_proto protoreflect.FileDescriptor
var File_commonfate_factory_monitoring_v1alpha1_validate_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateWriteTokenRequest ¶
type CreateWriteTokenRequest struct {
// contains filtered or unexported fields
}
func (*CreateWriteTokenRequest) Descriptor
deprecated
func (*CreateWriteTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWriteTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateWriteTokenRequest) ProtoMessage ¶
func (*CreateWriteTokenRequest) ProtoMessage()
func (*CreateWriteTokenRequest) ProtoReflect ¶
func (x *CreateWriteTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateWriteTokenRequest) Reset ¶
func (x *CreateWriteTokenRequest) Reset()
func (*CreateWriteTokenRequest) String ¶
func (x *CreateWriteTokenRequest) String() string
func (*CreateWriteTokenRequest) Validate ¶ added in v1.32.1
func (m *CreateWriteTokenRequest) Validate() error
Validate checks the field values on CreateWriteTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateWriteTokenRequest) ValidateAll ¶ added in v1.32.1
func (m *CreateWriteTokenRequest) ValidateAll() error
ValidateAll checks the field values on CreateWriteTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWriteTokenRequestMultiError, or nil if none found.
type CreateWriteTokenRequestMultiError ¶ added in v1.32.1
type CreateWriteTokenRequestMultiError []error
CreateWriteTokenRequestMultiError is an error wrapping multiple validation errors returned by CreateWriteTokenRequest.ValidateAll() if the designated constraints aren't met.
func (CreateWriteTokenRequestMultiError) AllErrors ¶ added in v1.32.1
func (m CreateWriteTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateWriteTokenRequestMultiError) Error ¶ added in v1.32.1
func (m CreateWriteTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateWriteTokenRequestValidationError ¶ added in v1.32.1
type CreateWriteTokenRequestValidationError struct {
// contains filtered or unexported fields
}
CreateWriteTokenRequestValidationError is the validation error returned by CreateWriteTokenRequest.Validate if the designated constraints aren't met.
func (CreateWriteTokenRequestValidationError) Cause ¶ added in v1.32.1
func (e CreateWriteTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateWriteTokenRequestValidationError) Error ¶ added in v1.32.1
func (e CreateWriteTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateWriteTokenRequestValidationError) ErrorName ¶ added in v1.32.1
func (e CreateWriteTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateWriteTokenRequestValidationError) Field ¶ added in v1.32.1
func (e CreateWriteTokenRequestValidationError) Field() string
Field function returns field value.
func (CreateWriteTokenRequestValidationError) Key ¶ added in v1.32.1
func (e CreateWriteTokenRequestValidationError) Key() bool
Key function returns key value.
func (CreateWriteTokenRequestValidationError) Reason ¶ added in v1.32.1
func (e CreateWriteTokenRequestValidationError) Reason() string
Reason function returns reason value.
type CreateWriteTokenResponse ¶
type CreateWriteTokenResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A write token which gives access to write OpenTelemetry data to our collector. WriteToken string `protobuf:"bytes,2,opt,name=write_token,json=writeToken,proto3" json:"write_token,omitempty"` // contains filtered or unexported fields }
func (*CreateWriteTokenResponse) Descriptor
deprecated
func (*CreateWriteTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWriteTokenResponse.ProtoReflect.Descriptor instead.
func (*CreateWriteTokenResponse) GetId ¶
func (x *CreateWriteTokenResponse) GetId() string
func (*CreateWriteTokenResponse) GetWriteToken ¶
func (x *CreateWriteTokenResponse) GetWriteToken() string
func (*CreateWriteTokenResponse) ProtoMessage ¶
func (*CreateWriteTokenResponse) ProtoMessage()
func (*CreateWriteTokenResponse) ProtoReflect ¶
func (x *CreateWriteTokenResponse) ProtoReflect() protoreflect.Message
func (*CreateWriteTokenResponse) Reset ¶
func (x *CreateWriteTokenResponse) Reset()
func (*CreateWriteTokenResponse) String ¶
func (x *CreateWriteTokenResponse) String() string
func (*CreateWriteTokenResponse) Validate ¶ added in v1.32.1
func (m *CreateWriteTokenResponse) Validate() error
Validate checks the field values on CreateWriteTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateWriteTokenResponse) ValidateAll ¶ added in v1.32.1
func (m *CreateWriteTokenResponse) ValidateAll() error
ValidateAll checks the field values on CreateWriteTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWriteTokenResponseMultiError, or nil if none found.
type CreateWriteTokenResponseMultiError ¶ added in v1.32.1
type CreateWriteTokenResponseMultiError []error
CreateWriteTokenResponseMultiError is an error wrapping multiple validation errors returned by CreateWriteTokenResponse.ValidateAll() if the designated constraints aren't met.
func (CreateWriteTokenResponseMultiError) AllErrors ¶ added in v1.32.1
func (m CreateWriteTokenResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateWriteTokenResponseMultiError) Error ¶ added in v1.32.1
func (m CreateWriteTokenResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateWriteTokenResponseValidationError ¶ added in v1.32.1
type CreateWriteTokenResponseValidationError struct {
// contains filtered or unexported fields
}
CreateWriteTokenResponseValidationError is the validation error returned by CreateWriteTokenResponse.Validate if the designated constraints aren't met.
func (CreateWriteTokenResponseValidationError) Cause ¶ added in v1.32.1
func (e CreateWriteTokenResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateWriteTokenResponseValidationError) Error ¶ added in v1.32.1
func (e CreateWriteTokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateWriteTokenResponseValidationError) ErrorName ¶ added in v1.32.1
func (e CreateWriteTokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateWriteTokenResponseValidationError) Field ¶ added in v1.32.1
func (e CreateWriteTokenResponseValidationError) Field() string
Field function returns field value.
func (CreateWriteTokenResponseValidationError) Key ¶ added in v1.32.1
func (e CreateWriteTokenResponseValidationError) Key() bool
Key function returns key value.
func (CreateWriteTokenResponseValidationError) Reason ¶ added in v1.32.1
func (e CreateWriteTokenResponseValidationError) Reason() string
Reason function returns reason value.
type ValidateWriteTokenRequest ¶
type ValidateWriteTokenRequest struct { WriteToken string `protobuf:"bytes,1,opt,name=write_token,json=writeToken,proto3" json:"write_token,omitempty"` // contains filtered or unexported fields }
func (*ValidateWriteTokenRequest) Descriptor
deprecated
func (*ValidateWriteTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateWriteTokenRequest.ProtoReflect.Descriptor instead.
func (*ValidateWriteTokenRequest) GetWriteToken ¶
func (x *ValidateWriteTokenRequest) GetWriteToken() string
func (*ValidateWriteTokenRequest) ProtoMessage ¶
func (*ValidateWriteTokenRequest) ProtoMessage()
func (*ValidateWriteTokenRequest) ProtoReflect ¶
func (x *ValidateWriteTokenRequest) ProtoReflect() protoreflect.Message
func (*ValidateWriteTokenRequest) Reset ¶
func (x *ValidateWriteTokenRequest) Reset()
func (*ValidateWriteTokenRequest) String ¶
func (x *ValidateWriteTokenRequest) String() string
func (*ValidateWriteTokenRequest) Validate ¶ added in v1.32.1
func (m *ValidateWriteTokenRequest) Validate() error
Validate checks the field values on ValidateWriteTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ValidateWriteTokenRequest) ValidateAll ¶ added in v1.32.1
func (m *ValidateWriteTokenRequest) ValidateAll() error
ValidateAll checks the field values on ValidateWriteTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateWriteTokenRequestMultiError, or nil if none found.
type ValidateWriteTokenRequestMultiError ¶ added in v1.32.1
type ValidateWriteTokenRequestMultiError []error
ValidateWriteTokenRequestMultiError is an error wrapping multiple validation errors returned by ValidateWriteTokenRequest.ValidateAll() if the designated constraints aren't met.
func (ValidateWriteTokenRequestMultiError) AllErrors ¶ added in v1.32.1
func (m ValidateWriteTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateWriteTokenRequestMultiError) Error ¶ added in v1.32.1
func (m ValidateWriteTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateWriteTokenRequestValidationError ¶ added in v1.32.1
type ValidateWriteTokenRequestValidationError struct {
// contains filtered or unexported fields
}
ValidateWriteTokenRequestValidationError is the validation error returned by ValidateWriteTokenRequest.Validate if the designated constraints aren't met.
func (ValidateWriteTokenRequestValidationError) Cause ¶ added in v1.32.1
func (e ValidateWriteTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (ValidateWriteTokenRequestValidationError) Error ¶ added in v1.32.1
func (e ValidateWriteTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateWriteTokenRequestValidationError) ErrorName ¶ added in v1.32.1
func (e ValidateWriteTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateWriteTokenRequestValidationError) Field ¶ added in v1.32.1
func (e ValidateWriteTokenRequestValidationError) Field() string
Field function returns field value.
func (ValidateWriteTokenRequestValidationError) Key ¶ added in v1.32.1
func (e ValidateWriteTokenRequestValidationError) Key() bool
Key function returns key value.
func (ValidateWriteTokenRequestValidationError) Reason ¶ added in v1.32.1
func (e ValidateWriteTokenRequestValidationError) Reason() string
Reason function returns reason value.
type ValidateWriteTokenResponse ¶
type ValidateWriteTokenResponse struct { // The deployment ID associated with the write token. DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // The Common Fate account ID associated with the write token. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*ValidateWriteTokenResponse) Descriptor
deprecated
func (*ValidateWriteTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateWriteTokenResponse.ProtoReflect.Descriptor instead.
func (*ValidateWriteTokenResponse) GetAccountId ¶
func (x *ValidateWriteTokenResponse) GetAccountId() string
func (*ValidateWriteTokenResponse) GetDeploymentId ¶
func (x *ValidateWriteTokenResponse) GetDeploymentId() string
func (*ValidateWriteTokenResponse) ProtoMessage ¶
func (*ValidateWriteTokenResponse) ProtoMessage()
func (*ValidateWriteTokenResponse) ProtoReflect ¶
func (x *ValidateWriteTokenResponse) ProtoReflect() protoreflect.Message
func (*ValidateWriteTokenResponse) Reset ¶
func (x *ValidateWriteTokenResponse) Reset()
func (*ValidateWriteTokenResponse) String ¶
func (x *ValidateWriteTokenResponse) String() string
func (*ValidateWriteTokenResponse) Validate ¶ added in v1.32.1
func (m *ValidateWriteTokenResponse) Validate() error
Validate checks the field values on ValidateWriteTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ValidateWriteTokenResponse) ValidateAll ¶ added in v1.32.1
func (m *ValidateWriteTokenResponse) ValidateAll() error
ValidateAll checks the field values on ValidateWriteTokenResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateWriteTokenResponseMultiError, or nil if none found.
type ValidateWriteTokenResponseMultiError ¶ added in v1.32.1
type ValidateWriteTokenResponseMultiError []error
ValidateWriteTokenResponseMultiError is an error wrapping multiple validation errors returned by ValidateWriteTokenResponse.ValidateAll() if the designated constraints aren't met.
func (ValidateWriteTokenResponseMultiError) AllErrors ¶ added in v1.32.1
func (m ValidateWriteTokenResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateWriteTokenResponseMultiError) Error ¶ added in v1.32.1
func (m ValidateWriteTokenResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateWriteTokenResponseValidationError ¶ added in v1.32.1
type ValidateWriteTokenResponseValidationError struct {
// contains filtered or unexported fields
}
ValidateWriteTokenResponseValidationError is the validation error returned by ValidateWriteTokenResponse.Validate if the designated constraints aren't met.
func (ValidateWriteTokenResponseValidationError) Cause ¶ added in v1.32.1
func (e ValidateWriteTokenResponseValidationError) Cause() error
Cause function returns cause value.
func (ValidateWriteTokenResponseValidationError) Error ¶ added in v1.32.1
func (e ValidateWriteTokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateWriteTokenResponseValidationError) ErrorName ¶ added in v1.32.1
func (e ValidateWriteTokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateWriteTokenResponseValidationError) Field ¶ added in v1.32.1
func (e ValidateWriteTokenResponseValidationError) Field() string
Field function returns field value.
func (ValidateWriteTokenResponseValidationError) Key ¶ added in v1.32.1
func (e ValidateWriteTokenResponseValidationError) Key() bool
Key function returns key value.
func (ValidateWriteTokenResponseValidationError) Reason ¶ added in v1.32.1
func (e ValidateWriteTokenResponseValidationError) Reason() string
Reason function returns reason value.