imagebuilder

package
v0.2.0-b7 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageService_GetImage_FullMethodName = "/flyteidl.imagebuilder.ImageService/GetImage"
)

Variables

View Source
var File_imagebuilder_definition_proto protoreflect.FileDescriptor
View Source
var File_imagebuilder_payload_proto protoreflect.FileDescriptor
View Source
var File_imagebuilder_service_proto protoreflect.FileDescriptor
View Source
var ImageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "flyteidl.imagebuilder.ImageService",
	HandlerType: (*ImageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetImage",
			Handler:    _ImageService_GetImage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "imagebuilder/service.proto",
}

ImageService_ServiceDesc is the grpc.ServiceDesc for ImageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterImageServiceServer

func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)

Types

type AptPackages

type AptPackages struct {

	// List of apt packages to install
	Packages []string `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
	// contains filtered or unexported fields
}

AptPackages defines a list of apt packages to install in the image.

func (*AptPackages) Descriptor deprecated

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

Deprecated: Use AptPackages.ProtoReflect.Descriptor instead.

func (*AptPackages) GetPackages

func (x *AptPackages) GetPackages() []string

func (*AptPackages) ProtoMessage

func (*AptPackages) ProtoMessage()

func (*AptPackages) ProtoReflect

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

func (*AptPackages) Reset

func (x *AptPackages) Reset()

func (*AptPackages) String

func (x *AptPackages) String() string

func (*AptPackages) Validate

func (m *AptPackages) Validate() error

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

func (m *AptPackages) ValidateAll() error

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

type AptPackagesMultiError

type AptPackagesMultiError []error

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

func (AptPackagesMultiError) AllErrors

func (m AptPackagesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AptPackagesMultiError) Error

func (m AptPackagesMultiError) Error() string

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

type AptPackagesValidationError

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

AptPackagesValidationError is the validation error returned by AptPackages.Validate if the designated constraints aren't met.

func (AptPackagesValidationError) Cause

Cause function returns cause value.

func (AptPackagesValidationError) Error

Error satisfies the builtin error interface

func (AptPackagesValidationError) ErrorName

func (e AptPackagesValidationError) ErrorName() string

ErrorName returns error name.

func (AptPackagesValidationError) Field

Field function returns field value.

func (AptPackagesValidationError) Key

Key function returns key value.

func (AptPackagesValidationError) Reason

Reason function returns reason value.

type Commands

type Commands struct {

	// The command to run.
	Cmd []string `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd,omitempty"`
	// contains filtered or unexported fields
}

Commands defines a list of commands to run in the image.

func (*Commands) Descriptor deprecated

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

Deprecated: Use Commands.ProtoReflect.Descriptor instead.

func (*Commands) GetCmd

func (x *Commands) GetCmd() []string

func (*Commands) ProtoMessage

func (*Commands) ProtoMessage()

func (*Commands) ProtoReflect

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

func (*Commands) Reset

func (x *Commands) Reset()

func (*Commands) String

func (x *Commands) String() string

func (*Commands) Validate

func (m *Commands) Validate() error

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

func (m *Commands) ValidateAll() error

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

type CommandsMultiError

type CommandsMultiError []error

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

func (CommandsMultiError) AllErrors

func (m CommandsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommandsMultiError) Error

func (m CommandsMultiError) Error() string

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

type CommandsValidationError

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

CommandsValidationError is the validation error returned by Commands.Validate if the designated constraints aren't met.

func (CommandsValidationError) Cause

func (e CommandsValidationError) Cause() error

Cause function returns cause value.

func (CommandsValidationError) Error

func (e CommandsValidationError) Error() string

Error satisfies the builtin error interface

func (CommandsValidationError) ErrorName

func (e CommandsValidationError) ErrorName() string

ErrorName returns error name.

func (CommandsValidationError) Field

func (e CommandsValidationError) Field() string

Field function returns field value.

func (CommandsValidationError) Key

func (e CommandsValidationError) Key() bool

Key function returns key value.

func (CommandsValidationError) Reason

func (e CommandsValidationError) Reason() string

Reason function returns reason value.

type CopyConfig

type CopyConfig struct {

	// The source directory to copy from.
	Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	// The destination directory to copy to.
	Dst string `protobuf:"bytes,2,opt,name=dst,proto3" json:"dst,omitempty"`
	// contains filtered or unexported fields
}

