azdext

package
v0.0.0-...-22222bd Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentService_GetDeployment_FullMethodName        = "/azdext.DeploymentService/GetDeployment"
	DeploymentService_GetDeploymentContext_FullMethodName = "/azdext.DeploymentService/GetDeploymentContext"
)
View Source
const (
	EnvironmentService_GetCurrent_FullMethodName       = "/azdext.EnvironmentService/GetCurrent"
	EnvironmentService_List_FullMethodName             = "/azdext.EnvironmentService/List"
	EnvironmentService_Get_FullMethodName              = "/azdext.EnvironmentService/Get"
	EnvironmentService_Select_FullMethodName           = "/azdext.EnvironmentService/Select"
	EnvironmentService_GetValues_FullMethodName        = "/azdext.EnvironmentService/GetValues"
	EnvironmentService_GetValue_FullMethodName         = "/azdext.EnvironmentService/GetValue"
	EnvironmentService_SetValue_FullMethodName         = "/azdext.EnvironmentService/SetValue"
	EnvironmentService_GetConfig_FullMethodName        = "/azdext.EnvironmentService/GetConfig"
	EnvironmentService_GetConfigString_FullMethodName  = "/azdext.EnvironmentService/GetConfigString"
	EnvironmentService_GetConfigSection_FullMethodName = "/azdext.EnvironmentService/GetConfigSection"
	EnvironmentService_SetConfig_FullMethodName        = "/azdext.EnvironmentService/SetConfig"
	EnvironmentService_UnsetConfig_FullMethodName      = "/azdext.EnvironmentService/UnsetConfig"
)
View Source
const (
	PromptService_PromptSubscription_FullMethodName          = "/azdext.PromptService/PromptSubscription"
	PromptService_PromptLocation_FullMethodName              = "/azdext.PromptService/PromptLocation"
	PromptService_PromptResourceGroup_FullMethodName         = "/azdext.PromptService/PromptResourceGroup"
	PromptService_Confirm_FullMethodName                     = "/azdext.PromptService/Confirm"
	PromptService_Prompt_FullMethodName                      = "/azdext.PromptService/Prompt"
	PromptService_Select_FullMethodName                      = "/azdext.PromptService/Select"
	PromptService_PromptSubscriptionResource_FullMethodName  = "/azdext.PromptService/PromptSubscriptionResource"
	PromptService_PromptResourceGroupResource_FullMethodName = "/azdext.PromptService/PromptResourceGroupResource"
)
View Source
const (
	UserConfigService_Get_FullMethodName        = "/azdext.UserConfigService/Get"
	UserConfigService_GetString_FullMethodName  = "/azdext.UserConfigService/GetString"
	UserConfigService_GetSection_FullMethodName = "/azdext.UserConfigService/GetSection"
	UserConfigService_Set_FullMethodName        = "/azdext.UserConfigService/Set"
	UserConfigService_Unset_FullMethodName      = "/azdext.UserConfigService/Unset"
)
View Source
const (
	EventService_EventStream_FullMethodName = "/azdext.EventService/EventStream"
)
View Source
const (
	ProjectService_Get_FullMethodName = "/azdext.ProjectService/Get"
)

Variables

View Source
var DeploymentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "azdext.DeploymentService",
	HandlerType: (*DeploymentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDeployment",
			Handler:    _DeploymentService_GetDeployment_Handler,
		},
		{
			MethodName: "GetDeploymentContext",
			Handler:    _DeploymentService_GetDeploymentContext_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "deployment.proto",
}

DeploymentService_ServiceDesc is the grpc.ServiceDesc for DeploymentService 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 EnvironmentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "azdext.EnvironmentService",
	HandlerType: (*EnvironmentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCurrent",
			Handler:    _EnvironmentService_GetCurrent_Handler,
		},
		{
			MethodName: "List",
			Handler:    _EnvironmentService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _EnvironmentService_Get_Handler,
		},
		{
			MethodName: "Select",
			Handler:    _EnvironmentService_Select_Handler,
		},
		{
			MethodName: "GetValues",
			Handler:    _EnvironmentService_GetValues_Handler,
		},
		{
			MethodName: "GetValue",
			Handler:    _EnvironmentService_GetValue_Handler,
		},
		{
			MethodName: "SetValue",
			Handler:    _EnvironmentService_SetValue_Handler,
		},
		{
			MethodName: "GetConfig",
			Handler:    _EnvironmentService_GetConfig_Handler,
		},
		{
			MethodName: "GetConfigString",
			Handler:    _EnvironmentService_GetConfigString_Handler,
		},
		{
			MethodName: "GetConfigSection",
			Handler:    _EnvironmentService_GetConfigSection_Handler,
		},
		{
			MethodName: "SetConfig",
			Handler:    _EnvironmentService_SetConfig_Handler,
		},
		{
			MethodName: "UnsetConfig",
			Handler:    _EnvironmentService_UnsetConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "environment.proto",
}

EnvironmentService_ServiceDesc is the grpc.ServiceDesc for EnvironmentService 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 EventService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "azdext.EventService",
	HandlerType: (*EventServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "EventStream",
			Handler:       _EventService_EventStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "event.proto",
}

EventService_ServiceDesc is the grpc.ServiceDesc for EventService 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_deployment_proto protoreflect.FileDescriptor
View Source
var File_environment_proto protoreflect.FileDescriptor
View Source
var File_event_proto protoreflect.FileDescriptor
View Source
var File_models_proto protoreflect.FileDescriptor
View Source
var File_project_proto protoreflect.FileDescriptor
View Source
var File_prompt_proto protoreflect.FileDescriptor
View Source
var File_user_config_proto protoreflect.FileDescriptor
View Source
var ProjectService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "azdext.ProjectService",
	HandlerType: (*ProjectServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ProjectService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "project.proto",
}

ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService 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 PromptService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "azdext.PromptService",
	HandlerType: (*PromptServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PromptSubscription",
			Handler:    _PromptService_PromptSubscription_Handler,
		},
		{
			MethodName: "PromptLocation",
			Handler:    _PromptService_PromptLocation_Handler,
		},
		{
			MethodName: "PromptResourceGroup",
			Handler:    _PromptService_PromptResourceGroup_Handler,
		},
		{
			MethodName: "Confirm",
			Handler:    _PromptService_Confirm_Handler,
		},
		{
			MethodName: "Prompt",
			Handler:    _PromptService_Prompt_Handler,
		},
		{
			MethodName: "Select",
			Handler:    _PromptService_Select_Handler,
		},
		{
			MethodName: "PromptSubscriptionResource",
			Handler:    _PromptService_PromptSubscriptionResource_Handler,
		},
		{
			MethodName: "PromptResourceGroupResource",
			Handler:    _PromptService_PromptResourceGroupResource_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "prompt.proto",
}

PromptService_ServiceDesc is the grpc.ServiceDesc for PromptService 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 UserConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "azdext.UserConfigService",
	HandlerType: (*UserConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _UserConfigService_Get_Handler,
		},
		{
			MethodName: "GetString",
			Handler:    _UserConfigService_GetString_Handler,
		},
		{
			MethodName: "GetSection",
			Handler:    _UserConfigService_GetSection_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _UserConfigService_Set_Handler,
		},
		{
			MethodName: "Unset",
			Handler:    _UserConfigService_Unset_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user_config.proto",
}

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

Functions

func RegisterDeploymentServiceServer

func RegisterDeploymentServiceServer(s grpc.ServiceRegistrar, srv DeploymentServiceServer)

func RegisterEnvironmentServiceServer

func RegisterEnvironmentServiceServer(s grpc.ServiceRegistrar, srv EnvironmentServiceServer)

func RegisterEventServiceServer

func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)

func RegisterProjectServiceServer

func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)

func RegisterPromptServiceServer

func RegisterPromptServiceServer(s grpc.ServiceRegistrar, srv PromptServiceServer)

func RegisterUserConfigServiceServer

func RegisterUserConfigServiceServer(s grpc.ServiceRegistrar, srv UserConfigServiceServer)

func WithAccessToken

func WithAccessToken(ctx context.Context, params ...string) context.Context

WithAccessToken sets the access token for the `azd` client into a new Go context.

Types

type AzdClient

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

AzdClient is the client for the `azd` gRPC server.

func NewAzdClient

func NewAzdClient(opts ...AzdClientOption) (*AzdClient, error)

NewAzdClient creates a new `azd` client.

func (*AzdClient) Close

func (c *AzdClient) Close()

Close closes the connection to the `azd` server.

func (*AzdClient) Deployment

func (c *AzdClient) Deployment() DeploymentServiceClient

Deployment returns the deployment service client.

func (*AzdClient) Environment

func (c *AzdClient) Environment() EnvironmentServiceClient

Environment returns the environment service client.

func (*AzdClient) Events

func (c *AzdClient) Events() EventServiceClient

Deployment returns the deployment service client.

func (*AzdClient) Project

func (c *AzdClient) Project() ProjectServiceClient

Project returns the project service client.

func (*AzdClient) Prompt

func (c *AzdClient) Prompt() PromptServiceClient

Prompt returns the prompt service client.

func (*AzdClient) UserConfig

func (c *AzdClient) UserConfig() UserConfigServiceClient

UserConfig returns the user config service client.

type AzdClientOption

type AzdClientOption func(*AzdClient) error

func WithAddress

func WithAddress(address string) AzdClientOption

WithAddress sets the address of the `azd` gRPC server.

type AzureContext

