managed_resource

package
v0.3.42 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Package managed_resource is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ResourceManager_ConfigureK8SCluster_FullMethodName   = "/prodvana.managed_resource.ResourceManager/ConfigureK8sCluster"
	ResourceManager_GetManagedResource_FullMethodName    = "/prodvana.managed_resource.ResourceManager/GetManagedResource"
	ResourceManager_ListManagedResources_FullMethodName  = "/prodvana.managed_resource.ResourceManager/ListManagedResources"
	ResourceManager_GetArchive_FullMethodName            = "/prodvana.managed_resource.ResourceManager/GetArchive"
	ResourceManager_DeleteManagedResource_FullMethodName = "/prodvana.managed_resource.ResourceManager/DeleteManagedResource"
	ResourceManager_MarkRunDone_FullMethodName           = "/prodvana.managed_resource.ResourceManager/MarkRunDone"
)

Variables

View Source
var File_prodvana_managed_resource_manager_proto protoreflect.FileDescriptor
View Source
var ResourceManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "prodvana.managed_resource.ResourceManager",
	HandlerType: (*ResourceManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ConfigureK8sCluster",
			Handler:    _ResourceManager_ConfigureK8SCluster_Handler,
		},
		{
			MethodName: "GetManagedResource",
			Handler:    _ResourceManager_GetManagedResource_Handler,
		},
		{
			MethodName: "ListManagedResources",
			Handler:    _ResourceManager_ListManagedResources_Handler,
		},
		{
			MethodName: "DeleteManagedResource",
			Handler:    _ResourceManager_DeleteManagedResource_Handler,
		},
		{
			MethodName: "MarkRunDone",
			Handler:    _ResourceManager_MarkRunDone_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetArchive",
			Handler:       _ResourceManager_GetArchive_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "prodvana/managed_resource/manager.proto",
}

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

Functions

func RegisterResourceManagerHandler

func RegisterResourceManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterResourceManagerHandler registers the http handlers for service ResourceManager to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterResourceManagerHandlerClient

func RegisterResourceManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceManagerClient) error

RegisterResourceManagerHandlerClient registers the http handlers for service ResourceManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceManagerClient" to call the correct interceptors.

func RegisterResourceManagerHandlerFromEndpoint

func RegisterResourceManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterResourceManagerHandlerFromEndpoint is same as RegisterResourceManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterResourceManagerHandlerServer

func RegisterResourceManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceManagerServer) error

RegisterResourceManagerHandlerServer registers the http handlers for service ResourceManager to "mux". UnaryRPC :call ResourceManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterResourceManagerHandlerFromEndpoint instead.

func RegisterResourceManagerServer

func RegisterResourceManagerServer(s grpc.ServiceRegistrar, srv ResourceManagerServer)

Types

type ConfigureK8SClusterReq

type ConfigureK8SClusterReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to CloudProviderOneof:
	//
	//	*ConfigureK8SClusterReq_GcpOptions_
	//	*ConfigureK8SClusterReq_EksOptions
	CloudProviderOneof isConfigureK8SClusterReq_CloudProviderOneof `protobuf_oneof:"cloud_provider_oneof"`
	InstanceType       string                                      `protobuf:"bytes,3,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
	NodepoolZones      []string                                    `protobuf:"bytes,4,rep,name=nodepool_zones,json=nodepoolZones,proto3" json:"nodepool_zones,omitempty"`
	NodeCountPerZone   int32                                       `protobuf:"varint,5,opt,name=node_count_per_zone,json=nodeCountPerZone,proto3" json:"node_count_per_zone,omitempty"`
	Region             string                                      `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureK8SClusterReq) Descriptor deprecated

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

Deprecated: Use ConfigureK8SClusterReq.ProtoReflect.Descriptor instead.

func (*ConfigureK8SClusterReq) GetCloudProviderOneof

func (m *ConfigureK8SClusterReq) GetCloudProviderOneof() isConfigureK8SClusterReq_CloudProviderOneof

func (*ConfigureK8SClusterReq) GetEksOptions

func (*ConfigureK8SClusterReq) GetGcpOptions

func (*ConfigureK8SClusterReq) GetInstanceType

func (x *ConfigureK8SClusterReq) GetInstanceType() string

func (*ConfigureK8SClusterReq) GetName

func (x *ConfigureK8SClusterReq) GetName() string

func (*ConfigureK8SClusterReq) GetNodeCountPerZone

func (x *ConfigureK8SClusterReq) GetNodeCountPerZone() int32

func (*ConfigureK8SClusterReq) GetNodepoolZones

func (x *ConfigureK8SClusterReq) GetNodepoolZones() []string

func (*ConfigureK8SClusterReq) GetRegion

func (x *ConfigureK8SClusterReq) GetRegion() string

func (*ConfigureK8SClusterReq) ProtoMessage

func (*ConfigureK8SClusterReq) ProtoMessage()

func (*ConfigureK8SClusterReq) ProtoReflect

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

func (*ConfigureK8SClusterReq) Reset

func (x *ConfigureK8SClusterReq) Reset()

func (*ConfigureK8SClusterReq) String

func (x *ConfigureK8SClusterReq) String() string

func (*ConfigureK8SClusterReq) Validate

func (m *ConfigureK8SClusterReq) Validate() error

Validate checks the field values on ConfigureK8SClusterReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigureK8SClusterReq) ValidateAll

func (m *ConfigureK8SClusterReq) ValidateAll() error

ValidateAll checks the field values on ConfigureK8SClusterReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigureK8SClusterReqMultiError, or nil if none found.

type ConfigureK8SClusterReqMultiError

type ConfigureK8SClusterReqMultiError []error

ConfigureK8SClusterReqMultiError is an error wrapping multiple validation errors returned by ConfigureK8SClusterReq.ValidateAll() if the designated constraints aren't met.

