v1

package
v0.88.5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package support/v1 contains the API used to fetch support information.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// Critical severity.
	SupportRequestSeverityCritical = "critical"
	// High severity.
	SupportRequestSeverityHigh = "high"
	// Normal severity.
	SupportRequestSeverityNormal = "normal"
	// Low severity.
	SupportRequestSeverityLow = "low"
)
View Source
const (
	// SupportHoursBusiness indicates that support is handled during business hours.
	SupportHoursBusiness = "business"
	// SupportHours24x7 indicates that support is handled 24/7.
	SupportHours24x7 = "24x7"
)
View Source
const (
	// APIID contains identifier of this API
	APIID = "support/v1"
	// APIMajorVersion contains major version of this API
	APIMajorVersion = 1
	// APIMinorVersion contains minor version of this API
	APIMinorVersion = 2
	// APIPatchVersion contains patch version of this API
	APIPatchVersion = 0
)

Variables

View Source
var (
	ErrInvalidLengthSupport        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSupport          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSupport = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ForEachPlan

func ForEachPlan(ctx context.Context, listFunc func(ctx context.Context, req *ListPlansRequest) (*PlanList, error),
	req ListPlansRequest, cb PlanCallback) error

ForEachPlan iterates over all support plans that match given given filter, invoking the given callback for each plan.

func RegisterSupportServiceHandler

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

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

func RegisterSupportServiceHandlerClient

func RegisterSupportServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SupportServiceClient) error

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

func RegisterSupportServiceHandlerFromEndpoint

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

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

func RegisterSupportServiceHandlerServer

func RegisterSupportServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SupportServiceServer) error

RegisterSupportServiceHandlerServer registers the http handlers for service SupportService to "mux". UnaryRPC :call SupportServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterSupportServiceServer

func RegisterSupportServiceServer(s *grpc.Server, srv SupportServiceServer)

Types

type FaqGroup

