proto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BindingProvider_Describe_FullMethodName          = "/openrun.binding.v1.BindingProvider/Describe"
	BindingProvider_GetAccountEnv_FullMethodName     = "/openrun.binding.v1.BindingProvider/GetAccountEnv"
	BindingProvider_InitializeService_FullMethodName = "/openrun.binding.v1.BindingProvider/InitializeService"
	BindingProvider_CloseService_FullMethodName      = "/openrun.binding.v1.BindingProvider/CloseService"
	BindingProvider_GenerateAccount_FullMethodName   = "/openrun.binding.v1.BindingProvider/GenerateAccount"
	BindingProvider_DeleteArtifact_FullMethodName    = "/openrun.binding.v1.BindingProvider/DeleteArtifact"
	BindingProvider_ApplyGrants_FullMethodName       = "/openrun.binding.v1.BindingProvider/ApplyGrants"
	BindingProvider_RevokeGrants_FullMethodName      = "/openrun.binding.v1.BindingProvider/RevokeGrants"
	BindingProvider_RunCommand_FullMethodName        = "/openrun.binding.v1.BindingProvider/RunCommand"
)

Variables

View Source
var BindingProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "openrun.binding.v1.BindingProvider",
	HandlerType: (*BindingProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Describe",
			Handler:    _BindingProvider_Describe_Handler,
		},
		{
			MethodName: "GetAccountEnv",
			Handler:    _BindingProvider_GetAccountEnv_Handler,
		},
		{
			MethodName: "InitializeService",
			Handler:    _BindingProvider_InitializeService_Handler,
		},
		{
			MethodName: "CloseService",
			Handler:    _BindingProvider_CloseService_Handler,
		},
		{
			MethodName: "GenerateAccount",
			Handler:    _BindingProvider_GenerateAccount_Handler,
		},
		{
			MethodName: "DeleteArtifact",
			Handler:    _BindingProvider_DeleteArtifact_Handler,
		},
		{
			MethodName: "ApplyGrants",
			Handler:    _BindingProvider_ApplyGrants_Handler,
		},
		{
			MethodName: "RevokeGrants",
			Handler:    _BindingProvider_RevokeGrants_Handler,
		},
		{
			MethodName: "RunCommand",
			Handler:    _BindingProvider_RunCommand_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "binding.proto",
}

BindingProvider_ServiceDesc is the grpc.ServiceDesc for BindingProvider 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_binding_proto protoreflect.FileDescriptor

Functions

func RegisterBindingProviderServer

func RegisterBindingProviderServer(s grpc.ServiceRegistrar, srv BindingProviderServer)

Types

type ApplyGrantsRequest

type ApplyGrantsRequest struct {
	Account             map[string]string `` /* 141-byte string literal not displayed */
	BindingMetadata     *BindingMetadata  `protobuf:"bytes,2,opt,name=binding_metadata,json=bindingMetadata,proto3" json:"binding_metadata,omitempty"`
	DerivedFromMetadata *BindingMetadata  `protobuf:"bytes,3,opt,name=derived_from_metadata,json=derivedFromMetadata,proto3" json:"derived_from_metadata,omitempty"`
	ReapplyAll          bool              `protobuf:"varint,4,opt,name=reapply_all,json=reapplyAll,proto3" json:"reapply_all,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyGrantsRequest) Descriptor deprecated

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

Deprecated: Use ApplyGrantsRequest.ProtoReflect.Descriptor instead.

func (*ApplyGrantsRequest) GetAccount

func (x *ApplyGrantsRequest) GetAccount() map[string]string

func (*ApplyGrantsRequest) GetBindingMetadata

func (x *ApplyGrantsRequest) GetBindingMetadata() *BindingMetadata

func (*ApplyGrantsRequest) GetDerivedFromMetadata

func (x *ApplyGrantsRequest) GetDerivedFromMetadata() *BindingMetadata

func (*ApplyGrantsRequest) GetReapplyAll

func (x *ApplyGrantsRequest) GetReapplyAll() bool

func (*ApplyGrantsRequest) ProtoMessage

func (*ApplyGrantsRequest) ProtoMessage()

func (*ApplyGrantsRequest) ProtoReflect

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

func (*ApplyGrantsRequest) Reset

func (x *ApplyGrantsRequest) Reset()

func (*ApplyGrantsRequest) String

func (x *ApplyGrantsRequest) String() string

type ApplyGrantsResponse

type ApplyGrantsResponse struct {
	GrantsApplied  []*BindingGrant `protobuf:"bytes,1,rep,name=grants_applied,json=grantsApplied,proto3" json:"grants_applied,omitempty"`
	Granted        []*BindingGrant `protobuf:"bytes,2,rep,name=granted,proto3" json:"granted,omitempty"`
	PendingRevokes []*BindingGrant `protobuf:"bytes,3,rep,name=pending_revokes,json=pendingRevokes,proto3" json:"pending_revokes,omitempty"`
	Error          string          `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyGrantsResponse) Descriptor deprecated

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

