v1

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Deploymentruntime_GetDeploymentRuntime_FullMethodName    = "/api.deploymentruntime.v1.Deploymentruntime/GetDeploymentRuntime"
	Deploymentruntime_ListDeploymentRuntimes_FullMethodName  = "/api.deploymentruntime.v1.Deploymentruntime/ListDeploymentRuntimes"
	Deploymentruntime_SaveDeploymentRuntime_FullMethodName   = "/api.deploymentruntime.v1.Deploymentruntime/SaveDeploymentRuntime"
	Deploymentruntime_DeleteDeploymentRuntime_FullMethodName = "/api.deploymentruntime.v1.Deploymentruntime/DeleteDeploymentRuntime"
)
View Source
const OperationDeploymentruntimeDeleteDeploymentRuntime = "/api.deploymentruntime.v1.Deploymentruntime/DeleteDeploymentRuntime"
View Source
const OperationDeploymentruntimeGetDeploymentRuntime = "/api.deploymentruntime.v1.Deploymentruntime/GetDeploymentRuntime"
View Source
const OperationDeploymentruntimeListDeploymentRuntimes = "/api.deploymentruntime.v1.Deploymentruntime/ListDeploymentRuntimes"
View Source
const OperationDeploymentruntimeSaveDeploymentRuntime = "/api.deploymentruntime.v1.Deploymentruntime/SaveDeploymentRuntime"

Variables

View Source
var Deploymentruntime_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.deploymentruntime.v1.Deploymentruntime",
	HandlerType: (*DeploymentruntimeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDeploymentRuntime",
			Handler:    _Deploymentruntime_GetDeploymentRuntime_Handler,
		},
		{
			MethodName: "ListDeploymentRuntimes",
			Handler:    _Deploymentruntime_ListDeploymentRuntimes_Handler,
		},
		{
			MethodName: "SaveDeploymentRuntime",
			Handler:    _Deploymentruntime_SaveDeploymentRuntime_Handler,
		},
		{
			MethodName: "DeleteDeploymentRuntime",
			Handler:    _Deploymentruntime_DeleteDeploymentRuntime_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "deploymentruntime/v1/deploymentruntime.proto",
}

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

View Source
var File_api_deploymentruntime_v1_deploymentruntime_proto protoreflect.FileDescriptor

Functions

func RegisterDeploymentruntimeHTTPServer

func RegisterDeploymentruntimeHTTPServer(s *http.Server, srv DeploymentruntimeHTTPServer)

func RegisterDeploymentruntimeServer

func RegisterDeploymentruntimeServer(s grpc.ServiceRegistrar, srv DeploymentruntimeServer)

Types

type DeleteReply

