Documentation
¶
Index ¶
- Variables
- type DeploymentSource
- func (*DeploymentSource) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentSource) GetApplicationConfig() []byte
- func (x *DeploymentSource) GetApplicationConfigFilename() string
- func (x *DeploymentSource) GetApplicationDirectory() string
- func (x *DeploymentSource) GetCommitHash() string
- func (*DeploymentSource) ProtoMessage()
- func (x *DeploymentSource) ProtoReflect() protoreflect.Message
- func (x *DeploymentSource) Reset()
- func (x *DeploymentSource) String() string
- func (m *DeploymentSource) Validate() error
- func (m *DeploymentSource) ValidateAll() error
- type DeploymentSourceMultiError
- type DeploymentSourceValidationError
- func (e DeploymentSourceValidationError) Cause() error
- func (e DeploymentSourceValidationError) Error() string
- func (e DeploymentSourceValidationError) ErrorName() string
- func (e DeploymentSourceValidationError) Field() string
- func (e DeploymentSourceValidationError) Key() bool
- func (e DeploymentSourceValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_pkg_plugin_api_v1alpha1_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DeploymentSource ¶
type DeploymentSource struct {
// The application directory where the source code is located.
ApplicationDirectory string `protobuf:"bytes,1,opt,name=application_directory,json=applicationDirectory,proto3" json:"application_directory,omitempty"`
// The git commit hash of the source code.
CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
// The configuration of the application which is specific for plugins.
ApplicationConfig []byte `protobuf:"bytes,3,opt,name=application_config,json=applicationConfig,proto3" json:"application_config,omitempty"`
// The filename of the application configuration file.
// The plugins can use this to avoid mistakenly reading this file as a manifest.
ApplicationConfigFilename string `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*DeploymentSource) Descriptor
deprecated
func (*DeploymentSource) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentSource.ProtoReflect.Descriptor instead.
func (*DeploymentSource) GetApplicationConfig ¶
func (x *DeploymentSource) GetApplicationConfig() []byte
func (*DeploymentSource) GetApplicationConfigFilename ¶
func (x *DeploymentSource) GetApplicationConfigFilename() string
func (*DeploymentSource) GetApplicationDirectory ¶
func (x *DeploymentSource) GetApplicationDirectory() string
func (*DeploymentSource) GetCommitHash ¶
func (x *DeploymentSource) GetCommitHash() string
func (*DeploymentSource) ProtoMessage ¶
func (*DeploymentSource) ProtoMessage()
func (*DeploymentSource) ProtoReflect ¶
func (x *DeploymentSource) ProtoReflect() protoreflect.Message
func (*DeploymentSource) Reset ¶
func (x *DeploymentSource) Reset()
func (*DeploymentSource) String ¶
func (x *DeploymentSource) String() string
func (*DeploymentSource) Validate ¶
func (m *DeploymentSource) Validate() error
Validate checks the field values on DeploymentSource 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 (*DeploymentSource) ValidateAll ¶
func (m *DeploymentSource) ValidateAll() error
ValidateAll checks the field values on DeploymentSource 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 DeploymentSourceMultiError, or nil if none found.
type DeploymentSourceMultiError ¶
type DeploymentSourceMultiError []error
DeploymentSourceMultiError is an error wrapping multiple validation errors returned by DeploymentSource.ValidateAll() if the designated constraints aren't met.
func (DeploymentSourceMultiError) AllErrors ¶
func (m DeploymentSourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeploymentSourceMultiError) Error ¶
func (m DeploymentSourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeploymentSourceValidationError ¶
type DeploymentSourceValidationError struct {
// contains filtered or unexported fields
}
DeploymentSourceValidationError is the validation error returned by DeploymentSource.Validate if the designated constraints aren't met.
func (DeploymentSourceValidationError) Cause ¶
func (e DeploymentSourceValidationError) Cause() error
Cause function returns cause value.
func (DeploymentSourceValidationError) Error ¶
func (e DeploymentSourceValidationError) Error() string
Error satisfies the builtin error interface
func (DeploymentSourceValidationError) ErrorName ¶
func (e DeploymentSourceValidationError) ErrorName() string
ErrorName returns error name.
func (DeploymentSourceValidationError) Field ¶
func (e DeploymentSourceValidationError) Field() string
Field function returns field value.
func (DeploymentSourceValidationError) Key ¶
func (e DeploymentSourceValidationError) Key() bool
Key function returns key value.
func (DeploymentSourceValidationError) Reason ¶
func (e DeploymentSourceValidationError) Reason() string
Reason function returns reason value.