componentv1

package
v0.19.767 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_component_v1_component_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Component

type Component struct {
	Id        string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" faker:"shortID"`
	BuildCfg  *v1.Config  `protobuf:"bytes,2,opt,name=build_cfg,json=buildCfg,proto3" json:"build_cfg,omitempty" faker:"buildConfig"`
	DeployCfg *v11.Config `protobuf:"bytes,3,opt,name=deploy_cfg,json=deployCfg,proto3" json:"deploy_cfg,omitempty" faker:"deployConfig"`
	// TODO(jm): both the connections and inputs should be in the context object, for consistency.
	Connections   *v12.Connections   `protobuf:"bytes,4,opt,name=connections,proto3" json:"connections,omitempty"`
	InstallInputs *v13.InstallInputs `protobuf:"bytes,5,opt,name=install_inputs,json=installInputs,proto3" json:"install_inputs,omitempty"`
	Context       *v14.Context       `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

Docker config uses the waypoint build

func (*Component) Descriptor deprecated

func (*Component) Descriptor() ([]byte, []int)

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetBuildCfg

func (x *Component) GetBuildCfg() *v1.Config

func (*Component) GetConnections

func (x *Component) GetConnections() *v12.Connections

func (*Component) GetContext

func (x *Component) GetContext() *v14.Context

func (*Component) GetDeployCfg

func (x *Component) GetDeployCfg() *v11.Config

func (*Component) GetId

func (x *Component) GetId() string

func (*Component) GetInstallInputs

func (x *Component) GetInstallInputs() *v13.InstallInputs

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

func (x *Component) ProtoReflect() protoreflect.Message

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

func (*Component) Validate

func (m *Component) Validate() error

Validate checks the field values on Component 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 (*Component) ValidateAll

func (m *Component) ValidateAll() error

ValidateAll checks the field values on Component 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 ComponentMultiError, or nil if none found.

type ComponentMultiError

type ComponentMultiError []error

ComponentMultiError is an error wrapping multiple validation errors returned by Component.ValidateAll() if the designated constraints aren't met.

func (ComponentMultiError) AllErrors

func (m ComponentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComponentMultiError) Error

func (m ComponentMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ComponentValidationError

type ComponentValidationError struct {
	// contains filtered or unexported fields
}

ComponentValidationError is the validation error returned by Component.Validate if the designated constraints aren't met.

func (ComponentValidationError) Cause

func (e ComponentValidationError) Cause() error

Cause function returns cause value.

func (ComponentValidationError) Error

func (e ComponentValidationError) Error() string

Error satisfies the builtin error interface

func (ComponentValidationError) ErrorName

func (e ComponentValidationError) ErrorName() string

ErrorName returns error name.

func (ComponentValidationError) Field

func (e ComponentValidationError) Field() string

Field function returns field value.

func (ComponentValidationError) Key

Key function returns key value.

func (ComponentValidationError) Reason

func (e ComponentValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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