type DeleteReply struct {

	// Msg is a message confirming the delete.
	Msg string `protobuf:"bytes,1,opt,name=msg,json=message,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

Represents a response to a DeleteRequest message.

func (*DeleteReply) Descriptor deprecated

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

Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead.

func (*DeleteReply) GetMsg

func (x *DeleteReply) GetMsg() string

func (*DeleteReply) ProtoMessage

func (*DeleteReply) ProtoMessage()

func (*DeleteReply) ProtoReflect

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

func (*DeleteReply) Reset

func (x *DeleteReply) Reset()

func (*DeleteReply) String

func (x *DeleteReply) String() string

func (*DeleteReply) Validate

func (m *DeleteReply) Validate() error

Validate checks the field values on DeleteReply 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 (*DeleteReply) ValidateAll

func (m *DeleteReply) ValidateAll() error

ValidateAll checks the field values on DeleteReply 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 DeleteReplyMultiError, or nil if none found.

type DeleteReplyMultiError

type DeleteReplyMultiError []error

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

func (DeleteReplyMultiError) AllErrors

func (m DeleteReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteReplyMultiError) Error

func (m DeleteReplyMultiError) Error() string

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

type DeleteReplyValidationError

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

DeleteReplyValidationError is the validation error returned by DeleteReply.Validate if the designated constraints aren't met.

func (DeleteReplyValidationError) Cause

Cause function returns cause value.

func (DeleteReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteReplyValidationError) ErrorName

func (e DeleteReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteReplyValidationError) Field

Field function returns field value.

func (DeleteReplyValidationError) Key

Key function returns key value.

func (DeleteReplyValidationError) Reason

Reason function returns reason value.

type DeleteRequest

type DeleteRequest struct {

	// ProductName is the name of the product.
	ProductName string `protobuf:"bytes,1,opt,name=productName,json=product_name,proto3" json:"productName,omitempty"`
	// DeploymentRuntimeName is the name of the Deployment Runtime.
	DeploymentruntimeName string `protobuf:"bytes,2,opt,name=deploymentruntimeName,json=deploymentruntime_name,proto3" json:"deploymentruntimeName,omitempty"`
	// InsecureSkipCheck specifies whether to skip security checks.
	InsecureSkipCheck bool `protobuf:"varint,3,opt,name=insecureSkipCheck,json=insecure_skip_check,proto3" json:"insecureSkipCheck,omitempty"`
	// contains filtered or unexported fields
}

Represents a request to delete a deployment runtime manifest.

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetDeploymentruntimeName

func (x *DeleteRequest) GetDeploymentruntimeName() string

func (*DeleteRequest) GetInsecureSkipCheck

func (x *DeleteRequest) GetInsecureSkipCheck() bool

func (*DeleteRequest) GetProductName

func (x *DeleteRequest) GetProductName() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

func (*DeleteRequest) Validate

func (m *DeleteRequest) Validate() error

Validate checks the field values on DeleteRequest 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 (*DeleteRequest) ValidateAll

func (m *DeleteRequest) ValidateAll() error

ValidateAll checks the field values on DeleteRequest 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 DeleteRequestMultiError, or nil if none found.

type DeleteRequestMultiError

type DeleteRequestMultiError []error

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

func (DeleteRequestMultiError) AllErrors

func (m DeleteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRequestMultiError) Error

func (m DeleteRequestMultiError) Error() string

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

type DeleteRequestValidationError

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

DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.

func (DeleteRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

Reason function returns reason value.

type DeploymentRuntimesDestination added in v0.3.6

type DeploymentRuntimesDestination struct {
	Environment string   `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
	Namespaces  []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentRuntimesDestination) Descriptor deprecated added in v0.3.6

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

Deprecated: Use DeploymentRuntimesDestination.ProtoReflect.Descriptor instead.

func (*DeploymentRuntimesDestination) GetEnvironment added in v0.3.6

func (x *DeploymentRuntimesDestination) GetEnvironment() string

func (*DeploymentRuntimesDestination) GetNamespaces added in v0.3.6

func (x *DeploymentRuntimesDestination) GetNamespaces() []string

func (*DeploymentRuntimesDestination) ProtoMessage added in v0.3.6

func (*DeploymentRuntimesDestination) ProtoMessage()

func (*DeploymentRuntimesDestination) ProtoReflect added in v0.3.6

func (*DeploymentRuntimesDestination) Reset added in v0.3.6

func (x *DeploymentRuntimesDestination) Reset()

func (*DeploymentRuntimesDestination) String added in v0.3.6

func (*DeploymentRuntimesDestination) Validate added in v0.3.6

func (m *DeploymentRuntimesDestination) Validate() error

Validate checks the field values on DeploymentRuntimesDestination 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 (*DeploymentRuntimesDestination) ValidateAll added in v0.3.6

func (m *DeploymentRuntimesDestination) ValidateAll() error

ValidateAll checks the field values on DeploymentRuntimesDestination 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 DeploymentRuntimesDestinationMultiError, or nil if none found.

type DeploymentRuntimesDestinationMultiError added in v0.3.6

type DeploymentRuntimesDestinationMultiError []error

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

func (DeploymentRuntimesDestinationMultiError) AllErrors added in v0.3.6

AllErrors returns a list of validation violation errors.

