Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)
- type AptPackages
- func (*AptPackages) Descriptor() ([]byte, []int)deprecated
- func (x *AptPackages) GetPackages() []string
- func (*AptPackages) ProtoMessage()
- func (x *AptPackages) ProtoReflect() protoreflect.Message
- func (x *AptPackages) Reset()
- func (x *AptPackages) String() string
- func (m *AptPackages) Validate() error
- func (m *AptPackages) ValidateAll() error
- type AptPackagesMultiError
- type AptPackagesValidationError
- func (e AptPackagesValidationError) Cause() error
- func (e AptPackagesValidationError) Error() string
- func (e AptPackagesValidationError) ErrorName() string
- func (e AptPackagesValidationError) Field() string
- func (e AptPackagesValidationError) Key() bool
- func (e AptPackagesValidationError) Reason() string
- type Commands
- func (*Commands) Descriptor() ([]byte, []int)deprecated
- func (x *Commands) GetCmd() []string
- func (*Commands) ProtoMessage()
- func (x *Commands) ProtoReflect() protoreflect.Message
- func (x *Commands) Reset()
- func (x *Commands) String() string
- func (m *Commands) Validate() error
- func (m *Commands) ValidateAll() error
- type CommandsMultiError
- type CommandsValidationError
- type CopyConfig
- func (*CopyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CopyConfig) GetDst() string
- func (x *CopyConfig) GetSrc() string
- func (*CopyConfig) ProtoMessage()
- func (x *CopyConfig) ProtoReflect() protoreflect.Message
- func (x *CopyConfig) Reset()
- func (x *CopyConfig) String() string
- func (m *CopyConfig) Validate() error
- func (m *CopyConfig) ValidateAll() error
- type CopyConfigMultiError
- type CopyConfigValidationError
- type Env
- type EnvMultiError
- type EnvValidationError
- type GetImageRequest
- func (*GetImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetImageRequest) GetId() *ImageIdentifier
- func (x *GetImageRequest) GetOrganization() string
- func (*GetImageRequest) ProtoMessage()
- func (x *GetImageRequest) ProtoReflect() protoreflect.Message
- func (x *GetImageRequest) Reset()
- func (x *GetImageRequest) String() string
- func (m *GetImageRequest) Validate() error
- func (m *GetImageRequest) ValidateAll() error
- type GetImageRequestMultiError
- type GetImageRequestValidationError
- func (e GetImageRequestValidationError) Cause() error
- func (e GetImageRequestValidationError) Error() string
- func (e GetImageRequestValidationError) ErrorName() string
- func (e GetImageRequestValidationError) Field() string
- func (e GetImageRequestValidationError) Key() bool
- func (e GetImageRequestValidationError) Reason() string
- type GetImageResponse
- func (*GetImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetImageResponse) GetImage() *Image
- func (*GetImageResponse) ProtoMessage()
- func (x *GetImageResponse) ProtoReflect() protoreflect.Message
- func (x *GetImageResponse) Reset()
- func (x *GetImageResponse) String() string
- func (m *GetImageResponse) Validate() error
- func (m *GetImageResponse) ValidateAll() error
- type GetImageResponseMultiError
- type GetImageResponseValidationError
- func (e GetImageResponseValidationError) Cause() error
- func (e GetImageResponseValidationError) Error() string
- func (e GetImageResponseValidationError) ErrorName() string
- func (e GetImageResponseValidationError) Field() string
- func (e GetImageResponseValidationError) Key() bool
- func (e GetImageResponseValidationError) Reason() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetFqin() string
- func (x *Image) GetId() *ImageIdentifier
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- func (m *Image) Validate() error
- func (m *Image) ValidateAll() error
- type ImageIdentifier
- func (*ImageIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ImageIdentifier) GetName() string
- func (*ImageIdentifier) ProtoMessage()
- func (x *ImageIdentifier) ProtoReflect() protoreflect.Message
- func (x *ImageIdentifier) Reset()
- func (x *ImageIdentifier) String() string
- func (m *ImageIdentifier) Validate() error
- func (m *ImageIdentifier) ValidateAll() error
- type ImageIdentifierMultiError
- type ImageIdentifierValidationError
- func (e ImageIdentifierValidationError) Cause() error
- func (e ImageIdentifierValidationError) Error() string
- func (e ImageIdentifierValidationError) ErrorName() string
- func (e ImageIdentifierValidationError) Field() string
- func (e ImageIdentifierValidationError) Key() bool
- func (e ImageIdentifierValidationError) Reason() string
- type ImageMultiError
- type ImageServiceClient
- type ImageServiceServer
- type ImageSpec
- func (*ImageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ImageSpec) GetBaseImage() string
- func (x *ImageSpec) GetLayers() []*Layer
- func (x *ImageSpec) GetPlatform() []string
- func (x *ImageSpec) GetPythonVersion() string
- func (*ImageSpec) ProtoMessage()
- func (x *ImageSpec) ProtoReflect() protoreflect.Message
- func (x *ImageSpec) Reset()
- func (x *ImageSpec) String() string
- func (m *ImageSpec) Validate() error
- func (m *ImageSpec) ValidateAll() error
- type ImageSpecMultiError
- type ImageSpecValidationError
- type ImageValidationError
- type Layer
- func (*Layer) Descriptor() ([]byte, []int)deprecated
- func (x *Layer) GetAptPackages() *AptPackages
- func (x *Layer) GetCommands() *Commands
- func (x *Layer) GetCopyConfig() *CopyConfig
- func (x *Layer) GetEnv() *Env
- func (m *Layer) GetLayer() isLayer_Layer
- func (x *Layer) GetPipPackages() *PipPackages
- func (x *Layer) GetPythonWheels() *PythonWheels
- func (x *Layer) GetRequirements() *Requirements
- func (x *Layer) GetUvProject() *UVProject
- func (x *Layer) GetWorkdir() *WorkDir
- func (*Layer) ProtoMessage()
- func (x *Layer) ProtoReflect() protoreflect.Message
- func (x *Layer) Reset()
- func (x *Layer) String() string
- func (m *Layer) Validate() error
- func (m *Layer) ValidateAll() error
- type LayerMultiError
- type LayerValidationError
- type Layer_AptPackages
- type Layer_Commands
- type Layer_CopyConfig
- type Layer_Env
- type Layer_PipPackages
- type Layer_PythonWheels
- type Layer_Requirements
- type Layer_UvProject
- type Layer_Workdir
- type PipOptions
- func (*PipOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PipOptions) GetExtraArgs() string
- func (x *PipOptions) GetExtraIndexUrls() []string
- func (x *PipOptions) GetIndexUrl() string
- func (x *PipOptions) GetPre() bool
- func (*PipOptions) ProtoMessage()
- func (x *PipOptions) ProtoReflect() protoreflect.Message
- func (x *PipOptions) Reset()
- func (x *PipOptions) String() string
- func (m *PipOptions) Validate() error
- func (m *PipOptions) ValidateAll() error
- type PipOptionsMultiError
- type PipOptionsValidationError
- type PipPackages
- func (*PipPackages) Descriptor() ([]byte, []int)deprecated
- func (x *PipPackages) GetOptions() *PipOptions
- func (x *PipPackages) GetPackages() []string
- func (*PipPackages) ProtoMessage()
- func (x *PipPackages) ProtoReflect() protoreflect.Message
- func (x *PipPackages) Reset()
- func (x *PipPackages) String() string
- func (m *PipPackages) Validate() error
- func (m *PipPackages) ValidateAll() error
- type PipPackagesMultiError
- type PipPackagesValidationError
- func (e PipPackagesValidationError) Cause() error
- func (e PipPackagesValidationError) Error() string
- func (e PipPackagesValidationError) ErrorName() string
- func (e PipPackagesValidationError) Field() string
- func (e PipPackagesValidationError) Key() bool
- func (e PipPackagesValidationError) Reason() string
- type PythonWheels
- func (*PythonWheels) Descriptor() ([]byte, []int)deprecated
- func (x *PythonWheels) GetDir() string
- func (x *PythonWheels) GetOptions() *PipOptions
- func (*PythonWheels) ProtoMessage()
- func (x *PythonWheels) ProtoReflect() protoreflect.Message
- func (x *PythonWheels) Reset()
- func (x *PythonWheels) String() string
- func (m *PythonWheels) Validate() error
- func (m *PythonWheels) ValidateAll() error
- type PythonWheelsMultiError
- type PythonWheelsValidationError
- func (e PythonWheelsValidationError) Cause() error
- func (e PythonWheelsValidationError) Error() string
- func (e PythonWheelsValidationError) ErrorName() string
- func (e PythonWheelsValidationError) Field() string
- func (e PythonWheelsValidationError) Key() bool
- func (e PythonWheelsValidationError) Reason() string
- type Requirements
- func (*Requirements) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements) GetFile() string
- func (x *Requirements) GetOptions() *PipOptions
- func (*Requirements) ProtoMessage()
- func (x *Requirements) ProtoReflect() protoreflect.Message
- func (x *Requirements) Reset()
- func (x *Requirements) String() string
- func (m *Requirements) Validate() error
- func (m *Requirements) ValidateAll() error
- type RequirementsMultiError
- type RequirementsValidationError
- func (e RequirementsValidationError) Cause() error
- func (e RequirementsValidationError) Error() string
- func (e RequirementsValidationError) ErrorName() string
- func (e RequirementsValidationError) Field() string
- func (e RequirementsValidationError) Key() bool
- func (e RequirementsValidationError) Reason() string
- type UVProject
- func (*UVProject) Descriptor() ([]byte, []int)deprecated
- func (x *UVProject) GetOptions() *PipOptions
- func (x *UVProject) GetPyproject() string
- func (x *UVProject) GetUvlock() string
- func (*UVProject) ProtoMessage()
- func (x *UVProject) ProtoReflect() protoreflect.Message
- func (x *UVProject) Reset()
- func (x *UVProject) String() string
- func (m *UVProject) Validate() error
- func (m *UVProject) ValidateAll() error
- type UVProjectMultiError
- type UVProjectValidationError
- type UnimplementedImageServiceServer
- type UnsafeImageServiceServer
- type WorkDir
- func (*WorkDir) Descriptor() ([]byte, []int)deprecated
- func (x *WorkDir) GetWorkdir() string
- func (*WorkDir) ProtoMessage()
- func (x *WorkDir) ProtoReflect() protoreflect.Message
- func (x *WorkDir) Reset()
- func (x *WorkDir) String() string
- func (m *WorkDir) Validate() error
- func (m *WorkDir) ValidateAll() error
- type WorkDirMultiError
- type WorkDirValidationError
Constants ¶
const (
ImageService_GetImage_FullMethodName = "/flyteidl.imagebuilder.ImageService/GetImage"
)
Variables ¶
var File_imagebuilder_definition_proto protoreflect.FileDescriptor
var File_imagebuilder_payload_proto protoreflect.FileDescriptor
var File_imagebuilder_service_proto protoreflect.FileDescriptor
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 ¶
func (e AptPackagesValidationError) Cause() error
Cause function returns cause value.
func (AptPackagesValidationError) Error ¶
func (e AptPackagesValidationError) Error() string
Error satisfies the builtin error interface
func (AptPackagesValidationError) ErrorName ¶
func (e AptPackagesValidationError) ErrorName() string
ErrorName returns error name.
func (AptPackagesValidationError) Field ¶
func (e AptPackagesValidationError) Field() string
Field function returns field value.
func (AptPackagesValidationError) Key ¶
func (e AptPackagesValidationError) Key() bool
Key function returns key value.
func (AptPackagesValidationError) Reason ¶
func (e AptPackagesValidationError) Reason() string
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) ProtoMessage ¶
func (*Commands) ProtoMessage()
func (*Commands) ProtoReflect ¶
func (x *Commands) ProtoReflect() protoreflect.Message
func (*Commands) Validate ¶
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 ¶
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 ¶
func (e CopyConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CopyConfigValidationError) ErrorName ¶
func (e CopyConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CopyConfigValidationError) Field ¶
func (e CopyConfigValidationError) Field() string
Field function returns field value.
func (CopyConfigValidationError) Key ¶
func (e CopyConfigValidationError) Key() bool
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) GetEnvVariables ¶
func (*Env) ProtoMessage ¶
func (*Env) ProtoMessage()
func (*Env) ProtoReflect ¶
func (x *Env) ProtoReflect() protoreflect.Message
func (*Env) Validate ¶
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 ¶
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 ¶
func (m GetImageRequestMultiError) Error() string
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 ¶
func (e GetImageRequestValidationError) Cause() error
Cause function returns cause value.
func (GetImageRequestValidationError) Error ¶
func (e GetImageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetImageRequestValidationError) ErrorName ¶
func (e GetImageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetImageRequestValidationError) Field ¶
func (e GetImageRequestValidationError) Field() string
Field function returns field value.
func (GetImageRequestValidationError) Key ¶
func (e GetImageRequestValidationError) Key() bool
Key function returns key value.
func (GetImageRequestValidationError) Reason ¶
func (e GetImageRequestValidationError) Reason() string
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 ¶
func (m GetImageResponseMultiError) Error() string
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 ¶
func (e GetImageResponseValidationError) Cause() error
Cause function returns cause value.
func (GetImageResponseValidationError) Error ¶
func (e GetImageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetImageResponseValidationError) ErrorName ¶
func (e GetImageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetImageResponseValidationError) Field ¶
func (e GetImageResponseValidationError) Field() string
Field function returns field value.
func (GetImageResponseValidationError) Key ¶
func (e GetImageResponseValidationError) Key() bool
Key function returns key value.
func (GetImageResponseValidationError) Reason ¶
func (e GetImageResponseValidationError) Reason() string
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) GetId ¶
func (x *Image) GetId() *ImageIdentifier
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
func (*Image) Validate ¶
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 ¶
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 ¶
func (m ImageIdentifierMultiError) Error() string
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 ¶
func (e ImageIdentifierValidationError) Cause() error
Cause function returns cause value.
func (ImageIdentifierValidationError) Error ¶
func (e ImageIdentifierValidationError) Error() string
Error satisfies the builtin error interface
func (ImageIdentifierValidationError) ErrorName ¶
func (e ImageIdentifierValidationError) ErrorName() string
ErrorName returns error name.
func (ImageIdentifierValidationError) Field ¶
func (e ImageIdentifierValidationError) Field() string
Field function returns field value.
func (ImageIdentifierValidationError) Key ¶
func (e ImageIdentifierValidationError) Key() bool
Key function returns key value.
func (ImageIdentifierValidationError) Reason ¶
func (e ImageIdentifierValidationError) Reason() string
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.
func NewImageServiceClient ¶
func NewImageServiceClient(cc grpc.ClientConnInterface) ImageServiceClient
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) GetBaseImage ¶
func (*ImageSpec) GetPlatform ¶
func (*ImageSpec) GetPythonVersion ¶
func (*ImageSpec) ProtoMessage ¶
func (*ImageSpec) ProtoMessage()
func (*ImageSpec) ProtoReflect ¶
func (x *ImageSpec) ProtoReflect() protoreflect.Message
func (*ImageSpec) Validate ¶
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 ¶
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 ¶
func (e ImageSpecValidationError) Key() bool
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) GetAptPackages ¶
func (x *Layer) GetAptPackages() *AptPackages
func (*Layer) GetCommands ¶
func (*Layer) GetCopyConfig ¶
func (x *Layer) GetCopyConfig() *CopyConfig
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 (*Layer) GetWorkdir ¶
func (*Layer) ProtoMessage ¶
func (*Layer) ProtoMessage()
func (*Layer) ProtoReflect ¶
func (x *Layer) ProtoReflect() protoreflect.Message
func (*Layer) Validate ¶
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 ¶
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 ¶
func (e PipOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (PipOptionsValidationError) ErrorName ¶
func (e PipOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (PipOptionsValidationError) Field ¶
func (e PipOptionsValidationError) Field() string
Field function returns field value.
func (PipOptionsValidationError) Key ¶
func (e PipOptionsValidationError) Key() bool
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 ¶
func (e PipPackagesValidationError) Cause() error
Cause function returns cause value.
func (PipPackagesValidationError) Error ¶
func (e PipPackagesValidationError) Error() string
Error satisfies the builtin error interface
func (PipPackagesValidationError) ErrorName ¶
func (e PipPackagesValidationError) ErrorName() string
ErrorName returns error name.
func (PipPackagesValidationError) Field ¶
func (e PipPackagesValidationError) Field() string
Field function returns field value.
func (PipPackagesValidationError) Key ¶
func (e PipPackagesValidationError) Key() bool
Key function returns key value.
func (PipPackagesValidationError) Reason ¶
func (e PipPackagesValidationError) Reason() string
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 ¶
func (e PythonWheelsValidationError) Cause() error
Cause function returns cause value.
func (PythonWheelsValidationError) Error ¶
func (e PythonWheelsValidationError) Error() string
Error satisfies the builtin error interface
func (PythonWheelsValidationError) ErrorName ¶
func (e PythonWheelsValidationError) ErrorName() string
ErrorName returns error name.
func (PythonWheelsValidationError) Field ¶
func (e PythonWheelsValidationError) Field() string
Field function returns field value.
func (PythonWheelsValidationError) Key ¶
func (e PythonWheelsValidationError) Key() bool
Key function returns key value.
func (PythonWheelsValidationError) Reason ¶
func (e PythonWheelsValidationError) Reason() string
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 ¶
func (e RequirementsValidationError) Cause() error
Cause function returns cause value.
func (RequirementsValidationError) Error ¶
func (e RequirementsValidationError) Error() string
Error satisfies the builtin error interface
func (RequirementsValidationError) ErrorName ¶
func (e RequirementsValidationError) ErrorName() string
ErrorName returns error name.
func (RequirementsValidationError) Field ¶
func (e RequirementsValidationError) Field() string
Field function returns field value.
func (RequirementsValidationError) Key ¶
func (e RequirementsValidationError) Key() bool
Key function returns key value.
func (RequirementsValidationError) Reason ¶
func (e RequirementsValidationError) Reason() string
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) GetOptions ¶
func (x *UVProject) GetOptions() *PipOptions
func (*UVProject) GetPyproject ¶
func (*UVProject) ProtoMessage ¶
func (*UVProject) ProtoMessage()
func (*UVProject) ProtoReflect ¶
func (x *UVProject) ProtoReflect() protoreflect.Message
func (*UVProject) Validate ¶
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 ¶
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 ¶
func (e UVProjectValidationError) Key() bool
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 ¶
func (UnimplementedImageServiceServer) GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error)
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) GetWorkdir ¶
func (*WorkDir) ProtoMessage ¶
func (*WorkDir) ProtoMessage()
func (*WorkDir) ProtoReflect ¶
func (x *WorkDir) ProtoReflect() protoreflect.Message
func (*WorkDir) Validate ¶
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 ¶
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.