type FaqGroup struct {
	// ID of the FAQ Group
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the FAQ Group
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

FaqGroup contains groups of faq entries

func (*FaqGroup) Descriptor

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

func (*FaqGroup) GetId

func (m *FaqGroup) GetId() string

func (*FaqGroup) GetName

func (m *FaqGroup) GetName() string

func (*FaqGroup) Marshal

func (m *FaqGroup) Marshal() (dAtA []byte, err error)

func (*FaqGroup) MarshalTo

func (m *FaqGroup) MarshalTo(dAtA []byte) (int, error)

func (*FaqGroup) MarshalToSizedBuffer

func (m *FaqGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FaqGroup) ProtoMessage

func (*FaqGroup) ProtoMessage()

func (*FaqGroup) Reset

func (m *FaqGroup) Reset()

func (*FaqGroup) Size

func (m *FaqGroup) Size() (n int)

func (*FaqGroup) String

func (m *FaqGroup) String() string

func (*FaqGroup) Unmarshal

func (m *FaqGroup) Unmarshal(dAtA []byte) error

func (*FaqGroup) XXX_DiscardUnknown

func (m *FaqGroup) XXX_DiscardUnknown()

func (*FaqGroup) XXX_Marshal

func (m *FaqGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaqGroup) XXX_Merge

func (m *FaqGroup) XXX_Merge(src proto.Message)

func (*FaqGroup) XXX_Size

func (m *FaqGroup) XXX_Size() int

func (*FaqGroup) XXX_Unmarshal

func (m *FaqGroup) XXX_Unmarshal(b []byte) error

type FaqGroupEntry

type FaqGroupEntry struct {
	// The question of this entry
	Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
	// The answer to the question in this entry
	Answer               string   `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

FaqGroupEntry contains entries for a group

func (*FaqGroupEntry) Descriptor

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

func (*FaqGroupEntry) GetAnswer

func (m *FaqGroupEntry) GetAnswer() string

func (*FaqGroupEntry) GetQuestion

func (m *FaqGroupEntry) GetQuestion() string

func (*FaqGroupEntry) Marshal

func (m *FaqGroupEntry) Marshal() (dAtA []byte, err error)

func (*FaqGroupEntry) MarshalTo

func (m *FaqGroupEntry) MarshalTo(dAtA []byte) (int, error)

func (*FaqGroupEntry) MarshalToSizedBuffer

func (m *FaqGroupEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FaqGroupEntry) ProtoMessage

func (*FaqGroupEntry) ProtoMessage()

func (*FaqGroupEntry) Reset

func (m *FaqGroupEntry) Reset()

func (*FaqGroupEntry) Size

func (m *FaqGroupEntry) Size() (n int)

func (*FaqGroupEntry) String

func (m *FaqGroupEntry) String() string

func (*FaqGroupEntry) Unmarshal

func (m *FaqGroupEntry) Unmarshal(dAtA []byte) error

func (*FaqGroupEntry) XXX_DiscardUnknown

func (m *FaqGroupEntry) XXX_DiscardUnknown()

func (*FaqGroupEntry) XXX_Marshal

func (m *FaqGroupEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaqGroupEntry) XXX_Merge

func (m *FaqGroupEntry) XXX_Merge(src proto.Message)

func (*FaqGroupEntry) XXX_Size

func (m *FaqGroupEntry) XXX_Size() int

func (*FaqGroupEntry) XXX_Unmarshal

func (m *FaqGroupEntry) XXX_Unmarshal(b []byte) error

type FaqGroupEntryList

type FaqGroupEntryList struct {
	Items                []*FaqGroupEntry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

List of faq group entries.

func (*FaqGroupEntryList) Descriptor

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

func (*FaqGroupEntryList) GetItems

func (m *FaqGroupEntryList) GetItems() []*FaqGroupEntry

func (*FaqGroupEntryList) Marshal

func (m *FaqGroupEntryList) Marshal() (dAtA []byte, err error)

func (*FaqGroupEntryList) MarshalTo

func (m *FaqGroupEntryList) MarshalTo(dAtA []byte) (int, error)

func (*FaqGroupEntryList) MarshalToSizedBuffer

func (m *FaqGroupEntryList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FaqGroupEntryList) ProtoMessage

func (*FaqGroupEntryList) ProtoMessage()

func (*FaqGroupEntryList) Reset

func (m *FaqGroupEntryList) Reset()

func (*FaqGroupEntryList) Size

func (m *FaqGroupEntryList) Size() (n int)

func (*FaqGroupEntryList) String

func (m *FaqGroupEntryList) String() string

func (*FaqGroupEntryList) Unmarshal

func (m *FaqGroupEntryList) Unmarshal(dAtA []byte) error

func (*FaqGroupEntryList) XXX_DiscardUnknown

func (m *FaqGroupEntryList) XXX_DiscardUnknown()

func (*FaqGroupEntryList) XXX_Marshal

func (m *FaqGroupEntryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaqGroupEntryList) XXX_Merge

func (m *FaqGroupEntryList) XXX_Merge(src proto.Message)

func (*FaqGroupEntryList) XXX_Size

func (m *FaqGroupEntryList) XXX_Size() int

func (*FaqGroupEntryList) XXX_Unmarshal

func (m *FaqGroupEntryList) XXX_Unmarshal(b []byte) error

type FaqGroupList

type FaqGroupList struct {
	Items                []*FaqGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

List of faq groups.

func (*FaqGroupList) Descriptor

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

func (*FaqGroupList) GetItems

func (m *FaqGroupList) GetItems() []*FaqGroup

func (*FaqGroupList) Marshal

func (m *FaqGroupList) Marshal() (dAtA []byte, err error)

func (*FaqGroupList) MarshalTo

func (m *FaqGroupList) MarshalTo(dAtA []byte) (int, error)

func (*FaqGroupList) MarshalToSizedBuffer

func (m *FaqGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FaqGroupList) ProtoMessage

func (*FaqGroupList) ProtoMessage()

func (*FaqGroupList) Reset

func (m *FaqGroupList) Reset()

func (*FaqGroupList) Size

func (m *FaqGroupList) Size() (n int)

func (*FaqGroupList) String

func (m *FaqGroupList) String() string

func (*FaqGroupList) Unmarshal

func (m *FaqGroupList) Unmarshal(dAtA []byte) error

func (*FaqGroupList) XXX_DiscardUnknown

func (m *FaqGroupList) XXX_DiscardUnknown()

func (*FaqGroupList) XXX_Marshal

func (m *FaqGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FaqGroupList) XXX_Merge

func (m *FaqGroupList) XXX_Merge(src proto.Message)

func (*FaqGroupList) XXX_Size

func (m *FaqGroupList) XXX_Size() int

func (*FaqGroupList) XXX_Unmarshal

func (m *FaqGroupList) XXX_Unmarshal(b []byte) error

type ListPlansRequest

type ListPlansRequest struct {
	// Common list options
	Options *v1.ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	// If set, list plans as they are available for the organization identified by this ID.
	OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// If set, list plans as they are available for the deployment model identified by this field.
	Model                string   `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Arguments for a ListPlans request

func (*ListPlansRequest) Descriptor

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

func (*ListPlansRequest) GetModel added in v0.63.12

func (m *ListPlansRequest) GetModel() string

func (*ListPlansRequest) GetOptions

func (m *ListPlansRequest) GetOptions() *v1.ListOptions

func (*ListPlansRequest) GetOrganizationId

func (m *ListPlansRequest) GetOrganizationId() string

func (*ListPlansRequest) Marshal

func (m *ListPlansRequest) Marshal() (dAtA []byte, err error)

func (*ListPlansRequest) MarshalTo

func (m *ListPlansRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListPlansRequest) MarshalToSizedBuffer

func (m *ListPlansRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPlansRequest) ProtoMessage

func (*ListPlansRequest) ProtoMessage()

func (*ListPlansRequest) Reset

func (m *ListPlansRequest) Reset()

func (*ListPlansRequest) Size

func (m *ListPlansRequest) Size() (n int)

func (*ListPlansRequest) String

func (m *ListPlansRequest) String() string

func (*ListPlansRequest) Unmarshal

func (m *ListPlansRequest) Unmarshal(dAtA []byte) error

func (*ListPlansRequest) XXX_DiscardUnknown

func (m *ListPlansRequest) XXX_DiscardUnknown()

func (*ListPlansRequest) XXX_Marshal

func (m *ListPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPlansRequest) XXX_Merge

func (m *ListPlansRequest) XXX_Merge(src proto.Message)

func (*ListPlansRequest) XXX_Size

func (m *ListPlansRequest) XXX_Size() int

func (*ListPlansRequest) XXX_Unmarshal

func (m *ListPlansRequest) XXX_Unmarshal(b []byte) error

type Plan

type Plan struct {
	// System identifier of the plan.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the plan.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// If set, this plan is the default support plan.
	IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// Human readable description of the plan
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// If set, this plan is shown, but not selectable.
	IsUnavailable bool `protobuf:"varint,5,opt,name=is_unavailable,json=isUnavailable,proto3" json:"is_unavailable,omitempty"`
	// SLA times to first response for various situations.
	// When this plan is unavailable, this field is optional.
	FirstResponseTimes *ResponseTimes `protobuf:"bytes,6,opt,name=first_response_times,json=firstResponseTimes,proto3" json:"first_response_times,omitempty"`
	// Support hours applicable to the SLA.
	// Possible values are "business" and "24x7".
	SupportHours         string   `protobuf:"bytes,7,opt,name=support_hours,json=supportHours,proto3" json:"support_hours,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Plan represents a specific support plan such as Bronze, Silver or Gold.

func (*Plan) Descriptor

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

func (*Plan) GetDescription

func (m *Plan) GetDescription() string

func (*Plan) GetFirstResponseTimes

func (m *Plan) GetFirstResponseTimes() *ResponseTimes

func (*Plan) GetId

func (m *Plan) GetId() string

func (*Plan) GetIsDefault

func (m *Plan) GetIsDefault() bool

func (*Plan) GetIsUnavailable

func (m *Plan) GetIsUnavailable() bool

func (*Plan) GetName

func (m *Plan) GetName() string

func (*Plan) GetSupportHours added in v0.49.1

func (m *Plan) GetSupportHours() string

func (*Plan) Marshal

func (m *Plan) Marshal() (dAtA []byte, err error)

func (*Plan) MarshalTo

func (m *Plan) MarshalTo(dAtA []byte) (int, error)

func (*Plan) MarshalToSizedBuffer

func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) Reset

func (m *Plan) Reset()

func (*Plan) Size

func (m *Plan) Size() (n int)

func (*Plan) String

func (m *Plan) String() string

func (*Plan) Unmarshal

func (m *Plan) Unmarshal(dAtA []byte) error

func (*Plan) XXX_DiscardUnknown

func (m *Plan) XXX_DiscardUnknown()

func (*Plan) XXX_Marshal

func (m *Plan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Plan) XXX_Merge

func (m *Plan) XXX_Merge(src proto.Message)

func (*Plan) XXX_Size

func (m *Plan) XXX_Size() int

func (*Plan) XXX_Unmarshal

func (m *Plan) XXX_Unmarshal(b []byte) error

type PlanCallback

type PlanCallback func(context.Context, *Plan) error

PlanCallback is a callback for individual support plan.

type PlanList

type PlanList struct {
	Items                []*Plan  `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List of plans.

func (*PlanList) Descriptor

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

func (*PlanList) GetItems

func (m *PlanList) GetItems() []*Plan

func (*PlanList) Marshal

func (m *PlanList) Marshal() (dAtA []byte, err error)

func (*PlanList) MarshalTo

func (m *PlanList) MarshalTo(dAtA []byte) (int, error)

func (*PlanList) MarshalToSizedBuffer

func (m *PlanList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PlanList) ProtoMessage

func (*PlanList) ProtoMessage()

func (*PlanList) Reset

func (m *PlanList) Reset()

func (*PlanList) Size

func (m *PlanList) Size() (n int)

func (*PlanList) String

func (m *PlanList) String() string

func (*PlanList) Unmarshal

func (m *PlanList) Unmarshal(dAtA []byte) error

func (*PlanList) XXX_DiscardUnknown

func (m *PlanList) XXX_DiscardUnknown()

func (*PlanList) XXX_Marshal

func (m *PlanList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlanList) XXX_Merge

func (m *PlanList) XXX_Merge(src proto.Message)

func (*PlanList) XXX_Size

func (m *PlanList) XXX_Size() int

func (*PlanList) XXX_Unmarshal

func (m *PlanList) XXX_Unmarshal(b []byte) error

type ResponseTimes

type ResponseTimes struct {
	// Response time for operation-impeding Error in a production environment.
	Critical int32 `protobuf:"varint,1,opt,name=critical,proto3" json:"critical,omitempty"`
	// Response time for operation-limiting error.
	High int32 `protobuf:"varint,2,opt,name=high,proto3" json:"high,omitempty"`
	// Response time for minor error.
	Normal int32 `protobuf:"varint,3,opt,name=normal,proto3" json:"normal,omitempty"`
	// Response time for usage question.
	Low                  int32    `protobuf:"varint,4,opt,name=low,proto3" json:"low,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for various categories on situations. All values are in minutes. A value of 0 means "best effort".

func (*ResponseTimes) Descriptor

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

func (*ResponseTimes) GetCritical

func (m *ResponseTimes) GetCritical() int32

func (*ResponseTimes) GetHigh

func (m *ResponseTimes) GetHigh() int32

func (*ResponseTimes) GetLow

func (m *ResponseTimes) GetLow() int32

func (*ResponseTimes) GetNormal

func (m *ResponseTimes) GetNormal() int32

func (*ResponseTimes) Marshal

func (m *ResponseTimes) Marshal() (dAtA []byte, err error)

func (*ResponseTimes) MarshalTo

func (m *ResponseTimes) MarshalTo(dAtA []byte) (int, error)

func (*ResponseTimes) MarshalToSizedBuffer

func (m *ResponseTimes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseTimes) ProtoMessage

func (*ResponseTimes) ProtoMessage()

func (*ResponseTimes) Reset

func (m *ResponseTimes) Reset()

func (*ResponseTimes) Size

func (m *ResponseTimes) Size() (n int)

func (*ResponseTimes) String

func (m *ResponseTimes) String() string

func (*ResponseTimes) Unmarshal

func (m *ResponseTimes) Unmarshal(dAtA []byte) error

func (*ResponseTimes) XXX_DiscardUnknown

func (m *ResponseTimes) XXX_DiscardUnknown()

func (*ResponseTimes) XXX_Marshal

func (m *ResponseTimes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseTimes) XXX_Merge

func (m *ResponseTimes) XXX_Merge(src proto.Message)

func (*ResponseTimes) XXX_Size

func (m *ResponseTimes) XXX_Size() int

func (*ResponseTimes) XXX_Unmarshal

func (m *ResponseTimes) XXX_Unmarshal(b []byte) error

type SupportRequest

type SupportRequest struct {
	// ID of the request
	// This is a read-only field
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the user who submitted the support request
	// This is a required field
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// User ID is only provided if the user submitting the request has authenticated
	// This is an optional field
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Email address of the user if applicable submitting the request
	EmailAddress string `protobuf:"bytes,4,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	// Optional identifier of the organization that is the subject of the support request
	OrganizationId string `protobuf:"bytes,5,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Optional identifier of the project that is the subject of the support request
	ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Optional identifier of the deployment that is the subject of the support request
	DeploymentId string `protobuf:"bytes,7,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	// Desciption which will contain the details provided by the submitter
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// Severity of the request. Can be one of the following: (low|normal|high|critical)
	Severity string `protobuf:"bytes,9,opt,name=severity,proto3" json:"severity,omitempty"`
	// Optional title which will contain the summary provided by the submitter (max 100 characters)
	// If not provided a title will be extracted from the description.
	Title                string   `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SupportRequest contains information about the request

func (*SupportRequest) Descriptor

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

func (*SupportRequest) GetDeploymentId

func (m *SupportRequest) GetDeploymentId() string

func (*SupportRequest) GetDescription

func (m *SupportRequest) GetDescription() string

func (*SupportRequest) GetEmailAddress

func (m *SupportRequest) GetEmailAddress() string

func (*SupportRequest) GetId

func (m *SupportRequest) GetId() string

func (*SupportRequest) GetOrganizationId

func (m *SupportRequest) GetOrganizationId() string

func (*SupportRequest) GetProjectId

func (m *SupportRequest) GetProjectId() string

func (*SupportRequest) GetSeverity

func (m *SupportRequest) GetSeverity() string

func (*SupportRequest) GetTitle added in v0.77.8

func (m *SupportRequest) GetTitle() string

func (*SupportRequest) GetUserId

func (m *SupportRequest) GetUserId() string

func (*SupportRequest) GetUserName

func (m *SupportRequest) GetUserName() string

func (*SupportRequest) Marshal

func (m *SupportRequest) Marshal() (dAtA []byte, err error)

func (*SupportRequest) MarshalTo

func (m *SupportRequest) MarshalTo(dAtA []byte) (int, error)

func (*SupportRequest) MarshalToSizedBuffer

func (m *SupportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SupportRequest) ProtoMessage

func (*SupportRequest) ProtoMessage()

func (*SupportRequest) Reset

func (m *SupportRequest) Reset()

func (*SupportRequest) Size

func (m *SupportRequest) Size() (n int)

func (*SupportRequest) String

func (m *SupportRequest) String() string

func (*SupportRequest) Unmarshal

func (m *SupportRequest) Unmarshal(dAtA []byte) error

func (*SupportRequest) XXX_DiscardUnknown

func (m *SupportRequest) XXX_DiscardUnknown()

func (*SupportRequest) XXX_Marshal

func (m *SupportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SupportRequest) XXX_Merge

func (m *SupportRequest) XXX_Merge(src proto.Message)

func (*SupportRequest) XXX_Size

func (m *SupportRequest) XXX_Size() int

func (*SupportRequest) XXX_Unmarshal

func (m *SupportRequest) XXX_Unmarshal(b []byte) error

type SupportServiceClient

type SupportServiceClient interface {
	// Get the current API version of this service.
	// Required permissions:
	// - None
	GetAPIVersion(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Version, error)
	// Fetch all support plans that are supported by the ArangoDB cloud.
	// Required permissions:
	// - None
	ListPlans(ctx context.Context, in *ListPlansRequest, opts ...grpc.CallOption) (*PlanList, error)
	// Fetch a support plan by its id.
	// Required permissions:
	// - None
	GetPlan(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*Plan, error)
	// Fetch all FAQ groups.
	// Required permissions:
	// - None
	ListFaqGroups(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*FaqGroupList, error)
	// Fetch all FAQ group entries of the FAQ group identified by the given context ID.
	// Required permissions:
	// - None
	ListFaqGroupEntries(ctx context.Context, in *v1.ListOptions, opts ...grpc.CallOption) (*FaqGroupEntryList, error)
	// Submit a support request.
	// Required permissions:
	// - resourcemanager.organization.get (if organization id is set)
	// - resourcemanager.project.get (if project id is set)
	// - data.deployment.get (if deployment id is set)
	// - None (if no ids are set)
	CreateSupportRequest(ctx context.Context, in *SupportRequest, opts ...grpc.CallOption) (*SupportRequest, error)
}

SupportServiceClient is the client API for SupportService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSupportServiceClient

func NewSupportServiceClient(cc *grpc.ClientConn) SupportServiceClient

type SupportServiceServer

type SupportServiceServer interface {
	// Get the current API version of this service.
	// Required permissions:
	// - None
	GetAPIVersion(context.Context, *v1.Empty) (*v1.Version, error)
	// Fetch all support plans that are supported by the ArangoDB cloud.
	// Required permissions:
	// - None
	ListPlans(context.Context, *ListPlansRequest) (*PlanList, error)
	// Fetch a support plan by its id.
	// Required permissions:
	// - None
	GetPlan(context.Context, *v1.IDOptions) (*Plan, error)
	// Fetch all FAQ groups.
	// Required permissions:
	// - None
	ListFaqGroups(context.Context, *v1.ListOptions) (*FaqGroupList, error)
	// Fetch all FAQ group entries of the FAQ group identified by the given context ID.
	// Required permissions:
	// - None
	ListFaqGroupEntries(context.Context, *v1.ListOptions) (*FaqGroupEntryList, error)
	// Submit a support request.
	// Required permissions:
	// - resourcemanager.organization.get (if organization id is set)
	// - resourcemanager.project.get (if project id is set)
	// - data.deployment.get (if deployment id is set)
	// - None (if no ids are set)
	CreateSupportRequest(context.Context, *SupportRequest) (*SupportRequest, error)
}

SupportServiceServer is the server API for SupportService service.

type UnimplementedSupportServiceServer

type UnimplementedSupportServiceServer struct {
}

UnimplementedSupportServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSupportServiceServer) CreateSupportRequest

func (*UnimplementedSupportServiceServer) GetAPIVersion

func (*UnimplementedSupportServiceServer) GetAPIVersion(ctx context.Context, req *v1.Empty) (*v1.Version, error)

func (*UnimplementedSupportServiceServer) GetPlan

func (*UnimplementedSupportServiceServer) ListFaqGroupEntries

func (*UnimplementedSupportServiceServer) ListFaqGroups

func (*UnimplementedSupportServiceServer) ListPlans

Jump to

Keyboard shortcuts

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