mirror of
https://github.com/paralus/paralus.git
synced 2026-05-17 13:56:40 +00:00
changes to view auditlogs by project role users (#247)
feat: changes to view audit logs by project and cluster role users --------- Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
This commit is contained in:
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
@@ -11,7 +11,6 @@ jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.17.x]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@@ -20,7 +19,8 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
# Getting go version from the go.mod file
|
||||
go-version-file: 'go.mod'
|
||||
|
||||
- name: Format
|
||||
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.17 as build
|
||||
FROM golang:1.20 as build
|
||||
LABEL description="Build container"
|
||||
|
||||
ENV CGO_ENABLED 0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.17 as build
|
||||
FROM golang:1.20 as build
|
||||
LABEL description="Build container"
|
||||
|
||||
ENV CGO_ENABLED 0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.17 as build
|
||||
FROM golang:1.20 as build
|
||||
LABEL description="Build container"
|
||||
|
||||
ENV CGO_ENABLED 0
|
||||
|
||||
@@ -36,7 +36,7 @@ type ClientService interface {
|
||||
}
|
||||
|
||||
/*
|
||||
AuditInformationLookupCluster audit information lookup cluster API
|
||||
AuditInformationLookupCluster audit information lookup cluster API
|
||||
*/
|
||||
func (a *Client) AuditInformationLookupCluster(params *AuditInformationLookupClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuditInformationLookupClusterOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -74,7 +74,7 @@ func (a *Client) AuditInformationLookupCluster(params *AuditInformationLookupClu
|
||||
}
|
||||
|
||||
/*
|
||||
AuditInformationLookupUser audit information lookup user API
|
||||
AuditInformationLookupUser audit information lookup user API
|
||||
*/
|
||||
func (a *Client) AuditInformationLookupUser(params *AuditInformationLookupUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuditInformationLookupUserOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewAuditInformationLookupClusterParamsWithHTTPClient(client *http.Client) *
|
||||
}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupClusterParams contains all the parameters to send to the API endpoint
|
||||
for the audit information lookup cluster operation.
|
||||
/*
|
||||
AuditInformationLookupClusterParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the audit information lookup cluster operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type AuditInformationLookupClusterParams struct {
|
||||
|
||||
|
||||
@@ -58,7 +58,8 @@ func NewAuditInformationLookupClusterOK() *AuditInformationLookupClusterOK {
|
||||
return &AuditInformationLookupClusterOK{}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupClusterOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
AuditInformationLookupClusterOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -90,7 +91,8 @@ func NewAuditInformationLookupClusterForbidden() *AuditInformationLookupClusterF
|
||||
return &AuditInformationLookupClusterForbidden{}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupClusterForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
AuditInformationLookupClusterForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -120,7 +122,8 @@ func NewAuditInformationLookupClusterNotFound() *AuditInformationLookupClusterNo
|
||||
return &AuditInformationLookupClusterNotFound{}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupClusterNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
AuditInformationLookupClusterNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -152,7 +155,8 @@ func NewAuditInformationLookupClusterDefault(code int) *AuditInformationLookupCl
|
||||
}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupClusterDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
AuditInformationLookupClusterDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewAuditInformationLookupUserParamsWithHTTPClient(client *http.Client) *Aud
|
||||
}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupUserParams contains all the parameters to send to the API endpoint
|
||||
for the audit information lookup user operation.
|
||||
/*
|
||||
AuditInformationLookupUserParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the audit information lookup user operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type AuditInformationLookupUserParams struct {
|
||||
|
||||
|
||||
@@ -58,7 +58,8 @@ func NewAuditInformationLookupUserOK() *AuditInformationLookupUserOK {
|
||||
return &AuditInformationLookupUserOK{}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupUserOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
AuditInformationLookupUserOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -90,7 +91,8 @@ func NewAuditInformationLookupUserForbidden() *AuditInformationLookupUserForbidd
|
||||
return &AuditInformationLookupUserForbidden{}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupUserForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
AuditInformationLookupUserForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -120,7 +122,8 @@ func NewAuditInformationLookupUserNotFound() *AuditInformationLookupUserNotFound
|
||||
return &AuditInformationLookupUserNotFound{}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupUserNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
AuditInformationLookupUserNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -152,7 +155,8 @@ func NewAuditInformationLookupUserDefault(code int) *AuditInformationLookupUserD
|
||||
}
|
||||
}
|
||||
|
||||
/* AuditInformationLookupUserDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
AuditInformationLookupUserDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -56,7 +56,7 @@ type ClientService interface {
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapCreateBootstrapAgent bootstrap create bootstrap agent API
|
||||
BootstrapCreateBootstrapAgent bootstrap create bootstrap agent API
|
||||
*/
|
||||
func (a *Client) BootstrapCreateBootstrapAgent(params *BootstrapCreateBootstrapAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapCreateBootstrapAgentOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -94,7 +94,7 @@ func (a *Client) BootstrapCreateBootstrapAgent(params *BootstrapCreateBootstrapA
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapDeleteBootstrapAgent bootstrap delete bootstrap agent API
|
||||
BootstrapDeleteBootstrapAgent bootstrap delete bootstrap agent API
|
||||
*/
|
||||
func (a *Client) BootstrapDeleteBootstrapAgent(params *BootstrapDeleteBootstrapAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapDeleteBootstrapAgentOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -132,7 +132,7 @@ func (a *Client) BootstrapDeleteBootstrapAgent(params *BootstrapDeleteBootstrapA
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapGetBootstrapAgent bootstrap get bootstrap agent API
|
||||
BootstrapGetBootstrapAgent bootstrap get bootstrap agent API
|
||||
*/
|
||||
func (a *Client) BootstrapGetBootstrapAgent(params *BootstrapGetBootstrapAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapGetBootstrapAgentOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -170,7 +170,7 @@ func (a *Client) BootstrapGetBootstrapAgent(params *BootstrapGetBootstrapAgentPa
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapGetBootstrapAgentConfig bootstrap get bootstrap agent config API
|
||||
BootstrapGetBootstrapAgentConfig bootstrap get bootstrap agent config API
|
||||
*/
|
||||
func (a *Client) BootstrapGetBootstrapAgentConfig(params *BootstrapGetBootstrapAgentConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapGetBootstrapAgentConfigOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -208,7 +208,7 @@ func (a *Client) BootstrapGetBootstrapAgentConfig(params *BootstrapGetBootstrapA
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplate bootstrap get bootstrap agent template API
|
||||
BootstrapGetBootstrapAgentTemplate bootstrap get bootstrap agent template API
|
||||
*/
|
||||
func (a *Client) BootstrapGetBootstrapAgentTemplate(params *BootstrapGetBootstrapAgentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapGetBootstrapAgentTemplateOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -246,7 +246,7 @@ func (a *Client) BootstrapGetBootstrapAgentTemplate(params *BootstrapGetBootstra
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplates bootstrap get bootstrap agent templates API
|
||||
BootstrapGetBootstrapAgentTemplates bootstrap get bootstrap agent templates API
|
||||
*/
|
||||
func (a *Client) BootstrapGetBootstrapAgentTemplates(params *BootstrapGetBootstrapAgentTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapGetBootstrapAgentTemplatesOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -284,7 +284,7 @@ func (a *Client) BootstrapGetBootstrapAgentTemplates(params *BootstrapGetBootstr
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapGetBootstrapAgents bootstrap get bootstrap agents API
|
||||
BootstrapGetBootstrapAgents bootstrap get bootstrap agents API
|
||||
*/
|
||||
func (a *Client) BootstrapGetBootstrapAgents(params *BootstrapGetBootstrapAgentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapGetBootstrapAgentsOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -322,7 +322,7 @@ func (a *Client) BootstrapGetBootstrapAgents(params *BootstrapGetBootstrapAgents
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapGetBootstrapInfra bootstrap get bootstrap infra API
|
||||
BootstrapGetBootstrapInfra bootstrap get bootstrap infra API
|
||||
*/
|
||||
func (a *Client) BootstrapGetBootstrapInfra(params *BootstrapGetBootstrapInfraParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapGetBootstrapInfraOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -360,7 +360,7 @@ func (a *Client) BootstrapGetBootstrapInfra(params *BootstrapGetBootstrapInfraPa
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapPatchBootstrapAgentTemplate bootstrap patch bootstrap agent template API
|
||||
BootstrapPatchBootstrapAgentTemplate bootstrap patch bootstrap agent template API
|
||||
*/
|
||||
func (a *Client) BootstrapPatchBootstrapAgentTemplate(params *BootstrapPatchBootstrapAgentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapPatchBootstrapAgentTemplateOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -398,7 +398,7 @@ func (a *Client) BootstrapPatchBootstrapAgentTemplate(params *BootstrapPatchBoot
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapPatchBootstrapInfra bootstrap patch bootstrap infra API
|
||||
BootstrapPatchBootstrapInfra bootstrap patch bootstrap infra API
|
||||
*/
|
||||
func (a *Client) BootstrapPatchBootstrapInfra(params *BootstrapPatchBootstrapInfraParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapPatchBootstrapInfraOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -436,7 +436,7 @@ func (a *Client) BootstrapPatchBootstrapInfra(params *BootstrapPatchBootstrapInf
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgent bootstrap register bootstrap agent API
|
||||
BootstrapRegisterBootstrapAgent bootstrap register bootstrap agent API
|
||||
*/
|
||||
func (a *Client) BootstrapRegisterBootstrapAgent(params *BootstrapRegisterBootstrapAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapRegisterBootstrapAgentOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -474,7 +474,7 @@ func (a *Client) BootstrapRegisterBootstrapAgent(params *BootstrapRegisterBootst
|
||||
}
|
||||
|
||||
/*
|
||||
BootstrapUpdateBootstrapAgent bootstrap update bootstrap agent API
|
||||
BootstrapUpdateBootstrapAgent bootstrap update bootstrap agent API
|
||||
*/
|
||||
func (a *Client) BootstrapUpdateBootstrapAgent(params *BootstrapUpdateBootstrapAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BootstrapUpdateBootstrapAgentOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
|
||||
@@ -54,10 +54,12 @@ func NewBootstrapCreateBootstrapAgentParamsWithHTTPClient(client *http.Client) *
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapCreateBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap create bootstrap agent operation.
|
||||
/*
|
||||
BootstrapCreateBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap create bootstrap agent operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapCreateBootstrapAgentParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapCreateBootstrapAgentOK() *BootstrapCreateBootstrapAgentOK {
|
||||
return &BootstrapCreateBootstrapAgentOK{}
|
||||
}
|
||||
|
||||
/* BootstrapCreateBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapCreateBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapCreateBootstrapAgentForbidden() *BootstrapCreateBootstrapAgentF
|
||||
return &BootstrapCreateBootstrapAgentForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapCreateBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapCreateBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapCreateBootstrapAgentNotFound() *BootstrapCreateBootstrapAgentNo
|
||||
return &BootstrapCreateBootstrapAgentNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapCreateBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapCreateBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapCreateBootstrapAgentInternalServerError() *BootstrapCreateBoots
|
||||
return &BootstrapCreateBootstrapAgentInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapCreateBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapCreateBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapCreateBootstrapAgentDefault(code int) *BootstrapCreateBootstrap
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapCreateBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapCreateBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewBootstrapDeleteBootstrapAgentParamsWithHTTPClient(client *http.Client) *
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapDeleteBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap delete bootstrap agent operation.
|
||||
/*
|
||||
BootstrapDeleteBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap delete bootstrap agent operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapDeleteBootstrapAgentParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapDeleteBootstrapAgentOK() *BootstrapDeleteBootstrapAgentOK {
|
||||
return &BootstrapDeleteBootstrapAgentOK{}
|
||||
}
|
||||
|
||||
/* BootstrapDeleteBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapDeleteBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -94,7 +95,8 @@ func NewBootstrapDeleteBootstrapAgentForbidden() *BootstrapDeleteBootstrapAgentF
|
||||
return &BootstrapDeleteBootstrapAgentForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapDeleteBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapDeleteBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -124,7 +126,8 @@ func NewBootstrapDeleteBootstrapAgentNotFound() *BootstrapDeleteBootstrapAgentNo
|
||||
return &BootstrapDeleteBootstrapAgentNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapDeleteBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapDeleteBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -154,7 +157,8 @@ func NewBootstrapDeleteBootstrapAgentInternalServerError() *BootstrapDeleteBoots
|
||||
return &BootstrapDeleteBootstrapAgentInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapDeleteBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapDeleteBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -186,7 +190,8 @@ func NewBootstrapDeleteBootstrapAgentDefault(code int) *BootstrapDeleteBootstrap
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapDeleteBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapDeleteBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewBootstrapGetBootstrapAgentConfigParamsWithHTTPClient(client *http.Client
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentConfigParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap get bootstrap agent config operation.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentConfigParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap get bootstrap agent config operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapGetBootstrapAgentConfigParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapGetBootstrapAgentConfigOK() *BootstrapGetBootstrapAgentConfigOK
|
||||
return &BootstrapGetBootstrapAgentConfigOK{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentConfigOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentConfigOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapGetBootstrapAgentConfigForbidden() *BootstrapGetBootstrapAgentC
|
||||
return &BootstrapGetBootstrapAgentConfigForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentConfigForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentConfigForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapGetBootstrapAgentConfigNotFound() *BootstrapGetBootstrapAgentCo
|
||||
return &BootstrapGetBootstrapAgentConfigNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentConfigNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentConfigNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapGetBootstrapAgentConfigInternalServerError() *BootstrapGetBoots
|
||||
return &BootstrapGetBootstrapAgentConfigInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentConfigInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentConfigInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapGetBootstrapAgentConfigDefault(code int) *BootstrapGetBootstrap
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentConfigDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentConfigDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewBootstrapGetBootstrapAgentParamsWithHTTPClient(client *http.Client) *Boo
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap get bootstrap agent operation.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap get bootstrap agent operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapGetBootstrapAgentParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapGetBootstrapAgentOK() *BootstrapGetBootstrapAgentOK {
|
||||
return &BootstrapGetBootstrapAgentOK{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapGetBootstrapAgentForbidden() *BootstrapGetBootstrapAgentForbidd
|
||||
return &BootstrapGetBootstrapAgentForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapGetBootstrapAgentNotFound() *BootstrapGetBootstrapAgentNotFound
|
||||
return &BootstrapGetBootstrapAgentNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapGetBootstrapAgentInternalServerError() *BootstrapGetBootstrapAg
|
||||
return &BootstrapGetBootstrapAgentInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapGetBootstrapAgentDefault(code int) *BootstrapGetBootstrapAgentD
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -53,10 +53,12 @@ func NewBootstrapGetBootstrapAgentTemplateParamsWithHTTPClient(client *http.Clie
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplateParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap get bootstrap agent template operation.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplateParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap get bootstrap agent template operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapGetBootstrapAgentTemplateParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapGetBootstrapAgentTemplateOK() *BootstrapGetBootstrapAgentTempla
|
||||
return &BootstrapGetBootstrapAgentTemplateOK{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplateOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplateOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapGetBootstrapAgentTemplateForbidden() *BootstrapGetBootstrapAgen
|
||||
return &BootstrapGetBootstrapAgentTemplateForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplateForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplateForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapGetBootstrapAgentTemplateNotFound() *BootstrapGetBootstrapAgent
|
||||
return &BootstrapGetBootstrapAgentTemplateNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplateNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplateNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapGetBootstrapAgentTemplateInternalServerError() *BootstrapGetBoo
|
||||
return &BootstrapGetBootstrapAgentTemplateInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplateInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplateInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapGetBootstrapAgentTemplateDefault(code int) *BootstrapGetBootstr
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplateDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplateDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -53,10 +53,12 @@ func NewBootstrapGetBootstrapAgentTemplatesParamsWithHTTPClient(client *http.Cli
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplatesParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap get bootstrap agent templates operation.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplatesParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap get bootstrap agent templates operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapGetBootstrapAgentTemplatesParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapGetBootstrapAgentTemplatesOK() *BootstrapGetBootstrapAgentTempl
|
||||
return &BootstrapGetBootstrapAgentTemplatesOK{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplatesOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplatesOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapGetBootstrapAgentTemplatesForbidden() *BootstrapGetBootstrapAge
|
||||
return &BootstrapGetBootstrapAgentTemplatesForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplatesForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplatesForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapGetBootstrapAgentTemplatesNotFound() *BootstrapGetBootstrapAgen
|
||||
return &BootstrapGetBootstrapAgentTemplatesNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplatesNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplatesNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapGetBootstrapAgentTemplatesInternalServerError() *BootstrapGetBo
|
||||
return &BootstrapGetBootstrapAgentTemplatesInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplatesInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplatesInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapGetBootstrapAgentTemplatesDefault(code int) *BootstrapGetBootst
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentTemplatesDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentTemplatesDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -53,10 +53,12 @@ func NewBootstrapGetBootstrapAgentsParamsWithHTTPClient(client *http.Client) *Bo
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentsParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap get bootstrap agents operation.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentsParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap get bootstrap agents operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapGetBootstrapAgentsParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapGetBootstrapAgentsOK() *BootstrapGetBootstrapAgentsOK {
|
||||
return &BootstrapGetBootstrapAgentsOK{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentsOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentsOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapGetBootstrapAgentsForbidden() *BootstrapGetBootstrapAgentsForbi
|
||||
return &BootstrapGetBootstrapAgentsForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentsForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentsForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapGetBootstrapAgentsNotFound() *BootstrapGetBootstrapAgentsNotFou
|
||||
return &BootstrapGetBootstrapAgentsNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentsNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentsNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapGetBootstrapAgentsInternalServerError() *BootstrapGetBootstrapA
|
||||
return &BootstrapGetBootstrapAgentsInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentsInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentsInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapGetBootstrapAgentsDefault(code int) *BootstrapGetBootstrapAgent
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapAgentsDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapAgentsDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewBootstrapGetBootstrapInfraParamsWithHTTPClient(client *http.Client) *Boo
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapInfraParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap get bootstrap infra operation.
|
||||
/*
|
||||
BootstrapGetBootstrapInfraParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap get bootstrap infra operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapGetBootstrapInfraParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapGetBootstrapInfraOK() *BootstrapGetBootstrapInfraOK {
|
||||
return &BootstrapGetBootstrapInfraOK{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapInfraOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapInfraOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapGetBootstrapInfraForbidden() *BootstrapGetBootstrapInfraForbidd
|
||||
return &BootstrapGetBootstrapInfraForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapInfraForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapInfraForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapGetBootstrapInfraNotFound() *BootstrapGetBootstrapInfraNotFound
|
||||
return &BootstrapGetBootstrapInfraNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapInfraNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapInfraNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapGetBootstrapInfraInternalServerError() *BootstrapGetBootstrapIn
|
||||
return &BootstrapGetBootstrapInfraInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapInfraInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapInfraInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapGetBootstrapInfraDefault(code int) *BootstrapGetBootstrapInfraD
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapGetBootstrapInfraDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapGetBootstrapInfraDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -54,10 +54,12 @@ func NewBootstrapPatchBootstrapAgentTemplateParamsWithHTTPClient(client *http.Cl
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapAgentTemplateParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap patch bootstrap agent template operation.
|
||||
/*
|
||||
BootstrapPatchBootstrapAgentTemplateParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap patch bootstrap agent template operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapPatchBootstrapAgentTemplateParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapPatchBootstrapAgentTemplateOK() *BootstrapPatchBootstrapAgentTe
|
||||
return &BootstrapPatchBootstrapAgentTemplateOK{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapAgentTemplateOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapAgentTemplateOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapPatchBootstrapAgentTemplateForbidden() *BootstrapPatchBootstrap
|
||||
return &BootstrapPatchBootstrapAgentTemplateForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapAgentTemplateForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapAgentTemplateForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapPatchBootstrapAgentTemplateNotFound() *BootstrapPatchBootstrapA
|
||||
return &BootstrapPatchBootstrapAgentTemplateNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapAgentTemplateNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapAgentTemplateNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapPatchBootstrapAgentTemplateInternalServerError() *BootstrapPatc
|
||||
return &BootstrapPatchBootstrapAgentTemplateInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapAgentTemplateInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapAgentTemplateInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapPatchBootstrapAgentTemplateDefault(code int) *BootstrapPatchBoo
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapAgentTemplateDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapAgentTemplateDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -54,10 +54,12 @@ func NewBootstrapPatchBootstrapInfraParamsWithHTTPClient(client *http.Client) *B
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapInfraParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap patch bootstrap infra operation.
|
||||
/*
|
||||
BootstrapPatchBootstrapInfraParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap patch bootstrap infra operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapPatchBootstrapInfraParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapPatchBootstrapInfraOK() *BootstrapPatchBootstrapInfraOK {
|
||||
return &BootstrapPatchBootstrapInfraOK{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapInfraOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapInfraOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapPatchBootstrapInfraForbidden() *BootstrapPatchBootstrapInfraFor
|
||||
return &BootstrapPatchBootstrapInfraForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapInfraForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapInfraForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapPatchBootstrapInfraNotFound() *BootstrapPatchBootstrapInfraNotF
|
||||
return &BootstrapPatchBootstrapInfraNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapInfraNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapInfraNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapPatchBootstrapInfraInternalServerError() *BootstrapPatchBootstr
|
||||
return &BootstrapPatchBootstrapInfraInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapInfraInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapInfraInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapPatchBootstrapInfraDefault(code int) *BootstrapPatchBootstrapIn
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapPatchBootstrapInfraDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapPatchBootstrapInfraDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewBootstrapRegisterBootstrapAgentParamsWithHTTPClient(client *http.Client)
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapRegisterBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap register bootstrap agent operation.
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap register bootstrap agent operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapRegisterBootstrapAgentParams struct {
|
||||
|
||||
|
||||
@@ -66,7 +66,8 @@ func NewBootstrapRegisterBootstrapAgentOK() *BootstrapRegisterBootstrapAgentOK {
|
||||
return &BootstrapRegisterBootstrapAgentOK{}
|
||||
}
|
||||
|
||||
/* BootstrapRegisterBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -98,7 +99,8 @@ func NewBootstrapRegisterBootstrapAgentForbidden() *BootstrapRegisterBootstrapAg
|
||||
return &BootstrapRegisterBootstrapAgentForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapRegisterBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -128,7 +130,8 @@ func NewBootstrapRegisterBootstrapAgentNotFound() *BootstrapRegisterBootstrapAge
|
||||
return &BootstrapRegisterBootstrapAgentNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapRegisterBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -158,7 +161,8 @@ func NewBootstrapRegisterBootstrapAgentInternalServerError() *BootstrapRegisterB
|
||||
return &BootstrapRegisterBootstrapAgentInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapRegisterBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -190,7 +194,8 @@ func NewBootstrapRegisterBootstrapAgentDefault(code int) *BootstrapRegisterBoots
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapRegisterBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
@@ -224,7 +229,8 @@ func (o *BootstrapRegisterBootstrapAgentDefault) readResponse(response runtime.C
|
||||
return nil
|
||||
}
|
||||
|
||||
/*BootstrapRegisterBootstrapAgentBody bootstrap register bootstrap agent body
|
||||
/*
|
||||
BootstrapRegisterBootstrapAgentBody bootstrap register bootstrap agent body
|
||||
swagger:model BootstrapRegisterBootstrapAgentBody
|
||||
*/
|
||||
type BootstrapRegisterBootstrapAgentBody struct {
|
||||
|
||||
@@ -54,10 +54,12 @@ func NewBootstrapUpdateBootstrapAgentParamsWithHTTPClient(client *http.Client) *
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapUpdateBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
for the bootstrap update bootstrap agent operation.
|
||||
/*
|
||||
BootstrapUpdateBootstrapAgentParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the bootstrap update bootstrap agent operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type BootstrapUpdateBootstrapAgentParams struct {
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ func NewBootstrapUpdateBootstrapAgentOK() *BootstrapUpdateBootstrapAgentOK {
|
||||
return &BootstrapUpdateBootstrapAgentOK{}
|
||||
}
|
||||
|
||||
/* BootstrapUpdateBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
BootstrapUpdateBootstrapAgentOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -96,7 +97,8 @@ func NewBootstrapUpdateBootstrapAgentForbidden() *BootstrapUpdateBootstrapAgentF
|
||||
return &BootstrapUpdateBootstrapAgentForbidden{}
|
||||
}
|
||||
|
||||
/* BootstrapUpdateBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
BootstrapUpdateBootstrapAgentForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -126,7 +128,8 @@ func NewBootstrapUpdateBootstrapAgentNotFound() *BootstrapUpdateBootstrapAgentNo
|
||||
return &BootstrapUpdateBootstrapAgentNotFound{}
|
||||
}
|
||||
|
||||
/* BootstrapUpdateBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
BootstrapUpdateBootstrapAgentNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -156,7 +159,8 @@ func NewBootstrapUpdateBootstrapAgentInternalServerError() *BootstrapUpdateBoots
|
||||
return &BootstrapUpdateBootstrapAgentInternalServerError{}
|
||||
}
|
||||
|
||||
/* BootstrapUpdateBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
/*
|
||||
BootstrapUpdateBootstrapAgentInternalServerError describes a response with status code 500, with default header values.
|
||||
|
||||
Returned for internal server error
|
||||
*/
|
||||
@@ -188,7 +192,8 @@ func NewBootstrapUpdateBootstrapAgentDefault(code int) *BootstrapUpdateBootstrap
|
||||
}
|
||||
}
|
||||
|
||||
/* BootstrapUpdateBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
BootstrapUpdateBootstrapAgentDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -34,7 +34,7 @@ type ClientService interface {
|
||||
}
|
||||
|
||||
/*
|
||||
ClusterAuthorizationGetUserAuthorization cluster authorization get user authorization API
|
||||
ClusterAuthorizationGetUserAuthorization cluster authorization get user authorization API
|
||||
*/
|
||||
func (a *Client) ClusterAuthorizationGetUserAuthorization(params *ClusterAuthorizationGetUserAuthorizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClusterAuthorizationGetUserAuthorizationOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
|
||||
@@ -52,10 +52,12 @@ func NewClusterAuthorizationGetUserAuthorizationParamsWithHTTPClient(client *htt
|
||||
}
|
||||
}
|
||||
|
||||
/* ClusterAuthorizationGetUserAuthorizationParams contains all the parameters to send to the API endpoint
|
||||
for the cluster authorization get user authorization operation.
|
||||
/*
|
||||
ClusterAuthorizationGetUserAuthorizationParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the cluster authorization get user authorization operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type ClusterAuthorizationGetUserAuthorizationParams struct {
|
||||
|
||||
|
||||
@@ -58,7 +58,8 @@ func NewClusterAuthorizationGetUserAuthorizationOK() *ClusterAuthorizationGetUse
|
||||
return &ClusterAuthorizationGetUserAuthorizationOK{}
|
||||
}
|
||||
|
||||
/* ClusterAuthorizationGetUserAuthorizationOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
ClusterAuthorizationGetUserAuthorizationOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -90,7 +91,8 @@ func NewClusterAuthorizationGetUserAuthorizationForbidden() *ClusterAuthorizatio
|
||||
return &ClusterAuthorizationGetUserAuthorizationForbidden{}
|
||||
}
|
||||
|
||||
/* ClusterAuthorizationGetUserAuthorizationForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
ClusterAuthorizationGetUserAuthorizationForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -120,7 +122,8 @@ func NewClusterAuthorizationGetUserAuthorizationNotFound() *ClusterAuthorization
|
||||
return &ClusterAuthorizationGetUserAuthorizationNotFound{}
|
||||
}
|
||||
|
||||
/* ClusterAuthorizationGetUserAuthorizationNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
ClusterAuthorizationGetUserAuthorizationNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -152,7 +155,8 @@ func NewClusterAuthorizationGetUserAuthorizationDefault(code int) *ClusterAuthor
|
||||
}
|
||||
}
|
||||
|
||||
/* ClusterAuthorizationGetUserAuthorizationDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
ClusterAuthorizationGetUserAuthorizationDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,7 @@ type ClientService interface {
|
||||
}
|
||||
|
||||
/*
|
||||
KubectlClusterSettingsGetKubectlClusterSettings kubectl cluster settings get kubectl cluster settings API
|
||||
KubectlClusterSettingsGetKubectlClusterSettings kubectl cluster settings get kubectl cluster settings API
|
||||
*/
|
||||
func (a *Client) KubectlClusterSettingsGetKubectlClusterSettings(params *KubectlClusterSettingsGetKubectlClusterSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KubectlClusterSettingsGetKubectlClusterSettingsOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
@@ -74,7 +74,7 @@ func (a *Client) KubectlClusterSettingsGetKubectlClusterSettings(params *Kubectl
|
||||
}
|
||||
|
||||
/*
|
||||
KubectlClusterSettingsUpdateKubectlClusterSettings kubectl cluster settings update kubectl cluster settings API
|
||||
KubectlClusterSettingsUpdateKubectlClusterSettings kubectl cluster settings update kubectl cluster settings API
|
||||
*/
|
||||
func (a *Client) KubectlClusterSettingsUpdateKubectlClusterSettings(params *KubectlClusterSettingsUpdateKubectlClusterSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KubectlClusterSettingsUpdateKubectlClusterSettingsOK, error) {
|
||||
// TODO: Validate the params before sending
|
||||
|
||||
@@ -53,10 +53,12 @@ func NewKubectlClusterSettingsGetKubectlClusterSettingsParamsWithHTTPClient(clie
|
||||
}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsGetKubectlClusterSettingsParams contains all the parameters to send to the API endpoint
|
||||
for the kubectl cluster settings get kubectl cluster settings operation.
|
||||
/*
|
||||
KubectlClusterSettingsGetKubectlClusterSettingsParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the kubectl cluster settings get kubectl cluster settings operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type KubectlClusterSettingsGetKubectlClusterSettingsParams struct {
|
||||
|
||||
|
||||
@@ -58,7 +58,8 @@ func NewKubectlClusterSettingsGetKubectlClusterSettingsOK() *KubectlClusterSetti
|
||||
return &KubectlClusterSettingsGetKubectlClusterSettingsOK{}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsGetKubectlClusterSettingsOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsGetKubectlClusterSettingsOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -90,7 +91,8 @@ func NewKubectlClusterSettingsGetKubectlClusterSettingsForbidden() *KubectlClust
|
||||
return &KubectlClusterSettingsGetKubectlClusterSettingsForbidden{}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsGetKubectlClusterSettingsForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsGetKubectlClusterSettingsForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -120,7 +122,8 @@ func NewKubectlClusterSettingsGetKubectlClusterSettingsNotFound() *KubectlCluste
|
||||
return &KubectlClusterSettingsGetKubectlClusterSettingsNotFound{}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsGetKubectlClusterSettingsNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsGetKubectlClusterSettingsNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -152,7 +155,8 @@ func NewKubectlClusterSettingsGetKubectlClusterSettingsDefault(code int) *Kubect
|
||||
}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsGetKubectlClusterSettingsDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsGetKubectlClusterSettingsDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -54,10 +54,12 @@ func NewKubectlClusterSettingsUpdateKubectlClusterSettingsParamsWithHTTPClient(c
|
||||
}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsUpdateKubectlClusterSettingsParams contains all the parameters to send to the API endpoint
|
||||
for the kubectl cluster settings update kubectl cluster settings operation.
|
||||
/*
|
||||
KubectlClusterSettingsUpdateKubectlClusterSettingsParams contains all the parameters to send to the API endpoint
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
for the kubectl cluster settings update kubectl cluster settings operation.
|
||||
|
||||
Typically these are written to a http.Request.
|
||||
*/
|
||||
type KubectlClusterSettingsUpdateKubectlClusterSettingsParams struct {
|
||||
|
||||
|
||||
@@ -58,7 +58,8 @@ func NewKubectlClusterSettingsUpdateKubectlClusterSettingsOK() *KubectlClusterSe
|
||||
return &KubectlClusterSettingsUpdateKubectlClusterSettingsOK{}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsUpdateKubectlClusterSettingsOK describes a response with status code 200, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsUpdateKubectlClusterSettingsOK describes a response with status code 200, with default header values.
|
||||
|
||||
A successful response.
|
||||
*/
|
||||
@@ -88,7 +89,8 @@ func NewKubectlClusterSettingsUpdateKubectlClusterSettingsForbidden() *KubectlCl
|
||||
return &KubectlClusterSettingsUpdateKubectlClusterSettingsForbidden{}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsUpdateKubectlClusterSettingsForbidden describes a response with status code 403, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsUpdateKubectlClusterSettingsForbidden describes a response with status code 403, with default header values.
|
||||
|
||||
Returned when the user does not have permission to access the resource.
|
||||
*/
|
||||
@@ -118,7 +120,8 @@ func NewKubectlClusterSettingsUpdateKubectlClusterSettingsNotFound() *KubectlClu
|
||||
return &KubectlClusterSettingsUpdateKubectlClusterSettingsNotFound{}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsUpdateKubectlClusterSettingsNotFound describes a response with status code 404, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsUpdateKubectlClusterSettingsNotFound describes a response with status code 404, with default header values.
|
||||
|
||||
Returned when the resource does not exist.
|
||||
*/
|
||||
@@ -150,7 +153,8 @@ func NewKubectlClusterSettingsUpdateKubectlClusterSettingsDefault(code int) *Kub
|
||||
}
|
||||
}
|
||||
|
||||
/* KubectlClusterSettingsUpdateKubectlClusterSettingsDefault describes a response with status code -1, with default header values.
|
||||
/*
|
||||
KubectlClusterSettingsUpdateKubectlClusterSettingsDefault describes a response with status code -1, with default header values.
|
||||
|
||||
An unexpected error response.
|
||||
*/
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,6 +74,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -260,6 +274,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -398,6 +426,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,196 +75,15 @@
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
"in": "query",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.partner",
|
||||
"description": "Partner\n\nPartner to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.id",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.urlScope",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.createdAt",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
{
|
||||
"name": "metadata.modifiedAt",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
{
|
||||
"name": "filter.type",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.user",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.client",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.timefrom",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.portal",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.cluster",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.namespace",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.kind",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.method",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.projects",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "multi"
|
||||
},
|
||||
{
|
||||
"name": "filter.queryString",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.dashboardData",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "filter.clusterNames",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "multi"
|
||||
},
|
||||
{
|
||||
"name": "auditType",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"RelayAuditService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/event/v1/relayaudit": {
|
||||
"get": {
|
||||
"operationId": "RelayAuditService_GetRelayAPIAuditByProjects",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1RelayAuditResponse"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Returned when the user does not have permission to access the resource.",
|
||||
"schema": {}
|
||||
},
|
||||
"404": {
|
||||
"description": "Returned when the resource does not exist.",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"format": "string"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/googlerpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "metadata.name",
|
||||
"description": "Name\n\nname of the resource",
|
||||
"in": "query",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.displayName",
|
||||
"description": "Display Name\n\ndisplay name of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.description",
|
||||
"description": "Description\n\ndescription of the resource",
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -472,197 +291,15 @@
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
"in": "query",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.partner",
|
||||
"description": "Partner\n\nPartner to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.id",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.createdAt",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
{
|
||||
"name": "metadata.modifiedAt",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
{
|
||||
"name": "filter.type",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.user",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.client",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.timefrom",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.portal",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.cluster",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.namespace",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.kind",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.method",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.projects",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "multi"
|
||||
},
|
||||
{
|
||||
"name": "filter.queryString",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "filter.dashboardData",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "filter.clusterNames",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "multi"
|
||||
},
|
||||
{
|
||||
"name": "auditType",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"RelayAuditService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/event/v1/{metadata.urlScope}/relayaudit": {
|
||||
"get": {
|
||||
"operationId": "RelayAuditService_GetRelayAPIAudit",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1RelayAuditResponse"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Returned when the user does not have permission to access the resource.",
|
||||
"schema": {}
|
||||
},
|
||||
"404": {
|
||||
"description": "Returned when the resource does not exist.",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"format": "string"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/googlerpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "metadata.urlScope",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"pattern": "project/[^/]+"
|
||||
},
|
||||
{
|
||||
"name": "metadata.name",
|
||||
"description": "Name\n\nname of the resource",
|
||||
"in": "query",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.displayName",
|
||||
"description": "Display Name\n\ndisplay name of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.description",
|
||||
"description": "Description\n\ndescription of the resource",
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -821,6 +458,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1000,12 +638,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -104,6 +104,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -293,6 +307,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -636,6 +664,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -956,6 +998,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1143,6 +1186,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Role",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1202,12 +1246,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -111,6 +111,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "count",
|
||||
"in": "query",
|
||||
@@ -296,6 +310,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -483,6 +498,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3RolePermission",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -523,12 +539,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -257,6 +257,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
@@ -704,6 +718,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
@@ -1304,6 +1332,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
@@ -1763,6 +1805,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "count",
|
||||
"in": "query",
|
||||
@@ -1948,6 +2004,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -2215,6 +2272,7 @@
|
||||
"nodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ClusterNode"
|
||||
},
|
||||
"description": "Override selector of the cluster",
|
||||
@@ -2223,6 +2281,7 @@
|
||||
"projects": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ProjectCluster"
|
||||
},
|
||||
"description": "Override selector of the cluster",
|
||||
@@ -2262,6 +2321,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Cluster",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -2304,6 +2364,7 @@
|
||||
"taints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v1Taint"
|
||||
}
|
||||
}
|
||||
@@ -2327,6 +2388,7 @@
|
||||
"conditions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v1NodeCondition"
|
||||
}
|
||||
},
|
||||
@@ -2345,6 +2407,7 @@
|
||||
"ips": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ClusterNodeIP"
|
||||
}
|
||||
}
|
||||
@@ -2407,6 +2470,7 @@
|
||||
"conditions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ClusterCondition"
|
||||
},
|
||||
"description": "Override selector of the cluster",
|
||||
@@ -2791,12 +2855,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -121,6 +121,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -143,6 +144,9 @@
|
||||
},
|
||||
"displayName": {
|
||||
"type": "string"
|
||||
},
|
||||
"project": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -186,12 +190,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
},
|
||||
{
|
||||
"name": "apiVersion",
|
||||
"description": "API Version. API Version of the resource",
|
||||
"description": "API Version\n\nAPI Version of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -71,7 +71,7 @@
|
||||
},
|
||||
{
|
||||
"name": "kind",
|
||||
"description": "Kind. Kind of the resource",
|
||||
"description": "Kind\n\nKind of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -79,35 +79,49 @@
|
||||
},
|
||||
{
|
||||
"name": "metadata.displayName",
|
||||
"description": "Display Name. display name of the resource",
|
||||
"description": "Display Name\n\ndisplay name of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.description",
|
||||
"description": "Description. description of the resource",
|
||||
"description": "Description\n\ndescription of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project. Project of the resource",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization. Organization to which the resource belongs",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.partner",
|
||||
"description": "Partner. Partner to which the resource belongs",
|
||||
"description": "Partner\n\nPartner to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -202,7 +216,102 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sentryBootstrapInfra"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"default": "infra.k8smgmt.io/v3",
|
||||
"description": "API Version of the resource",
|
||||
"title": "API Version",
|
||||
"readOnly": true
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"default": "BootstrapInfra",
|
||||
"description": "Kind of the resource",
|
||||
"title": "Kind",
|
||||
"readOnly": true
|
||||
},
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"example": {
|
||||
"name": "some-name",
|
||||
"project": "defaultproject"
|
||||
},
|
||||
"properties": {
|
||||
"displayName": {
|
||||
"type": "string",
|
||||
"description": "display name of the resource",
|
||||
"title": "Display Name"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "description of the resource",
|
||||
"title": "Description"
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "labels of the resource",
|
||||
"title": "Labels"
|
||||
},
|
||||
"annotations": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "annotations of the resource",
|
||||
"title": "Annotations"
|
||||
},
|
||||
"project": {
|
||||
"type": "string",
|
||||
"description": "Project of the resource",
|
||||
"title": "Project"
|
||||
},
|
||||
"organization": {
|
||||
"type": "string",
|
||||
"description": "Organization to which the resource belongs",
|
||||
"title": "Organization"
|
||||
},
|
||||
"partner": {
|
||||
"type": "string",
|
||||
"description": "Partner to which the resource belongs",
|
||||
"title": "Partner"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"urlScope": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"description": "metadata of the resource",
|
||||
"title": "Metadata"
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "#/definitions/sentryBootstrapInfraSpec"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/sentryBootstrapInfraStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"project"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -243,21 +352,21 @@
|
||||
"parameters": [
|
||||
{
|
||||
"name": "q",
|
||||
"description": "query for filtering.",
|
||||
"description": "query for filtering",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).",
|
||||
"description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "selector",
|
||||
"description": "selector is used to filter the labels of a resource.",
|
||||
"description": "selector is used to filter the labels of a resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -294,7 +403,21 @@
|
||||
},
|
||||
{
|
||||
"name": "displayName",
|
||||
"description": "displayName only used for update queries to set displayName (READONLY).",
|
||||
"description": "displayName only used for update queries to set displayName (READONLY)",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -322,14 +445,14 @@
|
||||
},
|
||||
{
|
||||
"name": "ignoreScopeDefault",
|
||||
"description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.",
|
||||
"description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "globalScope",
|
||||
"description": "globalScope sets partnerID,organizationID,projectID = 0.",
|
||||
"description": "globalScope sets partnerID,organizationID,projectID = 0",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
@@ -360,7 +483,7 @@
|
||||
},
|
||||
{
|
||||
"name": "urlScope",
|
||||
"description": "urlScope is supposed to be passed in the URL as kind/HashID(value).",
|
||||
"description": "urlScope is supposed to be passed in the URL as kind/HashID(value)",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -419,7 +542,7 @@
|
||||
},
|
||||
{
|
||||
"name": "type",
|
||||
"description": "generic way to specify a type of resource, mainly for use in users endpoint.",
|
||||
"description": "generic way to specify a type of resource, mainly for use in users endpoint",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -469,7 +592,7 @@
|
||||
},
|
||||
{
|
||||
"name": "apiVersion",
|
||||
"description": "API Version. API Version of the resource",
|
||||
"description": "API Version\n\nAPI Version of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -477,7 +600,7 @@
|
||||
},
|
||||
{
|
||||
"name": "kind",
|
||||
"description": "Kind. Kind of the resource",
|
||||
"description": "Kind\n\nKind of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -485,35 +608,49 @@
|
||||
},
|
||||
{
|
||||
"name": "metadata.displayName",
|
||||
"description": "Display Name. display name of the resource",
|
||||
"description": "Display Name\n\ndisplay name of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.description",
|
||||
"description": "Description. description of the resource",
|
||||
"description": "Description\n\ndescription of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project. Project of the resource",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization. Organization to which the resource belongs",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.partner",
|
||||
"description": "Partner. Partner to which the resource belongs",
|
||||
"description": "Partner\n\nPartner to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -645,7 +782,102 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sentryBootstrapAgentTemplate"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"default": "infra.k8smgmt.io/v3",
|
||||
"description": "API Version of the resource",
|
||||
"title": "API Version",
|
||||
"readOnly": true
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"default": "BootstrapAgentTemplate",
|
||||
"description": "Kind of the resource",
|
||||
"title": "Kind",
|
||||
"readOnly": true
|
||||
},
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"example": {
|
||||
"name": "some-name",
|
||||
"project": "defaultproject"
|
||||
},
|
||||
"properties": {
|
||||
"displayName": {
|
||||
"type": "string",
|
||||
"description": "display name of the resource",
|
||||
"title": "Display Name"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "description of the resource",
|
||||
"title": "Description"
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "labels of the resource",
|
||||
"title": "Labels"
|
||||
},
|
||||
"annotations": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "annotations of the resource",
|
||||
"title": "Annotations"
|
||||
},
|
||||
"project": {
|
||||
"type": "string",
|
||||
"description": "Project of the resource",
|
||||
"title": "Project"
|
||||
},
|
||||
"organization": {
|
||||
"type": "string",
|
||||
"description": "Organization to which the resource belongs",
|
||||
"title": "Organization"
|
||||
},
|
||||
"partner": {
|
||||
"type": "string",
|
||||
"description": "Partner to which the resource belongs",
|
||||
"title": "Partner"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"urlScope": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"description": "metadata of the resource",
|
||||
"title": "Metadata"
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "#/definitions/sentryBootstrapAgentTemplateSpec"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/sentryBootstrapAgentTemplateStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"project"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -696,7 +928,42 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sentryBootstrapAgent"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"default": "infra.k8smgmt.io/v3",
|
||||
"description": "API Version of the resource",
|
||||
"title": "API Version",
|
||||
"readOnly": true
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"default": "BootstrapAgent",
|
||||
"description": "Kind of the resource",
|
||||
"title": "Kind",
|
||||
"readOnly": true
|
||||
},
|
||||
"metadata": {
|
||||
"$ref": "#/definitions/v3Metadata",
|
||||
"description": "Metadata of the resource",
|
||||
"title": "Metadata"
|
||||
},
|
||||
"spec": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
"agentMode": {
|
||||
"$ref": "#/definitions/sentryBootstrapAgentMode"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/sentryBootStrapAgentStatus"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -751,7 +1018,7 @@
|
||||
},
|
||||
{
|
||||
"name": "apiVersion",
|
||||
"description": "API Version. API Version of the resource",
|
||||
"description": "API Version\n\nAPI Version of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -759,7 +1026,7 @@
|
||||
},
|
||||
{
|
||||
"name": "kind",
|
||||
"description": "Kind. Kind of the resource",
|
||||
"description": "Kind\n\nKind of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -767,35 +1034,49 @@
|
||||
},
|
||||
{
|
||||
"name": "metadata.displayName",
|
||||
"description": "Display Name. display name of the resource",
|
||||
"description": "Display Name\n\ndisplay name of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.description",
|
||||
"description": "Description. description of the resource",
|
||||
"description": "Description\n\ndescription of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project. Project of the resource",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization. Organization to which the resource belongs",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.partner",
|
||||
"description": "Partner. Partner to which the resource belongs",
|
||||
"description": "Partner\n\nPartner to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -925,7 +1206,7 @@
|
||||
},
|
||||
{
|
||||
"name": "apiVersion",
|
||||
"description": "API Version. API Version of the resource",
|
||||
"description": "API Version\n\nAPI Version of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -933,7 +1214,7 @@
|
||||
},
|
||||
{
|
||||
"name": "kind",
|
||||
"description": "Kind. Kind of the resource",
|
||||
"description": "Kind\n\nKind of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -941,35 +1222,49 @@
|
||||
},
|
||||
{
|
||||
"name": "metadata.displayName",
|
||||
"description": "Display Name. display name of the resource",
|
||||
"description": "Display Name\n\ndisplay name of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.description",
|
||||
"description": "Description. description of the resource",
|
||||
"description": "Description\n\ndescription of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project. Project of the resource",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization. Organization to which the resource belongs",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.partner",
|
||||
"description": "Partner. Partner to which the resource belongs",
|
||||
"description": "Partner\n\nPartner to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -1102,7 +1397,110 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sentryBootstrapAgent"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"default": "infra.k8smgmt.io/v3",
|
||||
"description": "API Version of the resource",
|
||||
"title": "API Version",
|
||||
"readOnly": true
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"default": "BootstrapAgent",
|
||||
"description": "Kind of the resource",
|
||||
"title": "Kind",
|
||||
"readOnly": true
|
||||
},
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"example": {
|
||||
"name": "some-name",
|
||||
"project": "defaultproject"
|
||||
},
|
||||
"properties": {
|
||||
"displayName": {
|
||||
"type": "string",
|
||||
"description": "display name of the resource",
|
||||
"title": "Display Name"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "description of the resource",
|
||||
"title": "Description"
|
||||
},
|
||||
"labels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "labels of the resource",
|
||||
"title": "Labels"
|
||||
},
|
||||
"annotations": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "annotations of the resource",
|
||||
"title": "Annotations"
|
||||
},
|
||||
"project": {
|
||||
"type": "string",
|
||||
"description": "Project of the resource",
|
||||
"title": "Project"
|
||||
},
|
||||
"organization": {
|
||||
"type": "string",
|
||||
"description": "Organization to which the resource belongs",
|
||||
"title": "Organization"
|
||||
},
|
||||
"partner": {
|
||||
"type": "string",
|
||||
"description": "Partner to which the resource belongs",
|
||||
"title": "Partner"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"urlScope": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"description": "metadata of the resource",
|
||||
"title": "Metadata"
|
||||
},
|
||||
"spec": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
"agentMode": {
|
||||
"$ref": "#/definitions/sentryBootstrapAgentMode"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/sentryBootStrapAgentStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"project"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1157,7 +1555,7 @@
|
||||
},
|
||||
{
|
||||
"name": "apiVersion",
|
||||
"description": "API Version. API Version of the resource",
|
||||
"description": "API Version\n\nAPI Version of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -1165,7 +1563,7 @@
|
||||
},
|
||||
{
|
||||
"name": "kind",
|
||||
"description": "Kind. Kind of the resource",
|
||||
"description": "Kind\n\nKind of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
@@ -1173,35 +1571,49 @@
|
||||
},
|
||||
{
|
||||
"name": "metadata.displayName",
|
||||
"description": "Display Name. display name of the resource",
|
||||
"description": "Display Name\n\ndisplay name of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.description",
|
||||
"description": "Description. description of the resource",
|
||||
"description": "Description\n\ndescription of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project. Project of the resource",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.organization",
|
||||
"description": "Organization. Organization to which the resource belongs",
|
||||
"description": "Organization\n\nOrganization to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.partner",
|
||||
"description": "Partner. Partner to which the resource belongs",
|
||||
"description": "Partner\n\nPartner to which the resource belongs",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -1326,21 +1738,21 @@
|
||||
},
|
||||
{
|
||||
"name": "opts.q",
|
||||
"description": "query for filtering.",
|
||||
"description": "query for filtering",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.name",
|
||||
"description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).",
|
||||
"description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.selector",
|
||||
"description": "selector is used to filter the labels of a resource.",
|
||||
"description": "selector is used to filter the labels of a resource",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -1377,7 +1789,21 @@
|
||||
},
|
||||
{
|
||||
"name": "opts.displayName",
|
||||
"description": "displayName only used for update queries to set displayName (READONLY).",
|
||||
"description": "displayName only used for update queries to set displayName (READONLY)",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -1405,14 +1831,14 @@
|
||||
},
|
||||
{
|
||||
"name": "opts.ignoreScopeDefault",
|
||||
"description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.",
|
||||
"description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "opts.globalScope",
|
||||
"description": "globalScope sets partnerID,organizationID,projectID = 0.",
|
||||
"description": "globalScope sets partnerID,organizationID,projectID = 0",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
@@ -1443,7 +1869,7 @@
|
||||
},
|
||||
{
|
||||
"name": "opts.urlScope",
|
||||
"description": "urlScope is supposed to be passed in the URL as kind/HashID(value).",
|
||||
"description": "urlScope is supposed to be passed in the URL as kind/HashID(value)",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -1502,7 +1928,7 @@
|
||||
},
|
||||
{
|
||||
"name": "opts.type",
|
||||
"description": "generic way to specify a type of resource, mainly for use in users endpoint.",
|
||||
"description": "generic way to specify a type of resource, mainly for use in users endpoint",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
@@ -1600,6 +2026,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1704,6 +2131,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sentryBootstrapAgent"
|
||||
}
|
||||
}
|
||||
@@ -1798,6 +2226,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sentryBootstrapAgentTemplate"
|
||||
}
|
||||
}
|
||||
@@ -1827,6 +2256,7 @@
|
||||
"hosts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sentryBootstrapTemplateHost"
|
||||
}
|
||||
},
|
||||
@@ -2165,12 +2595,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -112,6 +112,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -152,42 +153,49 @@
|
||||
"clusterRoles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/controllerStepObject"
|
||||
}
|
||||
},
|
||||
"clusterRoleBindings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/controllerStepObject"
|
||||
}
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/controllerStepObject"
|
||||
}
|
||||
},
|
||||
"roleBindings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/controllerStepObject"
|
||||
}
|
||||
},
|
||||
"deleteClusterRoleBindings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/controllerStepObject"
|
||||
}
|
||||
},
|
||||
"deleteRoleBindings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/controllerStepObject"
|
||||
}
|
||||
},
|
||||
"namespaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/controllerStepObject"
|
||||
}
|
||||
},
|
||||
@@ -308,6 +316,7 @@
|
||||
"ownerReferences": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v1OwnerReference"
|
||||
},
|
||||
"title": "List of objects depended by this object. If ALL objects in the list have\nbeen deleted, this object will be garbage collected. If this object is managed by a controller,\nthen an entry in this list will point to this controller, with the controller field set to true.\nThere cannot be more than one managing controller.\n+optional\n+patchMergeKey=uid\n+patchStrategy=merge"
|
||||
@@ -326,6 +335,7 @@
|
||||
"managedFields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v1ManagedFieldsEntry"
|
||||
},
|
||||
"description": "ManagedFields maps workflow-id and version to the set of fields\nthat are managed by that workflow. This is mostly for internal\nhousekeeping, and users typically shouldn't need to set or\nunderstand this field. A workflow can be the user's name, a\ncontroller's name, or the name of a specific apply path like\n\"ci-cd\". The set of fields is always in the version that the\nworkflow used when modifying the object.\n\n+optional"
|
||||
@@ -396,12 +406,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -111,6 +111,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -341,6 +355,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -614,6 +642,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -846,6 +888,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -1253,6 +1309,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -1660,6 +1730,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -2052,6 +2136,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -2379,6 +2477,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -2585,12 +2684,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -119,6 +119,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "opts.count",
|
||||
"in": "query",
|
||||
@@ -429,6 +443,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -592,12 +607,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -66,6 +67,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/rpcRelayClusterConnectionInfo"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,6 +169,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -405,6 +419,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -778,6 +806,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -870,6 +899,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Idp",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1039,12 +1069,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -97,6 +97,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -481,6 +495,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -708,6 +736,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -1070,6 +1112,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1182,6 +1225,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Metro",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1349,12 +1393,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -169,6 +169,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -275,6 +289,13 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "spec.requestedClaims",
|
||||
"description": "JSON object",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"name": "spec.predefined",
|
||||
"in": "query",
|
||||
@@ -398,6 +419,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -504,6 +539,13 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "spec.requestedClaims",
|
||||
"description": "JSON object",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"name": "spec.predefined",
|
||||
"in": "query",
|
||||
@@ -764,6 +806,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -961,6 +1004,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3OIDCProvider",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1037,12 +1081,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -258,6 +258,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -544,6 +558,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -984,6 +1012,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -1249,6 +1291,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1462,6 +1505,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Organization",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1583,12 +1627,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -169,6 +169,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -293,6 +307,13 @@
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "spec.settings",
|
||||
"description": "Settings\n\nSettings of the partner",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"name": "status.conditionType",
|
||||
"description": "Condition Type\n\ntype of the status condition",
|
||||
@@ -403,6 +424,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -527,6 +562,13 @@
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "spec.settings",
|
||||
"description": "Settings\n\nSettings of the partner",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"name": "status.conditionType",
|
||||
"description": "Condition Type\n\ntype of the status condition",
|
||||
@@ -777,6 +819,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1016,12 +1059,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -267,6 +267,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -431,6 +445,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -751,6 +779,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -887,6 +929,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1078,6 +1121,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Project",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1126,6 +1170,7 @@
|
||||
"projectNamespaceRoles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ProjectNamespaceRole"
|
||||
},
|
||||
"description": "Project, namespace, role associations with groups",
|
||||
@@ -1134,6 +1179,7 @@
|
||||
"userRoles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3UserRole"
|
||||
},
|
||||
"description": "List of users with roles assigned to projects",
|
||||
@@ -1182,12 +1228,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -104,6 +104,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -279,6 +293,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -776,6 +804,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "count",
|
||||
"in": "query",
|
||||
@@ -961,6 +1003,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1051,6 +1094,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Group",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1068,6 +1112,7 @@
|
||||
"projectNamespaceRoles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ProjectNamespaceRole"
|
||||
},
|
||||
"description": "Project, namespace, role associations for group",
|
||||
@@ -1231,12 +1276,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -209,6 +209,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -453,6 +467,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -982,6 +1010,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.labels",
|
||||
"description": "Labels\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.annotations",
|
||||
"description": "Annotations\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "metadata.project",
|
||||
"description": "Project\n\nProject of the resource",
|
||||
@@ -1245,6 +1287,20 @@
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "labels",
|
||||
"description": "labels only used for update queries to set labels (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "annotations",
|
||||
"description": "annotations only used for update queries to set annotations (READONLY)\n\nThis is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "count",
|
||||
"in": "query",
|
||||
@@ -1476,6 +1532,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -1835,6 +1892,7 @@
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3Permission"
|
||||
},
|
||||
"description": "Permissions for the user",
|
||||
@@ -1887,6 +1945,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3User",
|
||||
"readOnly": true
|
||||
},
|
||||
@@ -1904,6 +1963,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ApiKeyResponse"
|
||||
}
|
||||
}
|
||||
@@ -1964,6 +2024,7 @@
|
||||
"projectNamespaceRoles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ProjectNamespaceRole"
|
||||
},
|
||||
"description": "Project, namespace, role associations for user",
|
||||
@@ -2019,12 +2080,10 @@
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"ApiKeyAuth": [],
|
||||
"ApiTokenAuth": []
|
||||
"ApiTokenAuth": [],
|
||||
"BasicAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
@@ -99,6 +100,7 @@
|
||||
"list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3ProjectRole"
|
||||
}
|
||||
}
|
||||
@@ -224,6 +226,7 @@
|
||||
"namespaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/v3NamespaceData"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,16 +12,7 @@
|
||||
],
|
||||
"paths": {},
|
||||
"definitions": {
|
||||
"protobufAny": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"@type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {}
|
||||
},
|
||||
"rpcStatus": {
|
||||
"googlerpcStatus": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
@@ -34,10 +25,20 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"protobufAny": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"@type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
4
go.mod
4
go.mod
@@ -1,6 +1,6 @@
|
||||
module github.com/paralus/paralus
|
||||
|
||||
go 1.17
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/DATA-DOG/go-sqlmock v1.5.0
|
||||
@@ -11,7 +11,6 @@ require (
|
||||
github.com/dgraph-io/ristretto v0.1.0
|
||||
github.com/elastic/go-elasticsearch v0.0.0
|
||||
github.com/evanphx/json-patch v4.12.0+incompatible
|
||||
github.com/fdaines/go-architect-lib v1.0.1
|
||||
github.com/go-openapi/errors v0.20.2
|
||||
github.com/go-openapi/runtime v0.23.1
|
||||
github.com/go-openapi/strfmt v0.21.2
|
||||
@@ -132,7 +131,6 @@ require (
|
||||
go.uber.org/atomic v1.9.0 // indirect
|
||||
go.uber.org/multierr v1.6.0 // indirect
|
||||
golang.org/x/crypto v0.3.0 // indirect
|
||||
golang.org/x/mod v0.7.0 // indirect
|
||||
golang.org/x/net v0.7.0 // indirect
|
||||
golang.org/x/oauth2 v0.2.0 // indirect
|
||||
golang.org/x/sys v0.5.0 // indirect
|
||||
|
||||
34
go.sum
34
go.sum
@@ -77,24 +77,20 @@ github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible h1
|
||||
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
|
||||
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
|
||||
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
|
||||
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
|
||||
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ=
|
||||
github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c=
|
||||
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
|
||||
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8=
|
||||
github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
|
||||
github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI=
|
||||
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
|
||||
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
|
||||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=
|
||||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
|
||||
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
|
||||
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
||||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
||||
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
|
||||
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
|
||||
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
|
||||
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
|
||||
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
|
||||
github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY=
|
||||
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
|
||||
@@ -102,7 +98,6 @@ github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmV
|
||||
github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc=
|
||||
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
|
||||
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
|
||||
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
|
||||
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
|
||||
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
|
||||
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d h1:Byv0BzEl3/e6D5CLfI0j/7hiIEtvGVFPCZ7Ei2oq8iQ=
|
||||
@@ -120,7 +115,6 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB
|
||||
github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84=
|
||||
github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
|
||||
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
|
||||
github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
|
||||
github.com/casbin/casbin/v2 v2.37.4/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg=
|
||||
github.com/casbin/casbin/v2 v2.40.6 h1:Fy8UmYaLst1zjyQ7Uw/Kq9Vxgyk91EtZO/cUUSm3kpQ=
|
||||
github.com/casbin/casbin/v2 v2.40.6/go.mod h1:sEL80qBYTbd+BPeL4iyvwYzFT3qwLaESq5aFKVLbLfA=
|
||||
@@ -143,7 +137,6 @@ github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp
|
||||
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
|
||||
github.com/cloudflare/cfssl v0.0.0-20190726000631-633726f6bcb7 h1:Puu1hUwfps3+1CUzYdAZXijuvLuRMirgiXdf3zsM2Ig=
|
||||
github.com/cloudflare/cfssl v0.0.0-20190726000631-633726f6bcb7/go.mod h1:yMWuSON2oQp+43nFtAV/uvKQIFpSPerB57DCt9t8sSA=
|
||||
github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I=
|
||||
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
|
||||
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
|
||||
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
|
||||
@@ -200,7 +193,6 @@ github.com/elazarl/goproxy v0.0.0-20191011121108-aa519ddbe484/go.mod h1:Ro8st/El
|
||||
github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8=
|
||||
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
|
||||
github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
|
||||
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
|
||||
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
|
||||
@@ -220,8 +212,6 @@ github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5Kwzbycv
|
||||
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
|
||||
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
|
||||
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
|
||||
github.com/fdaines/go-architect-lib v1.0.1 h1:W7w1xk+PLQ2L/RKc24B3LkGkEYdgmPOZhL0XoZesnrc=
|
||||
github.com/fdaines/go-architect-lib v1.0.1/go.mod h1:oNg1a4jL9VYeaP4sfpCBG00m3BhE1LCt9sg5aS3ljOQ=
|
||||
github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
|
||||
github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
|
||||
github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
|
||||
@@ -233,11 +223,6 @@ github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSy
|
||||
github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
|
||||
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
|
||||
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
|
||||
github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
|
||||
github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E=
|
||||
github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
|
||||
github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo=
|
||||
github.com/go-git/go-git/v5 v5.5.1/go.mod h1:uz5PQ3d0gz7mSgzZhSJToM6ALPaKCdSnl58/Xb5hzr8=
|
||||
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||
@@ -536,9 +521,7 @@ github.com/jackc/pgx/v4 v4.13.0/go.mod h1:9P4X524sErlaxj0XSGZk7s+LD0eOyu1ZDUrrpz
|
||||
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
|
||||
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
|
||||
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
|
||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
|
||||
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
|
||||
github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
|
||||
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
|
||||
github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc=
|
||||
github.com/jinzhu/now v1.1.1/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8=
|
||||
@@ -567,7 +550,6 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V
|
||||
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
|
||||
github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4=
|
||||
github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA=
|
||||
github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
|
||||
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
|
||||
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
|
||||
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
|
||||
@@ -607,7 +589,6 @@ github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0
|
||||
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
|
||||
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE=
|
||||
github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0=
|
||||
github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA=
|
||||
github.com/mattermost/xml-roundtrip-validator v0.1.0 h1:RXbVD2UAl7A7nOTR4u7E3ILa4IbtvKBHw64LDsmu9hU=
|
||||
github.com/mattermost/xml-roundtrip-validator v0.1.0/go.mod h1:qccnGMcpgwcNaBnxqpJpWWUiPNr5H3O8eDgGV9gT5To=
|
||||
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
|
||||
@@ -692,7 +673,6 @@ github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCko
|
||||
github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM=
|
||||
github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
|
||||
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
|
||||
github.com/pjbgf/sha1cd v0.2.3/go.mod h1:HOK9QrgzdHpbc2Kzip0Q1yi3M2MFGPADtR6HjG65m5M=
|
||||
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
|
||||
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||
@@ -764,7 +744,6 @@ github.com/segmentio/asm v1.1.3 h1:WM03sfUOENvvKexOLp+pCqgb/WDjsi7EK8gIsICtzhc=
|
||||
github.com/segmentio/asm v1.1.3/go.mod h1:Ld3L4ZXGNcSLRg4JBsZ3//1+f/TjYl0Mzen/DQy1EJg=
|
||||
github.com/segmentio/encoding v0.3.4 h1:WM4IBnxH8B9TakiM2QD5LyNl9JSndh88QbHqVC+Pauc=
|
||||
github.com/segmentio/encoding v0.3.4/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oHAA4E3G3OxM=
|
||||
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
|
||||
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
|
||||
github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
|
||||
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
|
||||
@@ -780,7 +759,6 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd
|
||||
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
|
||||
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
||||
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
||||
github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag=
|
||||
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
|
||||
github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
|
||||
github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
|
||||
@@ -852,7 +830,6 @@ github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9
|
||||
github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc=
|
||||
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
|
||||
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
|
||||
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
|
||||
github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
|
||||
github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs=
|
||||
github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM=
|
||||
@@ -952,9 +929,6 @@ golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5y
|
||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.0.0-20220128200615-198e4374d7ed/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A=
|
||||
golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
@@ -994,7 +968,6 @@ golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
|
||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
|
||||
golang.org/x/mod v0.7.0 h1:LapD9S96VoQRhi/GrNTqeBJFrUjs5UHCAtTlgwA5oZA=
|
||||
golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
@@ -1054,7 +1027,6 @@ golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qx
|
||||
golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
||||
golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
|
||||
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
|
||||
golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
|
||||
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
|
||||
@@ -1092,7 +1064,6 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
|
||||
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
|
||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
@@ -1186,10 +1157,7 @@ golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBc
|
||||
golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
|
||||
@@ -1198,7 +1166,6 @@ golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXR
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
|
||||
golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA=
|
||||
golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY=
|
||||
@@ -1481,7 +1448,6 @@ gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
|
||||
gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
|
||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
|
||||
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
|
||||
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
|
||||
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
|
||||
@@ -28,11 +28,21 @@ func GetAuditLogAggregations(ctx context.Context, db *bun.DB, tag, field string,
|
||||
Where("tag = ?", tag).GroupExpr("data->>'un'")
|
||||
}
|
||||
case "project":
|
||||
sq.ColumnExpr("data->>'project' as key").
|
||||
Where("tag = ?", tag).GroupExpr("data->>'project'")
|
||||
if tag != audit.KUBECTL_API {
|
||||
sq.ColumnExpr("data->>'project' as key").
|
||||
Where("tag = ?", tag).GroupExpr("data->>'project'")
|
||||
} else {
|
||||
sq.ColumnExpr("data->>'pr' as key").
|
||||
Where("tag = ?", tag).GroupExpr("data->>'pr'")
|
||||
}
|
||||
case "cluster":
|
||||
sq.ColumnExpr("data->>'cn' as key").
|
||||
Where("tag = ?", tag).GroupExpr("data->>'cn'")
|
||||
if tag != audit.KUBECTL_API {
|
||||
sq.ColumnExpr("data->'detail'->'meta'->>'cluster_name' as key").
|
||||
Where("tag = ?", tag).GroupExpr("data->'detail'->'meta'->>'cluster_name'")
|
||||
} else {
|
||||
sq.ColumnExpr("data->>'cn' as key").
|
||||
Where("tag = ?", tag).GroupExpr("data->>'cn'")
|
||||
}
|
||||
case "namespace":
|
||||
sq.ColumnExpr("data->>'n' as key").
|
||||
Where("tag = ?", tag).GroupExpr("data->>'n'")
|
||||
@@ -75,11 +85,9 @@ func buildRelayAuditQuery(query *bun.SelectQuery, filters query.QueryFilters) *b
|
||||
if filters.GetUser() != "" {
|
||||
query.Where("data->>'un' = ?", filters.GetUser())
|
||||
}
|
||||
|
||||
if filters.GetKind() != "" {
|
||||
query.Where("data->>'k' = ?", filters.GetKind())
|
||||
}
|
||||
|
||||
if filters.GetMethod() != "" {
|
||||
query.Where("data->>'m' = ?", filters.GetMethod())
|
||||
}
|
||||
@@ -93,6 +101,11 @@ func buildRelayAuditQuery(query *bun.SelectQuery, filters query.QueryFilters) *b
|
||||
diff := strings.Split(filters.GetTimefrom(), "-")[1]
|
||||
query.Where("time between now() - interval ? and now()", diff)
|
||||
}
|
||||
if len(filters.GetProjects()) > 0 {
|
||||
for _, project := range filters.GetProjects() {
|
||||
query.Where("data->>'pr' = ?", project)
|
||||
}
|
||||
}
|
||||
return query
|
||||
}
|
||||
|
||||
@@ -111,6 +124,10 @@ func buildQuery(query *bun.SelectQuery, filters query.QueryFilters) *bun.SelectQ
|
||||
query.Where("data->'actor'->'account'->>'username' = ?", filters.GetUser())
|
||||
}
|
||||
|
||||
if filters.GetCluster() != "" {
|
||||
query.Where("data->'detail'->'meta'->>'cluster_name' = ?", filters.GetCluster())
|
||||
}
|
||||
|
||||
if filters.GetClient() != "" {
|
||||
query.Where("data->'client'->>'type' = ?", filters.GetClient())
|
||||
}
|
||||
|
||||
@@ -229,6 +229,32 @@ func IsOrgAdmin(ctx context.Context, db bun.IDB, accountID, partnerID uuid.UUID)
|
||||
return isOrgAdmin, nil
|
||||
}
|
||||
|
||||
func IsOrgReadOnly(ctx context.Context, db bun.IDB, accountID, organizationID uuid.UUID, partnerID uuid.UUID) (isOrgReadOnly bool, err error) {
|
||||
var aps []models.AccountPermission
|
||||
|
||||
isOrgReadOnly = false
|
||||
|
||||
err = db.NewSelect().Model(&aps).
|
||||
Where("account_id = ?", accountID).
|
||||
Where("organization_id = ?", organizationID).
|
||||
Where("partner_id = ?", partnerID).
|
||||
Where("lower(role_name) = ?", "admin_read_only").
|
||||
Where("lower(scope) = ?", "organization").
|
||||
Scan(ctx)
|
||||
if err != nil {
|
||||
return isOrgReadOnly, err
|
||||
}
|
||||
|
||||
for _, ap := range aps {
|
||||
if strings.ToLower(ap.RoleName) == "admin_read_only" && strings.ToLower(ap.Scope) == "organization" {
|
||||
isOrgReadOnly = true
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
return isOrgReadOnly, nil
|
||||
}
|
||||
|
||||
func GetAccountBasics(ctx context.Context, db bun.IDB, accountID uuid.UUID) (*models.Account, error) {
|
||||
var acc models.Account
|
||||
|
||||
|
||||
@@ -33,10 +33,11 @@ var (
|
||||
// Changes to the below code will affect the default template
|
||||
// and risks CA cert update. Once the template certs are
|
||||
// updated following situation will arise.
|
||||
// - Existing relay connections will fail, need to restart
|
||||
// agents to re-bootstrap.
|
||||
// - Existing kubeconfig will fail, need to download new
|
||||
// kubeconfig to continue
|
||||
// - Existing relay connections will fail, need to restart
|
||||
// agents to re-bootstrap.
|
||||
// - Existing kubeconfig will fail, need to download new
|
||||
// kubeconfig to continue
|
||||
//
|
||||
// This can cause issues in the case of production clusters
|
||||
// Take extra caution while modifying the code to avoid
|
||||
// unintended side effects.
|
||||
|
||||
@@ -35,4 +35,5 @@ type KratosIdentities struct {
|
||||
StateChangedAt time.Time `bun:"state_changed_at,notnull,default:current_timestamp"`
|
||||
NId uuid.UUID `bun:"nid,type:uuid,pk"`
|
||||
IdentityCredential KratosIdentityCredentials `bun:"rel:has-one,join:id=identity_id"`
|
||||
MetadataPublic map[string]interface{} `bun:"metadata_public,type:jsonb"`
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
kclient "github.com/ory/kratos-client-go"
|
||||
logv2 "github.com/paralus/paralus/pkg/log"
|
||||
)
|
||||
|
||||
// IdentityPublicMetadata is an extra information of the
|
||||
@@ -16,6 +17,9 @@ import (
|
||||
type IdentityPublicMetadata struct {
|
||||
// Indicate identity is created with auto generated password.
|
||||
ForceReset bool
|
||||
// Associated paralus partner and organization
|
||||
Organization string
|
||||
Partner string
|
||||
}
|
||||
|
||||
type kratosAuthProvider struct {
|
||||
@@ -23,9 +27,9 @@ type kratosAuthProvider struct {
|
||||
}
|
||||
type AuthProvider interface {
|
||||
// create new user
|
||||
Create(context.Context, string, map[string]interface{}, bool) (string, error) // returns id,error
|
||||
Create(context.Context, string, map[string]interface{}, IdentityPublicMetadata) (string, error) // returns id,error
|
||||
// update user
|
||||
Update(context.Context, string, map[string]interface{}, bool) error
|
||||
Update(context.Context, string, map[string]interface{}, IdentityPublicMetadata) error
|
||||
// get recovery link for user
|
||||
GetRecoveryLink(context.Context, string) (string, error)
|
||||
// delete user
|
||||
@@ -34,11 +38,13 @@ type AuthProvider interface {
|
||||
GetPublicMetadata(context.Context, string) (*IdentityPublicMetadata, error)
|
||||
}
|
||||
|
||||
var _log = logv2.GetLogger()
|
||||
|
||||
func NewKratosAuthProvider(kc *kclient.APIClient) AuthProvider {
|
||||
return &kratosAuthProvider{kc: kc}
|
||||
}
|
||||
|
||||
func (k *kratosAuthProvider) Create(ctx context.Context, password string, traits map[string]interface{}, forceReset bool) (string, error) {
|
||||
func (k *kratosAuthProvider) Create(ctx context.Context, password string, traits map[string]interface{}, metadata IdentityPublicMetadata) (string, error) {
|
||||
cib := kclient.NewCreateIdentityBody("default", traits)
|
||||
|
||||
cib.Credentials = kclient.NewIdentityWithCredentials()
|
||||
@@ -47,28 +53,29 @@ func (k *kratosAuthProvider) Create(ctx context.Context, password string, traits
|
||||
Password: kclient.PtrString(password),
|
||||
},
|
||||
})
|
||||
ipm := IdentityPublicMetadata{
|
||||
ForceReset: forceReset,
|
||||
}
|
||||
cib.SetMetadataPublic(ipm)
|
||||
cib.SetMetadataPublic(metadata)
|
||||
ir, hr, err := k.kc.IdentityApi.CreateIdentity(ctx).CreateIdentityBody(*cib).Execute()
|
||||
if err != nil {
|
||||
fmt.Println(hr)
|
||||
_log.Error("failed to create identity ", hr)
|
||||
return "", err
|
||||
}
|
||||
return ir.Id, nil
|
||||
}
|
||||
|
||||
func (k *kratosAuthProvider) Update(ctx context.Context, id string, traits map[string]interface{}, forceReset bool) error {
|
||||
func (k *kratosAuthProvider) Update(ctx context.Context, id string, traits map[string]interface{}, metadata IdentityPublicMetadata) error {
|
||||
uib := kclient.NewUpdateIdentityBody("default", "active", traits)
|
||||
ipm := IdentityPublicMetadata{
|
||||
ForceReset: forceReset,
|
||||
|
||||
ipm, err := k.GetPublicMetadata(ctx, id)
|
||||
if err != nil {
|
||||
_log.Error("failed to get identity public metadata ", err)
|
||||
return err
|
||||
}
|
||||
ipm.ForceReset = metadata.ForceReset
|
||||
uib.SetMetadataPublic(ipm)
|
||||
|
||||
_, hr, err := k.kc.IdentityApi.UpdateIdentity(ctx, id).UpdateIdentityBody(*uib).Execute()
|
||||
if err != nil {
|
||||
fmt.Println(hr)
|
||||
_log.Error("failed to update identity ", hr)
|
||||
}
|
||||
return err
|
||||
}
|
||||
@@ -106,6 +113,12 @@ func (k *kratosAuthProvider) GetPublicMetadata(ctx context.Context, id string) (
|
||||
if ok {
|
||||
ipm.ForceReset = fr
|
||||
}
|
||||
if org, ok := m["Organization"].(string); ok {
|
||||
ipm.Organization = org
|
||||
}
|
||||
if part, ok := m["Partner"].(string); ok {
|
||||
ipm.Partner = part
|
||||
}
|
||||
}
|
||||
}
|
||||
return ipm, nil
|
||||
|
||||
10
main.go
10
main.go
@@ -397,7 +397,7 @@ func setup() {
|
||||
}
|
||||
case audit.ELASTICSEARCH:
|
||||
// audit services
|
||||
aus, err = service.NewAuditLogElasticSearchService(elasticSearchUrl, esIndexPrefix+"-*", "AuditLog API: ")
|
||||
aus, err = service.NewAuditLogElasticSearchService(elasticSearchUrl, esIndexPrefix+"-*", "AuditLog API: ", db)
|
||||
if err != nil {
|
||||
if dev && strings.Contains(err.Error(), "connect: connection refused") {
|
||||
// This is primarily from ES not being available. ES being
|
||||
@@ -409,7 +409,7 @@ func setup() {
|
||||
_log.Fatalw("unable to create auditLog service", "error", err)
|
||||
}
|
||||
}
|
||||
ras, err = service.NewRelayAuditElasticSearchService(elasticSearchUrl, relayAuditsESIndexPrefix+"-*", "RelayAudit API: ")
|
||||
ras, err = service.NewRelayAuditElasticSearchService(elasticSearchUrl, relayAuditsESIndexPrefix+"-*", "RelayAudit API: ", db)
|
||||
if err != nil {
|
||||
if dev && strings.Contains(err.Error(), "connect: connection refused") {
|
||||
_log.Warn("unable to create relayAudit service: ", err)
|
||||
@@ -417,7 +417,7 @@ func setup() {
|
||||
_log.Fatalw("unable to create relayAudit service", "error", err)
|
||||
}
|
||||
}
|
||||
rcs, err = service.NewAuditLogElasticSearchService(elasticSearchUrl, relayCommandsESIndexPrefix+"-*", "RelayCommand API: ")
|
||||
rcs, err = service.NewAuditLogElasticSearchService(elasticSearchUrl, relayCommandsESIndexPrefix+"-*", "RelayCommand API: ", db)
|
||||
if err != nil {
|
||||
if dev && strings.Contains(err.Error(), "connect: connection refused") {
|
||||
_log.Warn("unable to create auditLog service:", err)
|
||||
@@ -555,7 +555,7 @@ func runRelayPeerRPC(wg *sync.WaitGroup, ctx context.Context) {
|
||||
_log.Fatalw("unable to get create relay peer service")
|
||||
}
|
||||
clusterAuthzServer := server.NewClusterAuthzServer(bs, aps, gps, krs, kcs, kss, ns)
|
||||
auditInfoServer := server.NewAuditInfoServer(bs, aps)
|
||||
auditInfoServer := server.NewAuditInfoServer(bs, aps, pps)
|
||||
|
||||
s, err := grpc.NewSecureServerWithPEM(cert, key, ca)
|
||||
if err != nil {
|
||||
@@ -600,7 +600,7 @@ func runRPC(wg *sync.WaitGroup, ctx context.Context) {
|
||||
|
||||
bootstrapServer := server.NewBootstrapServer(bs, kekFunc, cs)
|
||||
kubeConfigServer := server.NewKubeConfigServer(bs, aps, gps, kss, krs, kekFunc, ks, os, ps, auditLogger)
|
||||
auditInfoServer := server.NewAuditInfoServer(bs, aps)
|
||||
auditInfoServer := server.NewAuditInfoServer(bs, aps, pps)
|
||||
clusterAuthzServer := server.NewClusterAuthzServer(bs, aps, gps, krs, kcs, kss, ns)
|
||||
kubectlClusterSettingsServer := server.NewKubectlClusterSettingsServer(bs, kcs)
|
||||
crpc := server.NewClusterServer(cs, downloadData)
|
||||
|
||||
@@ -74,6 +74,8 @@ func (ac *authContext) authenticate(ctx context.Context, req *commonv3.IsRequest
|
||||
res.Status = commonv3.RequestStatus_RequestAllowed
|
||||
res.SessionData.Username = resp.Name
|
||||
res.SessionData.Account = resp.AccountID.String()
|
||||
res.SessionData.Organization = resp.OrganizationID.String()
|
||||
res.SessionData.Partner = resp.PartnerID.String()
|
||||
} else {
|
||||
|
||||
tsr := ac.kc.FrontendApi.ToSession(ctx).XSessionToken(req.GetXSessionToken()).Cookie(req.GetCookie())
|
||||
@@ -91,6 +93,15 @@ func (ac *authContext) authenticate(ctx context.Context, req *commonv3.IsRequest
|
||||
if session.GetActive() {
|
||||
res.Status = commonv3.RequestStatus_RequestAllowed
|
||||
res.SessionData.Account = session.Identity.GetId()
|
||||
if session.Identity.HasMetadataPublic() {
|
||||
m := session.Identity.MetadataPublic.(map[string]interface{})
|
||||
if org, ok := m["Organization"].(string); ok {
|
||||
res.SessionData.Organization = org
|
||||
}
|
||||
if part, ok := m["Partner"].(string); ok {
|
||||
res.SessionData.Partner = part
|
||||
}
|
||||
}
|
||||
|
||||
t := session.Identity.Traits.(map[string]interface{})
|
||||
res.SessionData.Username = t["email"].(string)
|
||||
|
||||
@@ -28,7 +28,7 @@ func (ac authContext) NewAuthUnaryInterceptor(opt Option) grpc.UnaryServerInterc
|
||||
}
|
||||
}
|
||||
|
||||
// We have to get the value of org, and project (namespace in
|
||||
// We have to get the value of org and project (namespace in
|
||||
// future) as we will be using this inorder to authorize the
|
||||
// user's access to different resources
|
||||
var org string
|
||||
@@ -124,7 +124,6 @@ func (ac authContext) NewAuthUnaryInterceptor(opt Option) grpc.UnaryServerInterc
|
||||
sd.ClientIp = ip
|
||||
sd.ClientHost = host
|
||||
sd.ClientUa = ua
|
||||
_log.Debug("session data ", sd)
|
||||
ctx := context.WithValue(ctx, common.SessionDataKey, sd)
|
||||
return handler(ctx, req)
|
||||
case commonv3.RequestStatus_RequestMethodOrURLNotAllowed:
|
||||
|
||||
2
pkg/gateway/testdata/test.pb.go
vendored
2
pkg/gateway/testdata/test.pb.go
vendored
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc-gen-go v1.31.0
|
||||
// protoc (unknown)
|
||||
// source: pkg/gateway/testdata/test.proto
|
||||
|
||||
|
||||
4
pkg/gateway/testdata/test.pb.gw.go
vendored
4
pkg/gateway/testdata/test.pb.gw.go
vendored
@@ -32,7 +32,7 @@ var _ = utilities.NewDoubleArray
|
||||
var _ = metadata.Join
|
||||
|
||||
var (
|
||||
filter_TestService_Get_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 3, 1, 0, 3, 0}, Check: []int{0, 1, 2, 3, 2, 5}}
|
||||
filter_TestService_Get_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 4, 6, 2, 0, 4, 0, 0, 0}, Check: []int{0, 1, 1, 2, 4, 2, 6, 3, 3}}
|
||||
)
|
||||
|
||||
func request_TestService_Get_0(ctx context.Context, marshaler runtime.Marshaler, client TestServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
@@ -158,7 +158,7 @@ func RegisterTestServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux
|
||||
// RegisterTestServiceHandlerFromEndpoint is same as RegisterTestServiceHandler but
|
||||
// automatically dials to "endpoint" and closes the connection when "ctx" gets done.
|
||||
func RegisterTestServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) {
|
||||
conn, err := grpc.Dial(endpoint, opts...)
|
||||
conn, err := grpc.DialContext(ctx, endpoint, opts...)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
10
pkg/gateway/testdata/test_grpc.pb.go
vendored
10
pkg/gateway/testdata/test_grpc.pb.go
vendored
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.2.0
|
||||
// - protoc-gen-go-grpc v1.3.0
|
||||
// - protoc (unknown)
|
||||
// source: pkg/gateway/testdata/test.proto
|
||||
|
||||
@@ -18,6 +18,10 @@ import (
|
||||
// Requires gRPC-Go v1.32.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion7
|
||||
|
||||
const (
|
||||
TestService_Get_FullMethodName = "/testdata.TestService/Get"
|
||||
)
|
||||
|
||||
// TestServiceClient is the client API for TestService 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.
|
||||
@@ -35,7 +39,7 @@ func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient {
|
||||
|
||||
func (c *testServiceClient) Get(ctx context.Context, in *TestObject, opts ...grpc.CallOption) (*TestObject, error) {
|
||||
out := new(TestObject)
|
||||
err := c.cc.Invoke(ctx, "/testdata.TestService/Get", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, TestService_Get_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -78,7 +82,7 @@ func _TestService_Get_Handler(srv interface{}, ctx context.Context, dec func(int
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/testdata.TestService/Get",
|
||||
FullMethod: TestService_Get_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(TestServiceServer).Get(ctx, req.(*TestObject))
|
||||
|
||||
@@ -47,7 +47,7 @@ func GetHash(o interface{}) (string, error) {
|
||||
|
||||
}
|
||||
|
||||
//Add adds object hash to rutime object
|
||||
// Add adds object hash to rutime object
|
||||
func Add(o metav1.Object) error {
|
||||
|
||||
hash, err := GetHash(o)
|
||||
|
||||
@@ -25,7 +25,7 @@ var (
|
||||
_log = log.GetLogger()
|
||||
)
|
||||
|
||||
//RelayClusterConnectionInfo relay conn info
|
||||
// RelayClusterConnectionInfo relay conn info
|
||||
type RelayClusterConnectionInfo struct {
|
||||
Relayuuid string
|
||||
Relayip string
|
||||
@@ -106,7 +106,7 @@ helloRPCSendLoop:
|
||||
_log.Debugw("Exit: helloRPCSendLoop")
|
||||
}
|
||||
|
||||
//ClientHelloRPC will handle periodic heartbeat messages between relay and the core service.
|
||||
// ClientHelloRPC will handle periodic heartbeat messages between relay and the core service.
|
||||
func ClientHelloRPC(ctx context.Context, stream sentryrpc.RelayPeerService_RelayPeerHelloRPCClient, interval time.Duration, relayUUID string, ip func() string) {
|
||||
|
||||
go helloRPCSend(ctx, stream, interval, relayUUID, ip)
|
||||
@@ -127,7 +127,7 @@ func ClientHelloRPC(ctx context.Context, stream sentryrpc.RelayPeerService_Relay
|
||||
_log.Debugw("stopping helloRPC routine")
|
||||
}
|
||||
|
||||
//send loop of probe rpc. recvs clustersni from PeerProbeChanel and sends to core service
|
||||
// send loop of probe rpc. recvs clustersni from PeerProbeChanel and sends to core service
|
||||
func probeRPCSend(ctx context.Context, stream sentryrpc.RelayPeerService_RelayPeerProbeRPCClient, relayUUID string, peerProbeChanel chan string) {
|
||||
probeRPCSendLoop:
|
||||
for {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user