type AzureContext struct {
	Scope     *AzureScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	Resources []string    `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*AzureContext) Descriptor deprecated

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

Deprecated: Use AzureContext.ProtoReflect.Descriptor instead.

func (*AzureContext) GetResources

func (x *AzureContext) GetResources() []string

func (*AzureContext) GetScope

func (x *AzureContext) GetScope() *AzureScope

func (*AzureContext) ProtoMessage

func (*AzureContext) ProtoMessage()

func (*AzureContext) ProtoReflect

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

func (*AzureContext) Reset

func (x *AzureContext) Reset()

func (*AzureContext) String

func (x *AzureContext) String() string

type AzureScope

type AzureScope struct {
	TenantId       string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	SubscriptionId string `protobuf:"bytes,2,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
	Location       string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	ResourceGroup  string `protobuf:"bytes,4,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
	// contains filtered or unexported fields
}

func (*AzureScope) Descriptor deprecated

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

Deprecated: Use AzureScope.ProtoReflect.Descriptor instead.

func (*AzureScope) GetLocation

func (x *AzureScope) GetLocation() string

func (*AzureScope) GetResourceGroup

func (x *AzureScope) GetResourceGroup() string

func (*AzureScope) GetSubscriptionId

func (x *AzureScope) GetSubscriptionId() string

func (*AzureScope) GetTenantId

func (x *AzureScope) GetTenantId() string

func (*AzureScope) ProtoMessage

func (*AzureScope) ProtoMessage()

func (*AzureScope) ProtoReflect

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

func (*AzureScope) Reset

func (x *AzureScope) Reset()

func (*AzureScope) String

func (x *AzureScope) String() string

type ConfirmOptions

type ConfirmOptions struct {
	DefaultValue *bool  `protobuf:"varint,1,opt,name=default_value,json=defaultValue,proto3,oneof" json:"default_value,omitempty"`
	Message      string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	HelpMessage  string `protobuf:"bytes,3,opt,name=helpMessage,proto3" json:"helpMessage,omitempty"`
	Hint         string `protobuf:"bytes,4,opt,name=hint,proto3" json:"hint,omitempty"`
	Placeholder  string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmOptions) Descriptor deprecated

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

Deprecated: Use ConfirmOptions.ProtoReflect.Descriptor instead.

func (*ConfirmOptions) GetDefaultValue

func (x *ConfirmOptions) GetDefaultValue() bool

func (*ConfirmOptions) GetHelpMessage

func (x *ConfirmOptions) GetHelpMessage() string

func (*ConfirmOptions) GetHint

func (x *ConfirmOptions) GetHint() string

func (*ConfirmOptions) GetMessage

func (x *ConfirmOptions) GetMessage() string

func (*ConfirmOptions) GetPlaceholder

func (x *ConfirmOptions) GetPlaceholder() string

func (*ConfirmOptions) ProtoMessage

func (*ConfirmOptions) ProtoMessage()

func (*ConfirmOptions) ProtoReflect

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

func (*ConfirmOptions) Reset

func (x *ConfirmOptions) Reset()

func (*ConfirmOptions) String

func (x *ConfirmOptions) String() string

type ConfirmRequest

type ConfirmRequest struct {
	Options *ConfirmOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmRequest) Descriptor deprecated

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

Deprecated: Use ConfirmRequest.ProtoReflect.Descriptor instead.

func (*ConfirmRequest) GetOptions

func (x *ConfirmRequest) GetOptions() *ConfirmOptions

func (*ConfirmRequest) ProtoMessage

func (*ConfirmRequest) ProtoMessage()

func (*ConfirmRequest) ProtoReflect

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

func (*ConfirmRequest) Reset

func (x *ConfirmRequest) Reset()

func (*ConfirmRequest) String

func (x *ConfirmRequest) String() string

type ConfirmResponse

type ConfirmResponse struct {
	Value *bool `protobuf:"varint,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmResponse) Descriptor deprecated

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

Deprecated: Use ConfirmResponse.ProtoReflect.Descriptor instead.

func (*ConfirmResponse) GetValue

func (x *ConfirmResponse) GetValue() bool

func (*ConfirmResponse) ProtoMessage

func (*ConfirmResponse) ProtoMessage()

func (*ConfirmResponse) ProtoReflect

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

func (*ConfirmResponse) Reset

func (x *ConfirmResponse) Reset()

func (*ConfirmResponse) String

func (x *ConfirmResponse) String() string

type Deployment

type Deployment struct {
	Id           string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Location     string            `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	DeploymentId string            `protobuf:"bytes,3,opt,name=deploymentId,proto3" json:"deploymentId,omitempty"`
	Name         string            `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Type         string            `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Tags         map[string]string `` /* 149-byte string literal not displayed */
	Outputs      map[string]string `` /* 155-byte string literal not displayed */
	Resources    []string          `protobuf:"bytes,8,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetDeploymentId

func (x *Deployment) GetDeploymentId() string

func (*Deployment) GetId

func (x *Deployment) GetId() string

func (*Deployment) GetLocation

func (x *Deployment) GetLocation() string

func (*Deployment) GetName

func (x *Deployment) GetName() string

func (*Deployment) GetOutputs

func (x *Deployment) GetOutputs() map[string]string

func (*Deployment) GetResources

func (x *Deployment) GetResources() []string

func (*Deployment) GetTags

func (x *Deployment) GetTags() map[string]string

func (*Deployment) GetType

func (x *Deployment) GetType() string

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type DeploymentServiceClient

type DeploymentServiceClient interface {
	// Gets the current environment.
	GetDeployment(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetDeploymentResponse, error)
	// GetDeploymentContext retrieves the current deployment context.
	GetDeploymentContext(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetDeploymentContextResponse, error)
}

DeploymentServiceClient is the client API for DeploymentService 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 DeploymentServiceServer

type DeploymentServiceServer interface {
	// Gets the current environment.
	GetDeployment(context.Context, *EmptyRequest) (*GetDeploymentResponse, error)
	// GetDeploymentContext retrieves the current deployment context.
	GetDeploymentContext(context.Context, *EmptyRequest) (*GetDeploymentContextResponse, error)
	// contains filtered or unexported methods
}

DeploymentServiceServer is the server API for DeploymentService service. All implementations must embed UnimplementedDeploymentServiceServer for forward compatibility.

type EmptyRequest

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

Messages for requests and responses

func (*EmptyRequest) Descriptor deprecated

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

Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) ProtoReflect

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

func (*EmptyRequest) Reset

func (x *EmptyRequest) Reset()

func (*EmptyRequest) String

func (x *EmptyRequest) String() string

type EmptyResponse

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

EmptyResponse message for methods with no output.

func (*EmptyResponse) Descriptor deprecated

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

Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.

func (*EmptyResponse) ProtoMessage

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) ProtoReflect

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

func (*EmptyResponse) Reset

func (x *EmptyResponse) Reset()

func (*EmptyResponse) String

func (x *EmptyResponse) String() string

type Environment

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

Environment object definition.

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetName

func (x *Environment) GetName() string

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

type EnvironmentDescription

type EnvironmentDescription struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`        // Name of the environment.
	Local   bool   `protobuf:"varint,2,opt,name=local,proto3" json:"local,omitempty"`     // Whether the environment is local.
	Remote  bool   `protobuf:"varint,3,opt,name=remote,proto3" json:"remote,omitempty"`   // Whether the environment is remote.
	Default bool   `protobuf:"varint,4,opt,name=default,proto3" json:"default,omitempty"` // Whether the environment is the default.
	// contains filtered or unexported fields
}

func (*EnvironmentDescription) Descriptor deprecated

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

Deprecated: Use EnvironmentDescription.ProtoReflect.Descriptor instead.

func (*EnvironmentDescription) GetDefault

func (x *EnvironmentDescription) GetDefault() bool

func (*EnvironmentDescription) GetLocal

func (x *EnvironmentDescription) GetLocal() bool

func (*EnvironmentDescription) GetName

func (x *EnvironmentDescription) GetName() string

func (*EnvironmentDescription) GetRemote

func (x *EnvironmentDescription) GetRemote() bool

func (*EnvironmentDescription) ProtoMessage

func (*EnvironmentDescription) ProtoMessage()

func (*EnvironmentDescription) ProtoReflect

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

func (*EnvironmentDescription) Reset

func (x *EnvironmentDescription) Reset()

func (*EnvironmentDescription) String

func (x *EnvironmentDescription) String() string

type EnvironmentListResponse

type EnvironmentListResponse struct {
	Environments []*EnvironmentDescription `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` // List of environments.
	// contains filtered or unexported fields
}

func (*EnvironmentListResponse) Descriptor deprecated

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

Deprecated: Use EnvironmentListResponse.ProtoReflect.Descriptor instead.

func (*EnvironmentListResponse) GetEnvironments

func (x *EnvironmentListResponse) GetEnvironments() []*EnvironmentDescription

func (*EnvironmentListResponse) ProtoMessage

func (*EnvironmentListResponse) ProtoMessage()

func (*EnvironmentListResponse) ProtoReflect

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

func (*EnvironmentListResponse) Reset

func (x *EnvironmentListResponse) Reset()

func (*EnvironmentListResponse) String

func (x *EnvironmentListResponse) String() string

type EnvironmentResponse

type EnvironmentResponse struct {
	Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` // Environment details.
	// contains filtered or unexported fields
}

Response containing details of an environment.

func (*EnvironmentResponse) Descriptor deprecated

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

Deprecated: Use EnvironmentResponse.ProtoReflect.Descriptor instead.

func (*EnvironmentResponse) GetEnvironment

func (x *EnvironmentResponse) GetEnvironment() *Environment

func (*EnvironmentResponse) ProtoMessage

func (*EnvironmentResponse) ProtoMessage()

func (*EnvironmentResponse) ProtoReflect

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

func (*EnvironmentResponse) Reset

func (x *EnvironmentResponse) Reset()

func (*EnvironmentResponse) String

func (x *EnvironmentResponse) String() string

type EnvironmentServiceClient