func (ConfigureK8SClusterReqMultiError) AllErrors

func (m ConfigureK8SClusterReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigureK8SClusterReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConfigureK8SClusterReqValidationError

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

ConfigureK8SClusterReqValidationError is the validation error returned by ConfigureK8SClusterReq.Validate if the designated constraints aren't met.

func (ConfigureK8SClusterReqValidationError) Cause

Cause function returns cause value.

func (ConfigureK8SClusterReqValidationError) Error

Error satisfies the builtin error interface

func (ConfigureK8SClusterReqValidationError) ErrorName

ErrorName returns error name.

func (ConfigureK8SClusterReqValidationError) Field

Field function returns field value.

func (ConfigureK8SClusterReqValidationError) Key

Key function returns key value.

func (ConfigureK8SClusterReqValidationError) Reason

Reason function returns reason value.

type ConfigureK8SClusterReq_EKSOptions

type ConfigureK8SClusterReq_EKSOptions struct {
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	AccountId string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	RoleArn   string `protobuf:"bytes,4,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureK8SClusterReq_EKSOptions) Descriptor deprecated

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

Deprecated: Use ConfigureK8SClusterReq_EKSOptions.ProtoReflect.Descriptor instead.

func (*ConfigureK8SClusterReq_EKSOptions) GetAccessKey

func (x *ConfigureK8SClusterReq_EKSOptions) GetAccessKey() string

func (*ConfigureK8SClusterReq_EKSOptions) GetAccountId

func (x *ConfigureK8SClusterReq_EKSOptions) GetAccountId() string

func (*ConfigureK8SClusterReq_EKSOptions) GetRoleArn

func (x *ConfigureK8SClusterReq_EKSOptions) GetRoleArn() string

func (*ConfigureK8SClusterReq_EKSOptions) GetSecretKey

func (x *ConfigureK8SClusterReq_EKSOptions) GetSecretKey() string

func (*ConfigureK8SClusterReq_EKSOptions) ProtoMessage

func (*ConfigureK8SClusterReq_EKSOptions) ProtoMessage()

func (*ConfigureK8SClusterReq_EKSOptions) ProtoReflect

func (*ConfigureK8SClusterReq_EKSOptions) Reset

func (*ConfigureK8SClusterReq_EKSOptions) String

func (*ConfigureK8SClusterReq_EKSOptions) Validate

Validate checks the field values on ConfigureK8SClusterReq_EKSOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigureK8SClusterReq_EKSOptions) ValidateAll

func (m *ConfigureK8SClusterReq_EKSOptions) ValidateAll() error

ValidateAll checks the field values on ConfigureK8SClusterReq_EKSOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigureK8SClusterReq_EKSOptionsMultiError, or nil if none found.

type ConfigureK8SClusterReq_EKSOptionsMultiError

type ConfigureK8SClusterReq_EKSOptionsMultiError []error

ConfigureK8SClusterReq_EKSOptionsMultiError is an error wrapping multiple validation errors returned by ConfigureK8SClusterReq_EKSOptions.ValidateAll() if the designated constraints aren't met.

func (ConfigureK8SClusterReq_EKSOptionsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ConfigureK8SClusterReq_EKSOptionsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConfigureK8SClusterReq_EKSOptionsValidationError

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

ConfigureK8SClusterReq_EKSOptionsValidationError is the validation error returned by ConfigureK8SClusterReq_EKSOptions.Validate if the designated constraints aren't met.

func (ConfigureK8SClusterReq_EKSOptionsValidationError) Cause

Cause function returns cause value.

func (ConfigureK8SClusterReq_EKSOptionsValidationError) Error

Error satisfies the builtin error interface

func (ConfigureK8SClusterReq_EKSOptionsValidationError) ErrorName

ErrorName returns error name.

func (ConfigureK8SClusterReq_EKSOptionsValidationError) Field

Field function returns field value.

func (ConfigureK8SClusterReq_EKSOptionsValidationError) Key

Key function returns key value.

func (ConfigureK8SClusterReq_EKSOptionsValidationError) Reason

Reason function returns reason value.

type ConfigureK8SClusterReq_EksOptions

type ConfigureK8SClusterReq_EksOptions struct {
	EksOptions *ConfigureK8SClusterReq_EKSOptions `protobuf:"bytes,7,opt,name=eks_options,json=eksOptions,proto3,oneof"`
}

type ConfigureK8SClusterReq_GcpOptions

type ConfigureK8SClusterReq_GcpOptions struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// TODO(naphat) there should be an integrations table for this and elevate to top level data model
	Credentials string `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureK8SClusterReq_GcpOptions) Descriptor deprecated

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

Deprecated: Use ConfigureK8SClusterReq_GcpOptions.ProtoReflect.Descriptor instead.

func (*ConfigureK8SClusterReq_GcpOptions) GetCredentials

func (x *ConfigureK8SClusterReq_GcpOptions) GetCredentials() string

func (*ConfigureK8SClusterReq_GcpOptions) GetProject

func (x *ConfigureK8SClusterReq_GcpOptions) GetProject() string

func (*ConfigureK8SClusterReq_GcpOptions) ProtoMessage

func (*ConfigureK8SClusterReq_GcpOptions) ProtoMessage()

func (*ConfigureK8SClusterReq_GcpOptions) ProtoReflect

func (*ConfigureK8SClusterReq_GcpOptions) Reset

func (*ConfigureK8SClusterReq_GcpOptions) String

func (*ConfigureK8SClusterReq_GcpOptions) Validate

Validate checks the field values on ConfigureK8SClusterReq_GcpOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigureK8SClusterReq_GcpOptions) ValidateAll

func (m *ConfigureK8SClusterReq_GcpOptions) ValidateAll() error

