Documentation ¶
Index ¶
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetConfig() string
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) Validate() error
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type ConfigValidationError
- type DataSource
- func (*DataSource) Descriptor() ([]byte, []int)
- func (m *DataSource) GetFile() string
- func (m *DataSource) GetInline() *wrappers.BytesValue
- func (m *DataSource) GetSecret() string
- func (m *DataSource) GetType() isDataSource_Type
- func (*DataSource) ProtoMessage()
- func (m *DataSource) Reset()
- func (m *DataSource) String() string
- func (m *DataSource) Validate() error
- func (m *DataSource) XXX_DiscardUnknown()
- func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataSource) XXX_Merge(src proto.Message)
- func (*DataSource) XXX_OneofWrappers() []interface{}
- func (m *DataSource) XXX_Size() int
- func (m *DataSource) XXX_Unmarshal(b []byte) error
- type DataSourceValidationError
- type DataSource_File
- type DataSource_Inline
- type DataSource_Secret
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (m *Secret) GetData() *wrappers.BytesValue
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (m *Secret) String() string
- func (m *Secret) Validate() error
- func (m *Secret) XXX_DiscardUnknown()
- func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Secret) XXX_Merge(src proto.Message)
- func (m *Secret) XXX_Size() int
- func (m *Secret) XXX_Unmarshal(b []byte) error
- type SecretValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // configuration that is stored (ex. in JSON) Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Config is a entity that represents dynamic configuration that is stored in underlying storage. For now it's used only for internal mechanisms.
func (*Config) Descriptor ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) Validate ¶
Validate checks the field values on Config with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type ConfigValidationError ¶
type ConfigValidationError struct {
// contains filtered or unexported fields
}
ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.
func (ConfigValidationError) Cause ¶
func (e ConfigValidationError) Cause() error
Cause function returns cause value.
func (ConfigValidationError) Error ¶
func (e ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigValidationError) ErrorName ¶
func (e ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigValidationError) Field ¶
func (e ConfigValidationError) Field() string
Field function returns field value.
func (ConfigValidationError) Key ¶
func (e ConfigValidationError) Key() bool
Key function returns key value.
func (ConfigValidationError) Reason ¶
func (e ConfigValidationError) Reason() string
Reason function returns reason value.
type DataSource ¶
type DataSource struct { // Types that are valid to be assigned to Type: // *DataSource_Secret // *DataSource_File // *DataSource_Inline Type isDataSource_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DataSource defines the source of bytes to use.
func (*DataSource) Descriptor ¶
func (*DataSource) Descriptor() ([]byte, []int)
func (*DataSource) GetFile ¶
func (m *DataSource) GetFile() string
func (*DataSource) GetInline ¶
func (m *DataSource) GetInline() *wrappers.BytesValue
func (*DataSource) GetSecret ¶
func (m *DataSource) GetSecret() string
func (*DataSource) GetType ¶
func (m *DataSource) GetType() isDataSource_Type
func (*DataSource) ProtoMessage ¶
func (*DataSource) ProtoMessage()
func (*DataSource) Reset ¶
func (m *DataSource) Reset()
func (*DataSource) String ¶
func (m *DataSource) String() string
func (*DataSource) Validate ¶
func (m *DataSource) Validate() error
Validate checks the field values on DataSource with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DataSource) XXX_DiscardUnknown ¶
func (m *DataSource) XXX_DiscardUnknown()
func (*DataSource) XXX_Marshal ¶
func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataSource) XXX_Merge ¶
func (m *DataSource) XXX_Merge(src proto.Message)
func (*DataSource) XXX_OneofWrappers ¶
func (*DataSource) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DataSource) XXX_Size ¶
func (m *DataSource) XXX_Size() int
func (*DataSource) XXX_Unmarshal ¶
func (m *DataSource) XXX_Unmarshal(b []byte) error
type DataSourceValidationError ¶
type DataSourceValidationError struct {
// contains filtered or unexported fields
}
DataSourceValidationError is the validation error returned by DataSource.Validate if the designated constraints aren't met.
func (DataSourceValidationError) Cause ¶
func (e DataSourceValidationError) Cause() error
Cause function returns cause value.
func (DataSourceValidationError) Error ¶
func (e DataSourceValidationError) Error() string
Error satisfies the builtin error interface
func (DataSourceValidationError) ErrorName ¶
func (e DataSourceValidationError) ErrorName() string
ErrorName returns error name.
func (DataSourceValidationError) Field ¶
func (e DataSourceValidationError) Field() string
Field function returns field value.
func (DataSourceValidationError) Key ¶
func (e DataSourceValidationError) Key() bool
Key function returns key value.
func (DataSourceValidationError) Reason ¶
func (e DataSourceValidationError) Reason() string
Reason function returns reason value.
type DataSource_File ¶
type DataSource_File struct {
File string `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
}
type DataSource_Inline ¶
type DataSource_Inline struct {
Inline *wrappers.BytesValue `protobuf:"bytes,3,opt,name=inline,proto3,oneof"`
}
type DataSource_Secret ¶
type DataSource_Secret struct {
Secret string `protobuf:"bytes,1,opt,name=secret,proto3,oneof"`
}
type Secret ¶
type Secret struct { // Value of the secret Data *wrappers.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Secret defines encrypted value in Kuma
func (*Secret) Descriptor ¶
func (*Secret) GetData ¶
func (m *Secret) GetData() *wrappers.BytesValue
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) Validate ¶
Validate checks the field values on Secret with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Secret) XXX_DiscardUnknown ¶
func (m *Secret) XXX_DiscardUnknown()
func (*Secret) XXX_Marshal ¶
func (*Secret) XXX_Unmarshal ¶
type SecretValidationError ¶
type SecretValidationError struct {
// contains filtered or unexported fields
}
SecretValidationError is the validation error returned by Secret.Validate if the designated constraints aren't met.
func (SecretValidationError) Cause ¶
func (e SecretValidationError) Cause() error
Cause function returns cause value.
func (SecretValidationError) Error ¶
func (e SecretValidationError) Error() string
Error satisfies the builtin error interface
func (SecretValidationError) ErrorName ¶
func (e SecretValidationError) ErrorName() string
ErrorName returns error name.
func (SecretValidationError) Field ¶
func (e SecretValidationError) Field() string
Field function returns field value.
func (SecretValidationError) Key ¶
func (e SecretValidationError) Key() bool
Key function returns key value.
func (SecretValidationError) Reason ¶
func (e SecretValidationError) Reason() string
Reason function returns reason value.