CopyConfig defines a configuration for copying files/directories into the image.

func (*CopyConfig) Descriptor deprecated

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

Deprecated: Use CopyConfig.ProtoReflect.Descriptor instead.

func (*CopyConfig) GetDst

func (x *CopyConfig) GetDst() string

func (*CopyConfig) GetSrc

func (x *CopyConfig) GetSrc() string

func (*CopyConfig) ProtoMessage

func (*CopyConfig) ProtoMessage()

func (*CopyConfig) ProtoReflect

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

func (*CopyConfig) Reset

func (x *CopyConfig) Reset()

func (*CopyConfig) String

func (x *CopyConfig) String() string

func (*CopyConfig) Validate

func (m *CopyConfig) Validate() error

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

func (m *CopyConfig) ValidateAll() error

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

type CopyConfigMultiError

type CopyConfigMultiError []error

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

func (CopyConfigMultiError) AllErrors

func (m CopyConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CopyConfigMultiError) Error

func (m CopyConfigMultiError) Error() string

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

type CopyConfigValidationError

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

CopyConfigValidationError is the validation error returned by CopyConfig.Validate if the designated constraints aren't met.

func (CopyConfigValidationError) Cause

func (e CopyConfigValidationError) Cause() error

Cause function returns cause value.

func (CopyConfigValidationError) Error

Error satisfies the builtin error interface

func (CopyConfigValidationError) ErrorName

func (e CopyConfigValidationError) ErrorName() string

ErrorName returns error name.

func (CopyConfigValidationError) Field

Field function returns field value.

func (CopyConfigValidationError) Key

Key function returns key value.

func (CopyConfigValidationError) Reason

func (e CopyConfigValidationError) Reason() string

Reason function returns reason value.

type Env