ValidateAll checks the field values on ConfigureK8SClusterReq_GcpOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigureK8SClusterReq_GcpOptionsMultiError, or nil if none found.

type ConfigureK8SClusterReq_GcpOptionsMultiError

type ConfigureK8SClusterReq_GcpOptionsMultiError []error

ConfigureK8SClusterReq_GcpOptionsMultiError is an error wrapping multiple validation errors returned by ConfigureK8SClusterReq_GcpOptions.ValidateAll() if the designated constraints aren't met.

func (ConfigureK8SClusterReq_GcpOptionsMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ConfigureK8SClusterReq_GcpOptionsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConfigureK8SClusterReq_GcpOptionsValidationError

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

ConfigureK8SClusterReq_GcpOptionsValidationError is the validation error returned by ConfigureK8SClusterReq_GcpOptions.Validate if the designated constraints aren't met.

func (ConfigureK8SClusterReq_GcpOptionsValidationError) Cause

Cause function returns cause value.

func (ConfigureK8SClusterReq_GcpOptionsValidationError) Error

Error satisfies the builtin error interface

func (ConfigureK8SClusterReq_GcpOptionsValidationError) ErrorName

ErrorName returns error name.

func (ConfigureK8SClusterReq_GcpOptionsValidationError) Field

Field function returns field value.

func (ConfigureK8SClusterReq_GcpOptionsValidationError) Key

Key function returns key value.

func (ConfigureK8SClusterReq_GcpOptionsValidationError) Reason

Reason function returns reason value.

type ConfigureK8SClusterReq_GcpOptions_

type ConfigureK8SClusterReq_GcpOptions_ struct {
	GcpOptions *ConfigureK8SClusterReq_GcpOptions `protobuf:"bytes,2,opt,name=gcp_options,json=gcpOptions,proto3,oneof"`
}

type ConfigureK8SClusterResp

type ConfigureK8SClusterResp struct {
	Id      string                 `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	RunId   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Version string                 `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// TODO(naphat) delete archive_url once we automate pulumi runs
	ArchiveUrl string `protobuf:"bytes,3,opt,name=archive_url,json=archiveUrl,proto3" json:"archive_url,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureK8SClusterResp) Descriptor deprecated

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

Deprecated: Use ConfigureK8SClusterResp.ProtoReflect.Descriptor instead.

func (*ConfigureK8SClusterResp) GetArchiveUrl

func (x *ConfigureK8SClusterResp) GetArchiveUrl() string

func (*ConfigureK8SClusterResp) GetId

func (x *ConfigureK8SClusterResp) GetId() string

func (*ConfigureK8SClusterResp) GetRunId

func (*ConfigureK8SClusterResp) GetVersion

func (x *ConfigureK8SClusterResp) GetVersion() string

func (*ConfigureK8SClusterResp) ProtoMessage

func (*ConfigureK8SClusterResp) ProtoMessage()

func (*ConfigureK8SClusterResp) ProtoReflect

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

func (*ConfigureK8SClusterResp) Reset

func (x *ConfigureK8SClusterResp) Reset()

func (*ConfigureK8SClusterResp) String

func (x *ConfigureK8SClusterResp) String() string

func (*ConfigureK8SClusterResp) Validate

func (m *ConfigureK8SClusterResp) Validate() error

Validate checks the field values on ConfigureK8SClusterResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigureK8SClusterResp) ValidateAll

func (m *ConfigureK8SClusterResp) ValidateAll() error

ValidateAll checks the field values on ConfigureK8SClusterResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigureK8SClusterRespMultiError, or nil if none found.

type ConfigureK8SClusterRespMultiError

type ConfigureK8SClusterRespMultiError []error

ConfigureK8SClusterRespMultiError is an error wrapping multiple validation errors returned by ConfigureK8SClusterResp.ValidateAll() if the designated constraints aren't met.

func (ConfigureK8SClusterRespMultiError) AllErrors

func (m ConfigureK8SClusterRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigureK8SClusterRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConfigureK8SClusterRespValidationError

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

ConfigureK8SClusterRespValidationError is the validation error returned by ConfigureK8SClusterResp.Validate if the designated constraints aren't met.

func (ConfigureK8SClusterRespValidationError) Cause

Cause function returns cause value.

func (ConfigureK8SClusterRespValidationError) Error

Error satisfies the builtin error interface

func (ConfigureK8SClusterRespValidationError) ErrorName

ErrorName returns error name.

func (ConfigureK8SClusterRespValidationError) Field

Field function returns field value.

func (ConfigureK8SClusterRespValidationError) Key

Key function returns key value.

func (ConfigureK8SClusterRespValidationError) Reason

Reason function returns reason value.

type DeleteManagedResourceReq

type DeleteManagedResourceReq struct {
	ManagedResource string `protobuf:"bytes,1,opt,name=managed_resource,json=managedResource,proto3" json:"managed_resource,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteManagedResourceReq) Descriptor deprecated

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

Deprecated: Use DeleteManagedResourceReq.ProtoReflect.Descriptor instead.

func (*DeleteManagedResourceReq) GetManagedResource

func (x *DeleteManagedResourceReq) GetManagedResource() string

func (*DeleteManagedResourceReq) ProtoMessage

func (*DeleteManagedResourceReq) ProtoMessage()

func (*DeleteManagedResourceReq) ProtoReflect

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

func (*DeleteManagedResourceReq) Reset

func (x *DeleteManagedResourceReq) Reset()

func (*DeleteManagedResourceReq) String

func (x *DeleteManagedResourceReq) String() string

func (*DeleteManagedResourceReq) Validate

func (m *DeleteManagedResourceReq) Validate() error

Validate checks the field values on DeleteManagedResourceReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteManagedResourceReq) ValidateAll

func (m *DeleteManagedResourceReq) ValidateAll() error

ValidateAll checks the field values on DeleteManagedResourceReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteManagedResourceReqMultiError, or nil if none found.

type DeleteManagedResourceReqMultiError

type DeleteManagedResourceReqMultiError []error

DeleteManagedResourceReqMultiError is an error wrapping multiple validation errors returned by DeleteManagedResourceReq.ValidateAll() if the designated constraints aren't met.

func (DeleteManagedResourceReqMultiError) AllErrors

func (m DeleteManagedResourceReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteManagedResourceReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteManagedResourceReqValidationError

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

DeleteManagedResourceReqValidationError is the validation error returned by DeleteManagedResourceReq.Validate if the designated constraints aren't met.

func (DeleteManagedResourceReqValidationError) Cause

Cause function returns cause value.

func (DeleteManagedResourceReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteManagedResourceReqValidationError) ErrorName

ErrorName returns error name.

func (DeleteManagedResourceReqValidationError) Field

Field function returns field value.

func (DeleteManagedResourceReqValidationError) Key

Key function returns key value.

func (DeleteManagedResourceReqValidationError) Reason

Reason function returns reason value.

type DeleteManagedResourceResp

type DeleteManagedResourceResp struct {

	// resource ID and run ID, which can be used in conjunction with GetManagedResource to track
	// status of deletion.
	Id    string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RunId *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteManagedResourceResp) Descriptor deprecated

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

Deprecated: Use DeleteManagedResourceResp.ProtoReflect.Descriptor instead.

func (*DeleteManagedResourceResp) GetId

func (x *DeleteManagedResourceResp) GetId() string

func (*DeleteManagedResourceResp) GetRunId

func (*DeleteManagedResourceResp) ProtoMessage

func (*DeleteManagedResourceResp) ProtoMessage()

func (*DeleteManagedResourceResp) ProtoReflect

func (*DeleteManagedResourceResp) Reset

func (x *DeleteManagedResourceResp) Reset()

func (*DeleteManagedResourceResp) String

func (x *DeleteManagedResourceResp) String() string

func (*DeleteManagedResourceResp) Validate

func (m *DeleteManagedResourceResp) Validate() error

Validate checks the field values on DeleteManagedResourceResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteManagedResourceResp) ValidateAll

func (m *DeleteManagedResourceResp) ValidateAll() error

ValidateAll checks the field values on DeleteManagedResourceResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteManagedResourceRespMultiError, or nil if none found.

type DeleteManagedResourceRespMultiError

type DeleteManagedResourceRespMultiError []error

DeleteManagedResourceRespMultiError is an error wrapping multiple validation errors returned by DeleteManagedResourceResp.ValidateAll() if the designated constraints aren't met.

func (DeleteManagedResourceRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteManagedResourceRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteManagedResourceRespValidationError

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

DeleteManagedResourceRespValidationError is the validation error returned by DeleteManagedResourceResp.Validate if the designated constraints aren't met.

func (DeleteManagedResourceRespValidationError) Cause

Cause function returns cause value.

func (DeleteManagedResourceRespValidationError) Error

Error satisfies the builtin error interface

func (DeleteManagedResourceRespValidationError) ErrorName

ErrorName returns error name.

func (DeleteManagedResourceRespValidationError) Field

Field function returns field value.

func (DeleteManagedResourceRespValidationError) Key

Key function returns key value.

func (DeleteManagedResourceRespValidationError) Reason

Reason function returns reason value.

type GetArchiveReq

type GetArchiveReq struct {
	ManagedResource string `protobuf:"bytes,1,opt,name=managed_resource,json=managedResource,proto3" json:"managed_resource,omitempty"`
	Version         string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // default to latest version
	// contains filtered or unexported fields
}

func (*GetArchiveReq) Descriptor deprecated

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

Deprecated: Use GetArchiveReq.ProtoReflect.Descriptor instead.

func (*GetArchiveReq) GetManagedResource

func (x *GetArchiveReq) GetManagedResource() string

func (*GetArchiveReq) GetVersion

func (x *GetArchiveReq) GetVersion() string

func (*GetArchiveReq) ProtoMessage

func (*GetArchiveReq) ProtoMessage()

func (*GetArchiveReq) ProtoReflect

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

func (*GetArchiveReq) Reset

func (x *GetArchiveReq) Reset()

func (*GetArchiveReq) String

func (x *GetArchiveReq) String() string

func (*GetArchiveReq) Validate

func (m *GetArchiveReq) Validate() error

Validate checks the field values on GetArchiveReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetArchiveReq) ValidateAll

func (m *GetArchiveReq) ValidateAll() error

ValidateAll checks the field values on GetArchiveReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetArchiveReqMultiError, or nil if none found.

type GetArchiveReqMultiError

type GetArchiveReqMultiError []error

GetArchiveReqMultiError is an error wrapping multiple validation errors returned by GetArchiveReq.ValidateAll() if the designated constraints aren't met.

func (GetArchiveReqMultiError) AllErrors

func (m GetArchiveReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetArchiveReqMultiError) Error

func (m GetArchiveReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetArchiveReqValidationError

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

GetArchiveReqValidationError is the validation error returned by GetArchiveReq.Validate if the designated constraints aren't met.

func (GetArchiveReqValidationError) Cause

Cause function returns cause value.

func (GetArchiveReqValidationError) Error

Error satisfies the builtin error interface

func (GetArchiveReqValidationError) ErrorName

func (e GetArchiveReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetArchiveReqValidationError) Field

Field function returns field value.

func (GetArchiveReqValidationError) Key

Key function returns key value.

func (GetArchiveReqValidationError) Reason

Reason function returns reason value.

type GetArchiveResp

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

func (*GetArchiveResp) Descriptor deprecated

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

Deprecated: Use GetArchiveResp.ProtoReflect.Descriptor instead.

func (*GetArchiveResp) GetBytes

func (x *GetArchiveResp) GetBytes() []byte

func (*GetArchiveResp) ProtoMessage

func (*GetArchiveResp) ProtoMessage()

func (*GetArchiveResp) ProtoReflect

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

func (*GetArchiveResp) Reset

func (x *GetArchiveResp) Reset()

func (*GetArchiveResp) String

func (x *GetArchiveResp) String() string

func (*GetArchiveResp) Validate

func (m *GetArchiveResp) Validate() error

Validate checks the field values on GetArchiveResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetArchiveResp) ValidateAll

func (m *GetArchiveResp) ValidateAll() error

ValidateAll checks the field values on GetArchiveResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetArchiveRespMultiError, or nil if none found.

type GetArchiveRespMultiError

type GetArchiveRespMultiError []error

GetArchiveRespMultiError is an error wrapping multiple validation errors returned by GetArchiveResp.ValidateAll() if the designated constraints aren't met.

func (GetArchiveRespMultiError) AllErrors

func (m GetArchiveRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetArchiveRespMultiError) Error

func (m GetArchiveRespMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetArchiveRespValidationError

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

GetArchiveRespValidationError is the validation error returned by GetArchiveResp.Validate if the designated constraints aren't met.

func (GetArchiveRespValidationError) Cause

Cause function returns cause value.

func (GetArchiveRespValidationError) Error

Error satisfies the builtin error interface

func (GetArchiveRespValidationError) ErrorName

func (e GetArchiveRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetArchiveRespValidationError) Field

Field function returns field value.

func (GetArchiveRespValidationError) Key

Key function returns key value.

func (GetArchiveRespValidationError) Reason

Reason function returns reason value.

type GetManagedResourceReq

type GetManagedResourceReq struct {
	ManagedResource string `protobuf:"bytes,1,opt,name=managed_resource,json=managedResource,proto3" json:"managed_resource,omitempty"`
	// contains filtered or unexported fields
}

func (*GetManagedResourceReq) Descriptor deprecated

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

Deprecated: Use GetManagedResourceReq.ProtoReflect.Descriptor instead.

func (*GetManagedResourceReq) GetManagedResource

func (x *GetManagedResourceReq) GetManagedResource() string

func (*GetManagedResourceReq) ProtoMessage

func (*GetManagedResourceReq) ProtoMessage()

func (*GetManagedResourceReq) ProtoReflect

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

func (*GetManagedResourceReq) Reset

func (x *GetManagedResourceReq) Reset()

func (*GetManagedResourceReq) String

func (x *GetManagedResourceReq) String() string

func (*GetManagedResourceReq) Validate

func (m *GetManagedResourceReq) Validate() error

Validate checks the field values on GetManagedResourceReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetManagedResourceReq) ValidateAll

func (m *GetManagedResourceReq) ValidateAll() error

ValidateAll checks the field values on GetManagedResourceReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetManagedResourceReqMultiError, or nil if none found.

type GetManagedResourceReqMultiError

type GetManagedResourceReqMultiError []error

GetManagedResourceReqMultiError is an error wrapping multiple validation errors returned by GetManagedResourceReq.ValidateAll() if the designated constraints aren't met.

func (GetManagedResourceReqMultiError) AllErrors

func (m GetManagedResourceReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetManagedResourceReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetManagedResourceReqValidationError

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

GetManagedResourceReqValidationError is the validation error returned by GetManagedResourceReq.Validate if the designated constraints aren't met.

func (GetManagedResourceReqValidationError) Cause

Cause function returns cause value.

func (GetManagedResourceReqValidationError) Error

Error satisfies the builtin error interface

func (GetManagedResourceReqValidationError) ErrorName

ErrorName returns error name.

func (GetManagedResourceReqValidationError) Field

Field function returns field value.

func (GetManagedResourceReqValidationError) Key

Key function returns key value.

func (GetManagedResourceReqValidationError) Reason

Reason function returns reason value.

type GetManagedResourceResp

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

func (*GetManagedResourceResp) Descriptor deprecated

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

Deprecated: Use GetManagedResourceResp.ProtoReflect.Descriptor instead.

func (*GetManagedResourceResp) GetManagedResource

func (x *GetManagedResourceResp) GetManagedResource() *ManagedResource

func (*GetManagedResourceResp) ProtoMessage

func (*GetManagedResourceResp) ProtoMessage()

func (*GetManagedResourceResp) ProtoReflect

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

func (*GetManagedResourceResp) Reset

func (x *GetManagedResourceResp) Reset()

func (*GetManagedResourceResp) String

func (x *GetManagedResourceResp) String() string

func (*GetManagedResourceResp) Validate

func (m *GetManagedResourceResp) Validate() error

Validate checks the field values on GetManagedResourceResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetManagedResourceResp) ValidateAll

func (m *GetManagedResourceResp) ValidateAll() error

ValidateAll checks the field values on GetManagedResourceResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetManagedResourceRespMultiError, or nil if none found.

type GetManagedResourceRespMultiError

type GetManagedResourceRespMultiError []error

GetManagedResourceRespMultiError is an error wrapping multiple validation errors returned by GetManagedResourceResp.ValidateAll() if the designated constraints aren't met.

func (GetManagedResourceRespMultiError) AllErrors

func (m GetManagedResourceRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetManagedResourceRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetManagedResourceRespValidationError

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

GetManagedResourceRespValidationError is the validation error returned by GetManagedResourceResp.Validate if the designated constraints aren't met.

func (GetManagedResourceRespValidationError) Cause

Cause function returns cause value.

func (GetManagedResourceRespValidationError) Error

Error satisfies the builtin error interface

func (GetManagedResourceRespValidationError) ErrorName

ErrorName returns error name.

func (GetManagedResourceRespValidationError) Field

Field function returns field value.

func (GetManagedResourceRespValidationError) Key

Key function returns key value.

func (GetManagedResourceRespValidationError) Reason

Reason function returns reason value.

type ListManagedResourcesReq

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

func (*ListManagedResourcesReq) Descriptor deprecated

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

Deprecated: Use ListManagedResourcesReq.ProtoReflect.Descriptor instead.

func (*ListManagedResourcesReq) ProtoMessage

func (*ListManagedResourcesReq) ProtoMessage()

func (*ListManagedResourcesReq) ProtoReflect

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

func (*ListManagedResourcesReq) Reset

func (x *ListManagedResourcesReq) Reset()

func (*ListManagedResourcesReq) String

func (x *ListManagedResourcesReq) String() string

func (*ListManagedResourcesReq) Validate

func (m *ListManagedResourcesReq) Validate() error

Validate checks the field values on ListManagedResourcesReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListManagedResourcesReq) ValidateAll

func (m *ListManagedResourcesReq) ValidateAll() error

ValidateAll checks the field values on ListManagedResourcesReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListManagedResourcesReqMultiError, or nil if none found.

type ListManagedResourcesReqMultiError

type ListManagedResourcesReqMultiError []error

ListManagedResourcesReqMultiError is an error wrapping multiple validation errors returned by ListManagedResourcesReq.ValidateAll() if the designated constraints aren't met.

func (ListManagedResourcesReqMultiError) AllErrors

func (m ListManagedResourcesReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListManagedResourcesReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListManagedResourcesReqValidationError

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

ListManagedResourcesReqValidationError is the validation error returned by ListManagedResourcesReq.Validate if the designated constraints aren't met.

func (ListManagedResourcesReqValidationError) Cause

Cause function returns cause value.

func (ListManagedResourcesReqValidationError) Error

Error satisfies the builtin error interface

func (ListManagedResourcesReqValidationError) ErrorName

ErrorName returns error name.

func (ListManagedResourcesReqValidationError) Field

Field function returns field value.

func (ListManagedResourcesReqValidationError) Key

Key function returns key value.

func (ListManagedResourcesReqValidationError) Reason

Reason function returns reason value.

type ListManagedResourcesResp

type ListManagedResourcesResp struct {
	ManagedResources []*ManagedResource `protobuf:"bytes,1,rep,name=managed_resources,json=managedResources,proto3" json:"managed_resources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListManagedResourcesResp) Descriptor deprecated

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

Deprecated: Use ListManagedResourcesResp.ProtoReflect.Descriptor instead.

func (*ListManagedResourcesResp) GetManagedResources

func (x *ListManagedResourcesResp) GetManagedResources() []*ManagedResource

func (*ListManagedResourcesResp) ProtoMessage

func (*ListManagedResourcesResp) ProtoMessage()

func (*ListManagedResourcesResp) ProtoReflect

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

func (*ListManagedResourcesResp) Reset

func (x *ListManagedResourcesResp) Reset()

func (*ListManagedResourcesResp) String

func (x *ListManagedResourcesResp) String() string

func (*ListManagedResourcesResp) Validate

func (m *ListManagedResourcesResp) Validate() error

Validate checks the field values on ListManagedResourcesResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListManagedResourcesResp) ValidateAll

func (m *ListManagedResourcesResp) ValidateAll() error

ValidateAll checks the field values on ListManagedResourcesResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListManagedResourcesRespMultiError, or nil if none found.

type ListManagedResourcesRespMultiError

type ListManagedResourcesRespMultiError []error

ListManagedResourcesRespMultiError is an error wrapping multiple validation errors returned by ListManagedResourcesResp.ValidateAll() if the designated constraints aren't met.

func (ListManagedResourcesRespMultiError) AllErrors

func (m ListManagedResourcesRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListManagedResourcesRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListManagedResourcesRespValidationError

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

ListManagedResourcesRespValidationError is the validation error returned by ListManagedResourcesResp.Validate if the designated constraints aren't met.

func (ListManagedResourcesRespValidationError) Cause

Cause function returns cause value.

func (ListManagedResourcesRespValidationError) Error

Error satisfies the builtin error interface

func (ListManagedResourcesRespValidationError) ErrorName

ErrorName returns error name.

func (ListManagedResourcesRespValidationError) Field

Field function returns field value.

func (ListManagedResourcesRespValidationError) Key

Key function returns key value.

func (ListManagedResourcesRespValidationError) Reason

Reason function returns reason value.

type ManagedResource

type ManagedResource 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"`
	LatestRun *ManagedResource_Run `protobuf:"bytes,4,opt,name=latest_run,json=latestRun,proto3" json:"latest_run,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedResource) Descriptor deprecated

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

Deprecated: Use ManagedResource.ProtoReflect.Descriptor instead.

func (*ManagedResource) GetId

func (x *ManagedResource) GetId() string

func (*ManagedResource) GetLatestRun

func (x *ManagedResource) GetLatestRun() *ManagedResource_Run

func (*ManagedResource) GetName

func (x *ManagedResource) GetName() string

func (*ManagedResource) GetType

func (x *ManagedResource) GetType() string

func (*ManagedResource) ProtoMessage

func (*ManagedResource) ProtoMessage()

func (*ManagedResource) ProtoReflect

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

func (*ManagedResource) Reset

func (x *ManagedResource) Reset()

func (*ManagedResource) String

func (x *ManagedResource) String() string

func (*ManagedResource) Validate

func (m *ManagedResource) Validate() error

Validate checks the field values on ManagedResource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ManagedResource) ValidateAll

func (m *ManagedResource) ValidateAll() error

ValidateAll checks the field values on ManagedResource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManagedResourceMultiError, or nil if none found.

type ManagedResourceMultiError

type ManagedResourceMultiError []error

ManagedResourceMultiError is an error wrapping multiple validation errors returned by ManagedResource.ValidateAll() if the designated constraints aren't met.

func (ManagedResourceMultiError) AllErrors

func (m ManagedResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ManagedResourceMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ManagedResourceValidationError

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

ManagedResourceValidationError is the validation error returned by ManagedResource.Validate if the designated constraints aren't met.

func (ManagedResourceValidationError) Cause

Cause function returns cause value.

func (ManagedResourceValidationError) Error

Error satisfies the builtin error interface

func (ManagedResourceValidationError) ErrorName

func (e ManagedResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ManagedResourceValidationError) Field

Field function returns field value.

func (ManagedResourceValidationError) Key

Key function returns key value.

func (ManagedResourceValidationError) Reason

Reason function returns reason value.

type ManagedResource_Run

type ManagedResource_Run struct {
	Version             string                 `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	State               string                 `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Terminal            bool                   `protobuf:"varint,3,opt,name=terminal,proto3" json:"terminal,omitempty"`
	CreationTimestamp   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"`
	LastUpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_timestamp,omitempty"`
	Message             string                 `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedResource_Run) Descriptor deprecated

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

Deprecated: Use ManagedResource_Run.ProtoReflect.Descriptor instead.

func (*ManagedResource_Run) GetCreationTimestamp

func (x *ManagedResource_Run) GetCreationTimestamp() *timestamppb.Timestamp

func (*ManagedResource_Run) GetLastUpdateTimestamp

func (x *ManagedResource_Run) GetLastUpdateTimestamp() *timestamppb.Timestamp

func (*ManagedResource_Run) GetMessage

func (x *ManagedResource_Run) GetMessage() string

func (*ManagedResource_Run) GetState

func (x *ManagedResource_Run) GetState() string

func (*ManagedResource_Run) GetTerminal

func (x *ManagedResource_Run) GetTerminal() bool

func (*ManagedResource_Run) GetVersion

func (x *ManagedResource_Run) GetVersion() string

func (*ManagedResource_Run) ProtoMessage

func (*ManagedResource_Run) ProtoMessage()

func (*ManagedResource_Run) ProtoReflect

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

func (*ManagedResource_Run) Reset

func (x *ManagedResource_Run) Reset()

func (*ManagedResource_Run) String

func (x *ManagedResource_Run) String() string

func (*ManagedResource_Run) Validate

func (m *ManagedResource_Run) Validate() error

Validate checks the field values on ManagedResource_Run with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ManagedResource_Run) ValidateAll

func (m *ManagedResource_Run) ValidateAll() error

ValidateAll checks the field values on ManagedResource_Run with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManagedResource_RunMultiError, or nil if none found.

type ManagedResource_RunMultiError

type ManagedResource_RunMultiError []error

ManagedResource_RunMultiError is an error wrapping multiple validation errors returned by ManagedResource_Run.ValidateAll() if the designated constraints aren't met.

func (ManagedResource_RunMultiError) AllErrors

func (m ManagedResource_RunMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ManagedResource_RunMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ManagedResource_RunValidationError

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

ManagedResource_RunValidationError is the validation error returned by ManagedResource_Run.Validate if the designated constraints aren't met.

func (ManagedResource_RunValidationError) Cause

Cause function returns cause value.

func (ManagedResource_RunValidationError) Error

Error satisfies the builtin error interface

func (ManagedResource_RunValidationError) ErrorName

ErrorName returns error name.

func (ManagedResource_RunValidationError) Field

Field function returns field value.

func (ManagedResource_RunValidationError) Key

Key function returns key value.

func (ManagedResource_RunValidationError) Reason

Reason function returns reason value.

type MarkRunDoneReq

type MarkRunDoneReq struct {
	ManagedResource string                 `protobuf:"bytes,1,opt,name=managed_resource,json=managedResource,proto3" json:"managed_resource,omitempty"`
	RunId           *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Succeeded       bool                   `protobuf:"varint,3,opt,name=succeeded,proto3" json:"succeeded,omitempty"`
	Msg             string                 `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*MarkRunDoneReq) Descriptor deprecated

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

Deprecated: Use MarkRunDoneReq.ProtoReflect.Descriptor instead.

func (*MarkRunDoneReq) GetManagedResource

func (x *MarkRunDoneReq) GetManagedResource() string

func (*MarkRunDoneReq) GetMsg

func (x *MarkRunDoneReq) GetMsg() string

func (*MarkRunDoneReq) GetRunId

func (x *MarkRunDoneReq) GetRunId() *timestamppb.Timestamp

func (*MarkRunDoneReq) GetSucceeded

func (x *MarkRunDoneReq) GetSucceeded() bool

func (*MarkRunDoneReq) ProtoMessage

func (*MarkRunDoneReq) ProtoMessage()

func (*MarkRunDoneReq) ProtoReflect

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

func (*MarkRunDoneReq) Reset

func (x *MarkRunDoneReq) Reset()

func (*MarkRunDoneReq) String

func (x *MarkRunDoneReq) String() string

func (*MarkRunDoneReq) Validate

func (m *MarkRunDoneReq) Validate() error

Validate checks the field values on MarkRunDoneReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MarkRunDoneReq) ValidateAll

func (m *MarkRunDoneReq) ValidateAll() error

ValidateAll checks the field values on MarkRunDoneReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MarkRunDoneReqMultiError, or nil if none found.

type MarkRunDoneReqMultiError

type MarkRunDoneReqMultiError []error

MarkRunDoneReqMultiError is an error wrapping multiple validation errors returned by MarkRunDoneReq.ValidateAll() if the designated constraints aren't met.

func (MarkRunDoneReqMultiError) AllErrors

func (m MarkRunDoneReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkRunDoneReqMultiError) Error

func (m MarkRunDoneReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MarkRunDoneReqValidationError

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

MarkRunDoneReqValidationError is the validation error returned by MarkRunDoneReq.Validate if the designated constraints aren't met.

func (MarkRunDoneReqValidationError) Cause

Cause function returns cause value.

func (MarkRunDoneReqValidationError) Error

Error satisfies the builtin error interface

func (MarkRunDoneReqValidationError) ErrorName

func (e MarkRunDoneReqValidationError) ErrorName() string

ErrorName returns error name.

func (MarkRunDoneReqValidationError) Field

Field function returns field value.

func (MarkRunDoneReqValidationError) Key

Key function returns key value.

func (MarkRunDoneReqValidationError) Reason

Reason function returns reason value.

type MarkRunDoneResp

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

func (*MarkRunDoneResp) Descriptor deprecated

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

Deprecated: Use MarkRunDoneResp.ProtoReflect.Descriptor instead.

func (*MarkRunDoneResp) ProtoMessage

func (*MarkRunDoneResp) ProtoMessage()

func (*MarkRunDoneResp) ProtoReflect

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

func (*MarkRunDoneResp) Reset

func (x *MarkRunDoneResp) Reset()

func (*MarkRunDoneResp) String

func (x *MarkRunDoneResp) String() string

func (*MarkRunDoneResp) Validate

func (m *MarkRunDoneResp) Validate() error

Validate checks the field values on MarkRunDoneResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MarkRunDoneResp) ValidateAll

func (m *MarkRunDoneResp) ValidateAll() error

ValidateAll checks the field values on MarkRunDoneResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MarkRunDoneRespMultiError, or nil if none found.

type MarkRunDoneRespMultiError

type MarkRunDoneRespMultiError []error

MarkRunDoneRespMultiError is an error wrapping multiple validation errors returned by MarkRunDoneResp.ValidateAll() if the designated constraints aren't met.

func (MarkRunDoneRespMultiError) AllErrors

func (m MarkRunDoneRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkRunDoneRespMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MarkRunDoneRespValidationError

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

MarkRunDoneRespValidationError is the validation error returned by MarkRunDoneResp.Validate if the designated constraints aren't met.

func (MarkRunDoneRespValidationError) Cause

Cause function returns cause value.

func (MarkRunDoneRespValidationError) Error

Error satisfies the builtin error interface

func (MarkRunDoneRespValidationError) ErrorName

func (e MarkRunDoneRespValidationError) ErrorName() string

ErrorName returns error name.

func (MarkRunDoneRespValidationError) Field

Field function returns field value.

func (MarkRunDoneRespValidationError) Key

Key function returns key value.

func (MarkRunDoneRespValidationError) Reason

Reason function returns reason value.

type ResourceManagerClient

type ResourceManagerClient interface {
	ConfigureK8SCluster(ctx context.Context, in *ConfigureK8SClusterReq, opts ...grpc.CallOption) (*ConfigureK8SClusterResp, error)
	GetManagedResource(ctx context.Context, in *GetManagedResourceReq, opts ...grpc.CallOption) (*GetManagedResourceResp, error)
	ListManagedResources(ctx context.Context, in *ListManagedResourcesReq, opts ...grpc.CallOption) (*ListManagedResourcesResp, error)
	GetArchive(ctx context.Context, in *GetArchiveReq, opts ...grpc.CallOption) (ResourceManager_GetArchiveClient, error)
	DeleteManagedResource(ctx context.Context, in *DeleteManagedResourceReq, opts ...grpc.CallOption) (*DeleteManagedResourceResp, error)
	// TODO(naphat) delete this endpoint once we automate pulumi runs
	MarkRunDone(ctx context.Context, in *MarkRunDoneReq, opts ...grpc.CallOption) (*MarkRunDoneResp, error)
}

ResourceManagerClient is the client API for ResourceManager 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 ResourceManagerServer

type ResourceManagerServer interface {
	ConfigureK8SCluster(context.Context, *ConfigureK8SClusterReq) (*ConfigureK8SClusterResp, error)
	GetManagedResource(context.Context, *GetManagedResourceReq) (*GetManagedResourceResp, error)
	ListManagedResources(context.Context, *ListManagedResourcesReq) (*ListManagedResourcesResp, error)
	GetArchive(*GetArchiveReq, ResourceManager_GetArchiveServer) error
	DeleteManagedResource(context.Context, *DeleteManagedResourceReq) (*DeleteManagedResourceResp, error)
	// TODO(naphat) delete this endpoint once we automate pulumi runs
	MarkRunDone(context.Context, *MarkRunDoneReq) (*MarkRunDoneResp, error)
	// contains filtered or unexported methods
}

ResourceManagerServer is the server API for ResourceManager service. All implementations must embed UnimplementedResourceManagerServer for forward compatibility

type ResourceManager_GetArchiveClient

type ResourceManager_GetArchiveClient interface {
	Recv() (*GetArchiveResp, error)
	grpc.ClientStream
}

type ResourceManager_GetArchiveServer

type ResourceManager_GetArchiveServer interface {
	Send(*GetArchiveResp) error
	grpc.ServerStream
}

type UnimplementedResourceManagerServer

type UnimplementedResourceManagerServer struct {
}

UnimplementedResourceManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedResourceManagerServer) ConfigureK8SCluster

func (UnimplementedResourceManagerServer) DeleteManagedResource

func (UnimplementedResourceManagerServer) GetArchive

func (UnimplementedResourceManagerServer) GetManagedResource

func (UnimplementedResourceManagerServer) ListManagedResources

func (UnimplementedResourceManagerServer) MarkRunDone

type UnsafeResourceManagerServer

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

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

Jump to

Keyboard shortcuts

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