type EnvironmentServiceClient interface {
	// Gets the current environment.
	GetCurrent(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EnvironmentResponse, error)
	// List retrieves all azd environments.
	List(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EnvironmentListResponse, error)
	// Get retrieves an environment by its name.
	Get(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*EnvironmentResponse, error)
	// Select sets the current environment to the specified environment.
	Select(ctx context.Context, in *SelectEnvironmentRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
	// GetValues retrieves all key-value pairs in the specified environment.
	GetValues(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*KeyValueListResponse, error)
	// GetValue retrieves the value of a specific key in the specified environment.
	GetValue(ctx context.Context, in *GetEnvRequest, opts ...grpc.CallOption) (*KeyValueResponse, error)
	// SetValue sets the value of a key in the specified environment.
	SetValue(ctx context.Context, in *SetEnvRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
	// GetConfig retrieves a config value by path
	GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
	// GetConfigString retrieves a config value by path and returns it as a string
	GetConfigString(ctx context.Context, in *GetConfigStringRequest, opts ...grpc.CallOption) (*GetConfigStringResponse, error)
	// GetConfigSection retrieves a config section by path
	GetConfigSection(ctx context.Context, in *GetConfigSectionRequest, opts ...grpc.CallOption) (*GetConfigSectionResponse, error)
	// SetConfig sets a config value at a given path
	SetConfig(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
	// UnsetConfig removes a config value at a given path
	UnsetConfig(ctx context.Context, in *UnsetConfigRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
}

EnvironmentServiceClient is the client API for EnvironmentService 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.

EnvironmentService defines methods for managing environments and their key-value pairs.

type EnvironmentServiceServer

type EnvironmentServiceServer interface {
	// Gets the current environment.
	GetCurrent(context.Context, *EmptyRequest) (*EnvironmentResponse, error)
	// List retrieves all azd environments.
	List(context.Context, *EmptyRequest) (*EnvironmentListResponse, error)
	// Get retrieves an environment by its name.
	Get(context.Context, *GetEnvironmentRequest) (*EnvironmentResponse, error)
	// Select sets the current environment to the specified environment.
	Select(context.Context, *SelectEnvironmentRequest) (*EmptyResponse, error)
	// GetValues retrieves all key-value pairs in the specified environment.
	GetValues(context.Context, *GetEnvironmentRequest) (*KeyValueListResponse, error)
	// GetValue retrieves the value of a specific key in the specified environment.
	GetValue(context.Context, *GetEnvRequest) (*KeyValueResponse, error)
	// SetValue sets the value of a key in the specified environment.
	SetValue(context.Context, *SetEnvRequest) (*EmptyResponse, error)
	// GetConfig retrieves a config value by path
	GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
	// GetConfigString retrieves a config value by path and returns it as a string
	GetConfigString(context.Context, *GetConfigStringRequest) (*GetConfigStringResponse, error)
	// GetConfigSection retrieves a config section by path
	GetConfigSection(context.Context, *GetConfigSectionRequest) (*GetConfigSectionResponse, error)
	// SetConfig sets a config value at a given path
	SetConfig(context.Context, *SetConfigRequest) (*EmptyResponse, error)
	// UnsetConfig removes a config value at a given path
	UnsetConfig(context.Context, *UnsetConfigRequest) (*EmptyResponse, error)
	// contains filtered or unexported methods
}

EnvironmentServiceServer is the server API for EnvironmentService service. All implementations must embed UnimplementedEnvironmentServiceServer for forward compatibility.

EnvironmentService defines methods for managing environments and their key-value pairs.

type EventManager

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

func NewEventManager

func NewEventManager(azdClient *AzdClient) *EventManager

func (*EventManager) AddProjectEventHandler

func (em *EventManager) AddProjectEventHandler(ctx context.Context, eventName string, handler ProjectEventHandler) error

func (*EventManager) AddServiceEventHandler

func (em *EventManager) AddServiceEventHandler(
	ctx context.Context,
	eventName string,
	handler ServiceEventHandler,
	options *ServerEventOptions,
) error

func (*EventManager) Close

func (em *EventManager) Close() error

func (*EventManager) Receive

func (em *EventManager) Receive(ctx context.Context) error

func (*EventManager) RemoveProjectEventHandler

func (em *EventManager) RemoveProjectEventHandler(eventName string)

func (*EventManager) RemoveServiceEventHandler

func (em *EventManager) RemoveServiceEventHandler(eventName string)

type EventMessage

type EventMessage struct {

	// Types that are assignable to MessageType:
	//
	//	*EventMessage_SubscribeProjectEvent
	//	*EventMessage_InvokeProjectHandler
	//	*EventMessage_ProjectHandlerStatus
	//	*EventMessage_SubscribeServiceEvent
	//	*EventMessage_InvokeServiceHandler
	//	*EventMessage_ServiceHandlerStatus
	//	*EventMessage_ExtensionReadyEvent
	MessageType isEventMessage_MessageType `protobuf_oneof:"message_type"`
	// contains filtered or unexported fields
}

Represents different types of messages sent over the stream

func (*EventMessage) Descriptor deprecated

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

Deprecated: Use EventMessage.ProtoReflect.Descriptor instead.

func (*EventMessage) GetExtensionReadyEvent

func (x *EventMessage) GetExtensionReadyEvent() *ExtensionReadyEvent

func (*EventMessage) GetInvokeProjectHandler

func (x *EventMessage) GetInvokeProjectHandler() *InvokeProjectHandler

func (*EventMessage) GetInvokeServiceHandler

func (x *EventMessage) GetInvokeServiceHandler() *InvokeServiceHandler

func (*EventMessage) GetMessageType

func (m *EventMessage) GetMessageType() isEventMessage_MessageType

func (*EventMessage) GetProjectHandlerStatus

func (x *EventMessage) GetProjectHandlerStatus() *ProjectHandlerStatus

func (*EventMessage) GetServiceHandlerStatus

func (x *EventMessage) GetServiceHandlerStatus() *ServiceHandlerStatus

func (*EventMessage) GetSubscribeProjectEvent

func (x *EventMessage) GetSubscribeProjectEvent() *SubscribeProjectEvent

func (*EventMessage) GetSubscribeServiceEvent

func (x *EventMessage) GetSubscribeServiceEvent() *SubscribeServiceEvent

func (*EventMessage) ProtoMessage

func (*EventMessage) ProtoMessage()

func (*EventMessage) ProtoReflect

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

func (*EventMessage) Reset

func (x *EventMessage) Reset()

func (*EventMessage) String

func (x *EventMessage) String() string

type EventMessage_ExtensionReadyEvent

type EventMessage_ExtensionReadyEvent struct {
	ExtensionReadyEvent *ExtensionReadyEvent `protobuf:"bytes,7,opt,name=extension_ready_event,json=extensionReadyEvent,proto3,oneof"`
}

type EventMessage_InvokeProjectHandler

type EventMessage_InvokeProjectHandler struct {
	InvokeProjectHandler *InvokeProjectHandler `protobuf:"bytes,2,opt,name=invoke_project_handler,json=invokeProjectHandler,proto3,oneof"`
}

type EventMessage_InvokeServiceHandler

type EventMessage_InvokeServiceHandler struct {
	InvokeServiceHandler *InvokeServiceHandler `protobuf:"bytes,5,opt,name=invoke_service_handler,json=invokeServiceHandler,proto3,oneof"`
}

type EventMessage_ProjectHandlerStatus

type EventMessage_ProjectHandlerStatus struct {
	ProjectHandlerStatus *ProjectHandlerStatus `protobuf:"bytes,3,opt,name=project_handler_status,json=projectHandlerStatus,proto3,oneof"`
}

type EventMessage_ServiceHandlerStatus

type EventMessage_ServiceHandlerStatus struct {
	ServiceHandlerStatus *ServiceHandlerStatus `protobuf:"bytes,6,opt,name=service_handler_status,json=serviceHandlerStatus,proto3,oneof"`
}

type EventMessage_SubscribeProjectEvent

type EventMessage_SubscribeProjectEvent struct {
	SubscribeProjectEvent *SubscribeProjectEvent `protobuf:"bytes,1,opt,name=subscribe_project_event,json=subscribeProjectEvent,proto3,oneof"`
}

type EventMessage_SubscribeServiceEvent

type EventMessage_SubscribeServiceEvent struct {
	SubscribeServiceEvent *SubscribeServiceEvent `protobuf:"bytes,4,opt,name=subscribe_service_event,json=subscribeServiceEvent,proto3,oneof"`
}

type EventServiceClient

type EventServiceClient interface {
	// Bidirectional stream for event subscription, invocation, and status updates
	EventStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[EventMessage, EventMessage], error)
}

EventServiceClient is the client API for EventService 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.

The EventsService allows clients to subscribe and receive event notifications

type EventServiceServer

type EventServiceServer interface {
	// Bidirectional stream for event subscription, invocation, and status updates
	EventStream(grpc.BidiStreamingServer[EventMessage, EventMessage]) error
	// contains filtered or unexported methods
}

EventServiceServer is the server API for EventService service. All implementations must embed UnimplementedEventServiceServer for forward compatibility.

The EventsService allows clients to subscribe and receive event notifications

type EventService_EventStreamClient

type EventService_EventStreamClient = grpc.BidiStreamingClient[EventMessage, EventMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type EventService_EventStreamServer

type EventService_EventStreamServer = grpc.BidiStreamingServer[EventMessage, EventMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ExtensionReadyEvent

type ExtensionReadyEvent struct {
	Status  string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtensionReadyEvent) Descriptor deprecated

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

Deprecated: Use ExtensionReadyEvent.ProtoReflect.Descriptor instead.

func (*ExtensionReadyEvent) GetMessage

func (x *ExtensionReadyEvent) GetMessage() string

func (*ExtensionReadyEvent) GetStatus

func (x *ExtensionReadyEvent) GetStatus() string

func (*ExtensionReadyEvent) ProtoMessage

func (*ExtensionReadyEvent) ProtoMessage()

func (*ExtensionReadyEvent) ProtoReflect

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

func (*ExtensionReadyEvent) Reset

func (x *ExtensionReadyEvent) Reset()

func (*ExtensionReadyEvent) String

func (x *ExtensionReadyEvent) String() string

type GetConfigRequest

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

Request message for Get

func (*GetConfigRequest) Descriptor deprecated

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) GetPath

func (x *GetConfigRequest) GetPath() string

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

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

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

type GetConfigResponse

type GetConfigResponse struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Found bool   `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

Response message for Get

func (*GetConfigResponse) Descriptor deprecated

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

Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.

func (*GetConfigResponse) GetFound

func (x *GetConfigResponse) GetFound() bool

func (*GetConfigResponse) GetValue

func (x *GetConfigResponse) GetValue() []byte

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) ProtoReflect

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

func (*GetConfigResponse) Reset

func (x *GetConfigResponse) Reset()

func (*GetConfigResponse) String

func (x *GetConfigResponse) String() string

type GetConfigSectionRequest

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

Request message for GetSection

func (*GetConfigSectionRequest) Descriptor deprecated

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

Deprecated: Use GetConfigSectionRequest.ProtoReflect.Descriptor instead.

func (*GetConfigSectionRequest) GetPath

func (x *GetConfigSectionRequest) GetPath() string

func (*GetConfigSectionRequest) ProtoMessage

func (*GetConfigSectionRequest) ProtoMessage()

func (*GetConfigSectionRequest) ProtoReflect

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

func (*GetConfigSectionRequest) Reset

func (x *GetConfigSectionRequest) Reset()

func (*GetConfigSectionRequest) String

func (x *GetConfigSectionRequest) String() string

type GetConfigSectionResponse

type GetConfigSectionResponse struct {
	Section []byte `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"`
	Found   bool   `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetSection

func (*GetConfigSectionResponse) Descriptor deprecated

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

Deprecated: Use GetConfigSectionResponse.ProtoReflect.Descriptor instead.

func (*GetConfigSectionResponse) GetFound

func (x *GetConfigSectionResponse) GetFound() bool

func (*GetConfigSectionResponse) GetSection

func (x *GetConfigSectionResponse) GetSection() []byte

func (*GetConfigSectionResponse) ProtoMessage

func (*GetConfigSectionResponse) ProtoMessage()

func (*GetConfigSectionResponse) ProtoReflect

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

func (*GetConfigSectionResponse) Reset

func (x *GetConfigSectionResponse) Reset()

func (*GetConfigSectionResponse) String

func (x *GetConfigSectionResponse) String() string

type GetConfigStringRequest

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

Request message for GetString

func (*GetConfigStringRequest) Descriptor deprecated

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

Deprecated: Use GetConfigStringRequest.ProtoReflect.Descriptor instead.

func (*GetConfigStringRequest) GetPath

func (x *GetConfigStringRequest) GetPath() string

func (*GetConfigStringRequest) ProtoMessage

func (*GetConfigStringRequest) ProtoMessage()

func (*GetConfigStringRequest) ProtoReflect

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

func (*GetConfigStringRequest) Reset

func (x *GetConfigStringRequest) Reset()

func (*GetConfigStringRequest) String

func (x *GetConfigStringRequest) String() string

type GetConfigStringResponse

type GetConfigStringResponse struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Found bool   `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetString

func (*GetConfigStringResponse) Descriptor deprecated

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

Deprecated: Use GetConfigStringResponse.ProtoReflect.Descriptor instead.

func (*GetConfigStringResponse) GetFound

func (x *GetConfigStringResponse) GetFound() bool

func (*GetConfigStringResponse) GetValue

func (x *GetConfigStringResponse) GetValue() string

func (*GetConfigStringResponse) ProtoMessage

func (*GetConfigStringResponse) ProtoMessage()

func (*GetConfigStringResponse) ProtoReflect

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

func (*GetConfigStringResponse) Reset

func (x *GetConfigStringResponse) Reset()

func (*GetConfigStringResponse) String

func (x *GetConfigStringResponse) String() string

type GetDeploymentContextResponse

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

func (*GetDeploymentContextResponse) Descriptor deprecated

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

Deprecated: Use GetDeploymentContextResponse.ProtoReflect.Descriptor instead.

func (*GetDeploymentContextResponse) GetAzureContext

func (x *GetDeploymentContextResponse) GetAzureContext() *AzureContext

func (*GetDeploymentContextResponse) ProtoMessage

func (*GetDeploymentContextResponse) ProtoMessage()

func (*GetDeploymentContextResponse) ProtoReflect

func (*GetDeploymentContextResponse) Reset

func (x *GetDeploymentContextResponse) Reset()

func (*GetDeploymentContextResponse) String

type GetDeploymentResponse

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

func (*GetDeploymentResponse) Descriptor deprecated

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

Deprecated: Use GetDeploymentResponse.ProtoReflect.Descriptor instead.

func (*GetDeploymentResponse) GetDeployment

func (x *GetDeploymentResponse) GetDeployment() *Deployment

func (*GetDeploymentResponse) ProtoMessage

func (*GetDeploymentResponse) ProtoMessage()

func (*GetDeploymentResponse) ProtoReflect

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

func (*GetDeploymentResponse) Reset

func (x *GetDeploymentResponse) Reset()

func (*GetDeploymentResponse) String

func (x *GetDeploymentResponse) String() string

type GetEnvRequest

type GetEnvRequest struct {
	EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` // Name of the environment.
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                        // Key to retrieve.
	// contains filtered or unexported fields
}

Request to retrieve a specific key-value pair.

func (*GetEnvRequest) Descriptor deprecated

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

Deprecated: Use GetEnvRequest.ProtoReflect.Descriptor instead.

func (*GetEnvRequest) GetEnvName

func (x *GetEnvRequest) GetEnvName() string

func (*GetEnvRequest) GetKey

func (x *GetEnvRequest) GetKey() string

func (*GetEnvRequest) ProtoMessage

func (*GetEnvRequest) ProtoMessage()

func (*GetEnvRequest) ProtoReflect

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

func (*GetEnvRequest) Reset

func (x *GetEnvRequest) Reset()

func (*GetEnvRequest) String

func (x *GetEnvRequest) String() string

type GetEnvironmentRequest

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

Request to retrieve an environment by name.

func (*GetEnvironmentRequest) Descriptor deprecated

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

Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*GetEnvironmentRequest) GetName

func (x *GetEnvironmentRequest) GetName() string

func (*GetEnvironmentRequest) ProtoMessage

func (*GetEnvironmentRequest) ProtoMessage()

func (*GetEnvironmentRequest) ProtoReflect

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

func (*GetEnvironmentRequest) Reset

func (x *GetEnvironmentRequest) Reset()

func (*GetEnvironmentRequest) String

func (x *GetEnvironmentRequest) String() string

type GetProjectResponse

type GetProjectResponse struct {
	Project *ProjectConfig `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

GetProjectResponse message definition

func (*GetProjectResponse) Descriptor deprecated

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

Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead.

func (*GetProjectResponse) GetProject

func (x *GetProjectResponse) GetProject() *ProjectConfig

func (*GetProjectResponse) ProtoMessage

func (*GetProjectResponse) ProtoMessage()

func (*GetProjectResponse) ProtoReflect

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

func (*GetProjectResponse) Reset

func (x *GetProjectResponse) Reset()

func (*GetProjectResponse) String

func (x *GetProjectResponse) String() string

type GetUserConfigRequest

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

Request message for Get

func (*GetUserConfigRequest) Descriptor deprecated

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

Deprecated: Use GetUserConfigRequest.ProtoReflect.Descriptor instead.

func (*GetUserConfigRequest) GetPath

func (x *GetUserConfigRequest) GetPath() string

func (*GetUserConfigRequest) ProtoMessage

func (*GetUserConfigRequest) ProtoMessage()

func (*GetUserConfigRequest) ProtoReflect

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

func (*GetUserConfigRequest) Reset

func (x *GetUserConfigRequest) Reset()

func (*GetUserConfigRequest) String

func (x *GetUserConfigRequest) String() string

type GetUserConfigResponse

type GetUserConfigResponse struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Found bool   `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

Response message for Get

func (*GetUserConfigResponse) Descriptor deprecated

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

Deprecated: Use GetUserConfigResponse.ProtoReflect.Descriptor instead.

func (*GetUserConfigResponse) GetFound

func (x *GetUserConfigResponse) GetFound() bool

func (*GetUserConfigResponse) GetValue

func (x *GetUserConfigResponse) GetValue() []byte

func (*GetUserConfigResponse) ProtoMessage

func (*GetUserConfigResponse) ProtoMessage()

func (*GetUserConfigResponse) ProtoReflect

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

func (*GetUserConfigResponse) Reset

func (x *GetUserConfigResponse) Reset()

func (*GetUserConfigResponse) String

func (x *GetUserConfigResponse) String() string

type GetUserConfigSectionRequest

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

Request message for GetSection

func (*GetUserConfigSectionRequest) Descriptor deprecated

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

Deprecated: Use GetUserConfigSectionRequest.ProtoReflect.Descriptor instead.

func (*GetUserConfigSectionRequest) GetPath

func (x *GetUserConfigSectionRequest) GetPath() string

func (*GetUserConfigSectionRequest) ProtoMessage

func (*GetUserConfigSectionRequest) ProtoMessage()

func (*GetUserConfigSectionRequest) ProtoReflect

func (*GetUserConfigSectionRequest) Reset

func (x *GetUserConfigSectionRequest) Reset()

func (*GetUserConfigSectionRequest) String

func (x *GetUserConfigSectionRequest) String() string

type GetUserConfigSectionResponse

type GetUserConfigSectionResponse struct {
	Section []byte `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"`
	Found   bool   `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetSection

func (*GetUserConfigSectionResponse) Descriptor deprecated

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

Deprecated: Use GetUserConfigSectionResponse.ProtoReflect.Descriptor instead.

func (*GetUserConfigSectionResponse) GetFound

func (x *GetUserConfigSectionResponse) GetFound() bool

func (*GetUserConfigSectionResponse) GetSection

func (x *GetUserConfigSectionResponse) GetSection() []byte

func (*GetUserConfigSectionResponse) ProtoMessage

func (*GetUserConfigSectionResponse) ProtoMessage()

func (*GetUserConfigSectionResponse) ProtoReflect

func (*GetUserConfigSectionResponse) Reset

func (x *GetUserConfigSectionResponse) Reset()

func (*GetUserConfigSectionResponse) String

type GetUserConfigStringRequest

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

Request message for GetString

func (*GetUserConfigStringRequest) Descriptor deprecated

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

Deprecated: Use GetUserConfigStringRequest.ProtoReflect.Descriptor instead.

func (*GetUserConfigStringRequest) GetPath

func (x *GetUserConfigStringRequest) GetPath() string

func (*GetUserConfigStringRequest) ProtoMessage

func (*GetUserConfigStringRequest) ProtoMessage()

func (*GetUserConfigStringRequest) ProtoReflect

func (*GetUserConfigStringRequest) Reset

func (x *GetUserConfigStringRequest) Reset()

func (*GetUserConfigStringRequest) String

func (x *GetUserConfigStringRequest) String() string

type GetUserConfigStringResponse

type GetUserConfigStringResponse struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Found bool   `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetString

func (*GetUserConfigStringResponse) Descriptor deprecated

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

Deprecated: Use GetUserConfigStringResponse.ProtoReflect.Descriptor instead.

func (*GetUserConfigStringResponse) GetFound

func (x *GetUserConfigStringResponse) GetFound() bool

func (*GetUserConfigStringResponse) GetValue

func (x *GetUserConfigStringResponse) GetValue() string

func (*GetUserConfigStringResponse) ProtoMessage

func (*GetUserConfigStringResponse) ProtoMessage()

func (*GetUserConfigStringResponse) ProtoReflect

func (*GetUserConfigStringResponse) Reset

func (x *GetUserConfigStringResponse) Reset()

func (*GetUserConfigStringResponse) String

func (x *GetUserConfigStringResponse) String() string

type InfraOptions

type InfraOptions struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Module   string `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

InfraOptions message definition

func (*InfraOptions) Descriptor deprecated

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

Deprecated: Use InfraOptions.ProtoReflect.Descriptor instead.

func (*InfraOptions) GetModule

func (x *InfraOptions) GetModule() string

func (*InfraOptions) GetPath

func (x *InfraOptions) GetPath() string

func (*InfraOptions) GetProvider

func (x *InfraOptions) GetProvider() string

func (*InfraOptions) ProtoMessage

func (*InfraOptions) ProtoMessage()

func (*InfraOptions) ProtoReflect

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

func (*InfraOptions) Reset

func (x *InfraOptions) Reset()

func (*InfraOptions) String

func (x *InfraOptions) String() string

type InvokeProjectHandler

type InvokeProjectHandler struct {
	EventName string         `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
	Project   *ProjectConfig `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*InvokeProjectHandler) Descriptor deprecated

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

Deprecated: Use InvokeProjectHandler.ProtoReflect.Descriptor instead.

func (*InvokeProjectHandler) GetEventName

func (x *InvokeProjectHandler) GetEventName() string

func (*InvokeProjectHandler) GetProject

func (x *InvokeProjectHandler) GetProject() *ProjectConfig

func (*InvokeProjectHandler) ProtoMessage

func (*InvokeProjectHandler) ProtoMessage()

func (*InvokeProjectHandler) ProtoReflect

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

func (*InvokeProjectHandler) Reset

func (x *InvokeProjectHandler) Reset()

func (*InvokeProjectHandler) String

func (x *InvokeProjectHandler) String() string

type InvokeServiceHandler

type InvokeServiceHandler struct {
	EventName string         `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
	Project   *ProjectConfig `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Service   *ServiceConfig `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*InvokeServiceHandler) Descriptor deprecated

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

Deprecated: Use InvokeServiceHandler.ProtoReflect.Descriptor instead.

func (*InvokeServiceHandler) GetEventName

func (x *InvokeServiceHandler) GetEventName() string

func (*InvokeServiceHandler) GetProject

func (x *InvokeServiceHandler) GetProject() *ProjectConfig

func (*InvokeServiceHandler) GetService

func (x *InvokeServiceHandler) GetService() *ServiceConfig

func (*InvokeServiceHandler) ProtoMessage

func (*InvokeServiceHandler) ProtoMessage()

func (*InvokeServiceHandler) ProtoReflect

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

func (*InvokeServiceHandler) Reset

func (x *InvokeServiceHandler) Reset()

func (*InvokeServiceHandler) String

func (x *InvokeServiceHandler) String() string

type KeyValue

type KeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`     // Key name.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value associated with the key.
	// contains filtered or unexported fields
}

Key-value pair definition.

func (*KeyValue) Descriptor deprecated

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

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

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) String

func (x *KeyValue) String() string

type KeyValueListResponse

type KeyValueListResponse struct {
	KeyValues []*KeyValue `protobuf:"bytes,1,rep,name=key_values,json=keyValues,proto3" json:"key_values,omitempty"` // List of key-value pairs.
	// contains filtered or unexported fields
}

Response containing a list of key-value pairs.

func (*KeyValueListResponse) Descriptor deprecated

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

Deprecated: Use KeyValueListResponse.ProtoReflect.Descriptor instead.

func (*KeyValueListResponse) GetKeyValues

func (x *KeyValueListResponse) GetKeyValues() []*KeyValue

func (*KeyValueListResponse) ProtoMessage

func (*KeyValueListResponse) ProtoMessage()

func (*KeyValueListResponse) ProtoReflect

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

func (*KeyValueListResponse) Reset

func (x *KeyValueListResponse) Reset()

func (*KeyValueListResponse) String

func (x *KeyValueListResponse) String() string

type KeyValueResponse

type KeyValueResponse struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`     // Key name.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value associated with the key.
	// contains filtered or unexported fields
}

Response containing a single key-value pair.

func (*KeyValueResponse) Descriptor deprecated

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

Deprecated: Use KeyValueResponse.ProtoReflect.Descriptor instead.

func (*KeyValueResponse) GetKey

func (x *KeyValueResponse) GetKey() string

func (*KeyValueResponse) GetValue

func (x *KeyValueResponse) GetValue() string

func (*KeyValueResponse) ProtoMessage

func (*KeyValueResponse) ProtoMessage()

func (*KeyValueResponse) ProtoReflect

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

func (*KeyValueResponse) Reset

func (x *KeyValueResponse) Reset()

func (*KeyValueResponse) String

func (x *KeyValueResponse) String() string

type Location

type Location struct {
	Name                string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName         string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	RegionalDisplayName string `protobuf:"bytes,3,opt,name=regional_display_name,json=regionalDisplayName,proto3" json:"regional_display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetDisplayName

func (x *Location) GetDisplayName() string

func (*Location) GetName

func (x *Location) GetName() string

func (*Location) GetRegionalDisplayName

func (x *Location) GetRegionalDisplayName() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

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

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type ProjectConfig

type ProjectConfig struct {
	Name              string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceGroupName string                    `protobuf:"bytes,2,opt,name=resource_group_name,json=resourceGroupName,proto3" json:"resource_group_name,omitempty"`
	Path              string                    `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Metadata          *ProjectMetadata          `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Services          map[string]*ServiceConfig `` /* 157-byte string literal not displayed */
	Infra             *InfraOptions             `protobuf:"bytes,6,opt,name=infra,proto3" json:"infra,omitempty"`
	// contains filtered or unexported fields
}

ProjectConfig message definition

func (*ProjectConfig) Descriptor deprecated

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

Deprecated: Use ProjectConfig.ProtoReflect.Descriptor instead.

func (*ProjectConfig) GetInfra

func (x *ProjectConfig) GetInfra() *InfraOptions

func (*ProjectConfig) GetMetadata

func (x *ProjectConfig) GetMetadata() *ProjectMetadata

func (*ProjectConfig) GetName

func (x *ProjectConfig) GetName() string

func (*ProjectConfig) GetPath

func (x *ProjectConfig) GetPath() string

func (*ProjectConfig) GetResourceGroupName

func (x *ProjectConfig) GetResourceGroupName() string

func (*ProjectConfig) GetServices

func (x *ProjectConfig) GetServices() map[string]*ServiceConfig

func (*ProjectConfig) ProtoMessage

func (*ProjectConfig) ProtoMessage()

func (*ProjectConfig) ProtoReflect

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

func (*ProjectConfig) Reset

func (x *ProjectConfig) Reset()

func (*ProjectConfig) String

func (x *ProjectConfig) String() string

type ProjectEventArgs

type ProjectEventArgs struct {
	Project *ProjectConfig
}

type ProjectEventHandler

type ProjectEventHandler func(ctx context.Context, args *ProjectEventArgs) error

type ProjectHandlerStatus

type ProjectHandlerStatus struct {
	EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"` // The event this status update is for
	Status    string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`                        // "running", "completed", "failed", etc.
	Message   string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`                      // Optional additional status details
	// contains filtered or unexported fields
}

Client sends status updates back to the server

func (*ProjectHandlerStatus) Descriptor deprecated

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

Deprecated: Use ProjectHandlerStatus.ProtoReflect.Descriptor instead.

func (*ProjectHandlerStatus) GetEventName

func (x *ProjectHandlerStatus) GetEventName() string

func (*ProjectHandlerStatus) GetMessage

func (x *ProjectHandlerStatus) GetMessage() string

func (*ProjectHandlerStatus) GetStatus

func (x *ProjectHandlerStatus) GetStatus() string

func (*ProjectHandlerStatus) ProtoMessage

func (*ProjectHandlerStatus) ProtoMessage()

func (*ProjectHandlerStatus) ProtoReflect

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

func (*ProjectHandlerStatus) Reset

func (x *ProjectHandlerStatus) Reset()

func (*ProjectHandlerStatus) String

func (x *ProjectHandlerStatus) String() string

type ProjectMetadata

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

ProjectMetadata message definition

func (*ProjectMetadata) Descriptor deprecated

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

Deprecated: Use ProjectMetadata.ProtoReflect.Descriptor instead.

func (*ProjectMetadata) GetTemplate

func (x *ProjectMetadata) GetTemplate() string

func (*ProjectMetadata) ProtoMessage

func (*ProjectMetadata) ProtoMessage()

func (*ProjectMetadata) ProtoReflect

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

func (*ProjectMetadata) Reset

func (x *ProjectMetadata) Reset()

func (*ProjectMetadata) String

func (x *ProjectMetadata) String() string

type ProjectServiceClient

type ProjectServiceClient interface {
	// Gets the current project.
	Get(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetProjectResponse, error)
}

ProjectServiceClient is the client API for ProjectService 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.

ProjectService defines methods for managing projects and their configurations.

type ProjectServiceServer

type ProjectServiceServer interface {
	// Gets the current project.
	Get(context.Context, *EmptyRequest) (*GetProjectResponse, error)
	// contains filtered or unexported methods
}

ProjectServiceServer is the server API for ProjectService service. All implementations must embed UnimplementedProjectServiceServer for forward compatibility.

ProjectService defines methods for managing projects and their configurations.

type PromptLocationRequest

type PromptLocationRequest struct {
	AzureContext *AzureContext `protobuf:"bytes,1,opt,name=azure_context,json=azureContext,proto3" json:"azure_context,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptLocationRequest) Descriptor deprecated

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

Deprecated: Use PromptLocationRequest.ProtoReflect.Descriptor instead.

func (*PromptLocationRequest) GetAzureContext

func (x *PromptLocationRequest) GetAzureContext() *AzureContext

func (*PromptLocationRequest) ProtoMessage

func (*PromptLocationRequest) ProtoMessage()

func (*PromptLocationRequest) ProtoReflect

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

func (*PromptLocationRequest) Reset

func (x *PromptLocationRequest) Reset()

func (*PromptLocationRequest) String

func (x *PromptLocationRequest) String() string

type PromptLocationResponse

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

func (*PromptLocationResponse) Descriptor deprecated

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

Deprecated: Use PromptLocationResponse.ProtoReflect.Descriptor instead.

func (*PromptLocationResponse) GetLocation

func (x *PromptLocationResponse) GetLocation() *Location

func (*PromptLocationResponse) ProtoMessage

func (*PromptLocationResponse) ProtoMessage()

func (*PromptLocationResponse) ProtoReflect

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

func (*PromptLocationResponse) Reset

func (x *PromptLocationResponse) Reset()

func (*PromptLocationResponse) String

func (x *PromptLocationResponse) String() string

type PromptOptions

type PromptOptions struct {
	Message           string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	HelpMessage       string `protobuf:"bytes,2,opt,name=help_message,json=helpMessage,proto3" json:"help_message,omitempty"`
	Hint              string `protobuf:"bytes,3,opt,name=hint,proto3" json:"hint,omitempty"`
	Placeholder       string `protobuf:"bytes,4,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	ValidationMessage string `protobuf:"bytes,5,opt,name=validation_message,json=validationMessage,proto3" json:"validation_message,omitempty"`
	RequiredMessage   string `protobuf:"bytes,6,opt,name=required_message,json=requiredMessage,proto3" json:"required_message,omitempty"`
	Required          bool   `protobuf:"varint,7,opt,name=required,proto3" json:"required,omitempty"`
	DefaultValue      string `protobuf:"bytes,8,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"`
	ClearOnCompletion bool   `protobuf:"varint,9,opt,name=clear_on_completion,json=clearOnCompletion,proto3" json:"clear_on_completion,omitempty"`
	IgnoreHintKeys    bool   `protobuf:"varint,10,opt,name=ignore_hint_keys,json=ignoreHintKeys,proto3" json:"ignore_hint_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptOptions) Descriptor deprecated

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

Deprecated: Use PromptOptions.ProtoReflect.Descriptor instead.

func (*PromptOptions) GetClearOnCompletion

func (x *PromptOptions) GetClearOnCompletion() bool

func (*PromptOptions) GetDefaultValue

func (x *PromptOptions) GetDefaultValue() string

func (*PromptOptions) GetHelpMessage

func (x *PromptOptions) GetHelpMessage() string

func (*PromptOptions) GetHint

func (x *PromptOptions) GetHint() string

func (*PromptOptions) GetIgnoreHintKeys

func (x *PromptOptions) GetIgnoreHintKeys() bool

func (*PromptOptions) GetMessage

func (x *PromptOptions) GetMessage() string

func (*PromptOptions) GetPlaceholder

func (x *PromptOptions) GetPlaceholder() string

func (*PromptOptions) GetRequired

func (x *PromptOptions) GetRequired() bool

func (*PromptOptions) GetRequiredMessage

func (x *PromptOptions) GetRequiredMessage() string

func (*PromptOptions) GetValidationMessage

func (x *PromptOptions) GetValidationMessage() string

func (*PromptOptions) ProtoMessage

func (*PromptOptions) ProtoMessage()

func (*PromptOptions) ProtoReflect

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

func (*PromptOptions) Reset

func (x *PromptOptions) Reset()

func (*PromptOptions) String

func (x *PromptOptions) String() string

type PromptRequest

type PromptRequest struct {
	Options *PromptOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptRequest) Descriptor deprecated

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

Deprecated: Use PromptRequest.ProtoReflect.Descriptor instead.

func (*PromptRequest) GetOptions

func (x *PromptRequest) GetOptions() *PromptOptions

func (*PromptRequest) ProtoMessage

func (*PromptRequest) ProtoMessage()

func (*PromptRequest) ProtoReflect

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

func (*PromptRequest) Reset

func (x *PromptRequest) Reset()

func (*PromptRequest) String

func (x *PromptRequest) String() string

type PromptResourceGroupRequest

type PromptResourceGroupRequest struct {
	AzureContext *AzureContext `protobuf:"bytes,1,opt,name=azure_context,json=azureContext,proto3" json:"azure_context,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResourceGroupRequest) Descriptor deprecated

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

Deprecated: Use PromptResourceGroupRequest.ProtoReflect.Descriptor instead.

func (*PromptResourceGroupRequest) GetAzureContext

func (x *PromptResourceGroupRequest) GetAzureContext() *AzureContext

func (*PromptResourceGroupRequest) ProtoMessage

func (*PromptResourceGroupRequest) ProtoMessage()

func (*PromptResourceGroupRequest) ProtoReflect

func (*PromptResourceGroupRequest) Reset

func (x *PromptResourceGroupRequest) Reset()

func (*PromptResourceGroupRequest) String

func (x *PromptResourceGroupRequest) String() string

type PromptResourceGroupResourceRequest

type PromptResourceGroupResourceRequest struct {
	AzureContext *AzureContext          `protobuf:"bytes,1,opt,name=azure_context,json=azureContext,proto3" json:"azure_context,omitempty"`
	Options      *PromptResourceOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResourceGroupResourceRequest) Descriptor deprecated

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

Deprecated: Use PromptResourceGroupResourceRequest.ProtoReflect.Descriptor instead.

func (*PromptResourceGroupResourceRequest) GetAzureContext

func (x *PromptResourceGroupResourceRequest) GetAzureContext() *AzureContext

func (*PromptResourceGroupResourceRequest) GetOptions

func (*PromptResourceGroupResourceRequest) ProtoMessage

func (*PromptResourceGroupResourceRequest) ProtoMessage()

func (*PromptResourceGroupResourceRequest) ProtoReflect

func (*PromptResourceGroupResourceRequest) Reset

func (*PromptResourceGroupResourceRequest) String

type PromptResourceGroupResourceResponse

type PromptResourceGroupResourceResponse struct {
	Resource *ResourceExtended `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResourceGroupResourceResponse) Descriptor deprecated

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

Deprecated: Use PromptResourceGroupResourceResponse.ProtoReflect.Descriptor instead.

func (*PromptResourceGroupResourceResponse) GetResource

func (*PromptResourceGroupResourceResponse) ProtoMessage

func (*PromptResourceGroupResourceResponse) ProtoMessage()

func (*PromptResourceGroupResourceResponse) ProtoReflect

func (*PromptResourceGroupResourceResponse) Reset

func (*PromptResourceGroupResourceResponse) String

type PromptResourceGroupResponse

type PromptResourceGroupResponse struct {
	ResourceGroup *ResourceGroup `protobuf:"bytes,1,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResourceGroupResponse) Descriptor deprecated

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

Deprecated: Use PromptResourceGroupResponse.ProtoReflect.Descriptor instead.

func (*PromptResourceGroupResponse) GetResourceGroup

func (x *PromptResourceGroupResponse) GetResourceGroup() *ResourceGroup

func (*PromptResourceGroupResponse) ProtoMessage

func (*PromptResourceGroupResponse) ProtoMessage()

func (*PromptResourceGroupResponse) ProtoReflect

func (*PromptResourceGroupResponse) Reset

func (x *PromptResourceGroupResponse) Reset()

func (*PromptResourceGroupResponse) String

func (x *PromptResourceGroupResponse) String() string

type PromptResourceOptions

type PromptResourceOptions struct {
	ResourceType            string                       `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	Kinds                   []string                     `protobuf:"bytes,2,rep,name=kinds,proto3" json:"kinds,omitempty"`
	ResourceTypeDisplayName string                       `` /* 134-byte string literal not displayed */
	SelectOptions           *PromptResourceSelectOptions `protobuf:"bytes,4,opt,name=select_options,json=selectOptions,proto3" json:"select_options,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResourceOptions) Descriptor deprecated

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

Deprecated: Use PromptResourceOptions.ProtoReflect.Descriptor instead.

func (*PromptResourceOptions) GetKinds

func (x *PromptResourceOptions) GetKinds() []string

func (*PromptResourceOptions) GetResourceType

func (x *PromptResourceOptions) GetResourceType() string

func (*PromptResourceOptions) GetResourceTypeDisplayName

func (x *PromptResourceOptions) GetResourceTypeDisplayName() string

func (*PromptResourceOptions) GetSelectOptions

func (x *PromptResourceOptions) GetSelectOptions() *PromptResourceSelectOptions

func (*PromptResourceOptions) ProtoMessage

func (*PromptResourceOptions) ProtoMessage()

func (*PromptResourceOptions) ProtoReflect

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

func (*PromptResourceOptions) Reset

func (x *PromptResourceOptions) Reset()

func (*PromptResourceOptions) String

func (x *PromptResourceOptions) String() string

type PromptResourceSelectOptions

type PromptResourceSelectOptions struct {
	ForceNewResource   *bool  `protobuf:"varint,1,opt,name=force_new_resource,json=forceNewResource,proto3,oneof" json:"force_new_resource,omitempty"`
	AllowNewResource   *bool  `protobuf:"varint,2,opt,name=allow_new_resource,json=allowNewResource,proto3,oneof" json:"allow_new_resource,omitempty"`
	NewResourceMessage string `protobuf:"bytes,3,opt,name=new_resource_message,json=newResourceMessage,proto3" json:"new_resource_message,omitempty"`
	CreatingMessage    string `protobuf:"bytes,4,opt,name=creating_message,json=creatingMessage,proto3" json:"creating_message,omitempty"`
	Message            string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	HelpMessage        string `protobuf:"bytes,6,opt,name=help_message,json=helpMessage,proto3" json:"help_message,omitempty"`
	LoadingMessage     string `protobuf:"bytes,7,opt,name=loading_message,json=loadingMessage,proto3" json:"loading_message,omitempty"`
	DisplayNumbers     *bool  `protobuf:"varint,8,opt,name=display_numbers,json=displayNumbers,proto3,oneof" json:"display_numbers,omitempty"`
	DisplayCount       int32  `protobuf:"varint,9,opt,name=display_count,json=displayCount,proto3" json:"display_count,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResourceSelectOptions) Descriptor deprecated

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

Deprecated: Use PromptResourceSelectOptions.ProtoReflect.Descriptor instead.

func (*PromptResourceSelectOptions) GetAllowNewResource

func (x *PromptResourceSelectOptions) GetAllowNewResource() bool

func (*PromptResourceSelectOptions) GetCreatingMessage

func (x *PromptResourceSelectOptions) GetCreatingMessage() string

func (*PromptResourceSelectOptions) GetDisplayCount

func (x *PromptResourceSelectOptions) GetDisplayCount() int32

func (*PromptResourceSelectOptions) GetDisplayNumbers

func (x *PromptResourceSelectOptions) GetDisplayNumbers() bool

func (*PromptResourceSelectOptions) GetForceNewResource

func (x *PromptResourceSelectOptions) GetForceNewResource() bool

func (*PromptResourceSelectOptions) GetHelpMessage

func (x *PromptResourceSelectOptions) GetHelpMessage() string

func (*PromptResourceSelectOptions) GetLoadingMessage

func (x *PromptResourceSelectOptions) GetLoadingMessage() string

func (*PromptResourceSelectOptions) GetMessage

func (x *PromptResourceSelectOptions) GetMessage() string

func (*PromptResourceSelectOptions) GetNewResourceMessage

func (x *PromptResourceSelectOptions) GetNewResourceMessage() string

func (*PromptResourceSelectOptions) ProtoMessage

func (*PromptResourceSelectOptions) ProtoMessage()

func (*PromptResourceSelectOptions) ProtoReflect

func (*PromptResourceSelectOptions) Reset

func (x *PromptResourceSelectOptions) Reset()

func (*PromptResourceSelectOptions) String

func (x *PromptResourceSelectOptions) String() string

type PromptResponse

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

func (*PromptResponse) Descriptor deprecated

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

Deprecated: Use PromptResponse.ProtoReflect.Descriptor instead.

func (*PromptResponse) GetValue

func (x *PromptResponse) GetValue() string

func (*PromptResponse) ProtoMessage

func (*PromptResponse) ProtoMessage()

func (*PromptResponse) ProtoReflect

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

func (*PromptResponse) Reset

func (x *PromptResponse) Reset()

func (*PromptResponse) String

func (x *PromptResponse) String() string

type PromptServiceClient

type PromptServiceClient interface {
	// PromptSubscription prompts the user to select a subscription.
	PromptSubscription(ctx context.Context, in *PromptSubscriptionRequest, opts ...grpc.CallOption) (*PromptSubscriptionResponse, error)
	// PromptLocation prompts the user to select a location.
	PromptLocation(ctx context.Context, in *PromptLocationRequest, opts ...grpc.CallOption) (*PromptLocationResponse, error)
	// PromptResourceGroup prompts the user to select a resource group.
	PromptResourceGroup(ctx context.Context, in *PromptResourceGroupRequest, opts ...grpc.CallOption) (*PromptResourceGroupResponse, error)
	// Confirm prompts the user to confirm an action.
	Confirm(ctx context.Context, in *ConfirmRequest, opts ...grpc.CallOption) (*ConfirmResponse, error)
	// Prompt prompts the user for text input.
	Prompt(ctx context.Context, in *PromptRequest, opts ...grpc.CallOption) (*PromptResponse, error)
	// Select prompts the user to select an option from a list.
	Select(ctx context.Context, in *SelectRequest, opts ...grpc.CallOption) (*SelectResponse, error)
	// PromptSubscriptionResource prompts the user to select a resource from a subscription.
	PromptSubscriptionResource(ctx context.Context, in *PromptSubscriptionResourceRequest, opts ...grpc.CallOption) (*PromptSubscriptionResourceResponse, error)
	// PromptResourceGroupResource prompts the user to select a resource from a resource group.
	PromptResourceGroupResource(ctx context.Context, in *PromptResourceGroupResourceRequest, opts ...grpc.CallOption) (*PromptResourceGroupResourceResponse, error)
}

PromptServiceClient is the client API for PromptService 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 PromptServiceServer

type PromptServiceServer interface {
	// PromptSubscription prompts the user to select a subscription.
	PromptSubscription(context.Context, *PromptSubscriptionRequest) (*PromptSubscriptionResponse, error)
	// PromptLocation prompts the user to select a location.
	PromptLocation(context.Context, *PromptLocationRequest) (*PromptLocationResponse, error)
	// PromptResourceGroup prompts the user to select a resource group.
	PromptResourceGroup(context.Context, *PromptResourceGroupRequest) (*PromptResourceGroupResponse, error)
	// Confirm prompts the user to confirm an action.
	Confirm(context.Context, *ConfirmRequest) (*ConfirmResponse, error)
	// Prompt prompts the user for text input.
	Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
	// Select prompts the user to select an option from a list.
	Select(context.Context, *SelectRequest) (*SelectResponse, error)
	// PromptSubscriptionResource prompts the user to select a resource from a subscription.
	PromptSubscriptionResource(context.Context, *PromptSubscriptionResourceRequest) (*PromptSubscriptionResourceResponse, error)
	// PromptResourceGroupResource prompts the user to select a resource from a resource group.
	PromptResourceGroupResource(context.Context, *PromptResourceGroupResourceRequest) (*PromptResourceGroupResourceResponse, error)
	// contains filtered or unexported methods
}

PromptServiceServer is the server API for PromptService service. All implementations must embed UnimplementedPromptServiceServer for forward compatibility.

type PromptSubscriptionRequest

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

func (*PromptSubscriptionRequest) Descriptor deprecated

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

Deprecated: Use PromptSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*PromptSubscriptionRequest) ProtoMessage

func (*PromptSubscriptionRequest) ProtoMessage()

func (*PromptSubscriptionRequest) ProtoReflect

func (*PromptSubscriptionRequest) Reset

func (x *PromptSubscriptionRequest) Reset()

func (*PromptSubscriptionRequest) String

func (x *PromptSubscriptionRequest) String() string

type PromptSubscriptionResourceRequest

type PromptSubscriptionResourceRequest struct {
	AzureContext *AzureContext          `protobuf:"bytes,1,opt,name=azure_context,json=azureContext,proto3" json:"azure_context,omitempty"`
	Options      *PromptResourceOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptSubscriptionResourceRequest) Descriptor deprecated

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

Deprecated: Use PromptSubscriptionResourceRequest.ProtoReflect.Descriptor instead.

func (*PromptSubscriptionResourceRequest) GetAzureContext

func (x *PromptSubscriptionResourceRequest) GetAzureContext() *AzureContext

func (*PromptSubscriptionResourceRequest) GetOptions

func (*PromptSubscriptionResourceRequest) ProtoMessage

func (*PromptSubscriptionResourceRequest) ProtoMessage()

func (*PromptSubscriptionResourceRequest) ProtoReflect

func (*PromptSubscriptionResourceRequest) Reset

func (*PromptSubscriptionResourceRequest) String

type PromptSubscriptionResourceResponse

type PromptSubscriptionResourceResponse struct {
	Resource *ResourceExtended `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptSubscriptionResourceResponse) Descriptor deprecated

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

Deprecated: Use PromptSubscriptionResourceResponse.ProtoReflect.Descriptor instead.

func (*PromptSubscriptionResourceResponse) GetResource

func (*PromptSubscriptionResourceResponse) ProtoMessage

func (*PromptSubscriptionResourceResponse) ProtoMessage()

func (*PromptSubscriptionResourceResponse) ProtoReflect

func (*PromptSubscriptionResourceResponse) Reset

func (*PromptSubscriptionResourceResponse) String

type PromptSubscriptionResponse

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

func (*PromptSubscriptionResponse) Descriptor deprecated

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

Deprecated: Use PromptSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*PromptSubscriptionResponse) GetSubscription

func (x *PromptSubscriptionResponse) GetSubscription() *Subscription

func (*PromptSubscriptionResponse) ProtoMessage

func (*PromptSubscriptionResponse) ProtoMessage()

func (*PromptSubscriptionResponse) ProtoReflect

func (*PromptSubscriptionResponse) Reset

func (x *PromptSubscriptionResponse) Reset()

func (*PromptSubscriptionResponse) String

func (x *PromptSubscriptionResponse) String() string

type RequiredVersions

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

RequiredVersions message definition

func (*RequiredVersions) Descriptor deprecated

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

Deprecated: Use RequiredVersions.ProtoReflect.Descriptor instead.

func (*RequiredVersions) GetAzd

func (x *RequiredVersions) GetAzd() string

func (*RequiredVersions) ProtoMessage

func (*RequiredVersions) ProtoMessage()

func (*RequiredVersions) ProtoReflect

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

func (*RequiredVersions) Reset

func (x *RequiredVersions) Reset()

func (*RequiredVersions) String

func (x *RequiredVersions) String() string

type Resource

type Resource struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type     string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetLocation

func (x *Resource) GetLocation() string

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetType

func (x *Resource) GetType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type ResourceExtended

type ResourceExtended struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type     string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	Kind     string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceExtended) Descriptor deprecated

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

Deprecated: Use ResourceExtended.ProtoReflect.Descriptor instead.

func (*ResourceExtended) GetId

func (x *ResourceExtended) GetId() string

func (*ResourceExtended) GetKind

func (x *ResourceExtended) GetKind() string

func (*ResourceExtended) GetLocation

func (x *ResourceExtended) GetLocation() string

func (*ResourceExtended) GetName

func (x *ResourceExtended) GetName() string

func (*ResourceExtended) GetType

func (x *ResourceExtended) GetType() string

func (*ResourceExtended) ProtoMessage

func (*ResourceExtended) ProtoMessage()

func (*ResourceExtended) ProtoReflect

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

func (*ResourceExtended) Reset

func (x *ResourceExtended) Reset()

func (*ResourceExtended) String

func (x *ResourceExtended) String() string

type ResourceGroup

type ResourceGroup struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceGroup) Descriptor deprecated

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

Deprecated: Use ResourceGroup.ProtoReflect.Descriptor instead.

func (*ResourceGroup) GetId

func (x *ResourceGroup) GetId() string

func (*ResourceGroup) GetLocation

func (x *ResourceGroup) GetLocation() string

func (*ResourceGroup) GetName

func (x *ResourceGroup) GetName() string

func (*ResourceGroup) ProtoMessage

func (*ResourceGroup) ProtoMessage()

func (*ResourceGroup) ProtoReflect

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

func (*ResourceGroup) Reset

func (x *ResourceGroup) Reset()

func (*ResourceGroup) String

func (x *ResourceGroup) String() string

type SelectEnvironmentRequest

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

func (*SelectEnvironmentRequest) Descriptor deprecated

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

Deprecated: Use SelectEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*SelectEnvironmentRequest) GetName

func (x *SelectEnvironmentRequest) GetName() string

func (*SelectEnvironmentRequest) ProtoMessage

func (*SelectEnvironmentRequest) ProtoMessage()

func (*SelectEnvironmentRequest) ProtoReflect

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

func (*SelectEnvironmentRequest) Reset

func (x *SelectEnvironmentRequest) Reset()

func (*SelectEnvironmentRequest) String

func (x *SelectEnvironmentRequest) String() string

type SelectOptions

type SelectOptions struct {
	SelectedIndex   *int32   `protobuf:"varint,1,opt,name=SelectedIndex,proto3,oneof" json:"SelectedIndex,omitempty"`
	Message         string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Allowed         []string `protobuf:"bytes,3,rep,name=allowed,proto3" json:"allowed,omitempty"`
	HelpMessage     string   `protobuf:"bytes,4,opt,name=help_message,json=helpMessage,proto3" json:"help_message,omitempty"`
	Hint            string   `protobuf:"bytes,5,opt,name=hint,proto3" json:"hint,omitempty"`
	DisplayCount    int32    `protobuf:"varint,6,opt,name=display_count,json=displayCount,proto3" json:"display_count,omitempty"`
	DisplayNumbers  *bool    `protobuf:"varint,7,opt,name=display_numbers,json=displayNumbers,proto3,oneof" json:"display_numbers,omitempty"`
	EnableFiltering *bool    `protobuf:"varint,8,opt,name=enable_filtering,json=enableFiltering,proto3,oneof" json:"enable_filtering,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectOptions) Descriptor deprecated

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

Deprecated: Use SelectOptions.ProtoReflect.Descriptor instead.

func (*SelectOptions) GetAllowed

func (x *SelectOptions) GetAllowed() []string

func (*SelectOptions) GetDisplayCount

func (x *SelectOptions) GetDisplayCount() int32

func (*SelectOptions) GetDisplayNumbers

func (x *SelectOptions) GetDisplayNumbers() bool

func (*SelectOptions) GetEnableFiltering

func (x *SelectOptions) GetEnableFiltering() bool

func (*SelectOptions) GetHelpMessage

func (x *SelectOptions) GetHelpMessage() string

func (*SelectOptions) GetHint

func (x *SelectOptions) GetHint() string

func (*SelectOptions) GetMessage

func (x *SelectOptions) GetMessage() string

func (*SelectOptions) GetSelectedIndex

func (x *SelectOptions) GetSelectedIndex() int32

func (*SelectOptions) ProtoMessage

func (*SelectOptions) ProtoMessage()

func (*SelectOptions) ProtoReflect

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

func (*SelectOptions) Reset

func (x *SelectOptions) Reset()

func (*SelectOptions) String

func (x *SelectOptions) String() string

type SelectRequest

type SelectRequest struct {
	Options *SelectOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectRequest) Descriptor deprecated

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

Deprecated: Use SelectRequest.ProtoReflect.Descriptor instead.

func (*SelectRequest) GetOptions

func (x *SelectRequest) GetOptions() *SelectOptions

func (*SelectRequest) ProtoMessage

func (*SelectRequest) ProtoMessage()

func (*SelectRequest) ProtoReflect

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

func (*SelectRequest) Reset

func (x *SelectRequest) Reset()

func (*SelectRequest) String

func (x *SelectRequest) String() string

type SelectResponse

type SelectResponse struct {
	Value *int32 `protobuf:"varint,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectResponse) Descriptor deprecated

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

Deprecated: Use SelectResponse.ProtoReflect.Descriptor instead.

func (*SelectResponse) GetValue

func (x *SelectResponse) GetValue() int32

func (*SelectResponse) ProtoMessage

func (*SelectResponse) ProtoMessage()

func (*SelectResponse) ProtoReflect

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

func (*SelectResponse) Reset

func (x *SelectResponse) Reset()

func (*SelectResponse) String

func (x *SelectResponse) String() string

type ServerEventOptions

type ServerEventOptions struct {
	Host     string
	Language string
}

type ServiceConfig

type ServiceConfig struct {
	Name              string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceGroupName string `protobuf:"bytes,2,opt,name=resource_group_name,json=resourceGroupName,proto3" json:"resource_group_name,omitempty"`
	ResourceName      string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	ApiVersion        string `protobuf:"bytes,4,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	RelativePath      string `protobuf:"bytes,5,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
	Host              string `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"`
	Language          string `protobuf:"bytes,7,opt,name=language,proto3" json:"language,omitempty"`
	OutputPath        string `protobuf:"bytes,8,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
	Image             string `protobuf:"bytes,9,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

ServiceConfig message definition

func (*ServiceConfig) Descriptor deprecated

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

Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.

func (*ServiceConfig) GetApiVersion

func (x *ServiceConfig) GetApiVersion() string

func (*ServiceConfig) GetHost

func (x *ServiceConfig) GetHost() string

func (*ServiceConfig) GetImage

func (x *ServiceConfig) GetImage() string

func (*ServiceConfig) GetLanguage

func (x *ServiceConfig) GetLanguage() string

func (*ServiceConfig) GetName

func (x *ServiceConfig) GetName() string

func (*ServiceConfig) GetOutputPath

func (x *ServiceConfig) GetOutputPath() string

func (*ServiceConfig) GetRelativePath

func (x *ServiceConfig) GetRelativePath() string

func (*ServiceConfig) GetResourceGroupName

func (x *ServiceConfig) GetResourceGroupName() string

func (*ServiceConfig) GetResourceName

func (x *ServiceConfig) GetResourceName() string

func (*ServiceConfig) ProtoMessage

func (*ServiceConfig) ProtoMessage()

func (*ServiceConfig) ProtoReflect

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

func (*ServiceConfig) Reset

func (x *ServiceConfig) Reset()

func (*ServiceConfig) String

func (x *ServiceConfig) String() string

type ServiceEventArgs

type ServiceEventArgs struct {
	Project *ProjectConfig
	Service *ServiceConfig
}

type ServiceEventHandler

type ServiceEventHandler func(ctx context.Context, args *ServiceEventArgs) error

type ServiceHandlerStatus

type ServiceHandlerStatus struct {
	EventName   string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`       // The event this status update is for
	ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // The service this status update is for
	Status      string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`                              // "running", "completed", "failed", etc.
	Message     string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`                            // Optional additional status details
	// contains filtered or unexported fields
}

func (*ServiceHandlerStatus) Descriptor deprecated

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

Deprecated: Use ServiceHandlerStatus.ProtoReflect.Descriptor instead.

func (*ServiceHandlerStatus) GetEventName

func (x *ServiceHandlerStatus) GetEventName() string

func (*ServiceHandlerStatus) GetMessage

func (x *ServiceHandlerStatus) GetMessage() string

func (*ServiceHandlerStatus) GetServiceName

func (x *ServiceHandlerStatus) GetServiceName() string

func (*ServiceHandlerStatus) GetStatus

func (x *ServiceHandlerStatus) GetStatus() string

func (*ServiceHandlerStatus) ProtoMessage

func (*ServiceHandlerStatus) ProtoMessage()

func (*ServiceHandlerStatus) ProtoReflect

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

func (*ServiceHandlerStatus) Reset

func (x *ServiceHandlerStatus) Reset()

func (*ServiceHandlerStatus) String

func (x *ServiceHandlerStatus) String() string

type SetConfigRequest

type SetConfigRequest struct {
	Path  string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Request message for Set

func (*SetConfigRequest) Descriptor deprecated

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

Deprecated: Use SetConfigRequest.ProtoReflect.Descriptor instead.

func (*SetConfigRequest) GetPath

func (x *SetConfigRequest) GetPath() string

func (*SetConfigRequest) GetValue

func (x *SetConfigRequest) GetValue() []byte

func (*SetConfigRequest) ProtoMessage

func (*SetConfigRequest) ProtoMessage()

func (*SetConfigRequest) ProtoReflect

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

func (*SetConfigRequest) Reset

func (x *SetConfigRequest) Reset()

func (*SetConfigRequest) String

func (x *SetConfigRequest) String() string

type SetEnvRequest

type SetEnvRequest struct {
	EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"` // Name of the environment.
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                        // Key to set.
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`                    // Value to set for the key.
	// contains filtered or unexported fields
}

Request to set a key-value pair.

func (*SetEnvRequest) Descriptor deprecated

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

Deprecated: Use SetEnvRequest.ProtoReflect.Descriptor instead.

func (*SetEnvRequest) GetEnvName

func (x *SetEnvRequest) GetEnvName() string

func (*SetEnvRequest) GetKey

func (x *SetEnvRequest) GetKey() string

func (*SetEnvRequest) GetValue

func (x *SetEnvRequest) GetValue() string

func (*SetEnvRequest) ProtoMessage

func (*SetEnvRequest) ProtoMessage()

func (*SetEnvRequest) ProtoReflect

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

func (*SetEnvRequest) Reset

func (x *SetEnvRequest) Reset()

func (*SetEnvRequest) String

func (x *SetEnvRequest) String() string

type SetUserConfigRequest

type SetUserConfigRequest struct {
	Path  string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Request message for Set

func (*SetUserConfigRequest) Descriptor deprecated

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

Deprecated: Use SetUserConfigRequest.ProtoReflect.Descriptor instead.

func (*SetUserConfigRequest) GetPath

func (x *SetUserConfigRequest) GetPath() string

func (*SetUserConfigRequest) GetValue

func (x *SetUserConfigRequest) GetValue() []byte

func (*SetUserConfigRequest) ProtoMessage

func (*SetUserConfigRequest) ProtoMessage()

func (*SetUserConfigRequest) ProtoReflect

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

func (*SetUserConfigRequest) Reset

func (x *SetUserConfigRequest) Reset()

func (*SetUserConfigRequest) String

func (x *SetUserConfigRequest) String() string

type SubscribeProjectEvent

type SubscribeProjectEvent struct {
	EventNames []string `protobuf:"bytes,1,rep,name=event_names,json=eventNames,proto3" json:"event_names,omitempty"`
	// contains filtered or unexported fields
}

Client subscribes to events

func (*SubscribeProjectEvent) Descriptor deprecated

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

Deprecated: Use SubscribeProjectEvent.ProtoReflect.Descriptor instead.

func (*SubscribeProjectEvent) GetEventNames

func (x *SubscribeProjectEvent) GetEventNames() []string

func (*SubscribeProjectEvent) ProtoMessage

func (*SubscribeProjectEvent) ProtoMessage()

func (*SubscribeProjectEvent) ProtoReflect

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

func (*SubscribeProjectEvent) Reset

func (x *SubscribeProjectEvent) Reset()

func (*SubscribeProjectEvent) String

func (x *SubscribeProjectEvent) String() string

type SubscribeServiceEvent

type SubscribeServiceEvent struct {
	EventNames []string `protobuf:"bytes,1,rep,name=event_names,json=eventNames,proto3" json:"event_names,omitempty"`
	Language   string   `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
	Host       string   `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeServiceEvent) Descriptor deprecated

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

Deprecated: Use SubscribeServiceEvent.ProtoReflect.Descriptor instead.

func (*SubscribeServiceEvent) GetEventNames

func (x *SubscribeServiceEvent) GetEventNames() []string

func (*SubscribeServiceEvent) GetHost

func (x *SubscribeServiceEvent) GetHost() string

func (*SubscribeServiceEvent) GetLanguage

func (x *SubscribeServiceEvent) GetLanguage() string

func (*SubscribeServiceEvent) ProtoMessage

func (*SubscribeServiceEvent) ProtoMessage()

func (*SubscribeServiceEvent) ProtoReflect

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

func (*SubscribeServiceEvent) Reset

func (x *SubscribeServiceEvent) Reset()

func (*SubscribeServiceEvent) String

func (x *SubscribeServiceEvent) String() string

type Subscription

type Subscription struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	TenantId     string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	UserTenantId string `protobuf:"bytes,4,opt,name=user_tenant_id,json=userTenantId,proto3" json:"user_tenant_id,omitempty"`
	IsDefault    bool   `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

Message representing a Subscription

func (*Subscription) Descriptor deprecated

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

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetId

func (x *Subscription) GetId() string

func (*Subscription) GetIsDefault

func (x *Subscription) GetIsDefault() bool

func (*Subscription) GetName

func (x *Subscription) GetName() string

func (*Subscription) GetTenantId

func (x *Subscription) GetTenantId() string

func (*Subscription) GetUserTenantId

func (x *Subscription) GetUserTenantId() string

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect

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

func (*Subscription) Reset

func (x *Subscription) Reset()

func (*Subscription) String

func (x *Subscription) String() string

type UnimplementedDeploymentServiceServer

type UnimplementedDeploymentServiceServer struct{}

UnimplementedDeploymentServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDeploymentServiceServer) GetDeployment

func (UnimplementedDeploymentServiceServer) GetDeploymentContext

type UnimplementedEnvironmentServiceServer

type UnimplementedEnvironmentServiceServer struct{}

UnimplementedEnvironmentServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEnvironmentServiceServer) Get

func (UnimplementedEnvironmentServiceServer) GetConfig

func (UnimplementedEnvironmentServiceServer) GetConfigSection

func (UnimplementedEnvironmentServiceServer) GetConfigString

func (UnimplementedEnvironmentServiceServer) GetCurrent

func (UnimplementedEnvironmentServiceServer) GetValue

func (UnimplementedEnvironmentServiceServer) GetValues

func (UnimplementedEnvironmentServiceServer) List

func (UnimplementedEnvironmentServiceServer) Select

func (UnimplementedEnvironmentServiceServer) SetConfig

func (UnimplementedEnvironmentServiceServer) SetValue

func (UnimplementedEnvironmentServiceServer) UnsetConfig

type UnimplementedEventServiceServer

type UnimplementedEventServiceServer struct{}

UnimplementedEventServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEventServiceServer) EventStream

type UnimplementedProjectServiceServer

type UnimplementedProjectServiceServer struct{}

UnimplementedProjectServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProjectServiceServer) Get

type UnimplementedPromptServiceServer

type UnimplementedPromptServiceServer struct{}

UnimplementedPromptServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPromptServiceServer) Confirm

