proto

package
Version: v0.0.0-...-1dbdbbc Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MPL-2.0 Imports: 13 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResourceCategoryDisplayHint_name = map[int32]string{
		0: "UNKNOWN",
		1: "OTHER",
		2: "INSTANCE",
		3: "INSTANCE_MANAGER",
		4: "ROUTER",
		5: "POLICY",
		6: "CONFIG",
		7: "FUNCTION",
		8: "STORAGE",
	}
	ResourceCategoryDisplayHint_value = map[string]int32{
		"UNKNOWN":          0,
		"OTHER":            1,
		"INSTANCE":         2,
		"INSTANCE_MANAGER": 3,
		"ROUTER":           4,
		"POLICY":           5,
		"CONFIG":           6,
		"FUNCTION":         7,
		"STORAGE":          8,
	}
)

Enum value maps for ResourceCategoryDisplayHint.

View Source
var (
	FuncSpec_Value_PrimitiveType_name = map[int32]string{
		0:  "INVALID",
		1:  "BOOL",
		2:  "INT",
		3:  "INT8",
		4:  "INT16",
		5:  "INT32",
		6:  "INT64",
		7:  "UINT",
		8:  "UINT8",
		9:  "UINT16",
		10: "UINT32",
		11: "UINT64",
		24: "STRING",
	}
	FuncSpec_Value_PrimitiveType_value = map[string]int32{
		"INVALID": 0,
		"BOOL":    1,
		"INT":     2,
		"INT8":    3,
		"INT16":   4,
		"INT32":   5,
		"INT64":   6,
		"UINT":    7,
		"UINT8":   8,
		"UINT16":  9,
		"UINT32":  10,
		"UINT64":  11,
		"STRING":  24,
	}
)

Enum value maps for FuncSpec_Value_PrimitiveType.

View Source
var (
	StatusReport_Health_name = map[int32]string{
		0: "UNKNOWN",
		1: "ALIVE",
		2: "READY",
		3: "DOWN",
		5: "MISSING",
		4: "PARTIAL",
	}
	StatusReport_Health_value = map[string]int32{
		"UNKNOWN": 0,
		"ALIVE":   1,
		"READY":   2,
		"DOWN":    3,
		"MISSING": 5,
		"PARTIAL": 4,
	}
)

Enum value maps for StatusReport_Health.