func (DeploymentRuntimesDestinationMultiError) Error added in v0.3.6

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

type DeploymentRuntimesDestinationValidationError added in v0.3.6

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

DeploymentRuntimesDestinationValidationError is the validation error returned by DeploymentRuntimesDestination.Validate if the designated constraints aren't met.

func (DeploymentRuntimesDestinationValidationError) Cause added in v0.3.6

Cause function returns cause value.

func (DeploymentRuntimesDestinationValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (DeploymentRuntimesDestinationValidationError) ErrorName added in v0.3.6

ErrorName returns error name.

func (DeploymentRuntimesDestinationValidationError) Field added in v0.3.6

Field function returns field value.

func (DeploymentRuntimesDestinationValidationError) Key added in v0.3.6

Key function returns key value.

func (DeploymentRuntimesDestinationValidationError) Reason added in v0.3.6

Reason function returns reason value.

type DeploymentruntimeClient

type DeploymentruntimeClient interface {
	GetDeploymentRuntime(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error)
	ListDeploymentRuntimes(ctx context.Context, in *ListsRequest, opts ...grpc.CallOption) (*ListsReply, error)
	SaveDeploymentRuntime(ctx context.Context, in *SaveRequest, opts ...grpc.CallOption) (*SaveReply, error)
	DeleteDeploymentRuntime(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteReply, error)
}

DeploymentruntimeClient is the client API for Deploymentruntime 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 DeploymentruntimeHTTPClient

type DeploymentruntimeHTTPClient interface {
	DeleteDeploymentRuntime(ctx context.Context, req *DeleteRequest, opts ...http.CallOption) (rsp *DeleteReply, err error)
	GetDeploymentRuntime(ctx context.Context, req *GetRequest, opts ...http.CallOption) (rsp *GetReply, err error)
	ListDeploymentRuntimes(ctx context.Context, req *ListsRequest, opts ...http.CallOption) (rsp *ListsReply, err error)
	SaveDeploymentRuntime(ctx context.Context, req *SaveRequest, opts ...http.CallOption) (rsp *SaveReply, err error)
}

func NewDeploymentruntimeHTTPClient

func NewDeploymentruntimeHTTPClient(client *http.Client) DeploymentruntimeHTTPClient

type DeploymentruntimeHTTPClientImpl

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

func (*DeploymentruntimeHTTPClientImpl) DeleteDeploymentRuntime

func (c *DeploymentruntimeHTTPClientImpl) DeleteDeploymentRuntime(ctx context.Context, in *DeleteRequest, opts ...http.CallOption) (*DeleteReply, error)

func (*DeploymentruntimeHTTPClientImpl) GetDeploymentRuntime

func (c *DeploymentruntimeHTTPClientImpl) GetDeploymentRuntime(ctx context.Context, in *GetRequest, opts ...http.CallOption) (*GetReply, error)

func (*DeploymentruntimeHTTPClientImpl) ListDeploymentRuntimes

func (c *DeploymentruntimeHTTPClientImpl) ListDeploymentRuntimes(ctx context.Context, in *ListsRequest, opts ...http.CallOption) (*ListsReply, error)

func (*DeploymentruntimeHTTPClientImpl) SaveDeploymentRuntime

func (c *DeploymentruntimeHTTPClientImpl) SaveDeploymentRuntime(ctx context.Context, in *SaveRequest, opts ...http.CallOption) (*SaveReply, error)

type DeploymentruntimeHTTPServer

type DeploymentruntimeHTTPServer interface {
	DeleteDeploymentRuntime(context.Context, *DeleteRequest) (*DeleteReply, error)
	GetDeploymentRuntime(context.Context, *GetRequest) (*GetReply, error)
	ListDeploymentRuntimes(context.Context, *ListsRequest) (*ListsReply, error)
	SaveDeploymentRuntime(context.Context, *SaveRequest) (*SaveReply, error)
}

type DeploymentruntimeServer

type DeploymentruntimeServer interface {
	GetDeploymentRuntime(context.Context, *GetRequest) (*GetReply, error)
	ListDeploymentRuntimes(context.Context, *ListsRequest) (*ListsReply, error)
	SaveDeploymentRuntime(context.Context, *SaveRequest) (*SaveReply, error)
	DeleteDeploymentRuntime(context.Context, *DeleteRequest) (*DeleteReply, error)
	// contains filtered or unexported methods
}

DeploymentruntimeServer is the server API for Deploymentruntime service. All implementations must embed UnimplementedDeploymentruntimeServer for forward compatibility

type GetReply

type GetReply struct {

	// Product is the name of the product.
	Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	// Name is the name of the Deployment Runtime.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ProjectsRef is a list of project references.
	ProjectsRef []string `protobuf:"bytes,3,rep,name=projectsRef,json=projects_ref,proto3" json:"projectsRef,omitempty"`
	// ManifestSource is the source of the deployment manifest.
	ManifestSource *ManifestSource `protobuf:"bytes,4,opt,name=manifestSource,json=manifest_source,proto3" json:"manifestSource,omitempty"`
	// Destination is the destination and custom namespaces for the deployment.
	Destination *DeploymentRuntimesDestination `protobuf:"bytes,5,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

GetReply is a message that returns a Deployment Runtime.

func (*GetReply) Descriptor deprecated

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

Deprecated: Use GetReply.ProtoReflect.Descriptor instead.

func (*GetReply) GetDestination

func (x *GetReply) GetDestination() *DeploymentRuntimesDestination

func (*GetReply) GetManifestSource

func (x *GetReply) GetManifestSource() *ManifestSource

func (*GetReply) GetName

func (x *GetReply) GetName() string

func (*GetReply) GetProduct

func (x *GetReply) GetProduct() string

func (*GetReply) GetProjectsRef

func (x *GetReply) GetProjectsRef() []string

func (*GetReply) ProtoMessage

func (*GetReply) ProtoMessage()

func (*GetReply) ProtoReflect

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

func (*GetReply) Reset

func (x *GetReply) Reset()

func (*GetReply) String

func (x *GetReply) String() string

func (*GetReply) Validate

func (m *GetReply) Validate() error

Validate checks the field values on GetReply 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 (*GetReply) ValidateAll

func (m *GetReply) ValidateAll() error

ValidateAll checks the field values on GetReply 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 GetReplyMultiError, or nil if none found.

type GetReplyMultiError

type GetReplyMultiError []error

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

func (GetReplyMultiError) AllErrors

func (m GetReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetReplyMultiError) Error

func (m GetReplyMultiError) Error() string

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

type GetReplyValidationError

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

GetReplyValidationError is the validation error returned by GetReply.Validate if the designated constraints aren't met.

func (GetReplyValidationError) Cause

func (e GetReplyValidationError) Cause() error

Cause function returns cause value.

func (GetReplyValidationError) Error

func (e GetReplyValidationError) Error() string

Error satisfies the builtin error interface

func (GetReplyValidationError) ErrorName

func (e GetReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetReplyValidationError) Field

func (e GetReplyValidationError) Field() string

Field function returns field value.

func (GetReplyValidationError) Key

func (e GetReplyValidationError) Key() bool

Key function returns key value.

func (GetReplyValidationError) Reason

func (e GetReplyValidationError) Reason() string

Reason function returns reason value.

type GetRequest

type GetRequest struct {

	// ProductName is the name of the product.
	ProductName string `protobuf:"bytes,1,opt,name=productName,json=product_name,proto3" json:"productName,omitempty"`
	// DeploymentRuntimeName is the name of the Deployment Runtime.
	DeploymentruntimeName string `protobuf:"bytes,2,opt,name=deploymentruntimeName,json=deploymentruntime_name,proto3" json:"deploymentruntimeName,omitempty"`
	// contains filtered or unexported fields
}

GetRequest is a message for retrieving a Deployment Runtime.

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetDeploymentruntimeName

func (x *GetRequest) GetDeploymentruntimeName() string

func (*GetRequest) GetProductName

func (x *GetRequest) GetProductName() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

func (*GetRequest) Validate

func (m *GetRequest) Validate() error

Validate checks the field values on GetRequest 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 (*GetRequest) ValidateAll

func (m *GetRequest) ValidateAll() error

ValidateAll checks the field values on GetRequest 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 GetRequestMultiError, or nil if none found.

type GetRequestMultiError

type GetRequestMultiError []error

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

func (GetRequestMultiError) AllErrors

func (m GetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRequestMultiError) Error

func (m GetRequestMultiError) Error() string

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

type GetRequestValidationError

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

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field

Field function returns field value.

func (GetRequestValidationError) Key

Key function returns key value.

func (GetRequestValidationError) Reason

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type ListsReply

type ListsReply struct {

	// Items is a list of Deployment Runtimes.
	Items []*GetReply `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

ListsReply is a message that returns a list of Deployment Runtimes.

func (*ListsReply) Descriptor deprecated

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

Deprecated: Use ListsReply.ProtoReflect.Descriptor instead.

func (*ListsReply) GetItems

func (x *ListsReply) GetItems() []*GetReply

func (*ListsReply) ProtoMessage

func (*ListsReply) ProtoMessage()

func (*ListsReply) ProtoReflect

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

func (*ListsReply) Reset

func (x *ListsReply) Reset()

func (*ListsReply) String

func (x *ListsReply) String() string

func (*ListsReply) Validate

func (m *ListsReply) Validate() error

Validate checks the field values on ListsReply 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 (*ListsReply) ValidateAll

func (m *ListsReply) ValidateAll() error

ValidateAll checks the field values on ListsReply 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 ListsReplyMultiError, or nil if none found.

type ListsReplyMultiError

type ListsReplyMultiError []error

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

func (ListsReplyMultiError) AllErrors

func (m ListsReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListsReplyMultiError) Error

func (m ListsReplyMultiError) Error() string

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

type ListsReplyValidationError

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

ListsReplyValidationError is the validation error returned by ListsReply.Validate if the designated constraints aren't met.

func (ListsReplyValidationError) Cause

func (e ListsReplyValidationError) Cause() error

Cause function returns cause value.

func (ListsReplyValidationError) Error

Error satisfies the builtin error interface

func (ListsReplyValidationError) ErrorName

func (e ListsReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListsReplyValidationError) Field

Field function returns field value.

func (ListsReplyValidationError) Key

Key function returns key value.

func (ListsReplyValidationError) Reason

func (e ListsReplyValidationError) Reason() string

Reason function returns reason value.

type ListsRequest

type ListsRequest struct {

	// To list the product name of the repository.
	ProductName string `protobuf:"bytes,1,opt,name=productName,json=product_name,proto3" json:"productName,omitempty"`
	// Filter the list by field.
	// eg: field_selector=projects_ref.in=project1,manifestSource.codeRepo=codeRepo1,destination=env1
	// Field Support:
	// projects_ref: fuzzy match
	// manifestSource.codeRepo: fuzzy match
	// destination: fuzzy match
	FieldSelector string `protobuf:"bytes,2,opt,name=field_selector,proto3" json:"field_selector,omitempty"`
	// contains filtered or unexported fields
}

ListsRequest is a message for retrieving a list of Deployment Runtimes.

func (*ListsRequest) Descriptor deprecated

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

Deprecated: Use ListsRequest.ProtoReflect.Descriptor instead.

func (*ListsRequest) GetFieldSelector added in v0.3.1

func (x *ListsRequest) GetFieldSelector() string

func (*ListsRequest) GetProductName

func (x *ListsRequest) GetProductName() string

func (*ListsRequest) ProtoMessage

func (*ListsRequest) ProtoMessage()

func (*ListsRequest) ProtoReflect

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

func (*ListsRequest) Reset

func (x *ListsRequest) Reset()

func (*ListsRequest) String

func (x *ListsRequest) String() string

func (*ListsRequest) Validate

func (m *ListsRequest) Validate() error

Validate checks the field values on ListsRequest 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 (*ListsRequest) ValidateAll

func (m *ListsRequest) ValidateAll() error

ValidateAll checks the field values on ListsRequest 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 ListsRequestMultiError, or nil if none found.

type ListsRequestMultiError

type ListsRequestMultiError []error

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

func (ListsRequestMultiError) AllErrors

func (m ListsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListsRequestMultiError) Error

func (m ListsRequestMultiError) Error() string

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

type ListsRequestValidationError

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

ListsRequestValidationError is the validation error returned by ListsRequest.Validate if the designated constraints aren't met.

func (ListsRequestValidationError) Cause

Cause function returns cause value.

func (ListsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListsRequestValidationError) ErrorName

func (e ListsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListsRequestValidationError) Field

Field function returns field value.

func (ListsRequestValidationError) Key

Key function returns key value.

func (ListsRequestValidationError) Reason

Reason function returns reason value.

type ManifestSource

type ManifestSource struct {

	// CodeRepo specifies the code repository of the git platform.
	CodeRepo string `protobuf:"bytes,1,opt,name=CodeRepo,json=code_repo,proto3" json:"CodeRepo,omitempty"`
	// TargetRevision is the corresponding code repository revision, eg: main.
	TargetRevision string `protobuf:"bytes,2,opt,name=TargetRevision,json=target_revision,proto3" json:"TargetRevision,omitempty"`
	// Path is the deploy the specified path.
	Path string `protobuf:"bytes,3,opt,name=Path,json=path,proto3" json:"Path,omitempty"`
	// contains filtered or unexported fields
}

ManifestSource is a message representing the source of the deployment manifest.

func (*ManifestSource) Descriptor deprecated

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

Deprecated: Use ManifestSource.ProtoReflect.Descriptor instead.

func (*ManifestSource) GetCodeRepo

func (x *ManifestSource) GetCodeRepo() string

func (*ManifestSource) GetPath

func (x *ManifestSource) GetPath() string

func (*ManifestSource) GetTargetRevision

func (x *ManifestSource) GetTargetRevision() string

func (*ManifestSource) ProtoMessage

func (*ManifestSource) ProtoMessage()

func (*ManifestSource) ProtoReflect

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

func (*ManifestSource) Reset

func (x *ManifestSource) Reset()

func (*ManifestSource) String

func (x *ManifestSource) String() string

func (*ManifestSource) Validate

func (m *ManifestSource) Validate() error

Validate checks the field values on ManifestSource 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 (*ManifestSource) ValidateAll

func (m *ManifestSource) ValidateAll() error

ValidateAll checks the field values on ManifestSource 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 ManifestSourceMultiError, or nil if none found.

type ManifestSourceMultiError

type ManifestSourceMultiError []error

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

func (ManifestSourceMultiError) AllErrors

func (m ManifestSourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ManifestSourceMultiError) Error

func (m ManifestSourceMultiError) Error() string

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

type ManifestSourceValidationError

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

ManifestSourceValidationError is the validation error returned by ManifestSource.Validate if the designated constraints aren't met.

func (ManifestSourceValidationError) Cause

Cause function returns cause value.

func (ManifestSourceValidationError) Error

Error satisfies the builtin error interface

func (ManifestSourceValidationError) ErrorName

func (e ManifestSourceValidationError) ErrorName() string

ErrorName returns error name.

func (ManifestSourceValidationError) Field

Field function returns field value.

func (ManifestSourceValidationError) Key

Key function returns key value.

func (ManifestSourceValidationError) Reason

Reason function returns reason value.

type SaveReply

type SaveReply struct {

	// Msg is a message confirming the save.
	Msg string `protobuf:"bytes,1,opt,name=msg,json=message,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

SaveReply is a message that confirms a Deployment Runtime has been saved.

func (*SaveReply) Descriptor deprecated

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

Deprecated: Use SaveReply.ProtoReflect.Descriptor instead.

func (*SaveReply) GetMsg

func (x *SaveReply) GetMsg() string

func (*SaveReply) ProtoMessage

func (*SaveReply) ProtoMessage()

func (*SaveReply) ProtoReflect

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

func (*SaveReply) Reset

func (x *SaveReply) Reset()

func (*SaveReply) String

func (x *SaveReply) String() string

func (*SaveReply) Validate

func (m *SaveReply) Validate() error

Validate checks the field values on SaveReply 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 (*SaveReply) ValidateAll

func (m *SaveReply) ValidateAll() error

ValidateAll checks the field values on SaveReply 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 SaveReplyMultiError, or nil if none found.

type SaveReplyMultiError

type SaveReplyMultiError []error

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

func (SaveReplyMultiError) AllErrors

func (m SaveReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SaveReplyMultiError) Error

func (m SaveReplyMultiError) Error() string

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

type SaveReplyValidationError

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

SaveReplyValidationError is the validation error returned by SaveReply.Validate if the designated constraints aren't met.

func (SaveReplyValidationError) Cause

func (e SaveReplyValidationError) Cause() error

Cause function returns cause value.

func (SaveReplyValidationError) Error

func (e SaveReplyValidationError) Error() string

Error satisfies the builtin error interface

func (SaveReplyValidationError) ErrorName

func (e SaveReplyValidationError) ErrorName() string

ErrorName returns error name.

func (SaveReplyValidationError) Field

func (e SaveReplyValidationError) Field() string

Field function returns field value.

func (SaveReplyValidationError) Key

Key function returns key value.

func (SaveReplyValidationError) Reason

func (e SaveReplyValidationError) Reason() string

Reason function returns reason value.

type SaveRequest

type SaveRequest struct {

	// ProductName is the name of the product.
	ProductName string `protobuf:"bytes,1,opt,name=productName,json=product_name,proto3" json:"productName,omitempty"`
	// DeploymentRuntimeName is the name of the Deployment Runtime.
	DeploymentruntimeName string `protobuf:"bytes,2,opt,name=deploymentruntimeName,json=deploymentruntime_name,proto3" json:"deploymentruntimeName,omitempty"`
	// InsecureSkipCheck specifies whether to skip security checks.
	InsecureSkipCheck bool `protobuf:"varint,3,opt,name=insecureSkipCheck,json=insecure_skip_check,proto3" json:"insecureSkipCheck,omitempty"`
	// Body is the message body.
	Body *SaveRequest_Body `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

SaveRequest is a message for saving a Deployment Runtime.

func (*SaveRequest) Descriptor deprecated

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

Deprecated: Use SaveRequest.ProtoReflect.Descriptor instead.

func (*SaveRequest) GetBody

func (x *SaveRequest) GetBody() *SaveRequest_Body

func (*SaveRequest) GetDeploymentruntimeName

func (x *SaveRequest) GetDeploymentruntimeName() string

func (*SaveRequest) GetInsecureSkipCheck

func (x *SaveRequest) GetInsecureSkipCheck() bool

func (*SaveRequest) GetProductName

func (x *SaveRequest) GetProductName() string

func (*SaveRequest) ProtoMessage

func (*SaveRequest) ProtoMessage()

func (*SaveRequest) ProtoReflect

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

func (*SaveRequest) Reset

func (x *SaveRequest) Reset()

func (*SaveRequest) String

func (x *SaveRequest) String() string

func (*SaveRequest) Validate

func (m *SaveRequest) Validate() error

Validate checks the field values on SaveRequest 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 (*SaveRequest) ValidateAll

func (m *SaveRequest) ValidateAll() error

ValidateAll checks the field values on SaveRequest 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 SaveRequestMultiError, or nil if none found.

type SaveRequestMultiError

type SaveRequestMultiError []error

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

func (SaveRequestMultiError) AllErrors

func (m SaveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SaveRequestMultiError) Error

func (m SaveRequestMultiError) Error() string

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

type SaveRequestValidationError

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

SaveRequestValidationError is the validation error returned by SaveRequest.Validate if the designated constraints aren't met.

func (SaveRequestValidationError) Cause

Cause function returns cause value.

func (SaveRequestValidationError) Error

Error satisfies the builtin error interface

func (SaveRequestValidationError) ErrorName

func (e SaveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SaveRequestValidationError) Field

Field function returns field value.

func (SaveRequestValidationError) Key

Key function returns key value.

func (SaveRequestValidationError) Reason

Reason function returns reason value.

type SaveRequest_Body

type SaveRequest_Body struct {

	// ProjectsRef is a list of project references.
	ProjectsRef []string `protobuf:"bytes,1,rep,name=projectsRef,json=projects_ref,proto3" json:"projectsRef,omitempty"`
	// ManifestSource is the source of the deployment manifest.
	ManifestSource *ManifestSource `protobuf:"bytes,2,opt,name=manifestSource,json=manifest_source,proto3" json:"manifestSource,omitempty"`
	// Destination is the destination and custom namespaces for the deployment.
	Destination *DeploymentRuntimesDestination `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

Body is the message body.

func (*SaveRequest_Body) Descriptor deprecated

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

Deprecated: Use SaveRequest_Body.ProtoReflect.Descriptor instead.

func (*SaveRequest_Body) GetDestination

func (x *SaveRequest_Body) GetDestination() *DeploymentRuntimesDestination

func (*SaveRequest_Body) GetManifestSource

func (x *SaveRequest_Body) GetManifestSource() *ManifestSource

func (*SaveRequest_Body) GetProjectsRef

func (x *SaveRequest_Body) GetProjectsRef() []string

func (*SaveRequest_Body) ProtoMessage

func (*SaveRequest_Body) ProtoMessage()

func (*SaveRequest_Body) ProtoReflect

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

func (*SaveRequest_Body) Reset

func (x *SaveRequest_Body) Reset()

func (*SaveRequest_Body) String

func (x *SaveRequest_Body) String() string

func (*SaveRequest_Body) Validate

func (m *SaveRequest_Body) Validate() error

Validate checks the field values on SaveRequest_Body 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 (*SaveRequest_Body) ValidateAll

func (m *SaveRequest_Body) ValidateAll() error

ValidateAll checks the field values on SaveRequest_Body 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 SaveRequest_BodyMultiError, or nil if none found.

type SaveRequest_BodyMultiError

type SaveRequest_BodyMultiError []error

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

func (SaveRequest_BodyMultiError) AllErrors

func (m SaveRequest_BodyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SaveRequest_BodyMultiError) Error

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

type SaveRequest_BodyValidationError

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

SaveRequest_BodyValidationError is the validation error returned by SaveRequest_Body.Validate if the designated constraints aren't met.

func (SaveRequest_BodyValidationError) Cause

Cause function returns cause value.

func (SaveRequest_BodyValidationError) Error

Error satisfies the builtin error interface

func (SaveRequest_BodyValidationError) ErrorName

ErrorName returns error name.

func (SaveRequest_BodyValidationError) Field

Field function returns field value.

func (SaveRequest_BodyValidationError) Key

Key function returns key value.

func (SaveRequest_BodyValidationError) Reason

Reason function returns reason value.

type UnimplementedDeploymentruntimeServer

type UnimplementedDeploymentruntimeServer struct {
}

UnimplementedDeploymentruntimeServer must be embedded to have forward compatible implementations.

func (UnimplementedDeploymentruntimeServer) DeleteDeploymentRuntime

func (UnimplementedDeploymentruntimeServer) GetDeploymentRuntime

func (UnimplementedDeploymentruntimeServer) ListDeploymentRuntimes

func (UnimplementedDeploymentruntimeServer) SaveDeploymentRuntime

type UnsafeDeploymentruntimeServer

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

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

Jump to

Keyboard shortcuts

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