Deprecated: Use ApplyGrantsResponse.ProtoReflect.Descriptor instead.

func (*ApplyGrantsResponse) GetError

func (x *ApplyGrantsResponse) GetError() string

func (*ApplyGrantsResponse) GetGranted

func (x *ApplyGrantsResponse) GetGranted() []*BindingGrant

func (*ApplyGrantsResponse) GetGrantsApplied

func (x *ApplyGrantsResponse) GetGrantsApplied() []*BindingGrant

func (*ApplyGrantsResponse) GetPendingRevokes

func (x *ApplyGrantsResponse) GetPendingRevokes() []*BindingGrant

func (*ApplyGrantsResponse) ProtoMessage

func (*ApplyGrantsResponse) ProtoMessage()

func (*ApplyGrantsResponse) ProtoReflect

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

func (*ApplyGrantsResponse) Reset

func (x *ApplyGrantsResponse) Reset()

func (*ApplyGrantsResponse) String

func (x *ApplyGrantsResponse) String() string

type Artifact

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

func (*Artifact) Descriptor deprecated

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

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetName

func (x *Artifact) GetName() string

func (*Artifact) GetType

func (x *Artifact) GetType() string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

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

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

type BindingGrant

type BindingGrant struct {
	GrantType   string `protobuf:"bytes,1,opt,name=grant_type,json=grantType,proto3" json:"grant_type,omitempty"`
	GrantTarget string `protobuf:"bytes,2,opt,name=grant_target,json=grantTarget,proto3" json:"grant_target,omitempty"`
	// contains filtered or unexported fields
}

func (*BindingGrant) Descriptor deprecated

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

Deprecated: Use BindingGrant.ProtoReflect.Descriptor instead.

func (*BindingGrant) GetGrantTarget

func (x *BindingGrant) GetGrantTarget() string

func (*BindingGrant) GetGrantType

func (x *BindingGrant) GetGrantType() string

func (*BindingGrant) ProtoMessage

func (*BindingGrant) ProtoMessage()

func (*BindingGrant) ProtoReflect

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

func (*BindingGrant) Reset

func (x *BindingGrant) Reset()

func (*BindingGrant) String

func (x *BindingGrant) String() string

type BindingMetadata

type BindingMetadata struct {
	Grants        []string          `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"`
	GrantsApplied []*BindingGrant   `protobuf:"bytes,2,rep,name=grants_applied,json=grantsApplied,proto3" json:"grants_applied,omitempty"`
	Config        map[string]string `` /* 139-byte string literal not displayed */
	Account       map[string]string `` /* 141-byte string literal not displayed */
	ApplyInfo     []byte            `protobuf:"bytes,5,opt,name=apply_info,json=applyInfo,proto3" json:"apply_info,omitempty"`
	// contains filtered or unexported fields
}

func (*BindingMetadata) Descriptor deprecated

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

Deprecated: Use BindingMetadata.ProtoReflect.Descriptor instead.

func (*BindingMetadata) GetAccount

func (x *BindingMetadata) GetAccount() map[string]string

func (*BindingMetadata) GetApplyInfo

func (x *BindingMetadata) GetApplyInfo() []byte

func (*BindingMetadata) GetConfig

func (x *BindingMetadata) GetConfig() map[string]string

