Documentation ¶
Index ¶
- Variables
- func RegisterBlueprintProviderServer(s grpc.ServiceRegistrar, srv BlueprintProviderServer)
- type Blueprint
- func (*Blueprint) Descriptor() ([]byte, []int)deprecated
- func (x *Blueprint) GetArgs() string
- func (x *Blueprint) GetCommunication() *Communication
- func (x *Blueprint) GetConfigurationVolume() *ConfigurationVolume
- func (x *Blueprint) GetEnvVars() []*EnvVar
- func (x *Blueprint) GetImage() *Image
- func (x *Blueprint) GetPhases() *BlueprintPhases
- func (x *Blueprint) GetReadyCheck() *ReadyCheck
- func (x *Blueprint) GetSettings() string
- func (*Blueprint) ProtoMessage()
- func (x *Blueprint) ProtoReflect() protoreflect.Message
- func (x *Blueprint) Reset()
- func (x *Blueprint) String() string
- type BlueprintData
- func (*BlueprintData) Descriptor() ([]byte, []int)deprecated
- func (x *BlueprintData) GetSelectedFiles() []*filesystem.FileSelection
- func (x *BlueprintData) GetServerData() *ServerData
- func (x *BlueprintData) GetSettings() string
- func (x *BlueprintData) GetVersion() *Version
- func (*BlueprintData) ProtoMessage()
- func (x *BlueprintData) ProtoReflect() protoreflect.Message
- func (x *BlueprintData) Reset()
- func (x *BlueprintData) String() string
- type BlueprintPhase
- func (BlueprintPhase) Descriptor() protoreflect.EnumDescriptor
- func (x BlueprintPhase) Enum() *BlueprintPhase
- func (BlueprintPhase) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlueprintPhase) Number() protoreflect.EnumNumber
- func (x BlueprintPhase) String() string
- func (BlueprintPhase) Type() protoreflect.EnumType
- type BlueprintPhases
- func (*BlueprintPhases) Descriptor() ([]byte, []int)deprecated
- func (x *BlueprintPhases) GetRun() *RunPhase
- func (x *BlueprintPhases) GetSetup() *SetupPhase
- func (*BlueprintPhases) ProtoMessage()
- func (x *BlueprintPhases) ProtoReflect() protoreflect.Message
- func (x *BlueprintPhases) Reset()
- func (x *BlueprintPhases) String() string
- type BlueprintProviderClient
- type BlueprintProviderServer
- type BlueprintSchema
- func (*BlueprintSchema) Descriptor() ([]byte, []int)deprecated
- func (x *BlueprintSchema) GetProviderConfig() *providerconfig.ProviderConfig
- func (x *BlueprintSchema) GetSettings() []byte
- func (*BlueprintSchema) ProtoMessage()
- func (x *BlueprintSchema) ProtoReflect() protoreflect.Message
- func (x *BlueprintSchema) Reset()
- func (x *BlueprintSchema) String() string
- type Communication
- type ConfigurationVolume
- func (*ConfigurationVolume) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationVolume) GetData() map[string]string
- func (x *ConfigurationVolume) GetDir() string
- func (*ConfigurationVolume) ProtoMessage()
- func (x *ConfigurationVolume) ProtoReflect() protoreflect.Message
- func (x *ConfigurationVolume) Reset()
- func (x *ConfigurationVolume) String() string
- type Endpoint
- type EnvVar
- type FileChangeOp
- func (FileChangeOp) Descriptor() protoreflect.EnumDescriptor
- func (x FileChangeOp) Enum() *FileChangeOp
- func (FileChangeOp) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileChangeOp) Number() protoreflect.EnumNumber
- func (x FileChangeOp) String() string
- func (FileChangeOp) Type() protoreflect.EnumType
- type FileTrigger
- func (*FileTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *FileTrigger) GetThen() []*FileTriggerAction
- func (x *FileTrigger) GetWhen() []*FileTriggerCondition
- func (*FileTrigger) ProtoMessage()
- func (x *FileTrigger) ProtoReflect() protoreflect.Message
- func (x *FileTrigger) Reset()
- func (x *FileTrigger) String() string
- type FileTriggerAction
- func (*FileTriggerAction) Descriptor() ([]byte, []int)deprecated
- func (x *FileTriggerAction) GetDownload() *actions.DownloadFile
- func (x *FileTriggerAction) GetExtract() *actions.ExtractFiles
- func (x *FileTriggerAction) GetRename() *actions.RenameFiles
- func (x *FileTriggerAction) GetUnzip() *actions.UnzipFile
- func (x *FileTriggerAction) GetUpload() *actions.UploadFile
- func (x *FileTriggerAction) GetZip() *actions.ZipFile
- func (*FileTriggerAction) ProtoMessage()
- func (x *FileTriggerAction) ProtoReflect() protoreflect.Message
- func (x *FileTriggerAction) Reset()
- func (x *FileTriggerAction) String() string
- type FileTriggerCondition
- func (*FileTriggerCondition) Descriptor() ([]byte, []int)deprecated
- func (x *FileTriggerCondition) GetDirectories() []string
- func (x *FileTriggerCondition) GetDoesntMatch() *filesystem.FileMatcher
- func (x *FileTriggerCondition) GetMatches() *filesystem.FileMatcher
- func (x *FileTriggerCondition) GetOp() []FileChangeOp
- func (*FileTriggerCondition) ProtoMessage()
- func (x *FileTriggerCondition) ProtoReflect() protoreflect.Message
- func (x *FileTriggerCondition) Reset()
- func (x *FileTriggerCondition) String() string
- type FileTriggerTemplateData
- func (*FileTriggerTemplateData) Descriptor() ([]byte, []int)deprecated
- func (x *FileTriggerTemplateData) GetAbs() string
- func (x *FileTriggerTemplateData) GetDir() string
- func (x *FileTriggerTemplateData) GetExt() string
- func (x *FileTriggerTemplateData) GetFilename() string
- func (x *FileTriggerTemplateData) GetName() string
- func (*FileTriggerTemplateData) ProtoMessage()
- func (x *FileTriggerTemplateData) ProtoReflect() protoreflect.Message
- func (x *FileTriggerTemplateData) Reset()
- func (x *FileTriggerTemplateData) String() string
- type GenerateBlueprint
- type GenerateBlueprint_Request
- func (*GenerateBlueprint_Request) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateBlueprint_Request) GetData() *BlueprintData
- func (*GenerateBlueprint_Request) ProtoMessage()
- func (x *GenerateBlueprint_Request) ProtoReflect() protoreflect.Message
- func (x *GenerateBlueprint_Request) Reset()
- func (x *GenerateBlueprint_Request) String() string
- type GenerateBlueprint_Response
- func (*GenerateBlueprint_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateBlueprint_Response) GetBlueprint() *Blueprint
- func (*GenerateBlueprint_Response) ProtoMessage()
- func (x *GenerateBlueprint_Response) ProtoReflect() protoreflect.Message
- func (x *GenerateBlueprint_Response) Reset()
- func (x *GenerateBlueprint_Response) String() string
- type GetBlueprintSchema
- type GetBlueprintSchema_Request
- type GetBlueprintSchema_Response
- func (*GetBlueprintSchema_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlueprintSchema_Response) GetBlueprintSchema() *BlueprintSchema
- func (*GetBlueprintSchema_Response) ProtoMessage()
- func (x *GetBlueprintSchema_Response) ProtoReflect() protoreflect.Message
- func (x *GetBlueprintSchema_Response) Reset()
- func (x *GetBlueprintSchema_Response) String() string
- type Image
- type ReadyCheck
- type RunPhase
- func (*RunPhase) Descriptor() ([]byte, []int)deprecated
- func (x *RunPhase) GetGid() int64
- func (x *RunPhase) GetTriggers() []*FileTrigger
- func (x *RunPhase) GetUid() int64
- func (*RunPhase) ProtoMessage()
- func (x *RunPhase) ProtoReflect() protoreflect.Message
- func (x *RunPhase) Reset()
- func (x *RunPhase) String() string
- type ServerData
- func (*ServerData) Descriptor() ([]byte, []int)deprecated
- func (x *ServerData) GetInitialMemory() uint32
- func (x *ServerData) GetMaxMemory() uint32
- func (*ServerData) ProtoMessage()
- func (x *ServerData) ProtoReflect() protoreflect.Message
- func (x *ServerData) Reset()
- func (x *ServerData) String() string
- type SetupAction
- func (*SetupAction) Descriptor() ([]byte, []int)deprecated
- func (x *SetupAction) GetDownload() *actions.DownloadFile
- func (x *SetupAction) GetExtract() *actions.ExtractFiles
- func (x *SetupAction) GetRename() *actions.RenameFiles
- func (x *SetupAction) GetUnzip() *actions.UnzipFile
- func (*SetupAction) ProtoMessage()
- func (x *SetupAction) ProtoReflect() protoreflect.Message
- func (x *SetupAction) Reset()
- func (x *SetupAction) String() string
- type SetupPhase
- func (*SetupPhase) Descriptor() ([]byte, []int)deprecated
- func (x *SetupPhase) GetActions() []*SetupAction
- func (x *SetupPhase) GetGid() int64
- func (x *SetupPhase) GetUid() int64
- func (*SetupPhase) ProtoMessage()
- func (x *SetupPhase) ProtoReflect() protoreflect.Message
- func (x *SetupPhase) Reset()
- func (x *SetupPhase) String() string
- type UnimplementedBlueprintProviderServer
- func (UnimplementedBlueprintProviderServer) GenerateBlueprint(context.Context, *GenerateBlueprint_Request) (*GenerateBlueprint_Response, error)
- func (UnimplementedBlueprintProviderServer) GetBlueprintSchema(context.Context, *GetBlueprintSchema_Request) (*GetBlueprintSchema_Response, error)
- func (UnimplementedBlueprintProviderServer) ValidateBlueprintData(context.Context, *ValidateBlueprintData_Request) (*ValidateBlueprintData_Response, error)
- type UnsafeBlueprintProviderServer
- type ValidateBlueprintData
- type ValidateBlueprintData_Request
- func (*ValidateBlueprintData_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateBlueprintData_Request) GetData() *BlueprintData
- func (*ValidateBlueprintData_Request) ProtoMessage()
- func (x *ValidateBlueprintData_Request) ProtoReflect() protoreflect.Message
- func (x *ValidateBlueprintData_Request) Reset()
- func (x *ValidateBlueprintData_Request) String() string
- type ValidateBlueprintData_Response
- func (*ValidateBlueprintData_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateBlueprintData_Response) GetValidation() *Validation
- func (*ValidateBlueprintData_Response) ProtoMessage()
- func (x *ValidateBlueprintData_Response) ProtoReflect() protoreflect.Message
- func (x *ValidateBlueprintData_Response) Reset()
- func (x *ValidateBlueprintData_Response) String() string
- type Validation
- func (*Validation) Descriptor() ([]byte, []int)deprecated
- func (x *Validation) GetDescription() string
- func (x *Validation) GetProblems() []*ValidationProblem
- func (*Validation) ProtoMessage()
- func (x *Validation) ProtoReflect() protoreflect.Message
- func (x *Validation) Reset()
- func (x *Validation) String() string
- type ValidationProblem
- func (*ValidationProblem) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationProblem) GetWhat() string
- func (x *ValidationProblem) GetWhere() string
- func (*ValidationProblem) ProtoMessage()
- func (x *ValidationProblem) ProtoReflect() protoreflect.Message
- func (x *ValidationProblem) Reset()
- func (x *ValidationProblem) String() string
- type Version
Constants ¶
This section is empty.
Variables ¶
var ( BlueprintPhase_name = map[int32]string{ 0: "BLUEPRINT_PHASE_UNSPECIFIED", 1: "BLUEPRINT_PHASE_SETUP", 2: "BLUEPRINT_PHASE_RUN", } BlueprintPhase_value = map[string]int32{ "BLUEPRINT_PHASE_UNSPECIFIED": 0, "BLUEPRINT_PHASE_SETUP": 1, "BLUEPRINT_PHASE_RUN": 2, } )
Enum value maps for BlueprintPhase.
var ( FileChangeOp_name = map[int32]string{ 0: "FILE_CHANGE_OP_UNSPECIFIED", 1: "FILE_CHANGE_OP_CREATE", 2: "FILE_CHANGE_OP_DELETE", 3: "FILE_CHANGE_OP_UPDATE", } FileChangeOp_value = map[string]int32{ "FILE_CHANGE_OP_UNSPECIFIED": 0, "FILE_CHANGE_OP_CREATE": 1, "FILE_CHANGE_OP_DELETE": 2, "FILE_CHANGE_OP_UPDATE": 3, } )
Enum value maps for FileChangeOp.
var BlueprintProvider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "hostfactor.blueprint.BlueprintProvider", HandlerType: (*BlueprintProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenerateBlueprint", Handler: _BlueprintProvider_GenerateBlueprint_Handler, }, { MethodName: "GetBlueprintSchema", Handler: _BlueprintProvider_GetBlueprintSchema_Handler, }, { MethodName: "ValidateBlueprintData", Handler: _BlueprintProvider_ValidateBlueprintData_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "blueprint/blueprint_provider.proto", }
BlueprintProvider_ServiceDesc is the grpc.ServiceDesc for BlueprintProvider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_blueprint_blueprint_proto protoreflect.FileDescriptor
var File_blueprint_blueprint_provider_proto protoreflect.FileDescriptor
var File_blueprint_file_trigger_proto protoreflect.FileDescriptor
var File_blueprint_setup_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBlueprintProviderServer ¶
func RegisterBlueprintProviderServer(s grpc.ServiceRegistrar, srv BlueprintProviderServer)
Types ¶
type Blueprint ¶
type Blueprint struct { Phases *BlueprintPhases `protobuf:"bytes,1,opt,name=phases,proto3" json:"phases,omitempty"` Args string `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` ReadyCheck *ReadyCheck `protobuf:"bytes,3,opt,name=ready_check,proto3" json:"ready_check,omitempty"` Communication *Communication `protobuf:"bytes,4,opt,name=communication,proto3" json:"communication,omitempty"` ConfigurationVolume *ConfigurationVolume `protobuf:"bytes,5,opt,name=configuration_volume,proto3" json:"configuration_volume,omitempty"` EnvVars []*EnvVar `protobuf:"bytes,6,rep,name=env_vars,proto3" json:"env_vars,omitempty"` Image *Image `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"` // The settings of the configuration rendered as JSON. The blueprint provider may mutate the original settings string // passed in in some way. Settings string `protobuf:"bytes,8,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*Blueprint) Descriptor
deprecated
func (*Blueprint) GetCommunication ¶
func (x *Blueprint) GetCommunication() *Communication
func (*Blueprint) GetConfigurationVolume ¶
func (x *Blueprint) GetConfigurationVolume() *ConfigurationVolume
func (*Blueprint) GetEnvVars ¶
func (*Blueprint) GetPhases ¶
func (x *Blueprint) GetPhases() *BlueprintPhases
func (*Blueprint) GetReadyCheck ¶
func (x *Blueprint) GetReadyCheck() *ReadyCheck
func (*Blueprint) GetSettings ¶
func (*Blueprint) ProtoMessage ¶
func (*Blueprint) ProtoMessage()
func (*Blueprint) ProtoReflect ¶
func (x *Blueprint) ProtoReflect() protoreflect.Message
type BlueprintData ¶
type BlueprintData struct { // User configuration. Any edits made to these settings need to be returned in the Blueprint. Settings string `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` SelectedFiles []*filesystem.FileSelection `protobuf:"bytes,2,rep,name=selected_files,proto3" json:"selected_files,omitempty"` // The user-specified version for the application. Version *Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // Data about the server that the blueprint will be run on. ServerData *ServerData `protobuf:"bytes,4,opt,name=server_data,proto3" json:"server_data,omitempty"` // contains filtered or unexported fields }
func (*BlueprintData) Descriptor
deprecated
func (*BlueprintData) Descriptor() ([]byte, []int)
Deprecated: Use BlueprintData.ProtoReflect.Descriptor instead.
func (*BlueprintData) GetSelectedFiles ¶
func (x *BlueprintData) GetSelectedFiles() []*filesystem.FileSelection
func (*BlueprintData) GetServerData ¶
func (x *BlueprintData) GetServerData() *ServerData
func (*BlueprintData) GetSettings ¶
func (x *BlueprintData) GetSettings() string
func (*BlueprintData) GetVersion ¶
func (x *BlueprintData) GetVersion() *Version
func (*BlueprintData) ProtoMessage ¶
func (*BlueprintData) ProtoMessage()
func (*BlueprintData) ProtoReflect ¶
func (x *BlueprintData) ProtoReflect() protoreflect.Message
func (*BlueprintData) Reset ¶
func (x *BlueprintData) Reset()
func (*BlueprintData) String ¶
func (x *BlueprintData) String() string
type BlueprintPhase ¶
type BlueprintPhase int32
const ( BlueprintPhase_BLUEPRINT_PHASE_UNSPECIFIED BlueprintPhase = 0 BlueprintPhase_BLUEPRINT_PHASE_SETUP BlueprintPhase = 1 BlueprintPhase_BLUEPRINT_PHASE_RUN BlueprintPhase = 2 )
func (BlueprintPhase) Descriptor ¶
func (BlueprintPhase) Descriptor() protoreflect.EnumDescriptor
func (BlueprintPhase) Enum ¶
func (x BlueprintPhase) Enum() *BlueprintPhase
func (BlueprintPhase) EnumDescriptor
deprecated
func (BlueprintPhase) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlueprintPhase.Descriptor instead.
func (BlueprintPhase) Number ¶
func (x BlueprintPhase) Number() protoreflect.EnumNumber
func (BlueprintPhase) String ¶
func (x BlueprintPhase) String() string
func (BlueprintPhase) Type ¶
func (BlueprintPhase) Type() protoreflect.EnumType
type BlueprintPhases ¶
type BlueprintPhases struct { Setup *SetupPhase `protobuf:"bytes,1,opt,name=setup,proto3" json:"setup,omitempty"` Run *RunPhase `protobuf:"bytes,2,opt,name=run,proto3" json:"run,omitempty"` // contains filtered or unexported fields }
func (*BlueprintPhases) Descriptor
deprecated
func (*BlueprintPhases) Descriptor() ([]byte, []int)
Deprecated: Use BlueprintPhases.ProtoReflect.Descriptor instead.
func (*BlueprintPhases) GetRun ¶
func (x *BlueprintPhases) GetRun() *RunPhase
func (*BlueprintPhases) GetSetup ¶
func (x *BlueprintPhases) GetSetup() *SetupPhase
func (*BlueprintPhases) ProtoMessage ¶
func (*BlueprintPhases) ProtoMessage()
func (*BlueprintPhases) ProtoReflect ¶
func (x *BlueprintPhases) ProtoReflect() protoreflect.Message
func (*BlueprintPhases) Reset ¶
func (x *BlueprintPhases) Reset()
func (*BlueprintPhases) String ¶
func (x *BlueprintPhases) String() string
type BlueprintProviderClient ¶
type BlueprintProviderClient interface { GenerateBlueprint(ctx context.Context, in *GenerateBlueprint_Request, opts ...grpc.CallOption) (*GenerateBlueprint_Response, error) GetBlueprintSchema(ctx context.Context, in *GetBlueprintSchema_Request, opts ...grpc.CallOption) (*GetBlueprintSchema_Response, error) ValidateBlueprintData(ctx context.Context, in *ValidateBlueprintData_Request, opts ...grpc.CallOption) (*ValidateBlueprintData_Response, error) }
BlueprintProviderClient is the client API for BlueprintProvider 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 NewBlueprintProviderClient ¶
func NewBlueprintProviderClient(cc grpc.ClientConnInterface) BlueprintProviderClient
type BlueprintProviderServer ¶
type BlueprintProviderServer interface { GenerateBlueprint(context.Context, *GenerateBlueprint_Request) (*GenerateBlueprint_Response, error) GetBlueprintSchema(context.Context, *GetBlueprintSchema_Request) (*GetBlueprintSchema_Response, error) ValidateBlueprintData(context.Context, *ValidateBlueprintData_Request) (*ValidateBlueprintData_Response, error) }
BlueprintProviderServer is the server API for BlueprintProvider service. All implementations should embed UnimplementedBlueprintProviderServer for forward compatibility
type BlueprintSchema ¶
type BlueprintSchema struct { ProviderConfig *providerconfig.ProviderConfig `protobuf:"bytes,1,opt,name=provider_config,proto3" json:"provider_config,omitempty"` // The JSON schema for the custom settings of the blueprint. The BlueprintData.settings that are passed will be // guaranteed to conform to this JSON schema. This JSON schema is enforced on the frontend and must be set. Settings []byte `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*BlueprintSchema) Descriptor
deprecated
func (*BlueprintSchema) Descriptor() ([]byte, []int)
Deprecated: Use BlueprintSchema.ProtoReflect.Descriptor instead.
func (*BlueprintSchema) GetProviderConfig ¶
func (x *BlueprintSchema) GetProviderConfig() *providerconfig.ProviderConfig
func (*BlueprintSchema) GetSettings ¶
func (x *BlueprintSchema) GetSettings() []byte
func (*BlueprintSchema) ProtoMessage ¶
func (*BlueprintSchema) ProtoMessage()
func (*BlueprintSchema) ProtoReflect ¶
func (x *BlueprintSchema) ProtoReflect() protoreflect.Message
func (*BlueprintSchema) Reset ¶
func (x *BlueprintSchema) Reset()
func (*BlueprintSchema) String ¶
func (x *BlueprintSchema) String() string
type Communication ¶
type Communication struct { Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*Communication) Descriptor
deprecated
func (*Communication) Descriptor() ([]byte, []int)
Deprecated: Use Communication.ProtoReflect.Descriptor instead.
func (*Communication) GetEndpoint ¶
func (x *Communication) GetEndpoint() *Endpoint
func (*Communication) ProtoMessage ¶
func (*Communication) ProtoMessage()
func (*Communication) ProtoReflect ¶
func (x *Communication) ProtoReflect() protoreflect.Message
func (*Communication) Reset ¶
func (x *Communication) Reset()
func (*Communication) String ¶
func (x *Communication) String() string
type ConfigurationVolume ¶
type ConfigurationVolume struct { // The filename mapped to the contents of the file. The filename should be in the form of both name and extension e.g. // "save.zip". Data map[string]string `` /* 149-byte string literal not displayed */ // The absolute path to the directory that the configuration is placed into e.g. /my/config Dir string `protobuf:"bytes,2,opt,name=dir,proto3" json:"dir,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationVolume) Descriptor
deprecated
func (*ConfigurationVolume) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationVolume.ProtoReflect.Descriptor instead.
func (*ConfigurationVolume) GetData ¶
func (x *ConfigurationVolume) GetData() map[string]string
func (*ConfigurationVolume) GetDir ¶
func (x *ConfigurationVolume) GetDir() string
func (*ConfigurationVolume) ProtoMessage ¶
func (*ConfigurationVolume) ProtoMessage()
func (*ConfigurationVolume) ProtoReflect ¶
func (x *ConfigurationVolume) ProtoReflect() protoreflect.Message
func (*ConfigurationVolume) Reset ¶
func (x *ConfigurationVolume) Reset()
func (*ConfigurationVolume) String ¶
func (x *ConfigurationVolume) String() string
type Endpoint ¶
type Endpoint struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` Protocol network.Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=hostfactor.network.Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetProtocol ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type EnvVar ¶
type EnvVar struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EnvVar) Descriptor
deprecated
func (*EnvVar) ProtoMessage ¶
func (*EnvVar) ProtoMessage()
func (*EnvVar) ProtoReflect ¶
func (x *EnvVar) ProtoReflect() protoreflect.Message
type FileChangeOp ¶
type FileChangeOp int32
const ( FileChangeOp_FILE_CHANGE_OP_UNSPECIFIED FileChangeOp = 0 FileChangeOp_FILE_CHANGE_OP_CREATE FileChangeOp = 1 FileChangeOp_FILE_CHANGE_OP_DELETE FileChangeOp = 2 FileChangeOp_FILE_CHANGE_OP_UPDATE FileChangeOp = 3 )
func (FileChangeOp) Descriptor ¶
func (FileChangeOp) Descriptor() protoreflect.EnumDescriptor
func (FileChangeOp) Enum ¶
func (x FileChangeOp) Enum() *FileChangeOp
func (FileChangeOp) EnumDescriptor
deprecated
func (FileChangeOp) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileChangeOp.Descriptor instead.
func (FileChangeOp) Number ¶
func (x FileChangeOp) Number() protoreflect.EnumNumber
func (FileChangeOp) String ¶
func (x FileChangeOp) String() string
func (FileChangeOp) Type ¶
func (FileChangeOp) Type() protoreflect.EnumType
type FileTrigger ¶
type FileTrigger struct { When []*FileTriggerCondition `protobuf:"bytes,1,rep,name=when,proto3" json:"when,omitempty"` Then []*FileTriggerAction `protobuf:"bytes,2,rep,name=then,proto3" json:"then,omitempty"` // contains filtered or unexported fields }
func (*FileTrigger) Descriptor
deprecated
func (*FileTrigger) Descriptor() ([]byte, []int)
Deprecated: Use FileTrigger.ProtoReflect.Descriptor instead.
func (*FileTrigger) GetThen ¶
func (x *FileTrigger) GetThen() []*FileTriggerAction
func (*FileTrigger) GetWhen ¶
func (x *FileTrigger) GetWhen() []*FileTriggerCondition
func (*FileTrigger) ProtoMessage ¶
func (*FileTrigger) ProtoMessage()
func (*FileTrigger) ProtoReflect ¶
func (x *FileTrigger) ProtoReflect() protoreflect.Message
func (*FileTrigger) Reset ¶
func (x *FileTrigger) Reset()
func (*FileTrigger) String ¶
func (x *FileTrigger) String() string
type FileTriggerAction ¶
type FileTriggerAction struct { Zip *actions.ZipFile `protobuf:"bytes,1,opt,name=zip,proto3" json:"zip,omitempty"` Unzip *actions.UnzipFile `protobuf:"bytes,2,opt,name=unzip,proto3" json:"unzip,omitempty"` Upload *actions.UploadFile `protobuf:"bytes,3,opt,name=upload,proto3" json:"upload,omitempty"` Download *actions.DownloadFile `protobuf:"bytes,4,opt,name=download,proto3" json:"download,omitempty"` Rename *actions.RenameFiles `protobuf:"bytes,5,opt,name=rename,proto3" json:"rename,omitempty"` Extract *actions.ExtractFiles `protobuf:"bytes,6,opt,name=extract,proto3" json:"extract,omitempty"` // contains filtered or unexported fields }
func (*FileTriggerAction) Descriptor
deprecated
func (*FileTriggerAction) Descriptor() ([]byte, []int)
Deprecated: Use FileTriggerAction.ProtoReflect.Descriptor instead.
func (*FileTriggerAction) GetDownload ¶
func (x *FileTriggerAction) GetDownload() *actions.DownloadFile
func (*FileTriggerAction) GetExtract ¶
func (x *FileTriggerAction) GetExtract() *actions.ExtractFiles
func (*FileTriggerAction) GetRename ¶
func (x *FileTriggerAction) GetRename() *actions.RenameFiles
func (*FileTriggerAction) GetUnzip ¶
func (x *FileTriggerAction) GetUnzip() *actions.UnzipFile
func (*FileTriggerAction) GetUpload ¶
func (x *FileTriggerAction) GetUpload() *actions.UploadFile
func (*FileTriggerAction) GetZip ¶
func (x *FileTriggerAction) GetZip() *actions.ZipFile
func (*FileTriggerAction) ProtoMessage ¶
func (*FileTriggerAction) ProtoMessage()
func (*FileTriggerAction) ProtoReflect ¶
func (x *FileTriggerAction) ProtoReflect() protoreflect.Message
func (*FileTriggerAction) Reset ¶
func (x *FileTriggerAction) Reset()
func (*FileTriggerAction) String ¶
func (x *FileTriggerAction) String() string
type FileTriggerCondition ¶
type FileTriggerCondition struct { // True if the file change matches the specified matcher. Matches *filesystem.FileMatcher `protobuf:"bytes,1,opt,name=matches,proto3" json:"matches,omitempty"` // True if the file change does not match the specified matcher. DoesntMatch *filesystem.FileMatcher `protobuf:"bytes,2,opt,name=doesnt_match,proto3" json:"doesnt_match,omitempty"` // True if one of the specified FileChangeOps match. Op []FileChangeOp `protobuf:"varint,3,rep,packed,name=op,proto3,enum=hostfactor.blueprint.FileChangeOp" json:"op,omitempty"` // The directories that the condition will be applied to. Directories []string `protobuf:"bytes,4,rep,name=directories,proto3" json:"directories,omitempty"` // contains filtered or unexported fields }
Determines if a file trigger should execute. All fields must evaluate to true for this condition to be met.
func (*FileTriggerCondition) Descriptor
deprecated
func (*FileTriggerCondition) Descriptor() ([]byte, []int)
Deprecated: Use FileTriggerCondition.ProtoReflect.Descriptor instead.
func (*FileTriggerCondition) GetDirectories ¶
func (x *FileTriggerCondition) GetDirectories() []string
func (*FileTriggerCondition) GetDoesntMatch ¶
func (x *FileTriggerCondition) GetDoesntMatch() *filesystem.FileMatcher
func (*FileTriggerCondition) GetMatches ¶
func (x *FileTriggerCondition) GetMatches() *filesystem.FileMatcher
func (*FileTriggerCondition) GetOp ¶
func (x *FileTriggerCondition) GetOp() []FileChangeOp
func (*FileTriggerCondition) ProtoMessage ¶
func (*FileTriggerCondition) ProtoMessage()
func (*FileTriggerCondition) ProtoReflect ¶
func (x *FileTriggerCondition) ProtoReflect() protoreflect.Message
func (*FileTriggerCondition) Reset ¶
func (x *FileTriggerCondition) Reset()
func (*FileTriggerCondition) String ¶
func (x *FileTriggerCondition) String() string
type FileTriggerTemplateData ¶
type FileTriggerTemplateData struct { // The directory portion of a file change e.g. for /opt/files/save.zip, this field would be "/opt/files". Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` // The name of a file plus the extension e.g. save.zip. Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` // The extension to a file plus the dot e.g. for save.zip, this field would be ".zip". Ext string `protobuf:"bytes,3,opt,name=ext,proto3" json:"ext,omitempty"` // The absolute path to a file e.g. /opt/files/save.zip. Abs string `protobuf:"bytes,4,opt,name=abs,proto3" json:"abs,omitempty"` // The name of the file minus the extension e.g. for save.zip, this field would be "save". Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*FileTriggerTemplateData) Descriptor
deprecated
func (*FileTriggerTemplateData) Descriptor() ([]byte, []int)
Deprecated: Use FileTriggerTemplateData.ProtoReflect.Descriptor instead.
func (*FileTriggerTemplateData) GetAbs ¶
func (x *FileTriggerTemplateData) GetAbs() string
func (*FileTriggerTemplateData) GetDir ¶
func (x *FileTriggerTemplateData) GetDir() string
func (*FileTriggerTemplateData) GetExt ¶
func (x *FileTriggerTemplateData) GetExt() string
func (*FileTriggerTemplateData) GetFilename ¶
func (x *FileTriggerTemplateData) GetFilename() string
func (*FileTriggerTemplateData) GetName ¶
func (x *FileTriggerTemplateData) GetName() string
func (*FileTriggerTemplateData) ProtoMessage ¶
func (*FileTriggerTemplateData) ProtoMessage()
func (*FileTriggerTemplateData) ProtoReflect ¶
func (x *FileTriggerTemplateData) ProtoReflect() protoreflect.Message
func (*FileTriggerTemplateData) Reset ¶
func (x *FileTriggerTemplateData) Reset()
func (*FileTriggerTemplateData) String ¶
func (x *FileTriggerTemplateData) String() string
type GenerateBlueprint ¶
type GenerateBlueprint struct {
// contains filtered or unexported fields
}
func (*GenerateBlueprint) Descriptor
deprecated
func (*GenerateBlueprint) Descriptor() ([]byte, []int)
Deprecated: Use GenerateBlueprint.ProtoReflect.Descriptor instead.
func (*GenerateBlueprint) ProtoMessage ¶
func (*GenerateBlueprint) ProtoMessage()
func (*GenerateBlueprint) ProtoReflect ¶
func (x *GenerateBlueprint) ProtoReflect() protoreflect.Message
func (*GenerateBlueprint) Reset ¶
func (x *GenerateBlueprint) Reset()
func (*GenerateBlueprint) String ¶
func (x *GenerateBlueprint) String() string
type GenerateBlueprint_Request ¶
type GenerateBlueprint_Request struct { // The data that is applied to render the blueprint. Data *BlueprintData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GenerateBlueprint_Request) Descriptor
deprecated
func (*GenerateBlueprint_Request) Descriptor() ([]byte, []int)
Deprecated: Use GenerateBlueprint_Request.ProtoReflect.Descriptor instead.
func (*GenerateBlueprint_Request) GetData ¶
func (x *GenerateBlueprint_Request) GetData() *BlueprintData
func (*GenerateBlueprint_Request) ProtoMessage ¶
func (*GenerateBlueprint_Request) ProtoMessage()
func (*GenerateBlueprint_Request) ProtoReflect ¶
func (x *GenerateBlueprint_Request) ProtoReflect() protoreflect.Message
func (*GenerateBlueprint_Request) Reset ¶
func (x *GenerateBlueprint_Request) Reset()
func (*GenerateBlueprint_Request) String ¶
func (x *GenerateBlueprint_Request) String() string
type GenerateBlueprint_Response ¶
type GenerateBlueprint_Response struct { Blueprint *Blueprint `protobuf:"bytes,1,opt,name=blueprint,proto3" json:"blueprint,omitempty"` // contains filtered or unexported fields }
func (*GenerateBlueprint_Response) Descriptor
deprecated
func (*GenerateBlueprint_Response) Descriptor() ([]byte, []int)
Deprecated: Use GenerateBlueprint_Response.ProtoReflect.Descriptor instead.
func (*GenerateBlueprint_Response) GetBlueprint ¶
func (x *GenerateBlueprint_Response) GetBlueprint() *Blueprint
func (*GenerateBlueprint_Response) ProtoMessage ¶
func (*GenerateBlueprint_Response) ProtoMessage()
func (*GenerateBlueprint_Response) ProtoReflect ¶
func (x *GenerateBlueprint_Response) ProtoReflect() protoreflect.Message
func (*GenerateBlueprint_Response) Reset ¶
func (x *GenerateBlueprint_Response) Reset()
func (*GenerateBlueprint_Response) String ¶
func (x *GenerateBlueprint_Response) String() string
type GetBlueprintSchema ¶
type GetBlueprintSchema struct {
// contains filtered or unexported fields
}
func (*GetBlueprintSchema) Descriptor
deprecated
func (*GetBlueprintSchema) Descriptor() ([]byte, []int)
Deprecated: Use GetBlueprintSchema.ProtoReflect.Descriptor instead.
func (*GetBlueprintSchema) ProtoMessage ¶
func (*GetBlueprintSchema) ProtoMessage()
func (*GetBlueprintSchema) ProtoReflect ¶
func (x *GetBlueprintSchema) ProtoReflect() protoreflect.Message
func (*GetBlueprintSchema) Reset ¶
func (x *GetBlueprintSchema) Reset()
func (*GetBlueprintSchema) String ¶
func (x *GetBlueprintSchema) String() string
type GetBlueprintSchema_Request ¶
type GetBlueprintSchema_Request struct {
// contains filtered or unexported fields
}
func (*GetBlueprintSchema_Request) Descriptor
deprecated
func (*GetBlueprintSchema_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetBlueprintSchema_Request.ProtoReflect.Descriptor instead.
func (*GetBlueprintSchema_Request) ProtoMessage ¶
func (*GetBlueprintSchema_Request) ProtoMessage()
func (*GetBlueprintSchema_Request) ProtoReflect ¶
func (x *GetBlueprintSchema_Request) ProtoReflect() protoreflect.Message
func (*GetBlueprintSchema_Request) Reset ¶
func (x *GetBlueprintSchema_Request) Reset()
func (*GetBlueprintSchema_Request) String ¶
func (x *GetBlueprintSchema_Request) String() string
type GetBlueprintSchema_Response ¶
type GetBlueprintSchema_Response struct { BlueprintSchema *BlueprintSchema `protobuf:"bytes,1,opt,name=blueprint_schema,proto3" json:"blueprint_schema,omitempty"` // contains filtered or unexported fields }
func (*GetBlueprintSchema_Response) Descriptor
deprecated
func (*GetBlueprintSchema_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetBlueprintSchema_Response.ProtoReflect.Descriptor instead.
func (*GetBlueprintSchema_Response) GetBlueprintSchema ¶
func (x *GetBlueprintSchema_Response) GetBlueprintSchema() *BlueprintSchema
func (*GetBlueprintSchema_Response) ProtoMessage ¶
func (*GetBlueprintSchema_Response) ProtoMessage()
func (*GetBlueprintSchema_Response) ProtoReflect ¶
func (x *GetBlueprintSchema_Response) ProtoReflect() protoreflect.Message
func (*GetBlueprintSchema_Response) Reset ¶
func (x *GetBlueprintSchema_Response) Reset()
func (*GetBlueprintSchema_Response) String ¶
func (x *GetBlueprintSchema_Response) String() string
type Image ¶
type Image struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type ReadyCheck ¶
type ReadyCheck struct { Regex string `protobuf:"bytes,1,opt,name=regex,json=log_regex,proto3" json:"regex,omitempty"` // contains filtered or unexported fields }
func (*ReadyCheck) Descriptor
deprecated
func (*ReadyCheck) Descriptor() ([]byte, []int)
Deprecated: Use ReadyCheck.ProtoReflect.Descriptor instead.
func (*ReadyCheck) GetRegex ¶
func (x *ReadyCheck) GetRegex() string
func (*ReadyCheck) ProtoMessage ¶
func (*ReadyCheck) ProtoMessage()
func (*ReadyCheck) ProtoReflect ¶
func (x *ReadyCheck) ProtoReflect() protoreflect.Message
func (*ReadyCheck) Reset ¶
func (x *ReadyCheck) Reset()
func (*ReadyCheck) String ¶
func (x *ReadyCheck) String() string
type RunPhase ¶
type RunPhase struct { Triggers []*FileTrigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"` // Run all actions in this phase as a particular linux user. If unspecified, root is used. Uid *int64 `protobuf:"varint,2,opt,name=uid,proto3,oneof" json:"uid,omitempty"` // Run all actions in this phase as a particular linux group. If unspecified, root is used. Gid *int64 `protobuf:"varint,3,opt,name=gid,proto3,oneof" json:"gid,omitempty"` // contains filtered or unexported fields }
func (*RunPhase) Descriptor
deprecated
func (*RunPhase) GetTriggers ¶
func (x *RunPhase) GetTriggers() []*FileTrigger
func (*RunPhase) ProtoMessage ¶
func (*RunPhase) ProtoMessage()
func (*RunPhase) ProtoReflect ¶
func (x *RunPhase) ProtoReflect() protoreflect.Message
type ServerData ¶
type ServerData struct { // The amount of memory that the server will start with in MB. InitialMemory uint32 `protobuf:"varint,1,opt,name=initial_memory,proto3" json:"initial_memory,omitempty"` // The maximal amount of memory that the server can possibly have in MB. If the server exceeds this amount, it will be killed. MaxMemory uint32 `protobuf:"varint,2,opt,name=max_memory,proto3" json:"max_memory,omitempty"` // contains filtered or unexported fields }
func (*ServerData) Descriptor
deprecated
func (*ServerData) Descriptor() ([]byte, []int)
Deprecated: Use ServerData.ProtoReflect.Descriptor instead.
func (*ServerData) GetInitialMemory ¶
func (x *ServerData) GetInitialMemory() uint32
func (*ServerData) GetMaxMemory ¶
func (x *ServerData) GetMaxMemory() uint32
func (*ServerData) ProtoMessage ¶
func (*ServerData) ProtoMessage()
func (*ServerData) ProtoReflect ¶
func (x *ServerData) ProtoReflect() protoreflect.Message
func (*ServerData) Reset ¶
func (x *ServerData) Reset()
func (*ServerData) String ¶
func (x *ServerData) String() string
type SetupAction ¶
type SetupAction struct { Unzip *actions.UnzipFile `protobuf:"bytes,1,opt,name=unzip,proto3" json:"unzip,omitempty"` Extract *actions.ExtractFiles `protobuf:"bytes,2,opt,name=extract,proto3" json:"extract,omitempty"` Rename *actions.RenameFiles `protobuf:"bytes,3,opt,name=rename,proto3" json:"rename,omitempty"` Download *actions.DownloadFile `protobuf:"bytes,4,opt,name=download,proto3" json:"download,omitempty"` // contains filtered or unexported fields }
func (*SetupAction) Descriptor
deprecated
func (*SetupAction) Descriptor() ([]byte, []int)
Deprecated: Use SetupAction.ProtoReflect.Descriptor instead.
func (*SetupAction) GetDownload ¶
func (x *SetupAction) GetDownload() *actions.DownloadFile
func (*SetupAction) GetExtract ¶
func (x *SetupAction) GetExtract() *actions.ExtractFiles
func (*SetupAction) GetRename ¶
func (x *SetupAction) GetRename() *actions.RenameFiles
func (*SetupAction) GetUnzip ¶
func (x *SetupAction) GetUnzip() *actions.UnzipFile
func (*SetupAction) ProtoMessage ¶
func (*SetupAction) ProtoMessage()
func (*SetupAction) ProtoReflect ¶
func (x *SetupAction) ProtoReflect() protoreflect.Message
func (*SetupAction) Reset ¶
func (x *SetupAction) Reset()
func (*SetupAction) String ¶
func (x *SetupAction) String() string
type SetupPhase ¶
type SetupPhase struct { Actions []*SetupAction `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // Run all actions in this phase as a particular linux user. If unspecified, root is used. Uid *int64 `protobuf:"varint,2,opt,name=uid,proto3,oneof" json:"uid,omitempty"` // Run all actions in this phase as a particular linux group. If unspecified, root is used. Gid *int64 `protobuf:"varint,3,opt,name=gid,proto3,oneof" json:"gid,omitempty"` // contains filtered or unexported fields }
func (*SetupPhase) Descriptor
deprecated
func (*SetupPhase) Descriptor() ([]byte, []int)
Deprecated: Use SetupPhase.ProtoReflect.Descriptor instead.
func (*SetupPhase) GetActions ¶
func (x *SetupPhase) GetActions() []*SetupAction
func (*SetupPhase) GetGid ¶
func (x *SetupPhase) GetGid() int64
func (*SetupPhase) GetUid ¶
func (x *SetupPhase) GetUid() int64
func (*SetupPhase) ProtoMessage ¶
func (*SetupPhase) ProtoMessage()
func (*SetupPhase) ProtoReflect ¶
func (x *SetupPhase) ProtoReflect() protoreflect.Message
func (*SetupPhase) Reset ¶
func (x *SetupPhase) Reset()
func (*SetupPhase) String ¶
func (x *SetupPhase) String() string
type UnimplementedBlueprintProviderServer ¶
type UnimplementedBlueprintProviderServer struct { }
UnimplementedBlueprintProviderServer should be embedded to have forward compatible implementations.
func (UnimplementedBlueprintProviderServer) GenerateBlueprint ¶
func (UnimplementedBlueprintProviderServer) GenerateBlueprint(context.Context, *GenerateBlueprint_Request) (*GenerateBlueprint_Response, error)
func (UnimplementedBlueprintProviderServer) GetBlueprintSchema ¶
func (UnimplementedBlueprintProviderServer) GetBlueprintSchema(context.Context, *GetBlueprintSchema_Request) (*GetBlueprintSchema_Response, error)
func (UnimplementedBlueprintProviderServer) ValidateBlueprintData ¶
func (UnimplementedBlueprintProviderServer) ValidateBlueprintData(context.Context, *ValidateBlueprintData_Request) (*ValidateBlueprintData_Response, error)
type UnsafeBlueprintProviderServer ¶
type UnsafeBlueprintProviderServer interface {
// contains filtered or unexported methods
}
UnsafeBlueprintProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlueprintProviderServer will result in compilation errors.
type ValidateBlueprintData ¶
type ValidateBlueprintData struct {
// contains filtered or unexported fields
}
func (*ValidateBlueprintData) Descriptor
deprecated
func (*ValidateBlueprintData) Descriptor() ([]byte, []int)
Deprecated: Use ValidateBlueprintData.ProtoReflect.Descriptor instead.
func (*ValidateBlueprintData) ProtoMessage ¶
func (*ValidateBlueprintData) ProtoMessage()
func (*ValidateBlueprintData) ProtoReflect ¶
func (x *ValidateBlueprintData) ProtoReflect() protoreflect.Message
func (*ValidateBlueprintData) Reset ¶
func (x *ValidateBlueprintData) Reset()
func (*ValidateBlueprintData) String ¶
func (x *ValidateBlueprintData) String() string
type ValidateBlueprintData_Request ¶
type ValidateBlueprintData_Request struct { Data *BlueprintData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ValidateBlueprintData_Request) Descriptor
deprecated
func (*ValidateBlueprintData_Request) Descriptor() ([]byte, []int)
Deprecated: Use ValidateBlueprintData_Request.ProtoReflect.Descriptor instead.
func (*ValidateBlueprintData_Request) GetData ¶
func (x *ValidateBlueprintData_Request) GetData() *BlueprintData
func (*ValidateBlueprintData_Request) ProtoMessage ¶
func (*ValidateBlueprintData_Request) ProtoMessage()
func (*ValidateBlueprintData_Request) ProtoReflect ¶
func (x *ValidateBlueprintData_Request) ProtoReflect() protoreflect.Message
func (*ValidateBlueprintData_Request) Reset ¶
func (x *ValidateBlueprintData_Request) Reset()
func (*ValidateBlueprintData_Request) String ¶
func (x *ValidateBlueprintData_Request) String() string
type ValidateBlueprintData_Response ¶
type ValidateBlueprintData_Response struct { Validation *Validation `protobuf:"bytes,1,opt,name=validation,proto3" json:"validation,omitempty"` // contains filtered or unexported fields }
func (*ValidateBlueprintData_Response) Descriptor
deprecated
func (*ValidateBlueprintData_Response) Descriptor() ([]byte, []int)
Deprecated: Use ValidateBlueprintData_Response.ProtoReflect.Descriptor instead.
func (*ValidateBlueprintData_Response) GetValidation ¶
func (x *ValidateBlueprintData_Response) GetValidation() *Validation
func (*ValidateBlueprintData_Response) ProtoMessage ¶
func (*ValidateBlueprintData_Response) ProtoMessage()
func (*ValidateBlueprintData_Response) ProtoReflect ¶
func (x *ValidateBlueprintData_Response) ProtoReflect() protoreflect.Message
func (*ValidateBlueprintData_Response) Reset ¶
func (x *ValidateBlueprintData_Response) Reset()
func (*ValidateBlueprintData_Response) String ¶
func (x *ValidateBlueprintData_Response) String() string
type Validation ¶
type Validation struct { // A short user-friendly description of what happened. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // A list of specific problems that occurred during validation. Problems []*ValidationProblem `protobuf:"bytes,2,rep,name=problems,proto3" json:"problems,omitempty"` // contains filtered or unexported fields }
func (*Validation) Descriptor
deprecated
func (*Validation) Descriptor() ([]byte, []int)
Deprecated: Use Validation.ProtoReflect.Descriptor instead.
func (*Validation) GetDescription ¶
func (x *Validation) GetDescription() string
func (*Validation) GetProblems ¶
func (x *Validation) GetProblems() []*ValidationProblem
func (*Validation) ProtoMessage ¶
func (*Validation) ProtoMessage()
func (*Validation) ProtoReflect ¶
func (x *Validation) ProtoReflect() protoreflect.Message
func (*Validation) Reset ¶
func (x *Validation) Reset()
func (*Validation) String ¶
func (x *Validation) String() string
type ValidationProblem ¶
type ValidationProblem struct { // A description of what went wrong during validation. What string `protobuf:"bytes,1,opt,name=what,proto3" json:"what,omitempty"` // A description of where the problem occurred. Where string `protobuf:"bytes,2,opt,name=where,proto3" json:"where,omitempty"` // contains filtered or unexported fields }
func (*ValidationProblem) Descriptor
deprecated
func (*ValidationProblem) Descriptor() ([]byte, []int)
Deprecated: Use ValidationProblem.ProtoReflect.Descriptor instead.
func (*ValidationProblem) GetWhat ¶
func (x *ValidationProblem) GetWhat() string
func (*ValidationProblem) GetWhere ¶
func (x *ValidationProblem) GetWhere() string
func (*ValidationProblem) ProtoMessage ¶
func (*ValidationProblem) ProtoMessage()
func (*ValidationProblem) ProtoReflect ¶
func (x *ValidationProblem) ProtoReflect() protoreflect.Message
func (*ValidationProblem) Reset ¶
func (x *ValidationProblem) Reset()
func (*ValidationProblem) String ¶
func (x *ValidationProblem) String() string
type Version ¶
type Version struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message