func (UnimplementedPromptServiceServer) Prompt

func (UnimplementedPromptServiceServer) PromptLocation

func (UnimplementedPromptServiceServer) PromptSubscription

func (UnimplementedPromptServiceServer) Select

type UnimplementedUserConfigServiceServer

type UnimplementedUserConfigServiceServer struct{}

UnimplementedUserConfigServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserConfigServiceServer) Get

func (UnimplementedUserConfigServiceServer) Set

func (UnimplementedUserConfigServiceServer) Unset

type UnsafeDeploymentServiceServer

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

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

type UnsafeEnvironmentServiceServer

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

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

type UnsafeEventServiceServer

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

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

type UnsafeProjectServiceServer

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

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

type UnsafePromptServiceServer

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

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

type UnsafeUserConfigServiceServer

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

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

type UnsetConfigRequest

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

Request message for Unset

func (*UnsetConfigRequest) Descriptor deprecated

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

Deprecated: Use UnsetConfigRequest.ProtoReflect.Descriptor instead.

func (*UnsetConfigRequest) GetPath

func (x *UnsetConfigRequest) GetPath() string

func (*UnsetConfigRequest) ProtoMessage

func (*UnsetConfigRequest) ProtoMessage()

func (*UnsetConfigRequest) ProtoReflect

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