func (*BindingMetadata) GetGrants

func (x *BindingMetadata) GetGrants() []string

func (*BindingMetadata) GetGrantsApplied

func (x *BindingMetadata) GetGrantsApplied() []*BindingGrant

func (*BindingMetadata) ProtoMessage

func (*BindingMetadata) ProtoMessage()

func (*BindingMetadata) ProtoReflect

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

func (*BindingMetadata) Reset

func (x *BindingMetadata) Reset()

func (*BindingMetadata) String

func (x *BindingMetadata) String() string

type BindingProviderClient

type BindingProviderClient interface {
	// Describe reports the service types served by this provider binary and
	// their config schemas. Valid before InitializeService.
	Describe(ctx context.Context, in *DescribeRequest, opts ...grpc.CallOption) (*DescribeResponse, error)
	// GetAccountEnv reports the names of the env values included in the binding
	// account info for a service type: the always-present params, then the
	// optional params. Static info; valid before InitializeService.
	GetAccountEnv(ctx context.Context, in *GetAccountEnvRequest, opts ...grpc.CallOption) (*GetAccountEnvResponse, error)
	InitializeService(ctx context.Context, in *InitializeServiceRequest, opts ...grpc.CallOption) (*InitializeServiceResponse, error)
	CloseService(ctx context.Context, in *CloseServiceRequest, opts ...grpc.CallOption) (*CloseServiceResponse, error)
	GenerateAccount(ctx context.Context, in *GenerateAccountRequest, opts ...grpc.CallOption) (*GenerateAccountResponse, error)
	DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*DeleteArtifactResponse, error)
	ApplyGrants(ctx context.Context, in *ApplyGrantsRequest, opts ...grpc.CallOption) (*ApplyGrantsResponse, error)
	RevokeGrants(ctx context.Context, in *RevokeGrantsRequest, opts ...grpc.CallOption) (*RevokeGrantsResponse, error)
	RunCommand(ctx context.Context, in *RunCommandRequest, opts ...grpc.CallOption) (*RunCommandResponse, error)
}

BindingProviderClient is the client API for BindingProvider 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 BindingProviderServer

type BindingProviderServer interface {
	// Describe reports the service types served by this provider binary and
	// their config schemas. Valid before InitializeService.
	Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
	// GetAccountEnv reports the names of the env values included in the binding
	// account info for a service type: the always-present params, then the
	// optional params. Static info; valid before InitializeService.
	GetAccountEnv(context.Context, *GetAccountEnvRequest) (*GetAccountEnvResponse, error)
	InitializeService(context.Context, *InitializeServiceRequest) (*InitializeServiceResponse, error)
	CloseService(context.Context, *CloseServiceRequest) (*CloseServiceResponse, error)
	GenerateAccount(context.Context, *GenerateAccountRequest) (*GenerateAccountResponse, error)
	DeleteArtifact(context.Context, *DeleteArtifactRequest) (*DeleteArtifactResponse, error)
	ApplyGrants(context.Context, *ApplyGrantsRequest) (*ApplyGrantsResponse, error)
	RevokeGrants(context.Context, *RevokeGrantsRequest) (*RevokeGrantsResponse, error)
	RunCommand(context.Context, *RunCommandRequest) (*RunCommandResponse, error)
	// contains filtered or unexported methods
}

BindingProviderServer is the server API for BindingProvider service. All implementations must embed UnimplementedBindingProviderServer for forward compatibility.

type CloseServiceRequest

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

func (*CloseServiceRequest) Descriptor deprecated

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

Deprecated: Use CloseServiceRequest.ProtoReflect.Descriptor instead.

func (*CloseServiceRequest) ProtoMessage

func (*CloseServiceRequest) ProtoMessage()

func (*CloseServiceRequest) ProtoReflect

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

func (*CloseServiceRequest) Reset

func (x *CloseServiceRequest) Reset()

func (*CloseServiceRequest) String

func (x *CloseServiceRequest) String() string

type CloseServiceResponse

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

func (*CloseServiceResponse) Descriptor deprecated

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

Deprecated: Use CloseServiceResponse.ProtoReflect.Descriptor instead.

