Documentation ¶
Overview ¶
Package managed_resource is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterResourceManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResourceManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceManagerClient) error
- func RegisterResourceManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResourceManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceManagerServer) error
- func RegisterResourceManagerServer(s grpc.ServiceRegistrar, srv ResourceManagerServer)
- type ConfigureK8SClusterReq
- func (*ConfigureK8SClusterReq) Descriptor() ([]byte, []int)deprecated
- func (m *ConfigureK8SClusterReq) GetCloudProviderOneof() isConfigureK8SClusterReq_CloudProviderOneof
- func (x *ConfigureK8SClusterReq) GetEksOptions() *ConfigureK8SClusterReq_EKSOptions
- func (x *ConfigureK8SClusterReq) GetGcpOptions() *ConfigureK8SClusterReq_GcpOptions
- func (x *ConfigureK8SClusterReq) GetInstanceType() string
- func (x *ConfigureK8SClusterReq) GetName() string
- func (x *ConfigureK8SClusterReq) GetNodeCountPerZone() int32
- func (x *ConfigureK8SClusterReq) GetNodepoolZones() []string
- func (x *ConfigureK8SClusterReq) GetRegion() string
- func (*ConfigureK8SClusterReq) ProtoMessage()
- func (x *ConfigureK8SClusterReq) ProtoReflect() protoreflect.Message
- func (x *ConfigureK8SClusterReq) Reset()
- func (x *ConfigureK8SClusterReq) String() string
- func (m *ConfigureK8SClusterReq) Validate() error
- func (m *ConfigureK8SClusterReq) ValidateAll() error
- type ConfigureK8SClusterReqMultiError
- type ConfigureK8SClusterReqValidationError
- func (e ConfigureK8SClusterReqValidationError) Cause() error
- func (e ConfigureK8SClusterReqValidationError) Error() string
- func (e ConfigureK8SClusterReqValidationError) ErrorName() string
- func (e ConfigureK8SClusterReqValidationError) Field() string
- func (e ConfigureK8SClusterReqValidationError) Key() bool
- func (e ConfigureK8SClusterReqValidationError) Reason() string
- type ConfigureK8SClusterReq_EKSOptions
- func (*ConfigureK8SClusterReq_EKSOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureK8SClusterReq_EKSOptions) GetAccessKey() string
- func (x *ConfigureK8SClusterReq_EKSOptions) GetAccountId() string
- func (x *ConfigureK8SClusterReq_EKSOptions) GetRoleArn() string
- func (x *ConfigureK8SClusterReq_EKSOptions) GetSecretKey() string
- func (*ConfigureK8SClusterReq_EKSOptions) ProtoMessage()
- func (x *ConfigureK8SClusterReq_EKSOptions) ProtoReflect() protoreflect.Message
- func (x *ConfigureK8SClusterReq_EKSOptions) Reset()
- func (x *ConfigureK8SClusterReq_EKSOptions) String() string
- func (m *ConfigureK8SClusterReq_EKSOptions) Validate() error
- func (m *ConfigureK8SClusterReq_EKSOptions) ValidateAll() error
- type ConfigureK8SClusterReq_EKSOptionsMultiError
- type ConfigureK8SClusterReq_EKSOptionsValidationError
- func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Cause() error
- func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Error() string
- func (e ConfigureK8SClusterReq_EKSOptionsValidationError) ErrorName() string
- func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Field() string
- func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Key() bool
- func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Reason() string
- type ConfigureK8SClusterReq_EksOptions
- type ConfigureK8SClusterReq_GcpOptions
- func (*ConfigureK8SClusterReq_GcpOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureK8SClusterReq_GcpOptions) GetCredentials() string
- func (x *ConfigureK8SClusterReq_GcpOptions) GetProject() string
- func (*ConfigureK8SClusterReq_GcpOptions) ProtoMessage()
- func (x *ConfigureK8SClusterReq_GcpOptions) ProtoReflect() protoreflect.Message
- func (x *ConfigureK8SClusterReq_GcpOptions) Reset()
- func (x *ConfigureK8SClusterReq_GcpOptions) String() string
- func (m *ConfigureK8SClusterReq_GcpOptions) Validate() error
- func (m *ConfigureK8SClusterReq_GcpOptions) ValidateAll() error
- type ConfigureK8SClusterReq_GcpOptionsMultiError
- type ConfigureK8SClusterReq_GcpOptionsValidationError
- func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Cause() error
- func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Error() string
- func (e ConfigureK8SClusterReq_GcpOptionsValidationError) ErrorName() string
- func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Field() string
- func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Key() bool
- func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Reason() string
- type ConfigureK8SClusterReq_GcpOptions_
- type ConfigureK8SClusterResp
- func (*ConfigureK8SClusterResp) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureK8SClusterResp) GetArchiveUrl() string
- func (x *ConfigureK8SClusterResp) GetId() string
- func (x *ConfigureK8SClusterResp) GetRunId() *timestamppb.Timestamp
- func (x *ConfigureK8SClusterResp) GetVersion() string
- func (*ConfigureK8SClusterResp) ProtoMessage()
- func (x *ConfigureK8SClusterResp) ProtoReflect() protoreflect.Message
- func (x *ConfigureK8SClusterResp) Reset()
- func (x *ConfigureK8SClusterResp) String() string
- func (m *ConfigureK8SClusterResp) Validate() error
- func (m *ConfigureK8SClusterResp) ValidateAll() error
- type ConfigureK8SClusterRespMultiError
- type ConfigureK8SClusterRespValidationError
- func (e ConfigureK8SClusterRespValidationError) Cause() error
- func (e ConfigureK8SClusterRespValidationError) Error() string
- func (e ConfigureK8SClusterRespValidationError) ErrorName() string
- func (e ConfigureK8SClusterRespValidationError) Field() string
- func (e ConfigureK8SClusterRespValidationError) Key() bool
- func (e ConfigureK8SClusterRespValidationError) Reason() string
- type DeleteManagedResourceReq
- func (*DeleteManagedResourceReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteManagedResourceReq) GetManagedResource() string
- func (*DeleteManagedResourceReq) ProtoMessage()
- func (x *DeleteManagedResourceReq) ProtoReflect() protoreflect.Message
- func (x *DeleteManagedResourceReq) Reset()
- func (x *DeleteManagedResourceReq) String() string
- func (m *DeleteManagedResourceReq) Validate() error
- func (m *DeleteManagedResourceReq) ValidateAll() error
- type DeleteManagedResourceReqMultiError
- type DeleteManagedResourceReqValidationError
- func (e DeleteManagedResourceReqValidationError) Cause() error
- func (e DeleteManagedResourceReqValidationError) Error() string
- func (e DeleteManagedResourceReqValidationError) ErrorName() string
- func (e DeleteManagedResourceReqValidationError) Field() string
- func (e DeleteManagedResourceReqValidationError) Key() bool
- func (e DeleteManagedResourceReqValidationError) Reason() string
- type DeleteManagedResourceResp
- func (*DeleteManagedResourceResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteManagedResourceResp) GetId() string
- func (x *DeleteManagedResourceResp) GetRunId() *timestamppb.Timestamp
- func (*DeleteManagedResourceResp) ProtoMessage()
- func (x *DeleteManagedResourceResp) ProtoReflect() protoreflect.Message
- func (x *DeleteManagedResourceResp) Reset()
- func (x *DeleteManagedResourceResp) String() string
- func (m *DeleteManagedResourceResp) Validate() error
- func (m *DeleteManagedResourceResp) ValidateAll() error
- type DeleteManagedResourceRespMultiError
- type DeleteManagedResourceRespValidationError
- func (e DeleteManagedResourceRespValidationError) Cause() error
- func (e DeleteManagedResourceRespValidationError) Error() string
- func (e DeleteManagedResourceRespValidationError) ErrorName() string
- func (e DeleteManagedResourceRespValidationError) Field() string
- func (e DeleteManagedResourceRespValidationError) Key() bool
- func (e DeleteManagedResourceRespValidationError) Reason() string
- type GetArchiveReq
- func (*GetArchiveReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetArchiveReq) GetManagedResource() string
- func (x *GetArchiveReq) GetVersion() string
- func (*GetArchiveReq) ProtoMessage()
- func (x *GetArchiveReq) ProtoReflect() protoreflect.Message
- func (x *GetArchiveReq) Reset()
- func (x *GetArchiveReq) String() string
- func (m *GetArchiveReq) Validate() error
- func (m *GetArchiveReq) ValidateAll() error
- type GetArchiveReqMultiError
- type GetArchiveReqValidationError
- func (e GetArchiveReqValidationError) Cause() error
- func (e GetArchiveReqValidationError) Error() string
- func (e GetArchiveReqValidationError) ErrorName() string
- func (e GetArchiveReqValidationError) Field() string
- func (e GetArchiveReqValidationError) Key() bool
- func (e GetArchiveReqValidationError) Reason() string
- type GetArchiveResp
- func (*GetArchiveResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetArchiveResp) GetBytes() []byte
- func (*GetArchiveResp) ProtoMessage()
- func (x *GetArchiveResp) ProtoReflect() protoreflect.Message
- func (x *GetArchiveResp) Reset()
- func (x *GetArchiveResp) String() string
- func (m *GetArchiveResp) Validate() error
- func (m *GetArchiveResp) ValidateAll() error
- type GetArchiveRespMultiError
- type GetArchiveRespValidationError
- func (e GetArchiveRespValidationError) Cause() error
- func (e GetArchiveRespValidationError) Error() string
- func (e GetArchiveRespValidationError) ErrorName() string
- func (e GetArchiveRespValidationError) Field() string
- func (e GetArchiveRespValidationError) Key() bool
- func (e GetArchiveRespValidationError) Reason() string
- type GetManagedResourceReq
- func (*GetManagedResourceReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetManagedResourceReq) GetManagedResource() string
- func (*GetManagedResourceReq) ProtoMessage()
- func (x *GetManagedResourceReq) ProtoReflect() protoreflect.Message
- func (x *GetManagedResourceReq) Reset()
- func (x *GetManagedResourceReq) String() string
- func (m *GetManagedResourceReq) Validate() error
- func (m *GetManagedResourceReq) ValidateAll() error
- type GetManagedResourceReqMultiError
- type GetManagedResourceReqValidationError
- func (e GetManagedResourceReqValidationError) Cause() error
- func (e GetManagedResourceReqValidationError) Error() string
- func (e GetManagedResourceReqValidationError) ErrorName() string
- func (e GetManagedResourceReqValidationError) Field() string
- func (e GetManagedResourceReqValidationError) Key() bool
- func (e GetManagedResourceReqValidationError) Reason() string
- type GetManagedResourceResp
- func (*GetManagedResourceResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetManagedResourceResp) GetManagedResource() *ManagedResource
- func (*GetManagedResourceResp) ProtoMessage()
- func (x *GetManagedResourceResp) ProtoReflect() protoreflect.Message
- func (x *GetManagedResourceResp) Reset()
- func (x *GetManagedResourceResp) String() string
- func (m *GetManagedResourceResp) Validate() error
- func (m *GetManagedResourceResp) ValidateAll() error
- type GetManagedResourceRespMultiError
- type GetManagedResourceRespValidationError
- func (e GetManagedResourceRespValidationError) Cause() error
- func (e GetManagedResourceRespValidationError) Error() string
- func (e GetManagedResourceRespValidationError) ErrorName() string
- func (e GetManagedResourceRespValidationError) Field() string
- func (e GetManagedResourceRespValidationError) Key() bool
- func (e GetManagedResourceRespValidationError) Reason() string
- type ListManagedResourcesReq
- func (*ListManagedResourcesReq) Descriptor() ([]byte, []int)deprecated
- func (*ListManagedResourcesReq) ProtoMessage()
- func (x *ListManagedResourcesReq) ProtoReflect() protoreflect.Message
- func (x *ListManagedResourcesReq) Reset()
- func (x *ListManagedResourcesReq) String() string
- func (m *ListManagedResourcesReq) Validate() error
- func (m *ListManagedResourcesReq) ValidateAll() error
- type ListManagedResourcesReqMultiError
- type ListManagedResourcesReqValidationError
- func (e ListManagedResourcesReqValidationError) Cause() error
- func (e ListManagedResourcesReqValidationError) Error() string
- func (e ListManagedResourcesReqValidationError) ErrorName() string
- func (e ListManagedResourcesReqValidationError) Field() string
- func (e ListManagedResourcesReqValidationError) Key() bool
- func (e ListManagedResourcesReqValidationError) Reason() string
- type ListManagedResourcesResp
- func (*ListManagedResourcesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListManagedResourcesResp) GetManagedResources() []*ManagedResource
- func (*ListManagedResourcesResp) ProtoMessage()
- func (x *ListManagedResourcesResp) ProtoReflect() protoreflect.Message
- func (x *ListManagedResourcesResp) Reset()
- func (x *ListManagedResourcesResp) String() string
- func (m *ListManagedResourcesResp) Validate() error
- func (m *ListManagedResourcesResp) ValidateAll() error
- type ListManagedResourcesRespMultiError
- type ListManagedResourcesRespValidationError
- func (e ListManagedResourcesRespValidationError) Cause() error
- func (e ListManagedResourcesRespValidationError) Error() string
- func (e ListManagedResourcesRespValidationError) ErrorName() string
- func (e ListManagedResourcesRespValidationError) Field() string
- func (e ListManagedResourcesRespValidationError) Key() bool
- func (e ListManagedResourcesRespValidationError) Reason() string
- type ManagedResource
- func (*ManagedResource) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedResource) GetId() string
- func (x *ManagedResource) GetLatestRun() *ManagedResource_Run
- func (x *ManagedResource) GetName() string
- func (x *ManagedResource) GetType() string
- func (*ManagedResource) ProtoMessage()
- func (x *ManagedResource) ProtoReflect() protoreflect.Message
- func (x *ManagedResource) Reset()
- func (x *ManagedResource) String() string
- func (m *ManagedResource) Validate() error
- func (m *ManagedResource) ValidateAll() error
- type ManagedResourceMultiError
- type ManagedResourceValidationError
- func (e ManagedResourceValidationError) Cause() error
- func (e ManagedResourceValidationError) Error() string
- func (e ManagedResourceValidationError) ErrorName() string
- func (e ManagedResourceValidationError) Field() string
- func (e ManagedResourceValidationError) Key() bool
- func (e ManagedResourceValidationError) Reason() string
- type ManagedResource_Run
- func (*ManagedResource_Run) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedResource_Run) GetCreationTimestamp() *timestamppb.Timestamp
- func (x *ManagedResource_Run) GetLastUpdateTimestamp() *timestamppb.Timestamp
- func (x *ManagedResource_Run) GetMessage() string
- func (x *ManagedResource_Run) GetState() string
- func (x *ManagedResource_Run) GetTerminal() bool
- func (x *ManagedResource_Run) GetVersion() string
- func (*ManagedResource_Run) ProtoMessage()
- func (x *ManagedResource_Run) ProtoReflect() protoreflect.Message
- func (x *ManagedResource_Run) Reset()
- func (x *ManagedResource_Run) String() string
- func (m *ManagedResource_Run) Validate() error
- func (m *ManagedResource_Run) ValidateAll() error
- type ManagedResource_RunMultiError
- type ManagedResource_RunValidationError
- func (e ManagedResource_RunValidationError) Cause() error
- func (e ManagedResource_RunValidationError) Error() string
- func (e ManagedResource_RunValidationError) ErrorName() string
- func (e ManagedResource_RunValidationError) Field() string
- func (e ManagedResource_RunValidationError) Key() bool
- func (e ManagedResource_RunValidationError) Reason() string
- type MarkRunDoneReq
- func (*MarkRunDoneReq) Descriptor() ([]byte, []int)deprecated
- func (x *MarkRunDoneReq) GetManagedResource() string
- func (x *MarkRunDoneReq) GetMsg() string
- func (x *MarkRunDoneReq) GetRunId() *timestamppb.Timestamp
- func (x *MarkRunDoneReq) GetSucceeded() bool
- func (*MarkRunDoneReq) ProtoMessage()
- func (x *MarkRunDoneReq) ProtoReflect() protoreflect.Message
- func (x *MarkRunDoneReq) Reset()
- func (x *MarkRunDoneReq) String() string
- func (m *MarkRunDoneReq) Validate() error
- func (m *MarkRunDoneReq) ValidateAll() error
- type MarkRunDoneReqMultiError
- type MarkRunDoneReqValidationError
- func (e MarkRunDoneReqValidationError) Cause() error
- func (e MarkRunDoneReqValidationError) Error() string
- func (e MarkRunDoneReqValidationError) ErrorName() string
- func (e MarkRunDoneReqValidationError) Field() string
- func (e MarkRunDoneReqValidationError) Key() bool
- func (e MarkRunDoneReqValidationError) Reason() string
- type MarkRunDoneResp
- func (*MarkRunDoneResp) Descriptor() ([]byte, []int)deprecated
- func (*MarkRunDoneResp) ProtoMessage()
- func (x *MarkRunDoneResp) ProtoReflect() protoreflect.Message
- func (x *MarkRunDoneResp) Reset()
- func (x *MarkRunDoneResp) String() string
- func (m *MarkRunDoneResp) Validate() error
- func (m *MarkRunDoneResp) ValidateAll() error
- type MarkRunDoneRespMultiError
- type MarkRunDoneRespValidationError
- func (e MarkRunDoneRespValidationError) Cause() error
- func (e MarkRunDoneRespValidationError) Error() string
- func (e MarkRunDoneRespValidationError) ErrorName() string
- func (e MarkRunDoneRespValidationError) Field() string
- func (e MarkRunDoneRespValidationError) Key() bool
- func (e MarkRunDoneRespValidationError) Reason() string
- type ResourceManagerClient
- type ResourceManagerServer
- type ResourceManager_GetArchiveClient
- type ResourceManager_GetArchiveServer
- type UnimplementedResourceManagerServer
- func (UnimplementedResourceManagerServer) ConfigureK8SCluster(context.Context, *ConfigureK8SClusterReq) (*ConfigureK8SClusterResp, error)
- func (UnimplementedResourceManagerServer) DeleteManagedResource(context.Context, *DeleteManagedResourceReq) (*DeleteManagedResourceResp, error)
- func (UnimplementedResourceManagerServer) GetArchive(*GetArchiveReq, ResourceManager_GetArchiveServer) error
- func (UnimplementedResourceManagerServer) GetManagedResource(context.Context, *GetManagedResourceReq) (*GetManagedResourceResp, error)
- func (UnimplementedResourceManagerServer) ListManagedResources(context.Context, *ListManagedResourcesReq) (*ListManagedResourcesResp, error)
- func (UnimplementedResourceManagerServer) MarkRunDone(context.Context, *MarkRunDoneReq) (*MarkRunDoneResp, error)
- type UnsafeResourceManagerServer
Constants ¶
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 ¶
var File_prodvana_managed_resource_manager_proto protoreflect.FileDescriptor
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 (x *ConfigureK8SClusterReq) GetEksOptions() *ConfigureK8SClusterReq_EKSOptions
func (*ConfigureK8SClusterReq) GetGcpOptions ¶
func (x *ConfigureK8SClusterReq) GetGcpOptions() *ConfigureK8SClusterReq_GcpOptions
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 ¶
func (m ConfigureK8SClusterReqMultiError) Error() string
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 ¶
func (e ConfigureK8SClusterReqValidationError) Cause() error
Cause function returns cause value.
func (ConfigureK8SClusterReqValidationError) Error ¶
func (e ConfigureK8SClusterReqValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigureK8SClusterReqValidationError) ErrorName ¶
func (e ConfigureK8SClusterReqValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigureK8SClusterReqValidationError) Field ¶
func (e ConfigureK8SClusterReqValidationError) Field() string
Field function returns field value.
func (ConfigureK8SClusterReqValidationError) Key ¶
func (e ConfigureK8SClusterReqValidationError) Key() bool
Key function returns key value.
func (ConfigureK8SClusterReqValidationError) Reason ¶
func (e ConfigureK8SClusterReqValidationError) Reason() string
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 (x *ConfigureK8SClusterReq_EKSOptions) ProtoReflect() protoreflect.Message
func (*ConfigureK8SClusterReq_EKSOptions) Reset ¶
func (x *ConfigureK8SClusterReq_EKSOptions) Reset()
func (*ConfigureK8SClusterReq_EKSOptions) String ¶
func (x *ConfigureK8SClusterReq_EKSOptions) String() string
func (*ConfigureK8SClusterReq_EKSOptions) Validate ¶
func (m *ConfigureK8SClusterReq_EKSOptions) Validate() error
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 ¶
func (m ConfigureK8SClusterReq_EKSOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigureK8SClusterReq_EKSOptionsMultiError) Error ¶
func (m ConfigureK8SClusterReq_EKSOptionsMultiError) Error() string
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 ¶
func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Cause() error
Cause function returns cause value.
func (ConfigureK8SClusterReq_EKSOptionsValidationError) Error ¶
func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigureK8SClusterReq_EKSOptionsValidationError) ErrorName ¶
func (e ConfigureK8SClusterReq_EKSOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigureK8SClusterReq_EKSOptionsValidationError) Field ¶
func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Field() string
Field function returns field value.
func (ConfigureK8SClusterReq_EKSOptionsValidationError) Key ¶
func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Key() bool
Key function returns key value.
func (ConfigureK8SClusterReq_EKSOptionsValidationError) Reason ¶
func (e ConfigureK8SClusterReq_EKSOptionsValidationError) Reason() string
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 (x *ConfigureK8SClusterReq_GcpOptions) ProtoReflect() protoreflect.Message
func (*ConfigureK8SClusterReq_GcpOptions) Reset ¶
func (x *ConfigureK8SClusterReq_GcpOptions) Reset()
func (*ConfigureK8SClusterReq_GcpOptions) String ¶
func (x *ConfigureK8SClusterReq_GcpOptions) String() string
func (*ConfigureK8SClusterReq_GcpOptions) Validate ¶
func (m *ConfigureK8SClusterReq_GcpOptions) Validate() error
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 ¶
func (m ConfigureK8SClusterReq_GcpOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigureK8SClusterReq_GcpOptionsMultiError) Error ¶
func (m ConfigureK8SClusterReq_GcpOptionsMultiError) Error() string
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 ¶
func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Cause() error
Cause function returns cause value.
func (ConfigureK8SClusterReq_GcpOptionsValidationError) Error ¶
func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigureK8SClusterReq_GcpOptionsValidationError) ErrorName ¶
func (e ConfigureK8SClusterReq_GcpOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigureK8SClusterReq_GcpOptionsValidationError) Field ¶
func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Field() string
Field function returns field value.
func (ConfigureK8SClusterReq_GcpOptionsValidationError) Key ¶
func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Key() bool
Key function returns key value.
func (ConfigureK8SClusterReq_GcpOptionsValidationError) Reason ¶
func (e ConfigureK8SClusterReq_GcpOptionsValidationError) Reason() string
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 (x *ConfigureK8SClusterResp) GetRunId() *timestamppb.Timestamp
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 ¶
func (m ConfigureK8SClusterRespMultiError) Error() string
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 ¶
func (e ConfigureK8SClusterRespValidationError) Cause() error
Cause function returns cause value.
func (ConfigureK8SClusterRespValidationError) Error ¶
func (e ConfigureK8SClusterRespValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigureK8SClusterRespValidationError) ErrorName ¶
func (e ConfigureK8SClusterRespValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigureK8SClusterRespValidationError) Field ¶
func (e ConfigureK8SClusterRespValidationError) Field() string
Field function returns field value.
func (ConfigureK8SClusterRespValidationError) Key ¶
func (e ConfigureK8SClusterRespValidationError) Key() bool
Key function returns key value.
func (ConfigureK8SClusterRespValidationError) Reason ¶
func (e ConfigureK8SClusterRespValidationError) Reason() string
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 ¶
func (m DeleteManagedResourceReqMultiError) Error() string
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 ¶
func (e DeleteManagedResourceReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteManagedResourceReqValidationError) Error ¶
func (e DeleteManagedResourceReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteManagedResourceReqValidationError) ErrorName ¶
func (e DeleteManagedResourceReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteManagedResourceReqValidationError) Field ¶
func (e DeleteManagedResourceReqValidationError) Field() string
Field function returns field value.
func (DeleteManagedResourceReqValidationError) Key ¶
func (e DeleteManagedResourceReqValidationError) Key() bool
Key function returns key value.
func (DeleteManagedResourceReqValidationError) Reason ¶
func (e DeleteManagedResourceReqValidationError) Reason() string
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 (x *DeleteManagedResourceResp) GetRunId() *timestamppb.Timestamp
func (*DeleteManagedResourceResp) ProtoMessage ¶
func (*DeleteManagedResourceResp) ProtoMessage()
func (*DeleteManagedResourceResp) ProtoReflect ¶
func (x *DeleteManagedResourceResp) ProtoReflect() protoreflect.Message
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 ¶
func (m DeleteManagedResourceRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteManagedResourceRespMultiError) Error ¶
func (m DeleteManagedResourceRespMultiError) Error() string
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 ¶
func (e DeleteManagedResourceRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteManagedResourceRespValidationError) Error ¶
func (e DeleteManagedResourceRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteManagedResourceRespValidationError) ErrorName ¶
func (e DeleteManagedResourceRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteManagedResourceRespValidationError) Field ¶
func (e DeleteManagedResourceRespValidationError) Field() string
Field function returns field value.
func (DeleteManagedResourceRespValidationError) Key ¶
func (e DeleteManagedResourceRespValidationError) Key() bool
Key function returns key value.
func (DeleteManagedResourceRespValidationError) Reason ¶
func (e DeleteManagedResourceRespValidationError) Reason() string
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 ¶
func (e GetArchiveReqValidationError) Cause() error
Cause function returns cause value.
func (GetArchiveReqValidationError) Error ¶
func (e GetArchiveReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetArchiveReqValidationError) ErrorName ¶
func (e GetArchiveReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetArchiveReqValidationError) Field ¶
func (e GetArchiveReqValidationError) Field() string
Field function returns field value.
func (GetArchiveReqValidationError) Key ¶
func (e GetArchiveReqValidationError) Key() bool
Key function returns key value.
func (GetArchiveReqValidationError) Reason ¶
func (e GetArchiveReqValidationError) Reason() string
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 ¶
func (e GetArchiveRespValidationError) Cause() error
Cause function returns cause value.
func (GetArchiveRespValidationError) Error ¶
func (e GetArchiveRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetArchiveRespValidationError) ErrorName ¶
func (e GetArchiveRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetArchiveRespValidationError) Field ¶
func (e GetArchiveRespValidationError) Field() string
Field function returns field value.
func (GetArchiveRespValidationError) Key ¶
func (e GetArchiveRespValidationError) Key() bool
Key function returns key value.
func (GetArchiveRespValidationError) Reason ¶
func (e GetArchiveRespValidationError) Reason() string
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 ¶
func (m GetManagedResourceReqMultiError) Error() string
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 ¶
func (e GetManagedResourceReqValidationError) Cause() error
Cause function returns cause value.
func (GetManagedResourceReqValidationError) Error ¶
func (e GetManagedResourceReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetManagedResourceReqValidationError) ErrorName ¶
func (e GetManagedResourceReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetManagedResourceReqValidationError) Field ¶
func (e GetManagedResourceReqValidationError) Field() string
Field function returns field value.
func (GetManagedResourceReqValidationError) Key ¶
func (e GetManagedResourceReqValidationError) Key() bool
Key function returns key value.
func (GetManagedResourceReqValidationError) Reason ¶
func (e GetManagedResourceReqValidationError) Reason() string
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 ¶
func (m GetManagedResourceRespMultiError) Error() string
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 ¶
func (e GetManagedResourceRespValidationError) Cause() error
Cause function returns cause value.
func (GetManagedResourceRespValidationError) Error ¶
func (e GetManagedResourceRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetManagedResourceRespValidationError) ErrorName ¶
func (e GetManagedResourceRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetManagedResourceRespValidationError) Field ¶
func (e GetManagedResourceRespValidationError) Field() string
Field function returns field value.
func (GetManagedResourceRespValidationError) Key ¶
func (e GetManagedResourceRespValidationError) Key() bool
Key function returns key value.
func (GetManagedResourceRespValidationError) Reason ¶
func (e GetManagedResourceRespValidationError) Reason() string
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 ¶
func (m ListManagedResourcesReqMultiError) Error() string
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 ¶
func (e ListManagedResourcesReqValidationError) Cause() error
Cause function returns cause value.
func (ListManagedResourcesReqValidationError) Error ¶
func (e ListManagedResourcesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListManagedResourcesReqValidationError) ErrorName ¶
func (e ListManagedResourcesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListManagedResourcesReqValidationError) Field ¶
func (e ListManagedResourcesReqValidationError) Field() string
Field function returns field value.
func (ListManagedResourcesReqValidationError) Key ¶
func (e ListManagedResourcesReqValidationError) Key() bool
Key function returns key value.
func (ListManagedResourcesReqValidationError) Reason ¶
func (e ListManagedResourcesReqValidationError) Reason() string
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 ¶
func (m ListManagedResourcesRespMultiError) Error() string
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 ¶
func (e ListManagedResourcesRespValidationError) Cause() error
Cause function returns cause value.
func (ListManagedResourcesRespValidationError) Error ¶
func (e ListManagedResourcesRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListManagedResourcesRespValidationError) ErrorName ¶
func (e ListManagedResourcesRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListManagedResourcesRespValidationError) Field ¶
func (e ListManagedResourcesRespValidationError) Field() string
Field function returns field value.
func (ListManagedResourcesRespValidationError) Key ¶
func (e ListManagedResourcesRespValidationError) Key() bool
Key function returns key value.
func (ListManagedResourcesRespValidationError) Reason ¶
func (e ListManagedResourcesRespValidationError) Reason() string
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 ¶
func (m ManagedResourceMultiError) Error() string
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 ¶
func (e ManagedResourceValidationError) Cause() error
Cause function returns cause value.
func (ManagedResourceValidationError) Error ¶
func (e ManagedResourceValidationError) Error() string
Error satisfies the builtin error interface
func (ManagedResourceValidationError) ErrorName ¶
func (e ManagedResourceValidationError) ErrorName() string
ErrorName returns error name.
func (ManagedResourceValidationError) Field ¶
func (e ManagedResourceValidationError) Field() string
Field function returns field value.
func (ManagedResourceValidationError) Key ¶
func (e ManagedResourceValidationError) Key() bool
Key function returns key value.
func (ManagedResourceValidationError) Reason ¶
func (e ManagedResourceValidationError) Reason() string
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 ¶
func (m ManagedResource_RunMultiError) Error() string
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 ¶
func (e ManagedResource_RunValidationError) Cause() error
Cause function returns cause value.
func (ManagedResource_RunValidationError) Error ¶
func (e ManagedResource_RunValidationError) Error() string
Error satisfies the builtin error interface
func (ManagedResource_RunValidationError) ErrorName ¶
func (e ManagedResource_RunValidationError) ErrorName() string
ErrorName returns error name.
func (ManagedResource_RunValidationError) Field ¶
func (e ManagedResource_RunValidationError) Field() string
Field function returns field value.
func (ManagedResource_RunValidationError) Key ¶
func (e ManagedResource_RunValidationError) Key() bool
Key function returns key value.
func (ManagedResource_RunValidationError) Reason ¶
func (e ManagedResource_RunValidationError) Reason() string
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 ¶
func (e MarkRunDoneReqValidationError) Cause() error
Cause function returns cause value.
func (MarkRunDoneReqValidationError) Error ¶
func (e MarkRunDoneReqValidationError) Error() string
Error satisfies the builtin error interface
func (MarkRunDoneReqValidationError) ErrorName ¶
func (e MarkRunDoneReqValidationError) ErrorName() string
ErrorName returns error name.
func (MarkRunDoneReqValidationError) Field ¶
func (e MarkRunDoneReqValidationError) Field() string
Field function returns field value.
func (MarkRunDoneReqValidationError) Key ¶
func (e MarkRunDoneReqValidationError) Key() bool
Key function returns key value.
func (MarkRunDoneReqValidationError) Reason ¶
func (e MarkRunDoneReqValidationError) Reason() string
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 ¶
func (m MarkRunDoneRespMultiError) Error() string
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 ¶
func (e MarkRunDoneRespValidationError) Cause() error
Cause function returns cause value.
func (MarkRunDoneRespValidationError) Error ¶
func (e MarkRunDoneRespValidationError) Error() string
Error satisfies the builtin error interface
func (MarkRunDoneRespValidationError) ErrorName ¶
func (e MarkRunDoneRespValidationError) ErrorName() string
ErrorName returns error name.
func (MarkRunDoneRespValidationError) Field ¶
func (e MarkRunDoneRespValidationError) Field() string
Field function returns field value.
func (MarkRunDoneRespValidationError) Key ¶
func (e MarkRunDoneRespValidationError) Key() bool
Key function returns key value.
func (MarkRunDoneRespValidationError) Reason ¶
func (e MarkRunDoneRespValidationError) Reason() string
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.
func NewResourceManagerClient ¶
func NewResourceManagerClient(cc grpc.ClientConnInterface) ResourceManagerClient
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) ConfigureK8SCluster(context.Context, *ConfigureK8SClusterReq) (*ConfigureK8SClusterResp, error)
func (UnimplementedResourceManagerServer) DeleteManagedResource ¶
func (UnimplementedResourceManagerServer) DeleteManagedResource(context.Context, *DeleteManagedResourceReq) (*DeleteManagedResourceResp, error)
func (UnimplementedResourceManagerServer) GetArchive ¶
func (UnimplementedResourceManagerServer) GetArchive(*GetArchiveReq, ResourceManager_GetArchiveServer) error
func (UnimplementedResourceManagerServer) GetManagedResource ¶
func (UnimplementedResourceManagerServer) GetManagedResource(context.Context, *GetManagedResourceReq) (*GetManagedResourceResp, error)
func (UnimplementedResourceManagerServer) ListManagedResources ¶
func (UnimplementedResourceManagerServer) ListManagedResources(context.Context, *ListManagedResourcesReq) (*ListManagedResourcesResp, error)
func (UnimplementedResourceManagerServer) MarkRunDone ¶
func (UnimplementedResourceManagerServer) MarkRunDone(context.Context, *MarkRunDoneReq) (*MarkRunDoneResp, error)
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.