common

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

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

Cause function returns cause value.

func (DeploymentSourceValidationError) Error

Error satisfies the builtin error interface

func (DeploymentSourceValidationError) ErrorName

ErrorName returns error name.

func (DeploymentSourceValidationError) Field

Field function returns field value.

func (DeploymentSourceValidationError) Key

Key function returns key value.

func (DeploymentSourceValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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