func (*CloseServiceResponse) GetError

func (x *CloseServiceResponse) GetError() string

func (*CloseServiceResponse) ProtoMessage

func (*CloseServiceResponse) ProtoMessage()

func (*CloseServiceResponse) ProtoReflect

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

func (*CloseServiceResponse) Reset

func (x *CloseServiceResponse) Reset()

func (*CloseServiceResponse) String

func (x *CloseServiceResponse) String() string

type DeleteArtifactRequest

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

func (*DeleteArtifactRequest) Descriptor deprecated

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

Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.

func (*DeleteArtifactRequest) GetArtifact

func (x *DeleteArtifactRequest) GetArtifact() *Artifact

func (*DeleteArtifactRequest) ProtoMessage

func (*DeleteArtifactRequest) ProtoMessage()

func (*DeleteArtifactRequest) ProtoReflect

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

func (*DeleteArtifactRequest) Reset

func (x *DeleteArtifactRequest) Reset()

func (*DeleteArtifactRequest) String

func (x *DeleteArtifactRequest) String() string

type DeleteArtifactResponse

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

func (*DeleteArtifactResponse) Descriptor deprecated

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

Deprecated: Use DeleteArtifactResponse.ProtoReflect.Descriptor instead.

func (*DeleteArtifactResponse) GetError

func (x *DeleteArtifactResponse) GetError() string

func (*DeleteArtifactResponse) ProtoMessage

func (*DeleteArtifactResponse) ProtoMessage()

func (*DeleteArtifactResponse) ProtoReflect

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

func (*DeleteArtifactResponse) Reset

func (x *DeleteArtifactResponse) Reset()

func (*DeleteArtifactResponse) String

func (x *DeleteArtifactResponse) String() string

type DescribeRequest

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

func (*DescribeRequest) Descriptor deprecated

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

Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.

func (*DescribeRequest) ProtoMessage

func (*DescribeRequest) ProtoMessage()

func (*DescribeRequest) ProtoReflect

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

func (*DescribeRequest) Reset

func (x *DescribeRequest) Reset()

func (*DescribeRequest) String

func (x *DescribeRequest) String() string

type DescribeResponse

type DescribeResponse struct {
	ProviderVersion string             `protobuf:"bytes,1,opt,name=provider_version,json=providerVersion,proto3" json:"provider_version,omitempty"`
	ServiceTypes    []*ServiceTypeInfo `protobuf:"bytes,2,rep,name=service_types,json=serviceTypes,proto3" json:"service_types,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResponse) Descriptor deprecated

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

Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.

func (*DescribeResponse) GetProviderVersion

func (x *DescribeResponse) GetProviderVersion() string

func (*DescribeResponse) GetServiceTypes

func (x *DescribeResponse) GetServiceTypes() []*ServiceTypeInfo

func (*DescribeResponse) ProtoMessage

func (*DescribeResponse) ProtoMessage()

func (*DescribeResponse) ProtoReflect

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

func (*DescribeResponse) Reset

func (x *DescribeResponse) Reset()

func (*DescribeResponse) String

func (x *DescribeResponse) String() string

type GenerateAccountRequest

type GenerateAccountRequest struct {
	BindingId           string           `protobuf:"bytes,1,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
	BindingPath         string           `protobuf:"bytes,2,opt,name=binding_path,json=bindingPath,proto3" json:"binding_path,omitempty"`
	BindingMetadata     *BindingMetadata `protobuf:"bytes,3,opt,name=binding_metadata,json=bindingMetadata,proto3" json:"binding_metadata,omitempty"`
	DerivedFromMetadata *BindingMetadata `` /* 126-byte string literal not displayed */
	IsStaging           bool             `protobuf:"varint,5,opt,name=is_staging,json=isStaging,proto3" json:"is_staging,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateAccountRequest) Descriptor deprecated

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

Deprecated: Use GenerateAccountRequest.ProtoReflect.Descriptor instead.

func (*GenerateAccountRequest) GetBindingId

func (x *GenerateAccountRequest) GetBindingId() string

func (*GenerateAccountRequest) GetBindingMetadata

func (x *GenerateAccountRequest) GetBindingMetadata() *BindingMetadata

func (*GenerateAccountRequest) GetBindingPath

func (x *GenerateAccountRequest) GetBindingPath() string

func (*GenerateAccountRequest) GetDerivedFromMetadata

func (x *GenerateAccountRequest) GetDerivedFromMetadata() *BindingMetadata

func (*GenerateAccountRequest) GetIsStaging

func (x *GenerateAccountRequest) GetIsStaging() bool

func (*GenerateAccountRequest) ProtoMessage

func (*GenerateAccountRequest) ProtoMessage()

func (*GenerateAccountRequest) ProtoReflect

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

func (*GenerateAccountRequest) Reset

func (x *GenerateAccountRequest) Reset()

func (*GenerateAccountRequest) String

func (x *GenerateAccountRequest) String() string

type GenerateAccountResponse

type GenerateAccountResponse struct {
	Account map[string]string `` /* 141-byte string literal not displayed */
	// Artifacts created on the service, in creation order. Populated even when
	// error is set, so the caller can clean up after a partial failure.
	CreatedArtifacts []*Artifact `protobuf:"bytes,2,rep,name=created_artifacts,json=createdArtifacts,proto3" json:"created_artifacts,omitempty"`
	Error            string      `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateAccountResponse) Descriptor deprecated

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