func (*UnsetConfigRequest) Reset

func (x *UnsetConfigRequest) Reset()

func (*UnsetConfigRequest) String

func (x *UnsetConfigRequest) String() string

type UnsetUserConfigRequest

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

Request message for Unset

func (*UnsetUserConfigRequest) Descriptor deprecated

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

Deprecated: Use UnsetUserConfigRequest.ProtoReflect.Descriptor instead.

func (*UnsetUserConfigRequest) GetPath

func (x *UnsetUserConfigRequest) GetPath() string

func (*UnsetUserConfigRequest) ProtoMessage

func (*UnsetUserConfigRequest) ProtoMessage()

func (*UnsetUserConfigRequest) ProtoReflect

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

func (*UnsetUserConfigRequest) Reset

func (x *UnsetUserConfigRequest) Reset()

func (*UnsetUserConfigRequest) String

func (x *UnsetUserConfigRequest) String() string

type UserConfigServiceClient

type UserConfigServiceClient interface {
	// Get retrieves a value by path
	Get(ctx context.Context, in *GetUserConfigRequest, opts ...grpc.CallOption) (*GetUserConfigResponse, error)
	// GetString retrieves a value by path and returns it as a string
	GetString(ctx context.Context, in *GetUserConfigStringRequest, opts ...grpc.CallOption) (*GetUserConfigStringResponse, error)
	// GetSection retrieves a section by path
	GetSection(ctx context.Context, in *GetUserConfigSectionRequest, opts ...grpc.CallOption) (*GetUserConfigSectionResponse, error)
	// Set sets a value at a given path
	Set(ctx context.Context, in *SetUserConfigRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
	// Unset removes a value at a given path
	Unset(ctx context.Context, in *UnsetUserConfigRequest, opts ...grpc.CallOption) (*EmptyResponse, error)
}

UserConfigServiceClient is the client API for UserConfigService 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 UserConfigServiceServer

type UserConfigServiceServer interface {
	// Get retrieves a value by path
	Get(context.Context, *GetUserConfigRequest) (*GetUserConfigResponse, error)
	// GetString retrieves a value by path and returns it as a string
	GetString(context.Context, *GetUserConfigStringRequest) (*GetUserConfigStringResponse, error)
	// GetSection retrieves a section by path
	GetSection(context.Context, *GetUserConfigSectionRequest) (*GetUserConfigSectionResponse, error)
	// Set sets a value at a given path
	Set(context.Context, *SetUserConfigRequest) (*EmptyResponse, error)
	// Unset removes a value at a given path
	Unset(context.Context, *UnsetUserConfigRequest) (*EmptyResponse, error)
	// contains filtered or unexported methods
}

UserConfigServiceServer is the server API for UserConfigService service. All implementations must embed UnimplementedUserConfigServiceServer for forward compatibility.

Jump to

Keyboard shortcuts

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