Skip to content

Commit 14cf8da

Browse files
authored
docs(mnq): clean the doc before going for public beta (#1495)
1 parent d6c644c commit 14cf8da

File tree

1 file changed

+3
-29
lines changed

1 file changed

+3
-29
lines changed

api/mnq/v1alpha1/mnq_sdk.go

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ const (
144144
NamespaceProtocolNats = NamespaceProtocol("nats")
145145
// NamespaceProtocolSqsSns is [insert doc].
146146
NamespaceProtocolSqsSns = NamespaceProtocol("sqs_sns")
147-
// NamespaceProtocolAmqp is [insert doc].
148-
NamespaceProtocolAmqp = NamespaceProtocol("amqp")
149147
)
150148

151149
func (enum NamespaceProtocol) String() string {
@@ -184,24 +182,11 @@ type Credential struct {
184182
// Default value: unknown
185183
Protocol NamespaceProtocol `json:"protocol"`
186184
// NatsCredentials: credentials file used to connect to the NATS service
187-
// Precisely one of AmqpCredentials, NatsCredentials, SqsSnsCredentials must be set.
185+
// Precisely one of NatsCredentials, SqsSnsCredentials must be set.
188186
NatsCredentials *CredentialNATSCredsFile `json:"nats_credentials,omitempty"`
189187
// SqsSnsCredentials: credential used to connect to the SQS/SNS service
190-
// Precisely one of AmqpCredentials, NatsCredentials, SqsSnsCredentials must be set.
188+
// Precisely one of NatsCredentials, SqsSnsCredentials must be set.
191189
SqsSnsCredentials *CredentialSQSSNSCreds `json:"sqs_sns_credentials,omitempty"`
192-
// AmqpCredentials: credential used to connect to the AMQP service
193-
// Precisely one of AmqpCredentials, NatsCredentials, SqsSnsCredentials must be set.
194-
AmqpCredentials *CredentialAMQPCreds `json:"amqp_credentials,omitempty"`
195-
}
196-
197-
// CredentialAMQPCreds: credential.amqp creds
198-
type CredentialAMQPCreds struct {
199-
// Username: username used to connect to the AMQP service
200-
Username string `json:"username"`
201-
// Password: password used to connect to the AMQP service
202-
Password *string `json:"password"`
203-
// Permissions: list of permissions associated to this Credential
204-
Permissions *Permissions `json:"permissions"`
205190
}
206191

207192
// CredentialNATSCredsFile: credential.nats creds file
@@ -233,19 +218,8 @@ type CredentialSummary struct {
233218
// Default value: unknown
234219
Protocol NamespaceProtocol `json:"protocol"`
235220
// SqsSnsCredentials: credential used to connect to the SQS/SNS service
236-
// Precisely one of AmqpCredentials, SqsSnsCredentials must be set.
221+
// Precisely one of SqsSnsCredentials must be set.
237222
SqsSnsCredentials *CredentialSummarySQSSNSCreds `json:"sqs_sns_credentials,omitempty"`
238-
// AmqpCredentials: credential used to connect to the AMQP service
239-
// Precisely one of AmqpCredentials, SqsSnsCredentials must be set.
240-
AmqpCredentials *CredentialSummaryAMQPCreds `json:"amqp_credentials,omitempty"`
241-
}
242-
243-
// CredentialSummaryAMQPCreds: credential summary.amqp creds
244-
type CredentialSummaryAMQPCreds struct {
245-
// Username: username used to connect to the AMQP service
246-
Username string `json:"username"`
247-
// Permissions: list of permissions associated to this Credential
248-
Permissions *Permissions `json:"permissions"`
249223
}
250224

251225
// CredentialSummarySQSSNSCreds: credential summary.sqssns creds

0 commit comments

Comments
 (0)