View Source
var Builder_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.Builder",
	HandlerType: (*BuilderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsAuthenticator",
			Handler:    _Builder_IsAuthenticator_Handler,
		},
		{
			MethodName: "Auth",
			Handler:    _Builder_Auth_Handler,
		},
		{
			MethodName: "AuthSpec",
			Handler:    _Builder_AuthSpec_Handler,
		},
		{
			MethodName: "ValidateAuth",
			Handler:    _Builder_ValidateAuth_Handler,
		},
		{
			MethodName: "ValidateAuthSpec",
			Handler:    _Builder_ValidateAuthSpec_Handler,
		},
		{
			MethodName: "ConfigStruct",
			Handler:    _Builder_ConfigStruct_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _Builder_Configure_Handler,
		},
		{
			MethodName: "Documentation",
			Handler:    _Builder_Documentation_Handler,
		},
		{
			MethodName: "BuildSpec",
			Handler:    _Builder_BuildSpec_Handler,
		},
		{
			MethodName: "Build",
			Handler:    _Builder_Build_Handler,
		},
		{
			MethodName: "BuildODR",
			Handler:    _Builder_BuildODR_Handler,
		},
		{
			MethodName: "BuildSpecODR",
			Handler:    _Builder_BuildSpecODR_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

View Source
var ConfigSourcer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.ConfigSourcer",
	HandlerType: (*ConfigSourcerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ConfigStruct",
			Handler:    _ConfigSourcer_ConfigStruct_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _ConfigSourcer_Configure_Handler,
		},
		{
			MethodName: "Documentation",
			Handler:    _ConfigSourcer_Documentation_Handler,
		},
		{
			MethodName: "ReadSpec",
			Handler:    _ConfigSourcer_ReadSpec_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _ConfigSourcer_Read_Handler,
		},
		{
			MethodName: "StopSpec",
			Handler:    _ConfigSourcer_StopSpec_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _ConfigSourcer_Stop_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

View Source
var ExecSessionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.ExecSessionService",
	HandlerType: (*ExecSessionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Output",
			Handler:    _ExecSessionService_Output_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Input",
			Handler:       _ExecSessionService_Input_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "plugin.proto",
}

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

View Source
var File_plugin_proto protoreflect.FileDescriptor
View Source
var File_unused_proto protoreflect.FileDescriptor
View Source
var LogViewer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.LogViewer",
	HandlerType: (*LogViewerServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "NextLogBatch",
			Handler:       _LogViewer_NextLogBatch_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "plugin.proto",
}

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

View Source
var Mapper_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.Mapper",
	HandlerType: (*MapperServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListMappers",
			Handler:    _Mapper_ListMappers_Handler,
		},
		{
			MethodName: "Map",
			Handler:    _Mapper_Map_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

View Source
var Platform_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.Platform",
	HandlerType: (*PlatformServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsAuthenticator",
			Handler:    _Platform_IsAuthenticator_Handler,
		},
		{
			MethodName: "Auth",
			Handler:    _Platform_Auth_Handler,
		},
		{
			MethodName: "AuthSpec",
			Handler:    _Platform_AuthSpec_Handler,
		},
		{
			MethodName: "ValidateAuth",
			Handler:    _Platform_ValidateAuth_Handler,
		},
		{
			MethodName: "ValidateAuthSpec",
			Handler:    _Platform_ValidateAuthSpec_Handler,
		},
		{
			MethodName: "ConfigStruct",
			Handler:    _Platform_ConfigStruct_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _Platform_Configure_Handler,
		},
		{
			MethodName: "Documentation",
			Handler:    _Platform_Documentation_Handler,
		},
		{
			MethodName: "DeploySpec",
			Handler:    _Platform_DeploySpec_Handler,
		},
		{
			MethodName: "Deploy",
			Handler:    _Platform_Deploy_Handler,
		},
		{
			MethodName: "DefaultReleaserSpec",
			Handler:    _Platform_DefaultReleaserSpec_Handler,
		},
		{
			MethodName: "DefaultReleaser",
			Handler:    _Platform_DefaultReleaser_Handler,
		},
		{
			MethodName: "IsDestroyer",
			Handler:    _Platform_IsDestroyer_Handler,
		},
		{
			MethodName: "DestroySpec",
			Handler:    _Platform_DestroySpec_Handler,
		},
		{
			MethodName: "Destroy",
			Handler:    _Platform_Destroy_Handler,
		},
		{
			MethodName: "IsWorkspaceDestroyer",
			Handler:    _Platform_IsWorkspaceDestroyer_Handler,
		},
		{
			MethodName: "DestroyWorkspaceSpec",
			Handler:    _Platform_DestroyWorkspaceSpec_Handler,
		},
		{
			MethodName: "DestroyWorkspace",
			Handler:    _Platform_DestroyWorkspace_Handler,
		},
		{
			MethodName: "IsExecer",
			Handler:    _Platform_IsExecer_Handler,
		},
		{
			MethodName: "ExecSpec",
			Handler:    _Platform_ExecSpec_Handler,
		},
		{
			MethodName: "Exec",
			Handler:    _Platform_Exec_Handler,
		},
		{
			MethodName: "IsLogPlatform",
			Handler:    _Platform_IsLogPlatform_Handler,
		},
		{
			MethodName: "LogsSpec",
			Handler:    _Platform_LogsSpec_Handler,
		},
		{
			MethodName: "Logs",
			Handler:    _Platform_Logs_Handler,
		},
		{
			MethodName: "IsGeneration",
			Handler:    _Platform_IsGeneration_Handler,
		},
		{
			MethodName: "GenerationSpec",
			Handler:    _Platform_GenerationSpec_Handler,
		},
		{
			MethodName: "Generation",
			Handler:    _Platform_Generation_Handler,
		},
		{
			MethodName: "IsStatus",
			Handler:    _Platform_IsStatus_Handler,
		},
		{
			MethodName: "StatusSpec",
			Handler:    _Platform_StatusSpec_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _Platform_Status_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

View Source
var Registry_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.Registry",
	HandlerType: (*RegistryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsAuthenticator",
			Handler:    _Registry_IsAuthenticator_Handler,
		},
		{
			MethodName: "Auth",
			Handler:    _Registry_Auth_Handler,
		},
		{
			MethodName: "AuthSpec",
			Handler:    _Registry_AuthSpec_Handler,
		},
		{
			MethodName: "ValidateAuth",
			Handler:    _Registry_ValidateAuth_Handler,
		},
		{
			MethodName: "ValidateAuthSpec",
			Handler:    _Registry_ValidateAuthSpec_Handler,
		},
		{
			MethodName: "ConfigStruct",
			Handler:    _Registry_ConfigStruct_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _Registry_Configure_Handler,
		},
		{
			MethodName: "Documentation",
			Handler:    _Registry_Documentation_Handler,
		},
		{
			MethodName: "PushSpec",
			Handler:    _Registry_PushSpec_Handler,
		},
		{
			MethodName: "Push",
			Handler:    _Registry_Push_Handler,
		},
		{
			MethodName: "AccessSpec",
			Handler:    _Registry_AccessSpec_Handler,
		},
		{
			MethodName: "Access",
			Handler:    _Registry_Access_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

View Source
var ReleaseManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.ReleaseManager",
	HandlerType: (*ReleaseManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsAuthenticator",
			Handler:    _ReleaseManager_IsAuthenticator_Handler,
		},
		{
			MethodName: "Auth",
			Handler:    _ReleaseManager_Auth_Handler,
		},
		{
			MethodName: "AuthSpec",
			Handler:    _ReleaseManager_AuthSpec_Handler,
		},
		{
			MethodName: "ValidateAuth",
			Handler:    _ReleaseManager_ValidateAuth_Handler,
		},
		{
			MethodName: "ValidateAuthSpec",
			Handler:    _ReleaseManager_ValidateAuthSpec_Handler,
		},
		{
			MethodName: "ConfigStruct",
			Handler:    _ReleaseManager_ConfigStruct_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _ReleaseManager_Configure_Handler,
		},
		{
			MethodName: "Documentation",
			Handler:    _ReleaseManager_Documentation_Handler,
		},
		{
			MethodName: "IsDestroyer",
			Handler:    _ReleaseManager_IsDestroyer_Handler,
		},
		{
			MethodName: "DestroySpec",
			Handler:    _ReleaseManager_DestroySpec_Handler,
		},
		{
			MethodName: "Destroy",
			Handler:    _ReleaseManager_Destroy_Handler,
		},
		{
			MethodName: "IsWorkspaceDestroyer",
			Handler:    _ReleaseManager_IsWorkspaceDestroyer_Handler,
		},
		{
			MethodName: "DestroyWorkspaceSpec",
			Handler:    _ReleaseManager_DestroyWorkspaceSpec_Handler,
		},
		{
			MethodName: "DestroyWorkspace",
			Handler:    _ReleaseManager_DestroyWorkspace_Handler,
		},
		{
			MethodName: "ReleaseSpec",
			Handler:    _ReleaseManager_ReleaseSpec_Handler,
		},
		{
			MethodName: "Release",
			Handler:    _ReleaseManager_Release_Handler,
		},
		{
			MethodName: "IsStatus",
			Handler:    _ReleaseManager_IsStatus_Handler,
		},
		{
			MethodName: "StatusSpec",
			Handler:    _ReleaseManager_StatusSpec_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _ReleaseManager_Status_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

View Source
var TaskLauncher_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.TaskLauncher",
	HandlerType: (*TaskLauncherServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ConfigStruct",
			Handler:    _TaskLauncher_ConfigStruct_Handler,
		},
		{
			MethodName: "Configure",
			Handler:    _TaskLauncher_Configure_Handler,
		},
		{
			MethodName: "Documentation",
			Handler:    _TaskLauncher_Documentation_Handler,
		},
		{
			MethodName: "StartSpec",
			Handler:    _TaskLauncher_StartSpec_Handler,
		},
		{
			MethodName: "StopSpec",
			Handler:    _TaskLauncher_StopSpec_Handler,
		},
		{
			MethodName: "WatchSpec",
			Handler:    _TaskLauncher_WatchSpec_Handler,
		},
		{
			MethodName: "StartTask",
			Handler:    _TaskLauncher_StartTask_Handler,
		},
		{
			MethodName: "StopTask",
			Handler:    _TaskLauncher_StopTask_Handler,
		},
		{
			MethodName: "WatchTask",
			Handler:    _TaskLauncher_WatchTask_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin.proto",
}

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

View Source
var TerminalUIService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashicorp.waypoint.sdk.TerminalUIService",
	HandlerType: (*TerminalUIServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Output",
			Handler:    _TerminalUIService_Output_Handler,
		},
		{
			MethodName: "IsInteractive",
			Handler:    _TerminalUIService_IsInteractive_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Events",
			Handler:       _TerminalUIService_Events_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "plugin.proto",
}

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

Functions

func RegisterBuilderServer

func RegisterBuilderServer(s grpc.ServiceRegistrar, srv BuilderServer)

func RegisterConfigSourcerServer

func RegisterConfigSourcerServer(s grpc.ServiceRegistrar, srv ConfigSourcerServer)

func RegisterExecSessionServiceServer

func RegisterExecSessionServiceServer(s grpc.ServiceRegistrar, srv ExecSessionServiceServer)

func RegisterLogViewerServer

func RegisterLogViewerServer(s grpc.ServiceRegistrar, srv LogViewerServer)

func RegisterMapperServer

func RegisterMapperServer(s grpc.ServiceRegistrar, srv MapperServer)

func RegisterPlatformServer

func RegisterPlatformServer(s grpc.ServiceRegistrar, srv PlatformServer)

func RegisterRegistryServer

func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)

func RegisterReleaseManagerServer

func RegisterReleaseManagerServer(s grpc.ServiceRegistrar, srv ReleaseManagerServer)

func RegisterTaskLauncherServer

func RegisterTaskLauncherServer(s grpc.ServiceRegistrar, srv TaskLauncherServer)

func RegisterTerminalUIServiceServer

func RegisterTerminalUIServiceServer(s grpc.ServiceRegistrar, srv TerminalUIServiceServer)

Types

type Access

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

Access is returned by Registry.Access as the return value for the plugin's return value from the AccessInfoFunc call.

func (*Access) Descriptor deprecated

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

Deprecated: Use Access.ProtoReflect.Descriptor instead.

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

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

func (*Access) Reset

func (x *Access) Reset()

func (*Access) String

func (x *Access) String() string

type Access_Resp

type Access_Resp struct {

	// result is the resulting opaque data type
	Result *opaqueany.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*Access_Resp) Descriptor deprecated

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

Deprecated: Use Access_Resp.ProtoReflect.Descriptor instead.

func (*Access_Resp) GetResult

func (x *Access_Resp) GetResult() *opaqueany.Any

func (*Access_Resp) ProtoMessage

func (*Access_Resp) ProtoMessage()

func (*Access_Resp) ProtoReflect

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

func (*Access_Resp) Reset

func (x *Access_Resp) Reset()

func (*Access_Resp) String

func (x *Access_Resp) String() string

type Args

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

Args are the common argument types that are available to many of the dynamic functions. The exact list of available argument types is available on the Go interface docs.

func (*Args) Descriptor deprecated

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

Deprecated: Use Args.ProtoReflect.Descriptor instead.

func (*Args) ProtoMessage

func (*Args) ProtoMessage()

func (*Args) ProtoReflect

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

func (*Args) Reset

func (x *Args) Reset()

func (*Args) String

func (x *Args) String() string

type Args_DataDir

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

DataDir represents the directory where data can be stored. This is an internal struct and shouldn't be used directly. Use the relevant *datadir implementation instead.

func (*Args_DataDir) Descriptor deprecated

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

Deprecated: Use Args_DataDir.ProtoReflect.Descriptor instead.

func (*Args_DataDir) ProtoMessage

func (*Args_DataDir) ProtoMessage()

func (*Args_DataDir) ProtoReflect

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

func (*Args_DataDir) Reset

func (x *Args_DataDir) Reset()

func (*Args_DataDir) String

func (x *Args_DataDir) String() string

type Args_DataDir_App

type Args_DataDir_App struct {
	CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"`
	DataDir  string `protobuf:"bytes,3,opt,name=data_dir,json=dataDir,proto3" json:"data_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*Args_DataDir_App) Descriptor deprecated

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

Deprecated: Use Args_DataDir_App.ProtoReflect.Descriptor instead.

func (*Args_DataDir_App) GetCacheDir

func (x *Args_DataDir_App) GetCacheDir() string

func (*Args_DataDir_App) GetDataDir

func (x *Args_DataDir_App) GetDataDir() string

func (*Args_DataDir_App) ProtoMessage

func (*Args_DataDir_App) ProtoMessage()

func (*Args_DataDir_App) ProtoReflect

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

func (*Args_DataDir_App) Reset

func (x *Args_DataDir_App) Reset()

func (*Args_DataDir_App) String

func (x *Args_DataDir_App) String() string

type Args_DataDir_Component

type Args_DataDir_Component struct {
	CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"`
	DataDir  string `protobuf:"bytes,3,opt,name=data_dir,json=dataDir,proto3" json:"data_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*Args_DataDir_Component) Descriptor deprecated

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

Deprecated: Use Args_DataDir_Component.ProtoReflect.Descriptor instead.

func (*Args_DataDir_Component) GetCacheDir

func (x *Args_DataDir_Component) GetCacheDir() string

func (*Args_DataDir_Component) GetDataDir

func (x *Args_DataDir_Component) GetDataDir() string

func (*Args_DataDir_Component) ProtoMessage

func (*Args_DataDir_Component) ProtoMessage()

func (*Args_DataDir_Component) ProtoReflect

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

func (*Args_DataDir_Component) Reset

func (x *Args_DataDir_Component) Reset()

func (*Args_DataDir_Component) String

func (x *Args_DataDir_Component) String() string

type Args_DataDir_Project

type Args_DataDir_Project struct {
	CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"`
	DataDir  string `protobuf:"bytes,3,opt,name=data_dir,json=dataDir,proto3" json:"data_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*Args_DataDir_Project) Descriptor deprecated

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

Deprecated: Use Args_DataDir_Project.ProtoReflect.Descriptor instead.

func (*Args_DataDir_Project) GetCacheDir

func (x *Args_DataDir_Project) GetCacheDir() string

func (*Args_DataDir_Project) GetDataDir

func (x *Args_DataDir_Project) GetDataDir() string

func (*Args_DataDir_Project) ProtoMessage

func (*Args_DataDir_Project) ProtoMessage()

func (*Args_DataDir_Project) ProtoReflect

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

func (*Args_DataDir_Project) Reset

func (x *Args_DataDir_Project) Reset()

func (*Args_DataDir_Project) String

func (x *Args_DataDir_Project) String() string

type Args_DeploymentConfig

type Args_DeploymentConfig struct {
	Id                    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServerAddr            string `protobuf:"bytes,2,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"`
	ServerTls             bool   `protobuf:"varint,3,opt,name=server_tls,json=serverTls,proto3" json:"server_tls,omitempty"`
	ServerTlsSkipVerify   bool   `protobuf:"varint,4,opt,name=server_tls_skip_verify,json=serverTlsSkipVerify,proto3" json:"server_tls_skip_verify,omitempty"`
	EntrypointInviteToken string `` /* 126-byte string literal not displayed */
	Sequence              uint32 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

See component.DeploymentConfig

func (*Args_DeploymentConfig) Descriptor deprecated

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

Deprecated: Use Args_DeploymentConfig.ProtoReflect.Descriptor instead.

func (*Args_DeploymentConfig) GetEntrypointInviteToken

func (x *Args_DeploymentConfig) GetEntrypointInviteToken() string

func (*Args_DeploymentConfig) GetId

func (x *Args_DeploymentConfig) GetId() string

func (*Args_DeploymentConfig) GetSequence

func (x *Args_DeploymentConfig) GetSequence() uint32

func (*Args_DeploymentConfig) GetServerAddr

func (x *Args_DeploymentConfig) GetServerAddr() string

func (*Args_DeploymentConfig) GetServerTls

func (x *Args_DeploymentConfig) GetServerTls() bool

func (*Args_DeploymentConfig) GetServerTlsSkipVerify

func (x *Args_DeploymentConfig) GetServerTlsSkipVerify() bool

func (*Args_DeploymentConfig) ProtoMessage

func (*Args_DeploymentConfig) ProtoMessage()

func (*Args_DeploymentConfig) ProtoReflect

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

func (*Args_DeploymentConfig) Reset

func (x *Args_DeploymentConfig) Reset()

func (*Args_DeploymentConfig) String

func (x *Args_DeploymentConfig) String() string

type Args_ExecSessionInfo

type Args_ExecSessionInfo struct {

	// bidirectional usd for stdin and stdout
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// The arguments to the command (includes the command itself)
	Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	// Indicate if the client is expecting a TTY
	IsTty bool `protobuf:"varint,3,opt,name=is_tty,json=isTty,proto3" json:"is_tty,omitempty"`
	// The size of the window on start, if is_tty is true
	InitialWindow *WindowSize `protobuf:"bytes,4,opt,name=initial_window,json=initialWindow,proto3" json:"initial_window,omitempty"`
	// The value of the TERM environment variable, if is_tty is true
	TermType string `protobuf:"bytes,5,opt,name=term_type,json=termType,proto3" json:"term_type,omitempty"`
	// The environment variables to set in the context
	Env []string `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

ExecSessionInfo is used to send the information about an exec plugin session.

func (*Args_ExecSessionInfo) Descriptor deprecated

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

Deprecated: Use Args_ExecSessionInfo.ProtoReflect.Descriptor instead.

func (*Args_ExecSessionInfo) GetArgs

func (x *Args_ExecSessionInfo) GetArgs() []string

func (*Args_ExecSessionInfo) GetEnv

func (x *Args_ExecSessionInfo) GetEnv() []string

func (*Args_ExecSessionInfo) GetInitialWindow

func (x *Args_ExecSessionInfo) GetInitialWindow() *WindowSize

func (*Args_ExecSessionInfo) GetIsTty

func (x *Args_ExecSessionInfo) GetIsTty() bool

func (*Args_ExecSessionInfo) GetStreamId

func (x *Args_ExecSessionInfo) GetStreamId() uint32

func (*Args_ExecSessionInfo) GetTermType

func (x *Args_ExecSessionInfo) GetTermType() string

func (*Args_ExecSessionInfo) ProtoMessage

func (*Args_ExecSessionInfo) ProtoMessage()

func (*Args_ExecSessionInfo) ProtoReflect

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

func (*Args_ExecSessionInfo) Reset

func (x *Args_ExecSessionInfo) Reset()

func (*Args_ExecSessionInfo) String

func (x *Args_ExecSessionInfo) String() string

type Args_JobInfo

type Args_JobInfo struct {
	Local     bool   `protobuf:"varint,1,opt,name=local,proto3" json:"local,omitempty"`
	Workspace string `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"`
	Id        string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Project   string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	App       string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

See component.JobInfo

func (*Args_JobInfo) Descriptor deprecated

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

Deprecated: Use Args_JobInfo.ProtoReflect.Descriptor instead.

func (*Args_JobInfo) GetApp

func (x *Args_JobInfo) GetApp() string

func (*Args_JobInfo) GetId

func (x *Args_JobInfo) GetId() string

func (*Args_JobInfo) GetLocal

func (x *Args_JobInfo) GetLocal() bool

func (*Args_JobInfo) GetProject

func (x *Args_JobInfo) GetProject() string

func (*Args_JobInfo) GetWorkspace

func (x *Args_JobInfo) GetWorkspace() string

func (*Args_JobInfo) ProtoMessage

func (*Args_JobInfo) ProtoMessage()

func (*Args_JobInfo) ProtoReflect

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

func (*Args_JobInfo) Reset

func (x *Args_JobInfo) Reset()

func (*Args_JobInfo) String

func (x *Args_JobInfo) String() string

type Args_LabelSet

type Args_LabelSet struct {
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

LabelSet is a set of labels for anything that can be labeled, such as a deployment, build, etc.

func (*Args_LabelSet) Descriptor deprecated

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

Deprecated: Use Args_LabelSet.ProtoReflect.Descriptor instead.

func (*Args_LabelSet) GetLabels

func (x *Args_LabelSet) GetLabels() map[string]string

func (*Args_LabelSet) ProtoMessage

func (*Args_LabelSet) ProtoMessage()

func (*Args_LabelSet) ProtoReflect

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

func (*Args_LabelSet) Reset

func (x *Args_LabelSet) Reset()

func (*Args_LabelSet) String

func (x *Args_LabelSet) String() string

type Args_LogViewer

type Args_LogViewer struct {
	StreamId   uint32                 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	StartingAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=starting_at,json=startingAt,proto3" json:"starting_at,omitempty"`
	Limit      uint32                 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*Args_LogViewer) Descriptor deprecated

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

Deprecated: Use Args_LogViewer.ProtoReflect.Descriptor instead.

func (*Args_LogViewer) GetLimit

func (x *Args_LogViewer) GetLimit() uint32

func (*Args_LogViewer) GetStartingAt

func (x *Args_LogViewer) GetStartingAt() *timestamppb.Timestamp

func (*Args_LogViewer) GetStreamId

func (x *Args_LogViewer) GetStreamId() uint32

func (*Args_LogViewer) ProtoMessage

func (*Args_LogViewer) ProtoMessage()

func (*Args_LogViewer) ProtoReflect

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

func (*Args_LogViewer) Reset

func (x *Args_LogViewer) Reset()

func (*Args_LogViewer) String

func (x *Args_LogViewer) String() string

type Args_Logger

type Args_Logger struct {

	// name is the name of the logger
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Logger is used to construct an logger for the plugin.

func (*Args_Logger) Descriptor deprecated

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

Deprecated: Use Args_Logger.ProtoReflect.Descriptor instead.

func (*Args_Logger) GetName

func (x *Args_Logger) GetName() string

func (*Args_Logger) ProtoMessage

func (*Args_Logger) ProtoMessage()

func (*Args_Logger) ProtoReflect

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

func (*Args_Logger) Reset

func (x *Args_Logger) Reset()

func (*Args_Logger) String

func (x *Args_Logger) String() string

type Args_ReleaseTargets

type Args_ReleaseTargets struct {

	// The set of targets for a release. This is always guaranteed by
	// the caller to sum to 100%. If the release component doesn't support
	// traffic splitting, this is guaranteed to always be length 1.
	Targets []*Args_ReleaseTargets_Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

ReleaseTargets is the set of targets for a release operation.

func (*Args_ReleaseTargets) Descriptor deprecated

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

Deprecated: Use Args_ReleaseTargets.ProtoReflect.Descriptor instead.

func (*Args_ReleaseTargets) GetTargets

func (*Args_ReleaseTargets) ProtoMessage

func (*Args_ReleaseTargets) ProtoMessage()

func (*Args_ReleaseTargets) ProtoReflect

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

func (*Args_ReleaseTargets) Reset

func (x *Args_ReleaseTargets) Reset()

func (*Args_ReleaseTargets) String

func (x *Args_ReleaseTargets) String() string

type Args_ReleaseTargets_Target

type Args_ReleaseTargets_Target struct {
	Deployment *opaqueany.Any `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	Percent    uint32         `protobuf:"varint,2,opt,name=percent,proto3" json:"percent,omitempty"`
	// contains filtered or unexported fields
}

Target is a single target for releasing.

func (*Args_ReleaseTargets_Target) Descriptor deprecated

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

Deprecated: Use Args_ReleaseTargets_Target.ProtoReflect.Descriptor instead.

func (*Args_ReleaseTargets_Target) GetDeployment

func (x *Args_ReleaseTargets_Target) GetDeployment() *opaqueany.Any

func (*Args_ReleaseTargets_Target) GetPercent

func (x *Args_ReleaseTargets_Target) GetPercent() uint32

func (*Args_ReleaseTargets_Target) ProtoMessage

func (*Args_ReleaseTargets_Target) ProtoMessage()

func (*Args_ReleaseTargets_Target) ProtoReflect

func (*Args_ReleaseTargets_Target) Reset

func (x *Args_ReleaseTargets_Target) Reset()

func (*Args_ReleaseTargets_Target) String

func (x *Args_ReleaseTargets_Target) String() string

type Args_Source

type Args_Source struct {

	// app is the name of the application being deployed.
	App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// path is the absolute directory path to the root directory for source files.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

See component.Source

func (*Args_Source) Descriptor deprecated

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

Deprecated: Use Args_Source.ProtoReflect.Descriptor instead.

func (*Args_Source) GetApp

func (x *Args_Source) GetApp() string

func (*Args_Source) GetPath

func (x *Args_Source) GetPath() string

func (*Args_Source) ProtoMessage

func (*Args_Source) ProtoMessage()

func (*Args_Source) ProtoReflect

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

func (*Args_Source) Reset

func (x *Args_Source) Reset()

func (*Args_Source) String

func (x *Args_Source) String() string

type Args_TaskLaunchInfo

type Args_TaskLaunchInfo struct {

	// The OCI image to launch for the batch task.
	OciUrl string `protobuf:"bytes,1,opt,name=oci_url,json=ociUrl,proto3" json:"oci_url,omitempty"`
	// The environment variable that will be exposed to the task.
	EnvironmentVariables map[string]string `` /* 209-byte string literal not displayed */
	// Entrypoint override for the OCI image.
	Entrypoint []string `protobuf:"bytes,4,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// The arguments that will be passed to the new container on boot.
	Arguments []string `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// contains filtered or unexported fields
}

func (*Args_TaskLaunchInfo) Descriptor deprecated

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

Deprecated: Use Args_TaskLaunchInfo.ProtoReflect.Descriptor instead.

func (*Args_TaskLaunchInfo) GetArguments

func (x *Args_TaskLaunchInfo) GetArguments() []string

func (*Args_TaskLaunchInfo) GetEntrypoint

func (x *Args_TaskLaunchInfo) GetEntrypoint() []string

func (*Args_TaskLaunchInfo) GetEnvironmentVariables

func (x *Args_TaskLaunchInfo) GetEnvironmentVariables() map[string]string

func (*Args_TaskLaunchInfo) GetOciUrl

func (x *Args_TaskLaunchInfo) GetOciUrl() string

func (*Args_TaskLaunchInfo) ProtoMessage

func (*Args_TaskLaunchInfo) ProtoMessage()

func (*Args_TaskLaunchInfo) ProtoReflect

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

func (*Args_TaskLaunchInfo) Reset

func (x *Args_TaskLaunchInfo) Reset()

func (*Args_TaskLaunchInfo) String

func (x *Args_TaskLaunchInfo) String() string

type Args_TerminalUI

type Args_TerminalUI struct {
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

TerminalUI is used to construct the terminal.UI for the plugin.

func (*Args_TerminalUI) Descriptor deprecated

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

Deprecated: Use Args_TerminalUI.ProtoReflect.Descriptor instead.

func (*Args_TerminalUI) GetStreamId

func (x *Args_TerminalUI) GetStreamId() uint32

func (*Args_TerminalUI) ProtoMessage

func (*Args_TerminalUI) ProtoMessage()

func (*Args_TerminalUI) ProtoReflect

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

func (*Args_TerminalUI) Reset

func (x *Args_TerminalUI) Reset()

func (*Args_TerminalUI) String

func (x *Args_TerminalUI) String() string

type Auth

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

Auth is the namespace of messages related to auth.

func (*Auth) Descriptor deprecated

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

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

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

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

type Auth_AuthResponse

type Auth_AuthResponse struct {
	Authenticated bool `protobuf:"varint,1,opt,name=authenticated,proto3" json:"authenticated,omitempty"`
	// contains filtered or unexported fields
}

AuthResponse is returned by the Auth functions.

func (*Auth_AuthResponse) Descriptor deprecated

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

Deprecated: Use Auth_AuthResponse.ProtoReflect.Descriptor instead.

func (*Auth_AuthResponse) GetAuthenticated

func (x *Auth_AuthResponse) GetAuthenticated() bool

func (*Auth_AuthResponse) ProtoMessage

func (*Auth_AuthResponse) ProtoMessage()

func (*Auth_AuthResponse) ProtoReflect

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

func (*Auth_AuthResponse) Reset

func (x *Auth_AuthResponse) Reset()

func (*Auth_AuthResponse) String

func (x *Auth_AuthResponse) String() string

type Build

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

func (*Build) Descriptor deprecated

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) ProtoReflect

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

func (*Build) Reset

func (x *Build) Reset()

func (*Build) String

func (x *Build) String() string

type Build_Resp

type Build_Resp struct {
	Result       *opaqueany.Any    `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	ResultJson   string            `protobuf:"bytes,4,opt,name=result_json,json=resultJson,proto3" json:"result_json,omitempty"`
	Labels       map[string]string `` /* 153-byte string literal not displayed */
	TemplateData []byte            `protobuf:"bytes,3,opt,name=template_data,json=templateData,proto3" json:"template_data,omitempty"`
	// contains filtered or unexported fields
}

func (*Build_Resp) Descriptor deprecated

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

Deprecated: Use Build_Resp.ProtoReflect.Descriptor instead.

func (*Build_Resp) GetLabels

func (x *Build_Resp) GetLabels() map[string]string

func (*Build_Resp) GetResult

func (x *Build_Resp) GetResult() *opaqueany.Any

func (*Build_Resp) GetResultJson

func (x *Build_Resp) GetResultJson() string

func (*Build_Resp) GetTemplateData

func (x *Build_Resp) GetTemplateData() []byte

func (*Build_Resp) ProtoMessage

func (*Build_Resp) ProtoMessage()

func (*Build_Resp) ProtoReflect

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

func (*Build_Resp) Reset

func (x *Build_Resp) Reset()

func (*Build_Resp) String

func (x *Build_Resp) String() string

type BuilderClient

type BuilderClient interface {
	IsAuthenticator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	Auth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Auth_AuthResponse, error)
	AuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ValidateAuth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ValidateAuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ConfigStruct(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_StructResp, error)
	Configure(ctx context.Context, in *Config_ConfigureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Documentation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_Documentation, error)
	BuildSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Build(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Build_Resp, error)
	BuildODR(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Build_Resp, error)
	BuildSpecODR(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
}

BuilderClient is the client API for Builder 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 NewBuilderClient

func NewBuilderClient(cc grpc.ClientConnInterface) BuilderClient

type BuilderServer

type BuilderServer interface {
	IsAuthenticator(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	Auth(context.Context, *FuncSpec_Args) (*Auth_AuthResponse, error)
	AuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ValidateAuth(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	ValidateAuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ConfigStruct(context.Context, *emptypb.Empty) (*Config_StructResp, error)
	Configure(context.Context, *Config_ConfigureRequest) (*emptypb.Empty, error)
	Documentation(context.Context, *emptypb.Empty) (*Config_Documentation, error)
	BuildSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Build(context.Context, *FuncSpec_Args) (*Build_Resp, error)
	BuildODR(context.Context, *FuncSpec_Args) (*Build_Resp, error)
	BuildSpecODR(context.Context, *emptypb.Empty) (*FuncSpec, error)
	// contains filtered or unexported methods
}

BuilderServer is the server API for Builder service. All implementations must embed UnimplementedBuilderServer for forward compatibility

type Config

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

Config is the namespace of messages related to configuration.

All components that take configuration are expected to have two RPC calls:

  • ConfigStruct - Returns the configuration structure.
  • Configure - Sends the configuration data back to the plugin and the plugin is also expected to perform any validation at this stage.
  • Documentation - Returns a Documentation struct that details what configuration is accepted, with documentation.

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ConfigSource

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

func (*ConfigSource) Descriptor deprecated

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

Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead.

func (*ConfigSource) ProtoMessage

func (*ConfigSource) ProtoMessage()

func (*ConfigSource) ProtoReflect

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

func (*ConfigSource) Reset

func (x *ConfigSource) Reset()

func (*ConfigSource) String

func (x *ConfigSource) String() string

type ConfigSource_ReadResponse

type ConfigSource_ReadResponse struct {

	// values should be exactly equivalent in length to the list of
	// variable requests given to the Read function.
	Values []*ConfigSource_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigSource_ReadResponse) Descriptor deprecated

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

Deprecated: Use ConfigSource_ReadResponse.ProtoReflect.Descriptor instead.

func (*ConfigSource_ReadResponse) GetValues

func (*ConfigSource_ReadResponse) ProtoMessage

func (*ConfigSource_ReadResponse) ProtoMessage()

func (*ConfigSource_ReadResponse) ProtoReflect

func (*ConfigSource_ReadResponse) Reset

func (x *ConfigSource_ReadResponse) Reset()

func (*ConfigSource_ReadResponse) String

func (x *ConfigSource_ReadResponse) String() string

type ConfigSource_Value

type ConfigSource_Value struct {

	// name must match the input name or the entrypoint will ignore it.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Result:
	//	*ConfigSource_Value_Error
	//	*ConfigSource_Value_Value
	//	*ConfigSource_Value_Json
	Result isConfigSource_Value_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*ConfigSource_Value) Descriptor deprecated

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

Deprecated: Use ConfigSource_Value.ProtoReflect.Descriptor instead.

func (*ConfigSource_Value) GetError

func (x *ConfigSource_Value) GetError() *status.Status

func (*ConfigSource_Value) GetJson

func (x *ConfigSource_Value) GetJson() []byte

func (*ConfigSource_Value) GetName

func (x *ConfigSource_Value) GetName() string

func (*ConfigSource_Value) GetResult

func (m *ConfigSource_Value) GetResult() isConfigSource_Value_Result

func (*ConfigSource_Value) GetValue

func (x *ConfigSource_Value) GetValue() string

func (*ConfigSource_Value) ProtoMessage

func (*ConfigSource_Value) ProtoMessage()

func (*ConfigSource_Value) ProtoReflect

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

func (*ConfigSource_Value) Reset

func (x *ConfigSource_Value) Reset()

func (*ConfigSource_Value) String

func (x *ConfigSource_Value) String() string

type ConfigSource_Value_Error

type ConfigSource_Value_Error struct {
	// error is an error retrieving this value. Sourcers may also return
	// an error from the entire Read function. The benefit of granular
	// errors is that the runtime may be able to fallback to a default.
	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type ConfigSource_Value_Json

type ConfigSource_Value_Json struct {
	// A configsourcer can also return structured json data. This
	// is useful for dynamic variable defaults. A configsourcer
	// can return a complex type (like a map(string)), and the
	// user in the waypoint.hcl can treat it as a map variable.
	//
	// json values are only currently supported in the context of
	// hcl variables - not app config or runner config.
	Json []byte `protobuf:"bytes,4,opt,name=json,proto3,oneof"`
}

type ConfigSource_Value_Value

type ConfigSource_Value_Value struct {
	// value is a basic string value that can be used as an env var,
	// file contents, or in a dynamic default hcl variable.
	Value string `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}

type ConfigSourcerClient

type ConfigSourcerClient interface {
	ConfigStruct(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_StructResp, error)
	Configure(ctx context.Context, in *Config_ConfigureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Documentation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_Documentation, error)
	ReadSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Read(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*ConfigSource_ReadResponse, error)
	StopSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Stop(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ConfigSourcerClient is the client API for ConfigSourcer service.

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

type ConfigSourcerServer

type ConfigSourcerServer interface {
	ConfigStruct(context.Context, *emptypb.Empty) (*Config_StructResp, error)
	Configure(context.Context, *Config_ConfigureRequest) (*emptypb.Empty, error)
	Documentation(context.Context, *emptypb.Empty) (*Config_Documentation, error)
	ReadSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Read(context.Context, *FuncSpec_Args) (*ConfigSource_ReadResponse, error)
	StopSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Stop(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

ConfigSourcerServer is the server API for ConfigSourcer service. All implementations must embed UnimplementedConfigSourcerServer for forward compatibility

type Config_ConfigureRequest

type Config_ConfigureRequest struct {

	// json is the json data for the structure returned in the StructResp.
	// It is guaranteed to decode cleanly into the target structure.
	Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

ConfigureRequest is the request sent once the configuration decoding is complete to actually assign the values to the structure.

func (*Config_ConfigureRequest) Descriptor deprecated

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

Deprecated: Use Config_ConfigureRequest.ProtoReflect.Descriptor instead.

func (*Config_ConfigureRequest) GetJson

func (x *Config_ConfigureRequest) GetJson() []byte

func (*Config_ConfigureRequest) ProtoMessage

func (*Config_ConfigureRequest) ProtoMessage()

func (*Config_ConfigureRequest) ProtoReflect

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

func (*Config_ConfigureRequest) Reset

func (x *Config_ConfigureRequest) Reset()

func (*Config_ConfigureRequest) String

func (x *Config_ConfigureRequest) String() string

type Config_Documentation

type Config_Documentation struct {
	Description    string                                `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Example        string                                `protobuf:"bytes,2,opt,name=example,proto3" json:"example,omitempty"`
	Input          string                                `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
	Output         string                                `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"`
	Fields         map[string]*Config_FieldDocumentation `` /* 153-byte string literal not displayed */
	TemplateFields map[string]*Config_FieldDocumentation `` /* 191-byte string literal not displayed */
	RequestFields  map[string]*Config_FieldDocumentation `` /* 188-byte string literal not displayed */
	Mappers        []*Config_MapperDocumentation         `protobuf:"bytes,6,rep,name=mappers,proto3" json:"mappers,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_Documentation) Descriptor deprecated

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

Deprecated: Use Config_Documentation.ProtoReflect.Descriptor instead.

func (*Config_Documentation) GetDescription

func (x *Config_Documentation) GetDescription() string

func (*Config_Documentation) GetExample

func (x *Config_Documentation) GetExample() string

func (*Config_Documentation) GetFields

func (*Config_Documentation) GetInput

func (x *Config_Documentation) GetInput() string

func (*Config_Documentation) GetMappers

func (*Config_Documentation) GetOutput

func (x *Config_Documentation) GetOutput() string

func (*Config_Documentation) GetRequestFields

func (x *Config_Documentation) GetRequestFields() map[string]*Config_FieldDocumentation

func (*Config_Documentation) GetTemplateFields

func (x *Config_Documentation) GetTemplateFields() map[string]*Config_FieldDocumentation

func (*Config_Documentation) ProtoMessage

func (*Config_Documentation) ProtoMessage()

func (*Config_Documentation) ProtoReflect

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

func (*Config_Documentation) Reset

func (x *Config_Documentation) Reset()

func (*Config_Documentation) String

func (x *Config_Documentation) String() string

type Config_FieldDocumentation

type Config_FieldDocumentation struct {
	Name      string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Synopsis  string                       `protobuf:"bytes,2,opt,name=synopsis,proto3" json:"synopsis,omitempty"`
	Summary   string                       `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
	Optional  bool                         `protobuf:"varint,4,opt,name=optional,proto3" json:"optional,omitempty"`
	EnvVar    string                       `protobuf:"bytes,5,opt,name=env_var,json=envVar,proto3" json:"env_var,omitempty"`
	Type      string                       `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Default   string                       `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"`
	Category  bool                         `protobuf:"varint,8,opt,name=category,proto3" json:"category,omitempty"`
	SubFields []*Config_FieldDocumentation `protobuf:"bytes,9,rep,name=sub_fields,json=subFields,proto3" json:"sub_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_FieldDocumentation) Descriptor deprecated

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

Deprecated: Use Config_FieldDocumentation.ProtoReflect.Descriptor instead.

func (*Config_FieldDocumentation) GetCategory

func (x *Config_FieldDocumentation) GetCategory() bool

func (*Config_FieldDocumentation) GetDefault

func (x *Config_FieldDocumentation) GetDefault() string

func (*Config_FieldDocumentation) GetEnvVar

func (x *Config_FieldDocumentation) GetEnvVar() string

func (*Config_FieldDocumentation) GetName

func (x *Config_FieldDocumentation) GetName() string

func (*Config_FieldDocumentation) GetOptional

func (x *Config_FieldDocumentation) GetOptional() bool

func (*Config_FieldDocumentation) GetSubFields

func (*Config_FieldDocumentation) GetSummary

func (x *Config_FieldDocumentation) GetSummary() string

func (*Config_FieldDocumentation) GetSynopsis

func (x *Config_FieldDocumentation) GetSynopsis() string

func (*Config_FieldDocumentation) GetType

func (x *Config_FieldDocumentation) GetType() string

func (*Config_FieldDocumentation) ProtoMessage

func (*Config_FieldDocumentation) ProtoMessage()

func (*Config_FieldDocumentation) ProtoReflect

func (*Config_FieldDocumentation) Reset

func (x *Config_FieldDocumentation) Reset()

func (*Config_FieldDocumentation) String

func (x *Config_FieldDocumentation) String() string

type Config_MapperDocumentation

type Config_MapperDocumentation struct {
	Input       string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	Output      string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_MapperDocumentation) Descriptor deprecated

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

Deprecated: Use Config_MapperDocumentation.ProtoReflect.Descriptor instead.

func (*Config_MapperDocumentation) GetDescription

func (x *Config_MapperDocumentation) GetDescription() string

func (*Config_MapperDocumentation) GetInput

func (x *Config_MapperDocumentation) GetInput() string

func (*Config_MapperDocumentation) GetOutput

func (x *Config_MapperDocumentation) GetOutput() string

func (*Config_MapperDocumentation) ProtoMessage

func (*Config_MapperDocumentation) ProtoMessage()

func (*Config_MapperDocumentation) ProtoReflect

func (*Config_MapperDocumentation) Reset

func (x *Config_MapperDocumentation) Reset()

func (*Config_MapperDocumentation) String

func (x *Config_MapperDocumentation) String() string

type Config_StructResp

type Config_StructResp struct {

	// struct is the configuration structure (or empty/nil if one doesn't exist).
	// This struct should have all the proper struct tags for HCL decoding
	// You should do validation on the Configure call.
	Struct *protostructure.Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct,omitempty"`
	// contains filtered or unexported fields
}

StructResp returns the struct for configuration.

func (*Config_StructResp) Descriptor deprecated

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

Deprecated: Use Config_StructResp.ProtoReflect.Descriptor instead.

func (*Config_StructResp) GetStruct

func (x *Config_StructResp) GetStruct() *protostructure.Struct

func (*Config_StructResp) ProtoMessage

func (*Config_StructResp) ProtoMessage()

func (*Config_StructResp) ProtoReflect

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

func (*Config_StructResp) Reset

func (x *Config_StructResp) Reset()

func (*Config_StructResp) String

func (x *Config_StructResp) String() string

type DeclaredResource

type DeclaredResource struct {

	// Unique name name for the resource. Usually derived from the platform. Required.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// platform-specific type of the resource type. i.e. instance, pod, auto-scaling group, etc
	Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	// The platform on which the resource should exist, i.e. docker, gcp, k8s, etc.
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	// Internal ResourceManager representation of the resource.
	State *opaqueany.Any `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// Any additional information a plugin wants to expose on this resource.
	// EX: Availability zones on a load balancer, concurrency limit on a lambda function, etc.
	StateJson string `protobuf:"bytes,4,opt,name=state_json,json=stateJson,proto3" json:"state_json,omitempty"`
	// high level type of the resource, used for display purposes.
	CategoryDisplayHint ResourceCategoryDisplayHint `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

A platform resource that an operation (release/deployment) has created, depends on, or manages.

func (*DeclaredResource) Descriptor deprecated

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

Deprecated: Use DeclaredResource.ProtoReflect.Descriptor instead.

func (*DeclaredResource) GetCategoryDisplayHint

func (x *DeclaredResource) GetCategoryDisplayHint() ResourceCategoryDisplayHint

func (*DeclaredResource) GetName

func (x *DeclaredResource) GetName() string

func (*DeclaredResource) GetPlatform

func (x *DeclaredResource) GetPlatform() string

func (*DeclaredResource) GetState

func (x *DeclaredResource) GetState() *opaqueany.Any

func (*DeclaredResource) GetStateJson

func (x *DeclaredResource) GetStateJson() string

func (*DeclaredResource) GetType

func (x *DeclaredResource) GetType() string

func (*DeclaredResource) ProtoMessage

func (*DeclaredResource) ProtoMessage()

func (*DeclaredResource) ProtoReflect

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

func (*DeclaredResource) Reset

func (x *DeclaredResource) Reset()

func (*DeclaredResource) String

func (x *DeclaredResource) String() string

type DeclaredResources

type DeclaredResources struct {
	Resources []*DeclaredResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*DeclaredResources) Descriptor deprecated

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

Deprecated: Use DeclaredResources.ProtoReflect.Descriptor instead.

func (*DeclaredResources) GetResources

func (x *DeclaredResources) GetResources() []*DeclaredResource

func (*DeclaredResources) ProtoMessage

func (*DeclaredResources) ProtoMessage()

func (*DeclaredResources) ProtoReflect

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

func (*DeclaredResources) Reset

func (x *DeclaredResources) Reset()

func (*DeclaredResources) String

func (x *DeclaredResources) String() string

type DefaultReleaser

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

func (*DefaultReleaser) Descriptor deprecated

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

Deprecated: Use DefaultReleaser.ProtoReflect.Descriptor instead.

func (*DefaultReleaser) ProtoMessage

func (*DefaultReleaser) ProtoMessage()

func (*DefaultReleaser) ProtoReflect

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

func (*DefaultReleaser) Reset

func (x *DefaultReleaser) Reset()

func (*DefaultReleaser) String

func (x *DefaultReleaser) String() string

type DefaultReleaser_Resp

type DefaultReleaser_Resp struct {

	// stream_id is the stream ID to connect to to get access to the
	// ReleaseManager implementation.
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultReleaser_Resp) Descriptor deprecated

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

Deprecated: Use DefaultReleaser_Resp.ProtoReflect.Descriptor instead.

func (*DefaultReleaser_Resp) GetStreamId

func (x *DefaultReleaser_Resp) GetStreamId() uint32

func (*DefaultReleaser_Resp) ProtoMessage

func (*DefaultReleaser_Resp) ProtoMessage()

func (*DefaultReleaser_Resp) ProtoReflect

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

func (*DefaultReleaser_Resp) Reset

func (x *DefaultReleaser_Resp) Reset()

func (*DefaultReleaser_Resp) String

func (x *DefaultReleaser_Resp) String() string

type Deploy

type Deploy struct {

	// url is the URL provided by the plugin used to reach this deployment
	// note that not all the plugins are able to return a meaningful
	// entry here. In such cases, the best option is to leave this
	// field empty and let the URL service (Hashicorp Horizon) provide
	// an URL.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Deploy) Descriptor deprecated

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

Deprecated: Use Deploy.ProtoReflect.Descriptor instead.

func (*Deploy) GetUrl

func (x *Deploy) GetUrl() string

func (*Deploy) ProtoMessage

func (*Deploy) ProtoMessage()

func (*Deploy) ProtoReflect

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

func (*Deploy) Reset

func (x *Deploy) Reset()

func (*Deploy) String

func (x *Deploy) String() string

type Deploy_Resp

type Deploy_Resp struct {

	// result is the resulting opaque data type
	Result     *opaqueany.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	ResultJson string         `protobuf:"bytes,5,opt,name=result_json,json=resultJson,proto3" json:"result_json,omitempty"`
	// deployment structure
	Deployment *Deploy `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// template data for the deployment
	TemplateData []byte `protobuf:"bytes,2,opt,name=template_data,json=templateData,proto3" json:"template_data,omitempty"`
	// an array of declared resources that make up the deployment
	DeclaredResources *DeclaredResources `protobuf:"bytes,4,opt,name=declared_resources,json=declaredResources,proto3" json:"declared_resources,omitempty"`
	// contains filtered or unexported fields
}

func (*Deploy_Resp) Descriptor deprecated

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

Deprecated: Use Deploy_Resp.ProtoReflect.Descriptor instead.

func (*Deploy_Resp) GetDeclaredResources

func (x *Deploy_Resp) GetDeclaredResources() *DeclaredResources

func (*Deploy_Resp) GetDeployment

func (x *Deploy_Resp) GetDeployment() *Deploy

func (*Deploy_Resp) GetResult

func (x *Deploy_Resp) GetResult() *opaqueany.Any

func (*Deploy_Resp) GetResultJson

func (x *Deploy_Resp) GetResultJson() string

func (*Deploy_Resp) GetTemplateData

func (x *Deploy_Resp) GetTemplateData() []byte

func (*Deploy_Resp) ProtoMessage

func (*Deploy_Resp) ProtoMessage()

func (*Deploy_Resp) ProtoReflect

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

func (*Deploy_Resp) Reset

func (x *Deploy_Resp) Reset()

func (*Deploy_Resp) String

func (x *Deploy_Resp) String() string

type Destroy

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

func (*Destroy) Descriptor deprecated

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

Deprecated: Use Destroy.ProtoReflect.Descriptor instead.

func (*Destroy) ProtoMessage

func (*Destroy) ProtoMessage()

func (*Destroy) ProtoReflect

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

func (*Destroy) Reset

func (x *Destroy) Reset()

func (*Destroy) String

func (x *Destroy) String() string

type Destroy_Resp

type Destroy_Resp struct {
	DeclaredResources  *DeclaredResources  `protobuf:"bytes,1,opt,name=declared_resources,json=declaredResources,proto3" json:"declared_resources,omitempty"`
	DestroyedResources *DestroyedResources `protobuf:"bytes,2,opt,name=destroyed_resources,json=destroyedResources,proto3" json:"destroyed_resources,omitempty"`
	// contains filtered or unexported fields
}

func (*Destroy_Resp) Descriptor deprecated

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

Deprecated: Use Destroy_Resp.ProtoReflect.Descriptor instead.

func (*Destroy_Resp) GetDeclaredResources

func (x *Destroy_Resp) GetDeclaredResources() *DeclaredResources

func (*Destroy_Resp) GetDestroyedResources

func (x *Destroy_Resp) GetDestroyedResources() *DestroyedResources

func (*Destroy_Resp) ProtoMessage

func (*Destroy_Resp) ProtoMessage()

func (*Destroy_Resp) ProtoReflect

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

func (*Destroy_Resp) Reset

func (x *Destroy_Resp) Reset()

func (*Destroy_Resp) String

func (x *Destroy_Resp) String() string

type DestroyedResource

type DestroyedResource struct {

	// Unique name name for the resource. Usually derived from the platform. Required.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// platform-specific type of the resource type. i.e. instance, pod, auto-scaling group, etc
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// The platform on which the resource should exist, i.e. docker, gcp, k8s, etc.
	Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	// Internal ResourceManager representation of the resource.
	State *opaqueany.Any `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// Any additional information a plugin wants to expose on this resource.
	// EX: Availability zones on a load balancer, concurrency limit on a lambda function, etc.
	StateJson string `protobuf:"bytes,5,opt,name=state_json,json=stateJson,proto3" json:"state_json,omitempty"`
	// contains filtered or unexported fields
}

func (*DestroyedResource) Descriptor deprecated

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

Deprecated: Use DestroyedResource.ProtoReflect.Descriptor instead.

func (*DestroyedResource) GetName

func (x *DestroyedResource) GetName() string

func (*DestroyedResource) GetPlatform

func (x *DestroyedResource) GetPlatform() string

func (*DestroyedResource) GetState

func (x *DestroyedResource) GetState() *opaqueany.Any

func (*DestroyedResource) GetStateJson

func (x *DestroyedResource) GetStateJson() string

func (*DestroyedResource) GetType

func (x *DestroyedResource) GetType() string

func (*DestroyedResource) ProtoMessage

func (*DestroyedResource) ProtoMessage()

func (*DestroyedResource) ProtoReflect

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

func (*DestroyedResource) Reset

func (x *DestroyedResource) Reset()

func (*DestroyedResource) String

func (x *DestroyedResource) String() string

type DestroyedResources

type DestroyedResources struct {
	DestroyedResources []*DestroyedResource `protobuf:"bytes,1,rep,name=destroyed_resources,json=destroyedResources,proto3" json:"destroyed_resources,omitempty"`
	// contains filtered or unexported fields
}

func (*DestroyedResources) Descriptor deprecated

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

Deprecated: Use DestroyedResources.ProtoReflect.Descriptor instead.

func (*DestroyedResources) GetDestroyedResources

func (x *DestroyedResources) GetDestroyedResources() []*DestroyedResource

func (*DestroyedResources) ProtoMessage

func (*DestroyedResources) ProtoMessage()

func (*DestroyedResources) ProtoReflect

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

func (*DestroyedResources) Reset

func (x *DestroyedResources) Reset()

func (*DestroyedResources) String

func (x *DestroyedResources) String() string

type ExecResult

type ExecResult struct {
	ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
	// contains filtered or unexported fields
}

Returned by Exec plugin functions to indicate the status of the executed command.

func (*ExecResult) Descriptor deprecated

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

Deprecated: Use ExecResult.ProtoReflect.Descriptor instead.

func (*ExecResult) GetExitCode

func (x *ExecResult) GetExitCode() int32

func (*ExecResult) ProtoMessage

func (*ExecResult) ProtoMessage()

func (*ExecResult) ProtoReflect

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

func (*ExecResult) Reset

func (x *ExecResult) Reset()

func (*ExecResult) String

func (x *ExecResult) String() string

type ExecSession

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

func (*ExecSession) Descriptor deprecated

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

Deprecated: Use ExecSession.ProtoReflect.Descriptor instead.

func (*ExecSession) ProtoMessage

func (*ExecSession) ProtoMessage()

func (*ExecSession) ProtoReflect

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

func (*ExecSession) Reset

func (x *ExecSession) Reset()

func (*ExecSession) String

func (x *ExecSession) String() string

type ExecSessionServiceClient

type ExecSessionServiceClient interface {
	Output(ctx context.Context, in *ExecSession_OutputRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Input(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (ExecSessionService_InputClient, error)
}

ExecSessionServiceClient is the client API for ExecSessionService service.

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

type ExecSessionServiceServer

type ExecSessionServiceServer interface {
	Output(context.Context, *ExecSession_OutputRequest) (*emptypb.Empty, error)
	Input(*emptypb.Empty, ExecSessionService_InputServer) error
	// contains filtered or unexported methods
}

ExecSessionServiceServer is the server API for ExecSessionService service. All implementations must embed UnimplementedExecSessionServiceServer for forward compatibility

type ExecSessionService_InputClient

type ExecSessionService_InputClient interface {
	Recv() (*ExecSession_InputRequest, error)
	grpc.ClientStream
}

type ExecSessionService_InputServer

type ExecSessionService_InputServer interface {
	Send(*ExecSession_InputRequest) error
	grpc.ServerStream
}

type ExecSession_InputRequest

type ExecSession_InputRequest struct {

	// Types that are assignable to Input:
	//	*ExecSession_InputRequest_Data
	//	*ExecSession_InputRequest_WindowSize
	//	*ExecSession_InputRequest_InputClosed
	Input isExecSession_InputRequest_Input `protobuf_oneof:"input"`
	// contains filtered or unexported fields
}

func (*ExecSession_InputRequest) Descriptor deprecated

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

Deprecated: Use ExecSession_InputRequest.ProtoReflect.Descriptor instead.

func (*ExecSession_InputRequest) GetData

func (x *ExecSession_InputRequest) GetData() []byte

func (*ExecSession_InputRequest) GetInput

func (m *ExecSession_InputRequest) GetInput() isExecSession_InputRequest_Input

func (*ExecSession_InputRequest) GetInputClosed

func (x *ExecSession_InputRequest) GetInputClosed() bool

func (*ExecSession_InputRequest) GetWindowSize

func (x *ExecSession_InputRequest) GetWindowSize() *WindowSize

func (*ExecSession_InputRequest) ProtoMessage

func (*ExecSession_InputRequest) ProtoMessage()

func (*ExecSession_InputRequest) ProtoReflect

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

func (*ExecSession_InputRequest) Reset

func (x *ExecSession_InputRequest) Reset()

func (*ExecSession_InputRequest) String

func (x *ExecSession_InputRequest) String() string

type ExecSession_InputRequest_Data

type ExecSession_InputRequest_Data struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

type ExecSession_InputRequest_InputClosed

type ExecSession_InputRequest_InputClosed struct {
	InputClosed bool `protobuf:"varint,3,opt,name=input_closed,json=inputClosed,proto3,oneof"`
}

type ExecSession_InputRequest_WindowSize

type ExecSession_InputRequest_WindowSize struct {
	WindowSize *WindowSize `protobuf:"bytes,2,opt,name=window_size,json=windowSize,proto3,oneof"`
}

type ExecSession_OutputRequest

type ExecSession_OutputRequest struct {
	Data   []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Stderr bool   `protobuf:"varint,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecSession_OutputRequest) Descriptor deprecated

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

Deprecated: Use ExecSession_OutputRequest.ProtoReflect.Descriptor instead.

func (*ExecSession_OutputRequest) GetData

func (x *ExecSession_OutputRequest) GetData() []byte

func (*ExecSession_OutputRequest) GetStderr

func (x *ExecSession_OutputRequest) GetStderr() bool

func (*ExecSession_OutputRequest) ProtoMessage

func (*ExecSession_OutputRequest) ProtoMessage()

func (*ExecSession_OutputRequest) ProtoReflect

func (*ExecSession_OutputRequest) Reset

func (x *ExecSession_OutputRequest) Reset()

func (*ExecSession_OutputRequest) String

func (x *ExecSession_OutputRequest) String() string

type Framework

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

func (*Framework) Descriptor deprecated

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

Deprecated: Use Framework.ProtoReflect.Descriptor instead.

func (*Framework) ProtoMessage

func (*Framework) ProtoMessage()

func (*Framework) ProtoReflect

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

func (*Framework) Reset

func (x *Framework) Reset()

func (*Framework) String

func (x *Framework) String() string

type Framework_ResourceManagerState

type Framework_ResourceManagerState struct {
	Resources []*Framework_ResourceState `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// The order that resources were created. This is used internally
	// to construct the destruction order which is just this order reversed.
	CreateOrder []string `protobuf:"bytes,2,rep,name=create_order,json=createOrder,proto3" json:"create_order,omitempty"`
	// contains filtered or unexported fields
}

ResourceManagerState is the state stored by the framework/resource.Manager structure. This should not be used directly by plugin authors.

func (*Framework_ResourceManagerState) Descriptor deprecated

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

Deprecated: Use Framework_ResourceManagerState.ProtoReflect.Descriptor instead.

func (*Framework_ResourceManagerState) GetCreateOrder

func (x *Framework_ResourceManagerState) GetCreateOrder() []string

func (*Framework_ResourceManagerState) GetResources

func (*Framework_ResourceManagerState) ProtoMessage

func (*Framework_ResourceManagerState) ProtoMessage()

func (*Framework_ResourceManagerState) ProtoReflect

func (*Framework_ResourceManagerState) Reset

func (x *Framework_ResourceManagerState) Reset()

func (*Framework_ResourceManagerState) String

type Framework_ResourceState

type Framework_ResourceState struct {

	// name is the name of this resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// raw is the raw state for this resource (if any, this can be nil).
	// The type can't typically be known since this is opaque and only
	// known by the plugin implementation.
	Raw *opaqueany.Any `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"`
	// json is the jsonpb-encoded version of the raw state. This might be
	// used downstream even by consumers who don't know the original protobuf
	// type.
	Json string `protobuf:"bytes,3,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

ResourceState is the state of a single resource managed by the framework.

func (*Framework_ResourceState) Descriptor deprecated

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

Deprecated: Use Framework_ResourceState.ProtoReflect.Descriptor instead.

func (*Framework_ResourceState) GetJson

func (x *Framework_ResourceState) GetJson() string

func (*Framework_ResourceState) GetName

func (x *Framework_ResourceState) GetName() string

func (*Framework_ResourceState) GetRaw

func (x *Framework_ResourceState) GetRaw() *opaqueany.Any

func (*Framework_ResourceState) ProtoMessage

func (*Framework_ResourceState) ProtoMessage()

func (*Framework_ResourceState) ProtoReflect

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

func (*Framework_ResourceState) Reset

func (x *Framework_ResourceState) Reset()

func (*Framework_ResourceState) String

func (x *Framework_ResourceState) String() string

type FuncSpec

type FuncSpec struct {

	// name of the function. This is used for improved logging.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// args is the list of arguments by protobuf Any types.
	Args []*FuncSpec_Value `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	// result are the resulting types that are made available. This is only
	// critically important to be set for functions that may chain to other
	// functions. It can be set to blank in which case it will not be used.
	Result []*FuncSpec_Value `protobuf:"bytes,3,rep,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

FuncSpec describes a function and is used by the dependency-injection framework to provide the function with the proper values.

Value types are specified using strings. Built-in framework types are defined via constants in the `sdk` package. For custom types, you can use whatever string as long as it is unique. We recommend using a unique prefix plus the Go type name.

func (*FuncSpec) Descriptor deprecated

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

Deprecated: Use FuncSpec.ProtoReflect.Descriptor instead.

func (*FuncSpec) GetArgs

func (x *FuncSpec) GetArgs() []*FuncSpec_Value

func (*FuncSpec) GetName

func (x *FuncSpec) GetName() string

func (*FuncSpec) GetResult

func (x *FuncSpec) GetResult() []*FuncSpec_Value

func (*FuncSpec) ProtoMessage

func (*FuncSpec) ProtoMessage()

func (*FuncSpec) ProtoReflect

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

func (*FuncSpec) Reset

func (x *FuncSpec) Reset()

func (*FuncSpec) String

func (x *FuncSpec) String() string

type FuncSpec_Args

type FuncSpec_Args struct {

	// args is the list of arguments. This will include some of the
	// standard types in this file (in the Args message namespace) as well
	// as custom types declared by the FuncSpec that the plugin is expected
	// to understand how to decode.
	Args []*FuncSpec_Value `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

Args is the standard argument type for an RPC that is calling a FuncSpec.

func (*FuncSpec_Args) Descriptor deprecated

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

Deprecated: Use FuncSpec_Args.ProtoReflect.Descriptor instead.

func (*FuncSpec_Args) GetArgs

func (x *FuncSpec_Args) GetArgs() []*FuncSpec_Value

func (*FuncSpec_Args) ProtoMessage

func (*FuncSpec_Args) ProtoMessage()

func (*FuncSpec_Args) ProtoReflect

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

func (*FuncSpec_Args) Reset

func (x *FuncSpec_Args) Reset()

func (*FuncSpec_Args) String

func (x *FuncSpec_Args) String() string

type FuncSpec_Value

type FuncSpec_Value struct {

	// name is the name of the argument. This may be empty for typed arguments.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// type is the type of the argument. All arguments encoded using *opaqueany.Any
	// specify the proto Any message type and not a language-specific type.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// primitive_type is set to a non-zero if the type is NOT an *opaqueany.Any.
	PrimitiveType FuncSpec_Value_PrimitiveType `` /* 158-byte string literal not displayed */
	// value for this Value. This is only set for Args and has no impact on specs.
	// This value MUST match the type or primitive_type fields.
	//
	// Types that are assignable to Value:
	//	*FuncSpec_Value_ProtoAny
	//	*FuncSpec_Value_Bool
	//	*FuncSpec_Value_Int
	//	*FuncSpec_Value_Uint
	//	*FuncSpec_Value_String_
	Value isFuncSpec_Value_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*FuncSpec_Value) Descriptor deprecated

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

Deprecated: Use FuncSpec_Value.ProtoReflect.Descriptor instead.

func (*FuncSpec_Value) GetBool

func (x *FuncSpec_Value) GetBool() bool

func (*FuncSpec_Value) GetInt

func (x *FuncSpec_Value) GetInt() int64

func (*FuncSpec_Value) GetName

func (x *FuncSpec_Value) GetName() string

func (*FuncSpec_Value) GetPrimitiveType

func (x *FuncSpec_Value) GetPrimitiveType() FuncSpec_Value_PrimitiveType

func (*FuncSpec_Value) GetProtoAny

func (x *FuncSpec_Value) GetProtoAny() *opaqueany.Any

func (*FuncSpec_Value) GetString_

func (x *FuncSpec_Value) GetString_() string

func (*FuncSpec_Value) GetType

func (x *FuncSpec_Value) GetType() string

func (*FuncSpec_Value) GetUint

func (x *FuncSpec_Value) GetUint() uint64

func (*FuncSpec_Value) GetValue

func (m *FuncSpec_Value) GetValue() isFuncSpec_Value_Value

func (*FuncSpec_Value) ProtoMessage

func (*FuncSpec_Value) ProtoMessage()

func (*FuncSpec_Value) ProtoReflect

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

func (*FuncSpec_Value) Reset

func (x *FuncSpec_Value) Reset()

func (*FuncSpec_Value) String

func (x *FuncSpec_Value) String() string

type FuncSpec_Value_Bool

type FuncSpec_Value_Bool struct {
	// Primitive values below
	Bool bool `protobuf:"varint,5,opt,name=bool,proto3,oneof"`
}

type FuncSpec_Value_Int

type FuncSpec_Value_Int struct {
	Int int64 `protobuf:"varint,6,opt,name=int,proto3,oneof"` // all sizes up to 64-bit
}

type FuncSpec_Value_PrimitiveType

type FuncSpec_Value_PrimitiveType int32

PrimitiveType are the types of primitives we support. The enum value must exactly match the Go reflect.Kind enum value.

const (
	FuncSpec_Value_INVALID FuncSpec_Value_PrimitiveType = 0
	FuncSpec_Value_BOOL    FuncSpec_Value_PrimitiveType = 1
	FuncSpec_Value_INT     FuncSpec_Value_PrimitiveType = 2
	FuncSpec_Value_INT8    FuncSpec_Value_PrimitiveType = 3
	FuncSpec_Value_INT16   FuncSpec_Value_PrimitiveType = 4
	FuncSpec_Value_INT32   FuncSpec_Value_PrimitiveType = 5
	FuncSpec_Value_INT64   FuncSpec_Value_PrimitiveType = 6
	FuncSpec_Value_UINT    FuncSpec_Value_PrimitiveType = 7
	FuncSpec_Value_UINT8   FuncSpec_Value_PrimitiveType = 8
	FuncSpec_Value_UINT16  FuncSpec_Value_PrimitiveType = 9
	FuncSpec_Value_UINT32  FuncSpec_Value_PrimitiveType = 10
	FuncSpec_Value_UINT64  FuncSpec_Value_PrimitiveType = 11
	FuncSpec_Value_STRING  FuncSpec_Value_PrimitiveType = 24
)

func (FuncSpec_Value_PrimitiveType) Descriptor

func (FuncSpec_Value_PrimitiveType) Enum

func (FuncSpec_Value_PrimitiveType) EnumDescriptor deprecated

func (FuncSpec_Value_PrimitiveType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FuncSpec_Value_PrimitiveType.Descriptor instead.

func (FuncSpec_Value_PrimitiveType) Number

func (FuncSpec_Value_PrimitiveType) String

func (FuncSpec_Value_PrimitiveType) Type

type FuncSpec_Value_ProtoAny

type FuncSpec_Value_ProtoAny struct {
	// proto is set if the value is a protobuf message.
	ProtoAny *opaqueany.Any `protobuf:"bytes,3,opt,name=proto_any,json=protoAny,proto3,oneof"`
}

type FuncSpec_Value_String_

type FuncSpec_Value_String_ struct {
	String_ string `protobuf:"bytes,8,opt,name=string,proto3,oneof"`
}

type FuncSpec_Value_Uint

type FuncSpec_Value_Uint struct {
	Uint uint64 `protobuf:"varint,7,opt,name=uint,proto3,oneof"` // all sizes up to 64-bit
}

type Generation

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

func (*Generation) Descriptor deprecated

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

Deprecated: Use Generation.ProtoReflect.Descriptor instead.

func (*Generation) ProtoMessage

func (*Generation) ProtoMessage()

func (*Generation) ProtoReflect

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

func (*Generation) Reset

func (x *Generation) Reset()

func (*Generation) String

func (x *Generation) String() string

type Generation_Resp

type Generation_Resp struct {
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Resp is the response for the Generation function.

func (*Generation_Resp) Descriptor deprecated

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

Deprecated: Use Generation_Resp.ProtoReflect.Descriptor instead.

func (*Generation_Resp) GetId

func (x *Generation_Resp) GetId() []byte

func (*Generation_Resp) ProtoMessage

func (*Generation_Resp) ProtoMessage()

func (*Generation_Resp) ProtoReflect

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

func (*Generation_Resp) Reset

func (x *Generation_Resp) Reset()

func (*Generation_Resp) String

func (x *Generation_Resp) String() string

type ImplementsResp

type ImplementsResp struct {
	Implements bool `protobuf:"varint,1,opt,name=implements,proto3" json:"implements,omitempty"`
	// contains filtered or unexported fields
}

ImplementsResp returns true if the component implements an additional interface.

func (*ImplementsResp) Descriptor deprecated

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

Deprecated: Use ImplementsResp.ProtoReflect.Descriptor instead.

func (*ImplementsResp) GetImplements

func (x *ImplementsResp) GetImplements() bool

func (*ImplementsResp) ProtoMessage

func (*ImplementsResp) ProtoMessage()

func (*ImplementsResp) ProtoReflect

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

func (*ImplementsResp) Reset

func (x *ImplementsResp) Reset()

func (*ImplementsResp) String

func (x *ImplementsResp) String() string

type LogViewerClient

type LogViewerClient interface {
	NextLogBatch(ctx context.Context, opts ...grpc.CallOption) (LogViewer_NextLogBatchClient, error)
}

LogViewerClient is the client API for LogViewer 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 NewLogViewerClient

func NewLogViewerClient(cc grpc.ClientConnInterface) LogViewerClient

type LogViewerServer

type LogViewerServer interface {
	NextLogBatch(LogViewer_NextLogBatchServer) error
	// contains filtered or unexported methods
}

LogViewerServer is the server API for LogViewer service. All implementations must embed UnimplementedLogViewerServer for forward compatibility

type LogViewer_NextLogBatchClient

type LogViewer_NextLogBatchClient interface {
	Send(*Logs_NextBatchResp) error
	CloseAndRecv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type LogViewer_NextLogBatchServer

type LogViewer_NextLogBatchServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*Logs_NextBatchResp, error)
	grpc.ServerStream
}

type Logs

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

func (*Logs) Descriptor deprecated

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

Deprecated: Use Logs.ProtoReflect.Descriptor instead.

func (*Logs) ProtoMessage

func (*Logs) ProtoMessage()

func (*Logs) ProtoReflect

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

func (*Logs) Reset

func (x *Logs) Reset()

func (*Logs) String

func (x *Logs) String() string

type Logs_Event

type Logs_Event struct {
	Partition string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Contents  string                 `protobuf:"bytes,3,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*Logs_Event) Descriptor deprecated

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

Deprecated: Use Logs_Event.ProtoReflect.Descriptor instead.

func (*Logs_Event) GetContents

func (x *Logs_Event) GetContents() string

func (*Logs_Event) GetPartition

func (x *Logs_Event) GetPartition() string

func (*Logs_Event) GetTimestamp

func (x *Logs_Event) GetTimestamp() *timestamppb.Timestamp

func (*Logs_Event) ProtoMessage

func (*Logs_Event) ProtoMessage()

func (*Logs_Event) ProtoReflect

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

func (*Logs_Event) Reset

func (x *Logs_Event) Reset()

func (*Logs_Event) String

func (x *Logs_Event) String() string

type Logs_NextBatchResp

type Logs_NextBatchResp struct {
	Events []*Logs_Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*Logs_NextBatchResp) Descriptor deprecated

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

Deprecated: Use Logs_NextBatchResp.ProtoReflect.Descriptor instead.

func (*Logs_NextBatchResp) GetEvents

func (x *Logs_NextBatchResp) GetEvents() []*Logs_Event

func (*Logs_NextBatchResp) ProtoMessage

func (*Logs_NextBatchResp) ProtoMessage()

func (*Logs_NextBatchResp) ProtoReflect

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

func (*Logs_NextBatchResp) Reset

func (x *Logs_NextBatchResp) Reset()

func (*Logs_NextBatchResp) String

func (x *Logs_NextBatchResp) String() string

type Logs_Resp

type Logs_Resp struct {

	// stream_id is the stream ID to connect to to get access to the
	// LogViewer service.
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Logs_Resp) Descriptor deprecated

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

Deprecated: Use Logs_Resp.ProtoReflect.Descriptor instead.

func (*Logs_Resp) GetStreamId

func (x *Logs_Resp) GetStreamId() uint32

func (*Logs_Resp) ProtoMessage

func (*Logs_Resp) ProtoMessage()

func (*Logs_Resp) ProtoReflect

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

func (*Logs_Resp) Reset

func (x *Logs_Resp) Reset()

func (*Logs_Resp) String

func (x *Logs_Resp) String() string

type Map

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

func (*Map) Descriptor deprecated

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

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

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

func (*Map) Reset

func (x *Map) Reset()

func (*Map) String

func (x *Map) String() string

type Map_ListResponse

type Map_ListResponse struct {

	// FuncSpec
	Funcs []*FuncSpec `protobuf:"bytes,1,rep,name=funcs,proto3" json:"funcs,omitempty"`
	// contains filtered or unexported fields
}

func (*Map_ListResponse) Descriptor deprecated

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

Deprecated: Use Map_ListResponse.ProtoReflect.Descriptor instead.

func (*Map_ListResponse) GetFuncs

func (x *Map_ListResponse) GetFuncs() []*FuncSpec

func (*Map_ListResponse) ProtoMessage

func (*Map_ListResponse) ProtoMessage()

func (*Map_ListResponse) ProtoReflect

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

func (*Map_ListResponse) Reset

func (x *Map_ListResponse) Reset()

func (*Map_ListResponse) String

func (x *Map_ListResponse) String() string

type Map_Request

type Map_Request struct {

	// args is the list of argument types.
	Args *FuncSpec_Args `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"`
	// result is the desired result type.
	Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*Map_Request) Descriptor deprecated

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

Deprecated: Use Map_Request.ProtoReflect.Descriptor instead.

func (*Map_Request) GetArgs

func (x *Map_Request) GetArgs() *FuncSpec_Args

func (*Map_Request) GetResult

func (x *Map_Request) GetResult() string

func (*Map_Request) ProtoMessage

func (*Map_Request) ProtoMessage()

func (*Map_Request) ProtoReflect

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

func (*Map_Request) Reset

func (x *Map_Request) Reset()

func (*Map_Request) String

func (x *Map_Request) String() string

type Map_Response

type Map_Response struct {

	// result is the mapped data type that matches the type expected
	// by the MapRequest.result field.
	Result *opaqueany.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*Map_Response) Descriptor deprecated

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

Deprecated: Use Map_Response.ProtoReflect.Descriptor instead.

func (*Map_Response) GetResult

func (x *Map_Response) GetResult() *opaqueany.Any

func (*Map_Response) ProtoMessage

func (*Map_Response) ProtoMessage()

func (*Map_Response) ProtoReflect

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

func (*Map_Response) Reset

func (x *Map_Response) Reset()

func (*Map_Response) String

func (x *Map_Response) String() string

type MapperClient

type MapperClient interface {
	// ListMappers returns the list of mappers that this plugin supports.
	ListMappers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Map_ListResponse, error)
	// Map executes a mapper.
	Map(ctx context.Context, in *Map_Request, opts ...grpc.CallOption) (*Map_Response, error)
}

MapperClient is the client API for Mapper 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 NewMapperClient

func NewMapperClient(cc grpc.ClientConnInterface) MapperClient

type MapperServer

type MapperServer interface {
	// ListMappers returns the list of mappers that this plugin supports.
	ListMappers(context.Context, *emptypb.Empty) (*Map_ListResponse, error)
	// Map executes a mapper.
	Map(context.Context, *Map_Request) (*Map_Response, error)
	// contains filtered or unexported methods
}

MapperServer is the server API for Mapper service. All implementations must embed UnimplementedMapperServer for forward compatibility

type PlatformClient

type PlatformClient interface {
	IsAuthenticator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	Auth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Auth_AuthResponse, error)
	AuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ValidateAuth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ValidateAuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ConfigStruct(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_StructResp, error)
	Configure(ctx context.Context, in *Config_ConfigureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Documentation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_Documentation, error)
	DeploySpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Deploy(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Deploy_Resp, error)
	// component.PlatformReleaser optional implementation.
	DefaultReleaserSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	DefaultReleaser(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*DefaultReleaser_Resp, error)
	// component.Destroyer optional implementation
	IsDestroyer(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	DestroySpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Destroy(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Destroy_Resp, error)
	// component.WorkspaceDestroyer optional implementation
	IsWorkspaceDestroyer(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	DestroyWorkspaceSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	DestroyWorkspace(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// component.Execer optional implementation
	IsExecer(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	ExecSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Exec(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*ExecResult, error)
	// component.LogViewer optional implementation
	// IsLogPlatform returns true if this platform also implements LogPlatform.
	IsLogPlatform(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	LogsSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Logs(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// component.Generation optional implementation
	IsGeneration(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	GenerationSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Generation(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Generation_Resp, error)
	// component.Status optional implementation
	IsStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	StatusSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Status(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*StatusReport, error)
}

PlatformClient is the client API for Platform 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 NewPlatformClient

func NewPlatformClient(cc grpc.ClientConnInterface) PlatformClient

type PlatformServer

type PlatformServer interface {
	IsAuthenticator(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	Auth(context.Context, *FuncSpec_Args) (*Auth_AuthResponse, error)
	AuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ValidateAuth(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	ValidateAuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ConfigStruct(context.Context, *emptypb.Empty) (*Config_StructResp, error)
	Configure(context.Context, *Config_ConfigureRequest) (*emptypb.Empty, error)
	Documentation(context.Context, *emptypb.Empty) (*Config_Documentation, error)
	DeploySpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Deploy(context.Context, *FuncSpec_Args) (*Deploy_Resp, error)
	// component.PlatformReleaser optional implementation.
	DefaultReleaserSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	DefaultReleaser(context.Context, *FuncSpec_Args) (*DefaultReleaser_Resp, error)
	// component.Destroyer optional implementation
	IsDestroyer(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	DestroySpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Destroy(context.Context, *FuncSpec_Args) (*Destroy_Resp, error)
	// component.WorkspaceDestroyer optional implementation
	IsWorkspaceDestroyer(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	DestroyWorkspaceSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	DestroyWorkspace(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	// component.Execer optional implementation
	IsExecer(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	ExecSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Exec(context.Context, *FuncSpec_Args) (*ExecResult, error)
	// component.LogViewer optional implementation
	// IsLogPlatform returns true if this platform also implements LogPlatform.
	IsLogPlatform(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	LogsSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Logs(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	// component.Generation optional implementation
	IsGeneration(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	GenerationSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Generation(context.Context, *FuncSpec_Args) (*Generation_Resp, error)
	// component.Status optional implementation
	IsStatus(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	StatusSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Status(context.Context, *FuncSpec_Args) (*StatusReport, error)
	// contains filtered or unexported methods
}

PlatformServer is the server API for Platform service. All implementations must embed UnimplementedPlatformServer for forward compatibility

type Push

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

func (*Push) Descriptor deprecated

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

Deprecated: Use Push.ProtoReflect.Descriptor instead.

func (*Push) ProtoMessage

func (*Push) ProtoMessage()

func (*Push) ProtoReflect

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

func (*Push) Reset

func (x *Push) Reset()

func (*Push) String

func (x *Push) String() string

type Push_Resp

type Push_Resp struct {

	// result is the resulting opaque data type
	Result     *opaqueany.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	ResultJson string         `protobuf:"bytes,3,opt,name=result_json,json=resultJson,proto3" json:"result_json,omitempty"`
	// template data for the artifact
	TemplateData []byte `protobuf:"bytes,2,opt,name=template_data,json=templateData,proto3" json:"template_data,omitempty"`
	// contains filtered or unexported fields
}

func (*Push_Resp) Descriptor deprecated

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

Deprecated: Use Push_Resp.ProtoReflect.Descriptor instead.

func (*Push_Resp) GetResult

func (x *Push_Resp) GetResult() *opaqueany.Any

func (*Push_Resp) GetResultJson

func (x *Push_Resp) GetResultJson() string

func (*Push_Resp) GetTemplateData

func (x *Push_Resp) GetTemplateData() []byte

func (*Push_Resp) ProtoMessage

func (*Push_Resp) ProtoMessage()

func (*Push_Resp) ProtoReflect

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

func (*Push_Resp) Reset

func (x *Push_Resp) Reset()

func (*Push_Resp) String

func (x *Push_Resp) String() string

type Ref

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

Ref contains shared messages used for references to other resources.

Refs should be used when the full type shouldn't be embedded in the message.

func (*Ref) Descriptor deprecated

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

Deprecated: Use Ref.ProtoReflect.Descriptor instead.

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) ProtoReflect

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

func (*Ref) Reset

func (x *Ref) Reset()

func (*Ref) String

func (x *Ref) String() string

type Ref_DeclaredResource

type Ref_DeclaredResource struct {

	// Unique name of the declared resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeclaredResource references a declared resource.

func (*Ref_DeclaredResource) Descriptor deprecated

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

Deprecated: Use Ref_DeclaredResource.ProtoReflect.Descriptor instead.

func (*Ref_DeclaredResource) GetName

func (x *Ref_DeclaredResource) GetName() string

func (*Ref_DeclaredResource) ProtoMessage

func (*Ref_DeclaredResource) ProtoMessage()

func (*Ref_DeclaredResource) ProtoReflect

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

func (*Ref_DeclaredResource) Reset

func (x *Ref_DeclaredResource) Reset()

func (*Ref_DeclaredResource) String

func (x *Ref_DeclaredResource) String() string

type RegistryClient

type RegistryClient interface {
	IsAuthenticator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	Auth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Auth_AuthResponse, error)
	AuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ValidateAuth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ValidateAuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ConfigStruct(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_StructResp, error)
	Configure(ctx context.Context, in *Config_ConfigureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Documentation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_Documentation, error)
	PushSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Push(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Push_Resp, error)
	// Access and AccessSpec are used to provide the optional component.RegistryAccess
	// interface.
	AccessSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Access(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Access_Resp, error)
}

RegistryClient is the client API for Registry 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 NewRegistryClient

func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient

type RegistryServer

type RegistryServer interface {
	IsAuthenticator(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	Auth(context.Context, *FuncSpec_Args) (*Auth_AuthResponse, error)
	AuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ValidateAuth(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	ValidateAuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ConfigStruct(context.Context, *emptypb.Empty) (*Config_StructResp, error)
	Configure(context.Context, *Config_ConfigureRequest) (*emptypb.Empty, error)
	Documentation(context.Context, *emptypb.Empty) (*Config_Documentation, error)
	PushSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Push(context.Context, *FuncSpec_Args) (*Push_Resp, error)
	// Access and AccessSpec are used to provide the optional component.RegistryAccess
	// interface.
	AccessSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Access(context.Context, *FuncSpec_Args) (*Access_Resp, error)
	// contains filtered or unexported methods
}

RegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility

type Release

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

func (*Release) Descriptor deprecated

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

Deprecated: Use Release.ProtoReflect.Descriptor instead.

func (*Release) GetUrl

func (x *Release) GetUrl() string

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) ProtoReflect

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

func (*Release) Reset

func (x *Release) Reset()

func (*Release) String

func (x *Release) String() string

type ReleaseManagerClient

type ReleaseManagerClient interface {
	IsAuthenticator(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	Auth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Auth_AuthResponse, error)
	AuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ValidateAuth(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ValidateAuthSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	ConfigStruct(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_StructResp, error)
	Configure(ctx context.Context, in *Config_ConfigureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Documentation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config_Documentation, error)
	// component.Destroyer optional implementation
	IsDestroyer(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	DestroySpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Destroy(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Destroy_Resp, error)
	// component.WorkspaceDestroyer optional implementation
	IsWorkspaceDestroyer(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	DestroyWorkspaceSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	DestroyWorkspace(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ReleaseSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Release(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*Release_Resp, error)
	// component.Status optional implementation
	IsStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImplementsResp, error)
	StatusSpec(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FuncSpec, error)
	Status(ctx context.Context, in *FuncSpec_Args, opts ...grpc.CallOption) (*StatusReport, error)
}

ReleaseManagerClient is the client API for ReleaseManager service.

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

type ReleaseManagerServer

type ReleaseManagerServer interface {
	IsAuthenticator(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	Auth(context.Context, *FuncSpec_Args) (*Auth_AuthResponse, error)
	AuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ValidateAuth(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	ValidateAuthSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	ConfigStruct(context.Context, *emptypb.Empty) (*Config_StructResp, error)
	Configure(context.Context, *Config_ConfigureRequest) (*emptypb.Empty, error)
	Documentation(context.Context, *emptypb.Empty) (*Config_Documentation, error)
	// component.Destroyer optional implementation
	IsDestroyer(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	DestroySpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Destroy(context.Context, *FuncSpec_Args) (*Destroy_Resp, error)
	// component.WorkspaceDestroyer optional implementation
	IsWorkspaceDestroyer(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	DestroyWorkspaceSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	DestroyWorkspace(context.Context, *FuncSpec_Args) (*emptypb.Empty, error)
	ReleaseSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Release(context.Context, *FuncSpec_Args) (*Release_Resp, error)
	// component.Status optional implementation
	IsStatus(context.Context, *emptypb.Empty) (*ImplementsResp, error)
	StatusSpec(context.Context, *emptypb.Empty) (*FuncSpec, error)
	Status(context.Context, *FuncSpec_Args) (*StatusReport, error)
	// contains filtered or unexported methods
}

ReleaseManagerServer is the server API for ReleaseManager service. All implementations must embed UnimplementedReleaseManagerServer for forward compatibility

type Release_Resp

type Release_Resp struct {

	// result is the resulting data type for building.
	Result *opaqueany.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// release structure
	Release *Release `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
	// template data for the release
	TemplateData []byte `protobuf:"bytes,3,opt,name=template_data,json=templateData,proto3" json:"template_data,omitempty"`
	// an array of declared resources that make up the release
	DeclaredResources *DeclaredResources `protobuf:"bytes,4,opt,name=declared_resources,json=declaredResources,proto3" json:"declared_resources,omitempty"`
	// contains filtered or unexported fields
}

func (*Release_Resp) Descriptor deprecated

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

Deprecated: Use Release_Resp.ProtoReflect.Descriptor instead.

func (*Release_Resp) GetDeclaredResources

func (x *Release_Resp) GetDeclaredResources() *DeclaredResources

func (*Release_Resp) GetRelease

func (x *Release_Resp) GetRelease() *Release

func (*Release_Resp) GetResult

func (x *Release_Resp) GetResult() *opaqueany.Any

func (*Release_Resp) GetTemplateData

func (x *Release_Resp) GetTemplateData() []byte

func (*Release_Resp) ProtoMessage

func (*Release_Resp) ProtoMessage()

func (*Release_Resp) ProtoReflect

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

func (*Release_Resp) Reset

func (x *Release_Resp) Reset()

func (*Release_Resp) String

func (x *Release_Resp) String() string

type ResourceCategoryDisplayHint

type ResourceCategoryDisplayHint int32
const (
	ResourceCategoryDisplayHint_UNKNOWN          ResourceCategoryDisplayHint = 0
	ResourceCategoryDisplayHint_OTHER            ResourceCategoryDisplayHint = 1 // catch-all for types that do not fit well into other predefined roles. i.e. aws target group
	ResourceCategoryDisplayHint_INSTANCE         ResourceCategoryDisplayHint = 2 // i.e. k8s pod, docker container, ecs task
	ResourceCategoryDisplayHint_INSTANCE_MANAGER ResourceCategoryDisplayHint = 3 // i.e. k8s deployment, ec2 asg, nomad job, ecs service
	ResourceCategoryDisplayHint_ROUTER           ResourceCategoryDisplayHint = 4 // i.e. k8s service, aws alb
	ResourceCategoryDisplayHint_POLICY           ResourceCategoryDisplayHint = 5 // i.e. aws security group or iam role, k8s RoleBinding
	ResourceCategoryDisplayHint_CONFIG           ResourceCategoryDisplayHint = 6 // i.e. aws launch config, k8s configmap
	ResourceCategoryDisplayHint_FUNCTION         ResourceCategoryDisplayHint = 7 // i.e. lambda function, azure function
	ResourceCategoryDisplayHint_STORAGE          ResourceCategoryDisplayHint = 8 // i.e. EBS volume, EFS filesystem, k8s PVC
)

func (ResourceCategoryDisplayHint) Descriptor

func (ResourceCategoryDisplayHint) Enum

func (ResourceCategoryDisplayHint) EnumDescriptor deprecated

func (ResourceCategoryDisplayHint) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceCategoryDisplayHint.Descriptor instead.

func (ResourceCategoryDisplayHint) Number

func (ResourceCategoryDisplayHint) String

func (ResourceCategoryDisplayHint) Type

type StatusReport

type StatusReport struct {

	// a collection of resources for a deployed application
	Resources []*StatusReport_Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// the current overall health state for a deployment
	Health StatusReport_Health `protobuf:"varint,2,opt,name=health,proto3,enum=hashicorp.waypoint.sdk.StatusReport_Health" json:"health,omitempty"`
	// a simple human readable message detailing the Health state
	HealthMessage string `protobuf:"bytes,3,opt,name=health_message,json=healthMessage,proto3" json:"health_message,omitempty"`
	// the time when this report was generated
	GeneratedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=generated_time,json=generatedTime,proto3" json:"generated_time,omitempty"`
	// where the health check was performed. External means not executed by Waypoint,
	// but by the platform deployed to.
	External bool `protobuf:"varint,5,opt,name=external,proto3" json:"external,omitempty"`
	// contains filtered or unexported fields
}

StatusReport is the report genrated when querying the overall health of a deployed or released application. This report can be either generated by querying the platform itself which has performed the health checks, or by Waypoint running user-defined health checks.

func (*StatusReport) Descriptor deprecated

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

Deprecated: Use StatusReport.ProtoReflect.Descriptor instead.

func (*StatusReport) GetExternal

func (x *StatusReport) GetExternal() bool

func (*StatusReport) GetGeneratedTime

func (x *StatusReport) GetGeneratedTime() *timestamppb.Timestamp

func (*StatusReport) GetHealth

func (x *StatusReport) GetHealth() StatusReport_Health

func (*StatusReport) GetHealthMessage

func (x *StatusReport) GetHealthMessage() string

func (*StatusReport) GetResources

func (x *StatusReport) GetResources() []*StatusReport_Resource

func (*StatusReport) ProtoMessage

func (*StatusReport) ProtoMessage()

func (*StatusReport) ProtoReflect

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

func (*StatusReport) Reset

func (x *StatusReport) Reset()

func (*StatusReport) String

func (x *StatusReport) String() string

type StatusReport_Health

type StatusReport_Health int32

the state of overall health of a deployed application

const (
	StatusReport_UNKNOWN StatusReport_Health = 0
	StatusReport_ALIVE   StatusReport_Health = 1
	StatusReport_READY   StatusReport_Health = 2
	StatusReport_DOWN    StatusReport_Health = 3
	StatusReport_MISSING StatusReport_Health = 5 // We're expecting it to exist, but it does not.
	StatusReport_PARTIAL StatusReport_Health = 4 // Some resources in deployment are OK, others are not OK
)

func (StatusReport_Health) Descriptor

func (StatusReport_Health) Enum

func (StatusReport_Health) EnumDescriptor deprecated

func (StatusReport_Health) EnumDescriptor() ([]byte, []int)

Deprecated: Use StatusReport_Health.Descriptor instead.

func (StatusReport_Health) Number

func (StatusReport_Health) String

func (x StatusReport_Health) String() string

func (StatusReport_Health)