type Env struct {

	// Environment variables to set in the image.
	EnvVariables map[string]string `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

Env defines environment to set in the image.

func (*Env) Descriptor deprecated

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

Deprecated: Use Env.ProtoReflect.Descriptor instead.

func (*Env) GetEnvVariables

func (x *Env) GetEnvVariables() map[string]string

func (*Env) ProtoMessage

func (*Env) ProtoMessage()

func (*Env) ProtoReflect

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

func (*Env) Reset

func (x *Env) Reset()

func (*Env) String

func (x *Env) String() string

func (*Env) Validate

func (m *Env) Validate() error

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

func (m *Env) ValidateAll() error

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

type EnvMultiError

type EnvMultiError []error

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

func (EnvMultiError) AllErrors

func (m EnvMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EnvMultiError) Error

func (m EnvMultiError) Error() string

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

type EnvValidationError

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

EnvValidationError is the validation error returned by Env.Validate if the designated constraints aren't met.

func (EnvValidationError) Cause

func (e EnvValidationError) Cause() error

Cause function returns cause value.

func (EnvValidationError) Error

func (e EnvValidationError) Error() string

Error satisfies the builtin error interface

func (EnvValidationError) ErrorName

func (e EnvValidationError) ErrorName() string

ErrorName returns error name.

func (EnvValidationError) Field

func (e EnvValidationError) Field() string

Field function returns field value.

func (EnvValidationError) Key

func (e EnvValidationError) Key() bool

Key function returns key value.

func (EnvValidationError) Reason

func (e EnvValidationError) Reason() string

Reason function returns reason value.

type GetImageRequest

type GetImageRequest struct {

	// Image ID
	Id *ImageIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional organization that dictates which dataplane registry to reference
	Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetImageRequest) Descriptor deprecated

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

Deprecated: Use GetImageRequest.ProtoReflect.Descriptor instead.

func (*GetImageRequest) GetId

func (x *GetImageRequest) GetId() *ImageIdentifier

func (*GetImageRequest) GetOrganization

func (x *GetImageRequest) GetOrganization() string

func (*GetImageRequest) ProtoMessage

func (*GetImageRequest) ProtoMessage()

func (*GetImageRequest) ProtoReflect

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

func (*GetImageRequest) Reset

func (x *GetImageRequest) Reset()

func (*GetImageRequest) String

func (x *GetImageRequest) String() string

func (*GetImageRequest) Validate

func (m *GetImageRequest) Validate() error

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

func (m *GetImageRequest) ValidateAll() error

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

type GetImageRequestMultiError

type GetImageRequestMultiError []error

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

func (GetImageRequestMultiError) AllErrors

func (m GetImageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetImageRequestMultiError) Error

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

type GetImageRequestValidationError

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

GetImageRequestValidationError is the validation error returned by GetImageRequest.Validate if the designated constraints aren't met.

func (GetImageRequestValidationError) Cause

Cause function returns cause value.

func (GetImageRequestValidationError) Error

Error satisfies the builtin error interface

func (GetImageRequestValidationError) ErrorName

func (e GetImageRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetImageRequestValidationError) Field

Field function returns field value.

func (GetImageRequestValidationError) Key

Key function returns key value.

func (GetImageRequestValidationError) Reason

Reason function returns reason value.

type GetImageResponse

type GetImageResponse struct {
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

GetSecretProxyResponse returns the looked up secret from the secret service

func (*GetImageResponse) Descriptor deprecated

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

Deprecated: Use GetImageResponse.ProtoReflect.Descriptor instead.

func (*GetImageResponse) GetImage

func (x *GetImageResponse) GetImage() *Image

func (*GetImageResponse) ProtoMessage

func (*GetImageResponse) ProtoMessage()

func (*GetImageResponse) ProtoReflect

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

func (*GetImageResponse) Reset

func (x *GetImageResponse) Reset()

func (*GetImageResponse) String

func (x *GetImageResponse) String() string

func (*GetImageResponse) Validate

func (m *GetImageResponse) Validate() error

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

func (m *GetImageResponse) ValidateAll() error

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

type GetImageResponseMultiError

type GetImageResponseMultiError []error

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

func (GetImageResponseMultiError) AllErrors

func (m GetImageResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetImageResponseMultiError) Error

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

type GetImageResponseValidationError

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

GetImageResponseValidationError is the validation error returned by GetImageResponse.Validate if the designated constraints aren't met.

func (GetImageResponseValidationError) Cause

Cause function returns cause value.

func (GetImageResponseValidationError) Error

Error satisfies the builtin error interface

func (GetImageResponseValidationError) ErrorName

ErrorName returns error name.

func (GetImageResponseValidationError) Field

Field function returns field value.

func (GetImageResponseValidationError) Key

Key function returns key value.

func (GetImageResponseValidationError) Reason

Reason function returns reason value.

type Image

type Image struct {
	Id *ImageIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Fully qualified, pullable, image name
	Fqin string `protobuf:"bytes,2,opt,name=fqin,proto3" json:"fqin,omitempty"`
	// contains filtered or unexported fields
}

Simple container to surface if image exists

func (*Image) Descriptor deprecated

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetFqin

func (x *Image) GetFqin() string

func (*Image) GetId

func (x *Image) GetId() *ImageIdentifier

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

func (*Image) Validate

func (m *Image) Validate() error

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

func (m *Image) ValidateAll() error

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

type ImageIdentifier

type ImageIdentifier struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ImageIdentifier is how to identify an image

func (*ImageIdentifier) Descriptor deprecated

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

Deprecated: Use ImageIdentifier.ProtoReflect.Descriptor instead.

func (*ImageIdentifier) GetName

func (x *ImageIdentifier) GetName() string

func (*ImageIdentifier) ProtoMessage

func (*ImageIdentifier) ProtoMessage()

func (*ImageIdentifier) ProtoReflect

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

func (*ImageIdentifier) Reset

func (x *ImageIdentifier) Reset()

func (*ImageIdentifier) String

func (x *ImageIdentifier) String() string

func (*ImageIdentifier) Validate

func (m *ImageIdentifier) Validate() error

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

func (m *ImageIdentifier) ValidateAll() error

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

type ImageIdentifierMultiError

type ImageIdentifierMultiError []error

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

func (ImageIdentifierMultiError) AllErrors

func (m ImageIdentifierMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageIdentifierMultiError) Error

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

type ImageIdentifierValidationError

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

ImageIdentifierValidationError is the validation error returned by ImageIdentifier.Validate if the designated constraints aren't met.

func (ImageIdentifierValidationError) Cause

Cause function returns cause value.

func (ImageIdentifierValidationError) Error

Error satisfies the builtin error interface

func (ImageIdentifierValidationError) ErrorName

func (e ImageIdentifierValidationError) ErrorName() string

ErrorName returns error name.

func (ImageIdentifierValidationError) Field

Field function returns field value.

func (ImageIdentifierValidationError) Key

Key function returns key value.

func (ImageIdentifierValidationError) Reason

Reason function returns reason value.

type ImageMultiError

type ImageMultiError []error

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

func (ImageMultiError) AllErrors

func (m ImageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageMultiError) Error

func (m ImageMultiError) Error() string

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

type ImageServiceClient

type ImageServiceClient interface {
	GetImage(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error)
}

ImageServiceClient is the client API for ImageService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ImageServiceServer

type ImageServiceServer interface {
	GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error)
}

ImageServiceServer is the server API for ImageService service. All implementations should embed UnimplementedImageServiceServer for forward compatibility

type ImageSpec

type ImageSpec struct {

	// Identifier for the base image.
	BaseImage string `protobuf:"bytes,1,opt,name=base_image,json=baseImage,proto3" json:"base_image,omitempty"`
	// python version to use in the image.
	PythonVersion string `protobuf:"bytes,2,opt,name=python_version,json=pythonVersion,proto3" json:"python_version,omitempty"`
	// List of layers to apply to the image.
	Layers []*Layer `protobuf:"bytes,3,rep,name=layers,proto3" json:"layers,omitempty"`
	// List of platforms to build the image for.
	Platform []string `protobuf:"bytes,4,rep,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

Image definition defined in the sdk.

func (*ImageSpec) Descriptor deprecated

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

Deprecated: Use ImageSpec.ProtoReflect.Descriptor instead.

func (*ImageSpec) GetBaseImage

func (x *ImageSpec) GetBaseImage() string

func (*ImageSpec) GetLayers

func (x *ImageSpec) GetLayers() []*Layer

func (*ImageSpec) GetPlatform

func (x *ImageSpec) GetPlatform() []string

func (*ImageSpec) GetPythonVersion

func (x *ImageSpec) GetPythonVersion() string

func (*ImageSpec) ProtoMessage

func (*ImageSpec) ProtoMessage()

func (*ImageSpec) ProtoReflect

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

func (*ImageSpec) Reset

func (x *ImageSpec) Reset()

func (*ImageSpec) String

func (x *ImageSpec) String() string

func (*ImageSpec) Validate

func (m *ImageSpec) Validate() error

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

func (m *ImageSpec) ValidateAll() error

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

type ImageSpecMultiError

type ImageSpecMultiError []error

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

func (ImageSpecMultiError) AllErrors

func (m ImageSpecMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageSpecMultiError) Error

func (m ImageSpecMultiError) Error() string

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

type ImageSpecValidationError

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

ImageSpecValidationError is the validation error returned by ImageSpec.Validate if the designated constraints aren't met.

func (ImageSpecValidationError) Cause

func (e ImageSpecValidationError) Cause() error

Cause function returns cause value.

func (ImageSpecValidationError) Error

func (e ImageSpecValidationError) Error() string

Error satisfies the builtin error interface

func (ImageSpecValidationError) ErrorName

func (e ImageSpecValidationError) ErrorName() string

ErrorName returns error name.

func (ImageSpecValidationError) Field

func (e ImageSpecValidationError) Field() string

Field function returns field value.

func (ImageSpecValidationError) Key

Key function returns key value.

func (ImageSpecValidationError) Reason

func (e ImageSpecValidationError) Reason() string

Reason function returns reason value.

type ImageValidationError

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

ImageValidationError is the validation error returned by Image.Validate if the designated constraints aren't met.

func (ImageValidationError) Cause

func (e ImageValidationError) Cause() error

Cause function returns cause value.

func (ImageValidationError) Error

func (e ImageValidationError) Error() string

Error satisfies the builtin error interface

func (ImageValidationError) ErrorName

func (e ImageValidationError) ErrorName() string

ErrorName returns error name.

func (ImageValidationError) Field

func (e ImageValidationError) Field() string

Field function returns field value.

func (ImageValidationError) Key

func (e ImageValidationError) Key() bool

Key function returns key value.

func (ImageValidationError) Reason

func (e ImageValidationError) Reason() string

Reason function returns reason value.

type Layer

type Layer struct {

	// Types that are assignable to Layer:
	//
	//	*Layer_AptPackages
	//	*Layer_PipPackages
	//	*Layer_Commands
	//	*Layer_Requirements
	//	*Layer_PythonWheels
	//	*Layer_Workdir
	//	*Layer_CopyConfig
	//	*Layer_UvProject
	//	*Layer_Env
	Layer isLayer_Layer `protobuf_oneof:"layer"`
	// contains filtered or unexported fields
}

Layer defines a layer in the image, which can be one of several types.

func (*Layer) Descriptor deprecated

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

Deprecated: Use Layer.ProtoReflect.Descriptor instead.

func (*Layer) GetAptPackages

func (x *Layer) GetAptPackages() *AptPackages

func (*Layer) GetCommands

func (x *Layer) GetCommands() *Commands

func (*Layer) GetCopyConfig

func (x *Layer) GetCopyConfig() *CopyConfig

func (*Layer) GetEnv

func (x *Layer) GetEnv() *Env

func (*Layer) GetLayer

func (m *Layer) GetLayer() isLayer_Layer

func (*Layer) GetPipPackages

func (x *Layer) GetPipPackages() *PipPackages

func (*Layer) GetPythonWheels

func (x *Layer) GetPythonWheels() *PythonWheels

func (*Layer) GetRequirements

func (x *Layer) GetRequirements() *Requirements

func (*Layer) GetUvProject

func (x *Layer) GetUvProject() *UVProject

func (*Layer) GetWorkdir

func (x *Layer) GetWorkdir() *WorkDir

func (*Layer) ProtoMessage

func (*Layer) ProtoMessage()

func (*Layer) ProtoReflect

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

func (*Layer) Reset

func (x *Layer) Reset()

func (*Layer) String

func (x *Layer) String() string

func (*Layer) Validate

func (m *Layer) Validate() error

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

func (m *Layer) ValidateAll() error

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

type LayerMultiError

type LayerMultiError []error

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

func (LayerMultiError) AllErrors

func (m LayerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LayerMultiError) Error

func (m LayerMultiError) Error() string

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

type LayerValidationError

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

LayerValidationError is the validation error returned by Layer.Validate if the designated constraints aren't met.

func (LayerValidationError) Cause

func (e LayerValidationError) Cause() error

Cause function returns cause value.

func (LayerValidationError) Error

func (e LayerValidationError) Error() string

Error satisfies the builtin error interface

func (LayerValidationError) ErrorName

func (e LayerValidationError) ErrorName() string

ErrorName returns error name.

func (LayerValidationError) Field

func (e LayerValidationError) Field() string

Field function returns field value.

func (LayerValidationError) Key

func (e LayerValidationError) Key() bool

Key function returns key value.

func (LayerValidationError) Reason

func (e LayerValidationError) Reason() string

Reason function returns reason value.

type Layer_AptPackages

type Layer_AptPackages struct {
	// Apt packages to install.
	AptPackages *AptPackages `protobuf:"bytes,1,opt,name=apt_packages,json=aptPackages,proto3,oneof"`
}

type Layer_Commands

type Layer_Commands struct {
	// Custom command to run.
	Commands *Commands `protobuf:"bytes,3,opt,name=commands,proto3,oneof"`
}

type Layer_CopyConfig

type Layer_CopyConfig struct {
	// Copy files/directories into the image.
	CopyConfig *CopyConfig `protobuf:"bytes,7,opt,name=copy_config,json=copyConfig,proto3,oneof"`
}

type Layer_Env

type Layer_Env struct {
	// Environment variables to set.
	Env *Env `protobuf:"bytes,9,opt,name=env,proto3,oneof"`
}

type Layer_PipPackages

type Layer_PipPackages struct {
	// Python packages to install.
	PipPackages *PipPackages `protobuf:"bytes,2,opt,name=pip_packages,json=pipPackages,proto3,oneof"`
}

type Layer_PythonWheels

type Layer_PythonWheels struct {
	// Python wheel file to use.
	PythonWheels *PythonWheels `protobuf:"bytes,5,opt,name=python_wheels,json=pythonWheels,proto3,oneof"`
}

type Layer_Requirements

type Layer_Requirements struct {
	// Requirements file to use.
	Requirements *Requirements `protobuf:"bytes,4,opt,name=requirements,proto3,oneof"`
}

type Layer_UvProject

type Layer_UvProject struct {
	// UV project configuration.
	UvProject *UVProject `protobuf:"bytes,8,opt,name=uv_project,json=uvProject,proto3,oneof"`
}

type Layer_Workdir

type Layer_Workdir struct {
	// Working directory to set.
	Workdir *WorkDir `protobuf:"bytes,6,opt,name=workdir,proto3,oneof"`
}

type PipOptions

type PipOptions struct {

	// Optional index URL for pip packages
	IndexUrl string `protobuf:"bytes,2,opt,name=index_url,json=indexUrl,proto3" json:"index_url,omitempty"`
	// Optional list of extra index URLs for pip packages
	ExtraIndexUrls []string `protobuf:"bytes,3,rep,name=extra_index_urls,json=extraIndexUrls,proto3" json:"extra_index_urls,omitempty"`
	// Optional pre-release flag for pip packages
	Pre bool `protobuf:"varint,4,opt,name=pre,proto3" json:"pre,omitempty"`
	// Optional extra arguments for pip install command
	ExtraArgs string `protobuf:"bytes,5,opt,name=extra_args,json=extraArgs,proto3" json:"extra_args,omitempty"`
	// contains filtered or unexported fields
}

PipOptions defines options for pip packages to install in the image.

func (*PipOptions) Descriptor deprecated

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

Deprecated: Use PipOptions.ProtoReflect.Descriptor instead.

func (*PipOptions) GetExtraArgs

func (x *PipOptions) GetExtraArgs() string

func (*PipOptions) GetExtraIndexUrls

func (x *PipOptions) GetExtraIndexUrls() []string

func (*PipOptions) GetIndexUrl

func (x *PipOptions) GetIndexUrl() string

func (*PipOptions) GetPre

func (x *PipOptions) GetPre() bool

func (*PipOptions) ProtoMessage

func (*PipOptions) ProtoMessage()

func (*PipOptions) ProtoReflect

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

func (*PipOptions) Reset

func (x *PipOptions) Reset()

func (*PipOptions) String

func (x *PipOptions) String() string

func (*PipOptions) Validate

func (m *PipOptions) Validate() error

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

func (m *PipOptions) ValidateAll() error

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

type PipOptionsMultiError

type PipOptionsMultiError []error

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

func (PipOptionsMultiError) AllErrors

func (m PipOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipOptionsMultiError) Error

func (m PipOptionsMultiError) Error() string

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

type PipOptionsValidationError

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

PipOptionsValidationError is the validation error returned by PipOptions.Validate if the designated constraints aren't met.

func (PipOptionsValidationError) Cause

func (e PipOptionsValidationError) Cause() error

Cause function returns cause value.

func (PipOptionsValidationError) Error

Error satisfies the builtin error interface

func (PipOptionsValidationError) ErrorName

func (e PipOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (PipOptionsValidationError) Field

Field function returns field value.

func (PipOptionsValidationError) Key

Key function returns key value.

func (PipOptionsValidationError) Reason

func (e PipOptionsValidationError) Reason() string

Reason function returns reason value.

type PipPackages

type PipPackages struct {

	// List of pip packages to install
	Packages []string `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
	// Options for pip packages.
	Options *PipOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

PipPackages defines a list of pip packages to install in the image.

func (*PipPackages) Descriptor deprecated

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

Deprecated: Use PipPackages.ProtoReflect.Descriptor instead.

func (*PipPackages) GetOptions

func (x *PipPackages) GetOptions() *PipOptions

func (*PipPackages) GetPackages

func (x *PipPackages) GetPackages() []string

func (*PipPackages) ProtoMessage

func (*PipPackages) ProtoMessage()

func (*PipPackages) ProtoReflect

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

func (*PipPackages) Reset

func (x *PipPackages) Reset()

func (*PipPackages) String

func (x *PipPackages) String() string

func (*PipPackages) Validate

func (m *PipPackages) Validate() error

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

func (m *PipPackages) ValidateAll() error

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

type PipPackagesMultiError

type PipPackagesMultiError []error

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

func (PipPackagesMultiError) AllErrors

func (m PipPackagesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipPackagesMultiError) Error

func (m PipPackagesMultiError) Error() string

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

type PipPackagesValidationError

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

PipPackagesValidationError is the validation error returned by PipPackages.Validate if the designated constraints aren't met.

func (PipPackagesValidationError) Cause

Cause function returns cause value.

func (PipPackagesValidationError) Error

Error satisfies the builtin error interface

func (PipPackagesValidationError) ErrorName

func (e PipPackagesValidationError) ErrorName() string

ErrorName returns error name.

func (PipPackagesValidationError) Field

Field function returns field value.

func (PipPackagesValidationError) Key

Key function returns key value.

func (PipPackagesValidationError) Reason

Reason function returns reason value.

type PythonWheels

type PythonWheels struct {

	// The directory containing Python wheel files.
	Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
	// Options for pip packages.
	Options *PipOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*PythonWheels) Descriptor deprecated

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

Deprecated: Use PythonWheels.ProtoReflect.Descriptor instead.

func (*PythonWheels) GetDir

func (x *PythonWheels) GetDir() string

func (*PythonWheels) GetOptions

func (x *PythonWheels) GetOptions() *PipOptions

func (*PythonWheels) ProtoMessage

func (*PythonWheels) ProtoMessage()

func (*PythonWheels) ProtoReflect

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

func (*PythonWheels) Reset

func (x *PythonWheels) Reset()

func (*PythonWheels) String

func (x *PythonWheels) String() string

func (*PythonWheels) Validate

func (m *PythonWheels) Validate() error

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

func (m *PythonWheels) ValidateAll() error

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

type PythonWheelsMultiError

type PythonWheelsMultiError []error

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

func (PythonWheelsMultiError) AllErrors

func (m PythonWheelsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PythonWheelsMultiError) Error

func (m PythonWheelsMultiError) Error() string

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

type PythonWheelsValidationError

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

PythonWheelsValidationError is the validation error returned by PythonWheels.Validate if the designated constraints aren't met.

func (PythonWheelsValidationError) Cause

Cause function returns cause value.

func (PythonWheelsValidationError) Error

Error satisfies the builtin error interface

func (PythonWheelsValidationError) ErrorName

func (e PythonWheelsValidationError) ErrorName() string

ErrorName returns error name.

func (PythonWheelsValidationError) Field

Field function returns field value.

func (PythonWheelsValidationError) Key

Key function returns key value.

func (PythonWheelsValidationError) Reason

Reason function returns reason value.

type Requirements

type Requirements struct {

	// The requirements file to use.
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// Options for pip packages.
	Options *PipOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Requirements defines a python requirements file to use in the image.

func (*Requirements) Descriptor deprecated

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

Deprecated: Use Requirements.ProtoReflect.Descriptor instead.

func (*Requirements) GetFile

func (x *Requirements) GetFile() string

func (*Requirements) GetOptions

func (x *Requirements) GetOptions() *PipOptions

func (*Requirements) ProtoMessage

func (*Requirements) ProtoMessage()

func (*Requirements) ProtoReflect

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

func (*Requirements) Reset

func (x *Requirements) Reset()

func (*Requirements) String

func (x *Requirements) String() string

func (*Requirements) Validate

func (m *Requirements) Validate() error

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

func (m *Requirements) ValidateAll() error

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

type RequirementsMultiError

type RequirementsMultiError []error

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

func (RequirementsMultiError) AllErrors

func (m RequirementsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RequirementsMultiError) Error

func (m RequirementsMultiError) Error() string

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

type RequirementsValidationError

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

RequirementsValidationError is the validation error returned by Requirements.Validate if the designated constraints aren't met.

func (RequirementsValidationError) Cause

Cause function returns cause value.

func (RequirementsValidationError) Error

Error satisfies the builtin error interface

func (RequirementsValidationError) ErrorName

func (e RequirementsValidationError) ErrorName() string

ErrorName returns error name.

func (RequirementsValidationError) Field

Field function returns field value.

func (RequirementsValidationError) Key

Key function returns key value.

func (RequirementsValidationError) Reason

Reason function returns reason value.

type UVProject

type UVProject struct {
	Pyproject string `protobuf:"bytes,1,opt,name=pyproject,proto3" json:"pyproject,omitempty"`
	Uvlock    string `protobuf:"bytes,2,opt,name=uvlock,proto3" json:"uvlock,omitempty"`
	// Options for pip packages.
	Options *PipOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

UVProject defines a UV project configuration, which includes a pyproject.toml file and a uvlock file.

func (*UVProject) Descriptor deprecated

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

Deprecated: Use UVProject.ProtoReflect.Descriptor instead.

func (*UVProject) GetOptions

func (x *UVProject) GetOptions() *PipOptions

func (*UVProject) GetPyproject

func (x *UVProject) GetPyproject() string

func (*UVProject) GetUvlock

func (x *UVProject) GetUvlock() string

func (*UVProject) ProtoMessage

func (*UVProject) ProtoMessage()

func (*UVProject) ProtoReflect

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

func (*UVProject) Reset

func (x *UVProject) Reset()

func (*UVProject) String

func (x *UVProject) String() string

func (*UVProject) Validate

func (m *UVProject) Validate() error

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

func (m *UVProject) ValidateAll() error

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

type UVProjectMultiError

type UVProjectMultiError []error

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

func (UVProjectMultiError) AllErrors

func (m UVProjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UVProjectMultiError) Error

func (m UVProjectMultiError) Error() string

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

type UVProjectValidationError

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

UVProjectValidationError is the validation error returned by UVProject.Validate if the designated constraints aren't met.

func (UVProjectValidationError) Cause

func (e UVProjectValidationError) Cause() error

Cause function returns cause value.

func (UVProjectValidationError) Error

func (e UVProjectValidationError) Error() string

Error satisfies the builtin error interface

func (UVProjectValidationError) ErrorName

func (e UVProjectValidationError) ErrorName() string

ErrorName returns error name.

func (UVProjectValidationError) Field

func (e UVProjectValidationError) Field() string

Field function returns field value.

func (UVProjectValidationError) Key

Key function returns key value.

func (UVProjectValidationError) Reason

func (e UVProjectValidationError) Reason() string

Reason function returns reason value.

type UnimplementedImageServiceServer

type UnimplementedImageServiceServer struct {
}

UnimplementedImageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedImageServiceServer) GetImage

type UnsafeImageServiceServer

type UnsafeImageServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeImageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImageServiceServer will result in compilation errors.

type WorkDir

type WorkDir struct {

	// The working directory to use.
	Workdir string `protobuf:"bytes,1,opt,name=workdir,proto3" json:"workdir,omitempty"`
	// contains filtered or unexported fields
}

WorkDir defines the working directory to set in the image.

func (*WorkDir) Descriptor deprecated

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

Deprecated: Use WorkDir.ProtoReflect.Descriptor instead.

func (*WorkDir) GetWorkdir

func (x *WorkDir) GetWorkdir() string

func (*WorkDir) ProtoMessage

func (*WorkDir) ProtoMessage()

func (*WorkDir) ProtoReflect

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

func (*WorkDir) Reset

func (x *WorkDir) Reset()

func (*WorkDir) String

func (x *WorkDir) String() string

func (*WorkDir) Validate

func (m *WorkDir) Validate() error

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

func (m *WorkDir) ValidateAll() error

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

type WorkDirMultiError

type WorkDirMultiError []error

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

func (WorkDirMultiError) AllErrors

func (m WorkDirMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WorkDirMultiError) Error

func (m WorkDirMultiError) Error() string

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

type WorkDirValidationError

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

WorkDirValidationError is the validation error returned by WorkDir.Validate if the designated constraints aren't met.

func (WorkDirValidationError) Cause

func (e WorkDirValidationError) Cause() error

Cause function returns cause value.

func (WorkDirValidationError) Error

func (e WorkDirValidationError) Error() string

Error satisfies the builtin error interface

func (WorkDirValidationError) ErrorName

func (e WorkDirValidationError) ErrorName() string

ErrorName returns error name.

func (WorkDirValidationError) Field

func (e WorkDirValidationError) Field() string

Field function returns field value.

func (WorkDirValidationError) Key

func (e WorkDirValidationError) Key() bool

Key function returns key value.

func (WorkDirValidationError) Reason

func (e WorkDirValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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