Deprecated: Use GenerateAccountResponse.ProtoReflect.Descriptor instead.

func (*GenerateAccountResponse) GetAccount

func (x *GenerateAccountResponse) GetAccount() map[string]string

func (*GenerateAccountResponse) GetCreatedArtifacts

func (x *GenerateAccountResponse) GetCreatedArtifacts() []*Artifact

func (*GenerateAccountResponse) GetError

func (x *GenerateAccountResponse) GetError() string

func (*GenerateAccountResponse) ProtoMessage

func (*GenerateAccountResponse) ProtoMessage()

func (*GenerateAccountResponse) ProtoReflect

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

func (*GenerateAccountResponse) Reset

func (x *GenerateAccountResponse) Reset()

func (*GenerateAccountResponse) String

func (x *GenerateAccountResponse) String() string

type GetAccountEnvRequest

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

func (*GetAccountEnvRequest) Descriptor deprecated

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

Deprecated: Use GetAccountEnvRequest.ProtoReflect.Descriptor instead.

func (*GetAccountEnvRequest) GetServiceType

func (x *GetAccountEnvRequest) GetServiceType() string

func (*GetAccountEnvRequest) ProtoMessage

func (*GetAccountEnvRequest) ProtoMessage()

func (*GetAccountEnvRequest) ProtoReflect

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

func (*GetAccountEnvRequest) Reset

func (x *GetAccountEnvRequest) Reset()

func (*GetAccountEnvRequest) String

func (x *GetAccountEnvRequest) String() string

type GetAccountEnvResponse

type GetAccountEnvResponse struct {
	Params         []string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
	OptionalParams []string `protobuf:"bytes,2,rep,name=optional_params,json=optionalParams,proto3" json:"optional_params,omitempty"`
	Error          string   `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountEnvResponse) Descriptor deprecated

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

Deprecated: Use GetAccountEnvResponse.ProtoReflect.Descriptor instead.

func (*GetAccountEnvResponse) GetError

func (x *GetAccountEnvResponse) GetError() string

func (*GetAccountEnvResponse) GetOptionalParams

func (x *GetAccountEnvResponse) GetOptionalParams() []string

func (*GetAccountEnvResponse) GetParams

func (x *GetAccountEnvResponse) GetParams() []string

func (*GetAccountEnvResponse) ProtoMessage

func (*GetAccountEnvResponse) ProtoMessage()

func (*GetAccountEnvResponse) ProtoReflect

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

func (*GetAccountEnvResponse) Reset

func (x *GetAccountEnvResponse) Reset()

func (*GetAccountEnvResponse) String

func (x *GetAccountEnvResponse) String() string

type InitializeServiceRequest

type InitializeServiceRequest struct {

	// The service type to serve; one provider binary may implement several.
	ServiceType   string            `protobuf:"bytes,1,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	ServiceConfig map[string]string `` /* 174-byte string literal not displayed */
	// ServiceBindingRuntime, flattened.
	LocalhostBindingHostname string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InitializeServiceRequest) Descriptor deprecated

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

