Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ErrTypeInvalidRequest is returned when the request is invalid ErrTypeInvalidRequest = "InvalidRequest" ErrTypeNICoObjectNotFound = "NICoObjectNotFound" ErrTypeNICoUnimplemented = "NICoUnimplemented" ErrTypeNICoDenied = "NICoDenied" ErrTypeNICoAlreadyExists = "NICoAlreadyExists" ErrTypeNICoFailedPrecondition = "NICoFailedPrecondition" ErrTypeNICoInvalidArgument = "NICoInvalidArgument" // Legacy Carbide error type names. Retained so a newer REST can still // recognise errors emitted by an older site-workflow version that has // not yet been upgraded. Remove once the rollout window has closed. ErrTypeCarbideObjectNotFound = "CarbideObjectNotFound" ErrTypeCarbideUnimplemented = "CarbideUnimplemented" ErrTypeCarbideDenied = "CarbideDenied" ErrTypeCarbideAlreadyExists = "CarbideAlreadyExists" ErrTypeCarbideFailedPrecondition = "CarbideFailedPrecondition" ErrTypeCarbideInvalidArgument = "CarbideInvalidArgument" )
Functions ¶
func FailedPreconditionErrTypes ¶
func FailedPreconditionErrTypes() []string
FailedPreconditionErrTypes returns the error types treated as "failed precondition" from a Site Agent gRPC call. Both NICo and legacy Carbide names are listed so that REST can recognise errors from older site-workflow deployments. Remove the Carbide entry once the rollout window has closed.
func ObjectNotFoundErrTypes ¶
func ObjectNotFoundErrTypes() []string
ObjectNotFoundErrTypes returns the error types treated as "object not found" from a Site Agent gRPC call. Both NICo and legacy Carbide names are listed so that REST can recognise errors from older site-workflow deployments. Remove the Carbide entry once the rollout window has closed.
func UnimplementedOrDeniedErrTypes ¶
func UnimplementedOrDeniedErrTypes() []string
UnimplementedOrDeniedErrTypes returns the error types treated as "unimplemented or restricted" from a Site Agent gRPC call. Both NICo and legacy Carbide names are listed so that REST can recognise errors from older site-workflow deployments. Remove the Carbide entries once the rollout window has closed.
Types ¶
This section is empty.