Deprecated: Use InitializeServiceRequest.ProtoReflect.Descriptor instead.

func (*InitializeServiceRequest) GetLocalhostBindingHostname

func (x *InitializeServiceRequest) GetLocalhostBindingHostname() string

func (*InitializeServiceRequest) GetServiceConfig

func (x *InitializeServiceRequest) GetServiceConfig() map[string]string

func (*InitializeServiceRequest) GetServiceType

func (x *InitializeServiceRequest) GetServiceType() string

func (*InitializeServiceRequest) ProtoMessage

func (*InitializeServiceRequest) ProtoMessage()

func (*InitializeServiceRequest) ProtoReflect

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

func (*InitializeServiceRequest) Reset

func (x *InitializeServiceRequest) Reset()

func (*InitializeServiceRequest) String

func (x *InitializeServiceRequest) String() string

type InitializeServiceResponse

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

func (*InitializeServiceResponse) Descriptor deprecated

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

Deprecated: Use InitializeServiceResponse.ProtoReflect.Descriptor instead.

func (*InitializeServiceResponse) GetError

func (x *InitializeServiceResponse) GetError() string

func (*InitializeServiceResponse) ProtoMessage

func (*InitializeServiceResponse) ProtoMessage()

func (*InitializeServiceResponse) ProtoReflect

func (*InitializeServiceResponse) Reset

func (x *InitializeServiceResponse) Reset()

func (*InitializeServiceResponse) String

func (x *InitializeServiceResponse) String() string

type RevokeGrantsRequest

type RevokeGrantsRequest struct {
	Account             map[string]string `` /* 141-byte string literal not displayed */
	DerivedFromMetadata *BindingMetadata  `protobuf:"bytes,2,opt,name=derived_from_metadata,json=derivedFromMetadata,proto3" json:"derived_from_metadata,omitempty"`
	Revokes             []*BindingGrant   `protobuf:"bytes,3,rep,name=revokes,proto3" json:"revokes,omitempty"`
	Regrants            []*BindingGrant   `protobuf:"bytes,4,rep,name=regrants,proto3" json:"regrants,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeGrantsRequest) Descriptor deprecated

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

Deprecated: Use RevokeGrantsRequest.ProtoReflect.Descriptor instead.

func (*RevokeGrantsRequest) GetAccount

func (x *RevokeGrantsRequest) GetAccount() map[string]string

func (*RevokeGrantsRequest) GetDerivedFromMetadata

func (x *RevokeGrantsRequest) GetDerivedFromMetadata() *BindingMetadata

func (*RevokeGrantsRequest) GetRegrants

func (x *RevokeGrantsRequest) GetRegrants() []*BindingGrant

func (*RevokeGrantsRequest) GetRevokes

func (x *RevokeGrantsRequest) GetRevokes() []*BindingGrant

func (*RevokeGrantsRequest) ProtoMessage

func (*RevokeGrantsRequest) ProtoMessage()

func (*RevokeGrantsRequest) ProtoReflect

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

func (*RevokeGrantsRequest) Reset

func (x *RevokeGrantsRequest) Reset()

func (*RevokeGrantsRequest) String

func (x *RevokeGrantsRequest) String() string

type RevokeGrantsResponse

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

func (*RevokeGrantsResponse) Descriptor deprecated

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

Deprecated: Use RevokeGrantsResponse.ProtoReflect.Descriptor instead.

func (*RevokeGrantsResponse) GetError

func (x *RevokeGrantsResponse) GetError() string

func (*RevokeGrantsResponse) ProtoMessage

func (*RevokeGrantsResponse) ProtoMessage()

func (*RevokeGrantsResponse) ProtoReflect

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

func (*RevokeGrantsResponse) Reset

func (x *RevokeGrantsResponse) Reset()

func (*RevokeGrantsResponse) String

func (x *RevokeGrantsResponse) String() string

type RunCommandRequest

type RunCommandRequest struct {
	BindingMetadata *BindingMetadata `protobuf:"bytes,1,opt,name=binding_metadata,json=bindingMetadata,proto3" json:"binding_metadata,omitempty"`
	Command         string           `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCommandRequest) Descriptor deprecated

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

Deprecated: Use RunCommandRequest.ProtoReflect.Descriptor instead.

func (*RunCommandRequest) GetBindingMetadata

func (x *RunCommandRequest) GetBindingMetadata() *BindingMetadata

func (*RunCommandRequest) GetCommand

func (x *RunCommandRequest) GetCommand() string

func (*RunCommandRequest) ProtoMessage

func (*RunCommandRequest) ProtoMessage()

func (*RunCommandRequest) ProtoReflect

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

func (*RunCommandRequest) Reset

func (x *RunCommandRequest) Reset()

func (*RunCommandRequest) String

func (x *RunCommandRequest) String() string

type RunCommandResponse

type RunCommandResponse struct {
	Result *structpb.Struct `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Error  string           `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCommandResponse) Descriptor deprecated

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

Deprecated: Use RunCommandResponse.ProtoReflect.Descriptor instead.

func (*RunCommandResponse) GetError

func (x *RunCommandResponse) GetError() string

func (*RunCommandResponse) GetResult

func (x *RunCommandResponse) GetResult() *structpb.Struct

func (*RunCommandResponse) ProtoMessage

func (*RunCommandResponse) ProtoMessage()

func (*RunCommandResponse) ProtoReflect

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

func (*RunCommandResponse) Reset

func (x *RunCommandResponse) Reset()

func (*RunCommandResponse) String

func (x *RunCommandResponse) String() string

type ServiceTypeInfo

type ServiceTypeInfo struct {
	ServiceType         string   `protobuf:"bytes,1,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"`
	SupportedGrantTypes []string `protobuf:"bytes,2,rep,name=supported_grant_types,json=supportedGrantTypes,proto3" json:"supported_grant_types,omitempty"`
	RequiredConfigKeys  []string `protobuf:"bytes,3,rep,name=required_config_keys,json=requiredConfigKeys,proto3" json:"required_config_keys,omitempty"`
	OptionalConfigKeys  []string `protobuf:"bytes,4,rep,name=optional_config_keys,json=optionalConfigKeys,proto3" json:"optional_config_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceTypeInfo) Descriptor deprecated

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

Deprecated: Use ServiceTypeInfo.ProtoReflect.Descriptor instead.

func (*ServiceTypeInfo) GetOptionalConfigKeys

func (x *ServiceTypeInfo) GetOptionalConfigKeys() []string

func (*ServiceTypeInfo) GetRequiredConfigKeys

func (x *ServiceTypeInfo) GetRequiredConfigKeys() []string

func (*ServiceTypeInfo) GetServiceType

func (x *ServiceTypeInfo) GetServiceType() string

func (*ServiceTypeInfo) GetSupportedGrantTypes

func (x *ServiceTypeInfo) GetSupportedGrantTypes() []string

func (*ServiceTypeInfo) ProtoMessage

func (*ServiceTypeInfo) ProtoMessage()

func (*ServiceTypeInfo) ProtoReflect

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

func (*ServiceTypeInfo) Reset

func (x *ServiceTypeInfo) Reset()

func (*ServiceTypeInfo) String

func (x *ServiceTypeInfo) String() string

type UnimplementedBindingProviderServer

type UnimplementedBindingProviderServer struct{}

UnimplementedBindingProviderServer 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 (UnimplementedBindingProviderServer) ApplyGrants

func (UnimplementedBindingProviderServer) CloseService

func (UnimplementedBindingProviderServer) DeleteArtifact

func (UnimplementedBindingProviderServer) Describe

func (UnimplementedBindingProviderServer) GenerateAccount

func (UnimplementedBindingProviderServer) GetAccountEnv

func (UnimplementedBindingProviderServer) InitializeService

func (UnimplementedBindingProviderServer) RevokeGrants

func (UnimplementedBindingProviderServer) RunCommand

type UnsafeBindingProviderServer

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

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

Jump to

Keyboard shortcuts

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