Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type ACL
- func (o *ACL) GetCidr() string
- func (o *ACL) GetCidrOk() (*string, bool)
- func (o *ACL) GetId() string
- func (o *ACL) GetIdOk() (*string, bool)
- func (o ACL) MarshalJSON() ([]byte, error)
- func (o *ACL) SetCidr(v string)
- func (o *ACL) SetId(v string)
- func (o ACL) ToMap() (map[string]interface{}, error)
- func (o *ACL) UnmarshalJSON(data []byte) (err error)
- type APIClient
- type APIResponse
- type ApiCreateACLRequest
- type ApiCreateApproleRequest
- type ApiCreateApproleSecretIdRequest
- type ApiCreateInstanceRequest
- type ApiCreateUserRequest
- type ApiDeleteACLRequest
- type ApiDeleteApproleRequest
- type ApiDeleteApproleSecretIdRequest
- type ApiDeleteInstanceRequest
- type ApiDeleteUserRequest
- type ApiGetACLRequest
- type ApiGetApproleRequest
- type ApiGetApproleSecretIdRequest
- type ApiGetApprolesRequest
- type ApiGetInstanceRequest
- type ApiGetUserRequest
- type ApiListACLsRequest
- type ApiListApproleSecretIdsRequest
- type ApiListInstancesRequest
- type ApiListUsersRequest
- type ApiUpdateACLRequest
- type ApiUpdateACLsRequest
- type ApiUpdateApproleRequest
- type ApiUpdateApproleSecretIdRequest
- type ApiUpdateInstanceRequest
- type ApiUpdateUserRequest
- type Approle
- func (o *Approle) GetDescription() string
- func (o *Approle) GetDescriptionOk() (*string, bool)
- func (o *Approle) GetRoleId() string
- func (o *Approle) GetRoleIdOk() (*string, bool)
- func (o *Approle) GetSecretIdNumUses() int32
- func (o *Approle) GetSecretIdNumUsesOk() (*int32, bool)
- func (o *Approle) GetSecretIdTtl() string
- func (o *Approle) GetSecretIdTtlOk() (*string, bool)
- func (o *Approle) GetWrite() bool
- func (o *Approle) GetWriteOk() (*bool, bool)
- func (o Approle) MarshalJSON() ([]byte, error)
- func (o *Approle) SetDescription(v string)
- func (o *Approle) SetRoleId(v string)
- func (o *Approle) SetSecretIdNumUses(v int32)
- func (o *Approle) SetSecretIdTtl(v string)
- func (o *Approle) SetWrite(v bool)
- func (o Approle) ToMap() (map[string]interface{}, error)
- func (o *Approle) UnmarshalJSON(data []byte) (err error)
- type ApproleList
- func (o *ApproleList) GetApproles() []Approle
- func (o *ApproleList) GetApprolesOk() ([]Approle, bool)
- func (o ApproleList) MarshalJSON() ([]byte, error)
- func (o *ApproleList) SetApproles(v []Approle)
- func (o ApproleList) ToMap() (map[string]interface{}, error)
- func (o *ApproleList) UnmarshalJSON(data []byte) (err error)
- type ApproleSecret
- func (o *ApproleSecret) GetDescription() string
- func (o *ApproleSecret) GetDescriptionOk() (*string, bool)
- func (o *ApproleSecret) GetNumUses() int32
- func (o *ApproleSecret) GetNumUsesOk() (*int32, bool)
- func (o *ApproleSecret) GetSecretId() string
- func (o *ApproleSecret) GetSecretIdOk() (*string, bool)
- func (o *ApproleSecret) GetTtl() string
- func (o *ApproleSecret) GetTtlOk() (*string, bool)
- func (o *ApproleSecret) GetVersion() int32
- func (o *ApproleSecret) GetVersionOk() (*int32, bool)
- func (o *ApproleSecret) HasSecretId() bool
- func (o ApproleSecret) MarshalJSON() ([]byte, error)
- func (o *ApproleSecret) SetDescription(v string)
- func (o *ApproleSecret) SetNumUses(v int32)
- func (o *ApproleSecret) SetSecretId(v string)
- func (o *ApproleSecret) SetTtl(v string)
- func (o *ApproleSecret) SetVersion(v int32)
- func (o ApproleSecret) ToMap() (map[string]interface{}, error)
- func (o *ApproleSecret) UnmarshalJSON(data []byte) (err error)
- type ApproleSecretList
- func (o *ApproleSecretList) GetSecretIds() []ApproleSecret
- func (o *ApproleSecretList) GetSecretIdsOk() ([]ApproleSecret, bool)
- func (o ApproleSecretList) MarshalJSON() ([]byte, error)
- func (o *ApproleSecretList) SetSecretIds(v []ApproleSecret)
- func (o ApproleSecretList) ToMap() (map[string]interface{}, error)
- func (o *ApproleSecretList) UnmarshalJSON(data []byte) (err error)
- type BadRequest
- func (o *BadRequest) GetMessage() string
- func (o *BadRequest) GetMessageOk() (*string, bool)
- func (o BadRequest) MarshalJSON() ([]byte, error)
- func (o *BadRequest) SetMessage(v string)
- func (o BadRequest) ToMap() (map[string]interface{}, error)
- func (o *BadRequest) UnmarshalJSON(data []byte) (err error)
- type Conflict
- type CreateACLPayload
- func (o *CreateACLPayload) GetCidr() string
- func (o *CreateACLPayload) GetCidrOk() (*string, bool)
- func (o CreateACLPayload) MarshalJSON() ([]byte, error)
- func (o *CreateACLPayload) SetCidr(v string)
- func (o CreateACLPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateACLPayload) UnmarshalJSON(data []byte) (err error)
- type CreateApprolePayload
- func (o *CreateApprolePayload) GetDescription() string
- func (o *CreateApprolePayload) GetDescriptionOk() (*string, bool)
- func (o *CreateApprolePayload) GetSecretIdNumUses() int32
- func (o *CreateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool)
- func (o *CreateApprolePayload) GetSecretIdTtl() string
- func (o *CreateApprolePayload) GetSecretIdTtlOk() (*string, bool)
- func (o *CreateApprolePayload) GetWrite() bool
- func (o *CreateApprolePayload) GetWriteOk() (*bool, bool)
- func (o *CreateApprolePayload) HasDescription() bool
- func (o *CreateApprolePayload) HasSecretIdNumUses() bool
- func (o *CreateApprolePayload) HasSecretIdTtl() bool
- func (o *CreateApprolePayload) HasWrite() bool
- func (o CreateApprolePayload) MarshalJSON() ([]byte, error)
- func (o *CreateApprolePayload) SetDescription(v string)
- func (o *CreateApprolePayload) SetSecretIdNumUses(v int32)
- func (o *CreateApprolePayload) SetSecretIdTtl(v string)
- func (o *CreateApprolePayload) SetWrite(v bool)
- func (o CreateApprolePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateApprolePayload) UnmarshalJSON(data []byte) (err error)
- type CreateApproleSecretIdPayload
- func (o *CreateApproleSecretIdPayload) GetDescription() string
- func (o *CreateApproleSecretIdPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateApproleSecretIdPayload) HasDescription() bool
- func (o CreateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
- func (o *CreateApproleSecretIdPayload) SetDescription(v string)
- func (o CreateApproleSecretIdPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateApproleSecretIdPayload) UnmarshalJSON(data []byte) (err error)
- type CreateInstancePayload
- func (o *CreateInstancePayload) GetKmsKey() KmsKeyPayload
- func (o *CreateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
- func (o *CreateInstancePayload) GetName() string
- func (o *CreateInstancePayload) GetNameOk() (*string, bool)
- func (o *CreateInstancePayload) HasKmsKey() bool
- func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *CreateInstancePayload) SetKmsKey(v KmsKeyPayload)
- func (o *CreateInstancePayload) SetName(v string)
- func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type CreateUserPayload
- func (o *CreateUserPayload) GetDescription() string
- func (o *CreateUserPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateUserPayload) GetWrite() bool
- func (o *CreateUserPayload) GetWriteOk() (*bool, bool)
- func (o CreateUserPayload) MarshalJSON() ([]byte, error)
- func (o *CreateUserPayload) SetDescription(v string)
- func (o *CreateUserPayload) SetWrite(v bool)
- func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
- func (a *DefaultAPIService) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
- func (a *DefaultAPIService) CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest
- func (a *DefaultAPIService) CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)
- func (a *DefaultAPIService) CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest
- func (a *DefaultAPIService) CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)
- func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
- func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
- func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
- func (a *DefaultAPIService) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
- func (a *DefaultAPIService) DeleteACLExecute(r ApiDeleteACLRequest) error
- func (a *DefaultAPIService) DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest
- func (a *DefaultAPIService) DeleteApproleExecute(r ApiDeleteApproleRequest) error
- func (a *DefaultAPIService) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, ...) ApiDeleteApproleSecretIdRequest
- func (a *DefaultAPIService) DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) error
- func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
- func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a *DefaultAPIService) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
- func (a *DefaultAPIService) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
- func (a *DefaultAPIService) GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest
- func (a *DefaultAPIService) GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)
- func (a *DefaultAPIService) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, ...) ApiGetApproleSecretIdRequest
- func (a *DefaultAPIService) GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)
- func (a *DefaultAPIService) GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest
- func (a *DefaultAPIService) GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, error)
- func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
- func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
- func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*User, error)
- func (a *DefaultAPIService) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
- func (a *DefaultAPIService) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
- func (a *DefaultAPIService) ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest
- func (a *DefaultAPIService) ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)
- func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
- func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a *DefaultAPIService) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
- func (a *DefaultAPIService) UpdateACLExecute(r ApiUpdateACLRequest) error
- func (a *DefaultAPIService) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
- func (a *DefaultAPIService) UpdateACLsExecute(r ApiUpdateACLsRequest) error
- func (a *DefaultAPIService) UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest
- func (a *DefaultAPIService) UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)
- func (a *DefaultAPIService) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, ...) ApiUpdateApproleSecretIdRequest
- func (a *DefaultAPIService) UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)
- func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a *DefaultAPIService) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
- func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
- func (a DefaultAPIServiceMock) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
- func (a DefaultAPIServiceMock) CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest
- func (a DefaultAPIServiceMock) CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)
- func (a DefaultAPIServiceMock) CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest
- func (a DefaultAPIServiceMock) CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)
- func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
- func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
- func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
- func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
- func (a DefaultAPIServiceMock) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
- func (a DefaultAPIServiceMock) DeleteACLExecute(r ApiDeleteACLRequest) error
- func (a DefaultAPIServiceMock) DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest
- func (a DefaultAPIServiceMock) DeleteApproleExecute(r ApiDeleteApproleRequest) error
- func (a DefaultAPIServiceMock) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, ...) ApiDeleteApproleSecretIdRequest
- func (a DefaultAPIServiceMock) DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) error
- func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
- func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
- func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
- func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
- func (a DefaultAPIServiceMock) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
- func (a DefaultAPIServiceMock) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
- func (a DefaultAPIServiceMock) GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest
- func (a DefaultAPIServiceMock) GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)
- func (a DefaultAPIServiceMock) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, ...) ApiGetApproleSecretIdRequest
- func (a DefaultAPIServiceMock) GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)
- func (a DefaultAPIServiceMock) GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest
- func (a DefaultAPIServiceMock) GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, error)
- func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
- func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
- func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
- func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*User, error)
- func (a DefaultAPIServiceMock) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
- func (a DefaultAPIServiceMock) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
- func (a DefaultAPIServiceMock) ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest
- func (a DefaultAPIServiceMock) ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)
- func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
- func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
- func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
- func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
- func (a DefaultAPIServiceMock) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
- func (a DefaultAPIServiceMock) UpdateACLExecute(r ApiUpdateACLRequest) error
- func (a DefaultAPIServiceMock) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
- func (a DefaultAPIServiceMock) UpdateACLsExecute(r ApiUpdateACLsRequest) error
- func (a DefaultAPIServiceMock) UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest
- func (a DefaultAPIServiceMock) UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)
- func (a DefaultAPIServiceMock) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, ...) ApiUpdateApproleSecretIdRequest
- func (a DefaultAPIServiceMock) UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)
- func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
- func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
- func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
- func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error
- type Instance
- func (o *Instance) GetApiUrl() string
- func (o *Instance) GetApiUrlOk() (*string, bool)
- func (o *Instance) GetCreationFinishedDate() string
- func (o *Instance) GetCreationFinishedDateOk() (*string, bool)
- func (o *Instance) GetCreationStartDate() string
- func (o *Instance) GetCreationStartDateOk() (*string, bool)
- func (o *Instance) GetId() string
- func (o *Instance) GetIdOk() (*string, bool)
- func (o *Instance) GetKmsKey() KmsKeyPayload
- func (o *Instance) GetKmsKeyOk() (*KmsKeyPayload, bool)
- func (o *Instance) GetName() string
- func (o *Instance) GetNameOk() (*string, bool)
- func (o *Instance) GetSecretCount() int32
- func (o *Instance) GetSecretCountOk() (*int32, bool)
- func (o *Instance) GetSecretsEngine() string
- func (o *Instance) GetSecretsEngineOk() (*string, bool)
- func (o *Instance) GetState() string
- func (o *Instance) GetStateOk() (*string, bool)
- func (o *Instance) GetUpdateFinishedDate() string
- func (o *Instance) GetUpdateFinishedDateOk() (*string, bool)
- func (o *Instance) GetUpdateStartDate() string
- func (o *Instance) GetUpdateStartDateOk() (*string, bool)
- func (o *Instance) HasCreationFinishedDate() bool
- func (o *Instance) HasKmsKey() bool
- func (o *Instance) HasUpdateFinishedDate() bool
- func (o *Instance) HasUpdateStartDate() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetApiUrl(v string)
- func (o *Instance) SetCreationFinishedDate(v string)
- func (o *Instance) SetCreationStartDate(v string)
- func (o *Instance) SetId(v string)
- func (o *Instance) SetKmsKey(v KmsKeyPayload)
- func (o *Instance) SetName(v string)
- func (o *Instance) SetSecretCount(v int32)
- func (o *Instance) SetSecretsEngine(v string)
- func (o *Instance) SetState(v string)
- func (o *Instance) SetUpdateFinishedDate(v string)
- func (o *Instance) SetUpdateStartDate(v string)
- func (o Instance) ToMap() (map[string]interface{}, error)
- func (o *Instance) UnmarshalJSON(data []byte) (err error)
- type KmsKeyPayload
- func (o *KmsKeyPayload) GetKeyId() string
- func (o *KmsKeyPayload) GetKeyIdOk() (*string, bool)
- func (o *KmsKeyPayload) GetKeyRingId() string
- func (o *KmsKeyPayload) GetKeyRingIdOk() (*string, bool)
- func (o *KmsKeyPayload) GetKeyVersion() int64
- func (o *KmsKeyPayload) GetKeyVersionOk() (*int64, bool)
- func (o *KmsKeyPayload) GetServiceAccountEmail() string
- func (o *KmsKeyPayload) GetServiceAccountEmailOk() (*string, bool)
- func (o KmsKeyPayload) MarshalJSON() ([]byte, error)
- func (o *KmsKeyPayload) SetKeyId(v string)
- func (o *KmsKeyPayload) SetKeyRingId(v string)
- func (o *KmsKeyPayload) SetKeyVersion(v int64)
- func (o *KmsKeyPayload) SetServiceAccountEmail(v string)
- func (o KmsKeyPayload) ToMap() (map[string]interface{}, error)
- func (o *KmsKeyPayload) UnmarshalJSON(data []byte) (err error)
- type ListACLsResponse
- func (o *ListACLsResponse) GetAcls() []ACL
- func (o *ListACLsResponse) GetAclsOk() ([]ACL, bool)
- func (o ListACLsResponse) MarshalJSON() ([]byte, error)
- func (o *ListACLsResponse) SetAcls(v []ACL)
- func (o ListACLsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListACLsResponse) UnmarshalJSON(data []byte) (err error)
- type ListInstancesResponse
- func (o *ListInstancesResponse) GetInstances() []Instance
- func (o *ListInstancesResponse) GetInstancesOk() ([]Instance, bool)
- func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
- func (o *ListInstancesResponse) SetInstances(v []Instance)
- func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
- type ListUsersResponse
- func (o *ListUsersResponse) GetUsers() []User
- func (o *ListUsersResponse) GetUsersOk() ([]User, bool)
- func (o ListUsersResponse) MarshalJSON() ([]byte, error)
- func (o *ListUsersResponse) SetUsers(v []User)
- func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
- func (o *ListUsersResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NotFound
- type NullableACL
- type NullableApprole
- type NullableApproleList
- func (v NullableApproleList) Get() *ApproleList
- func (v NullableApproleList) IsSet() bool
- func (v NullableApproleList) MarshalJSON() ([]byte, error)
- func (v *NullableApproleList) Set(val *ApproleList)
- func (v *NullableApproleList) UnmarshalJSON(src []byte) error
- func (v *NullableApproleList) Unset()
- type NullableApproleSecret
- func (v NullableApproleSecret) Get() *ApproleSecret
- func (v NullableApproleSecret) IsSet() bool
- func (v NullableApproleSecret) MarshalJSON() ([]byte, error)
- func (v *NullableApproleSecret) Set(val *ApproleSecret)
- func (v *NullableApproleSecret) UnmarshalJSON(src []byte) error
- func (v *NullableApproleSecret) Unset()
- type NullableApproleSecretList
- func (v NullableApproleSecretList) Get() *ApproleSecretList
- func (v NullableApproleSecretList) IsSet() bool
- func (v NullableApproleSecretList) MarshalJSON() ([]byte, error)
- func (v *NullableApproleSecretList) Set(val *ApproleSecretList)
- func (v *NullableApproleSecretList) UnmarshalJSON(src []byte) error
- func (v *NullableApproleSecretList) Unset()
- type NullableBadRequest
- type NullableBool
- type NullableConflict
- type NullableCreateACLPayload
- func (v NullableCreateACLPayload) Get() *CreateACLPayload
- func (v NullableCreateACLPayload) IsSet() bool
- func (v NullableCreateACLPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateACLPayload) Set(val *CreateACLPayload)
- func (v *NullableCreateACLPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateACLPayload) Unset()
- type NullableCreateApprolePayload
- func (v NullableCreateApprolePayload) Get() *CreateApprolePayload
- func (v NullableCreateApprolePayload) IsSet() bool
- func (v NullableCreateApprolePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateApprolePayload) Set(val *CreateApprolePayload)
- func (v *NullableCreateApprolePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateApprolePayload) Unset()
- type NullableCreateApproleSecretIdPayload
- func (v NullableCreateApproleSecretIdPayload) Get() *CreateApproleSecretIdPayload
- func (v NullableCreateApproleSecretIdPayload) IsSet() bool
- func (v NullableCreateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateApproleSecretIdPayload) Set(val *CreateApproleSecretIdPayload)
- func (v *NullableCreateApproleSecretIdPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateApproleSecretIdPayload) Unset()
- type NullableCreateInstancePayload
- func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
- func (v NullableCreateInstancePayload) IsSet() bool
- func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
- func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInstancePayload) Unset()
- type NullableCreateUserPayload
- func (v NullableCreateUserPayload) Get() *CreateUserPayload
- func (v NullableCreateUserPayload) IsSet() bool
- func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
- func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserPayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInstance
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKmsKeyPayload
- func (v NullableKmsKeyPayload) Get() *KmsKeyPayload
- func (v NullableKmsKeyPayload) IsSet() bool
- func (v NullableKmsKeyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableKmsKeyPayload) Set(val *KmsKeyPayload)
- func (v *NullableKmsKeyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableKmsKeyPayload) Unset()
- type NullableListACLsResponse
- func (v NullableListACLsResponse) Get() *ListACLsResponse
- func (v NullableListACLsResponse) IsSet() bool
- func (v NullableListACLsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListACLsResponse) Set(val *ListACLsResponse)
- func (v *NullableListACLsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListACLsResponse) Unset()
- type NullableListInstancesResponse
- func (v NullableListInstancesResponse) Get() *ListInstancesResponse
- func (v NullableListInstancesResponse) IsSet() bool
- func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
- func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListInstancesResponse) Unset()
- type NullableListUsersResponse
- func (v NullableListUsersResponse) Get() *ListUsersResponse
- func (v NullableListUsersResponse) IsSet() bool
- func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
- func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUsersResponse) Unset()
- type NullableNotFound
- type NullableString
- type NullableTime
- type NullableUpdateACLPayload
- func (v NullableUpdateACLPayload) Get() *UpdateACLPayload
- func (v NullableUpdateACLPayload) IsSet() bool
- func (v NullableUpdateACLPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateACLPayload) Set(val *UpdateACLPayload)
- func (v *NullableUpdateACLPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateACLPayload) Unset()
- type NullableUpdateACLsPayload
- func (v NullableUpdateACLsPayload) Get() *UpdateACLsPayload
- func (v NullableUpdateACLsPayload) IsSet() bool
- func (v NullableUpdateACLsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateACLsPayload) Set(val *UpdateACLsPayload)
- func (v *NullableUpdateACLsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateACLsPayload) Unset()
- type NullableUpdateApprolePayload
- func (v NullableUpdateApprolePayload) Get() *UpdateApprolePayload
- func (v NullableUpdateApprolePayload) IsSet() bool
- func (v NullableUpdateApprolePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateApprolePayload) Set(val *UpdateApprolePayload)
- func (v *NullableUpdateApprolePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateApprolePayload) Unset()
- type NullableUpdateApproleSecretIdPayload
- func (v NullableUpdateApproleSecretIdPayload) Get() *UpdateApproleSecretIdPayload
- func (v NullableUpdateApproleSecretIdPayload) IsSet() bool
- func (v NullableUpdateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateApproleSecretIdPayload) Set(val *UpdateApproleSecretIdPayload)
- func (v *NullableUpdateApproleSecretIdPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateApproleSecretIdPayload) Unset()
- type NullableUpdateInstancePayload
- func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
- func (v NullableUpdateInstancePayload) IsSet() bool
- func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
- func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateInstancePayload) Unset()
- type NullableUpdateUserPayload
- func (v NullableUpdateUserPayload) Get() *UpdateUserPayload
- func (v NullableUpdateUserPayload) IsSet() bool
- func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
- func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserPayload) Unset()
- type NullableUser
- type UpdateACLPayload
- func (o *UpdateACLPayload) GetCidr() string
- func (o *UpdateACLPayload) GetCidrOk() (*string, bool)
- func (o UpdateACLPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateACLPayload) SetCidr(v string)
- func (o UpdateACLPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateACLPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateACLsPayload
- func (o *UpdateACLsPayload) GetCidrs() []UpdateACLPayload
- func (o *UpdateACLsPayload) GetCidrsOk() ([]UpdateACLPayload, bool)
- func (o *UpdateACLsPayload) HasCidrs() bool
- func (o UpdateACLsPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateACLsPayload) SetCidrs(v []UpdateACLPayload)
- func (o UpdateACLsPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateACLsPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateApprolePayload
- func (o *UpdateApprolePayload) GetDescription() string
- func (o *UpdateApprolePayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateApprolePayload) GetSecretIdNumUses() int32
- func (o *UpdateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool)
- func (o *UpdateApprolePayload) GetSecretIdTtl() string
- func (o *UpdateApprolePayload) GetSecretIdTtlOk() (*string, bool)
- func (o *UpdateApprolePayload) GetWrite() bool
- func (o *UpdateApprolePayload) GetWriteOk() (*bool, bool)
- func (o *UpdateApprolePayload) HasDescription() bool
- func (o *UpdateApprolePayload) HasSecretIdNumUses() bool
- func (o *UpdateApprolePayload) HasSecretIdTtl() bool
- func (o *UpdateApprolePayload) HasWrite() bool
- func (o UpdateApprolePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateApprolePayload) SetDescription(v string)
- func (o *UpdateApprolePayload) SetSecretIdNumUses(v int32)
- func (o *UpdateApprolePayload) SetSecretIdTtl(v string)
- func (o *UpdateApprolePayload) SetWrite(v bool)
- func (o UpdateApprolePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateApprolePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateApproleSecretIdPayload
- func (o *UpdateApproleSecretIdPayload) GetDescription() string
- func (o *UpdateApproleSecretIdPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateApproleSecretIdPayload) HasDescription() bool
- func (o UpdateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateApproleSecretIdPayload) SetDescription(v string)
- func (o UpdateApproleSecretIdPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateApproleSecretIdPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateInstancePayload
- func (o *UpdateInstancePayload) GetKmsKey() KmsKeyPayload
- func (o *UpdateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
- func (o *UpdateInstancePayload) GetName() string
- func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
- func (o *UpdateInstancePayload) HasKmsKey() bool
- func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateInstancePayload) SetKmsKey(v KmsKeyPayload)
- func (o *UpdateInstancePayload) SetName(v string)
- func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateUserPayload
- func (o *UpdateUserPayload) GetDescription() string
- func (o *UpdateUserPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateUserPayload) GetWrite() bool
- func (o *UpdateUserPayload) GetWriteOk() (*bool, bool)
- func (o *UpdateUserPayload) HasDescription() bool
- func (o *UpdateUserPayload) HasWrite() bool
- func (o UpdateUserPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateUserPayload) SetDescription(v string)
- func (o *UpdateUserPayload) SetWrite(v bool)
- func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateUserPayload) UnmarshalJSON(data []byte) (err error)
- type User
- func (o *User) GetDescription() string
- func (o *User) GetDescriptionOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetPassword() string
- func (o *User) GetPasswordOk() (*string, bool)
- func (o *User) GetUsername() string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o *User) GetWrite() bool
- func (o *User) GetWriteOk() (*bool, bool)
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetDescription(v string)
- func (o *User) SetId(v string)
- func (o *User) SetPassword(v string)
- func (o *User) SetUsername(v string)
- func (o *User) SetWrite(v bool)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type ACL ¶
type ACL struct {
// The given IP/IP Range that is permitted to access.
Cidr string `json:"cidr"`
// A auto generated unique id which identifies the acl.
Id string `json:"id"`
AdditionalProperties map[string]interface{}
}
ACL struct for ACL
func NewACL ¶
NewACL instantiates a new ACL object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewACLWithDefaults ¶
func NewACLWithDefaults() *ACL
NewACLWithDefaults instantiates a new ACL object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ACL) GetCidrOk ¶
GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.
func (*ACL) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (ACL) MarshalJSON ¶
func (*ACL) UnmarshalJSON ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Secrets Manager API API v1.4.3 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateACLRequest ¶
type ApiCreateACLRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateACLRequest) CreateACLPayload ¶
func (r ApiCreateACLRequest) CreateACLPayload(createACLPayload CreateACLPayload) ApiCreateACLRequest
func (ApiCreateACLRequest) Execute ¶
func (r ApiCreateACLRequest) Execute() (*ACL, error)
type ApiCreateApproleRequest ¶ added in v0.19.0
type ApiCreateApproleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateApproleRequest) CreateApprolePayload ¶ added in v0.19.0
func (r ApiCreateApproleRequest) CreateApprolePayload(createApprolePayload CreateApprolePayload) ApiCreateApproleRequest
func (ApiCreateApproleRequest) Execute ¶ added in v0.19.0
func (r ApiCreateApproleRequest) Execute() (*Approle, error)
type ApiCreateApproleSecretIdRequest ¶ added in v0.19.0
type ApiCreateApproleSecretIdRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateApproleSecretIdRequest) CreateApproleSecretIdPayload ¶ added in v0.19.0
func (r ApiCreateApproleSecretIdRequest) CreateApproleSecretIdPayload(createApproleSecretIdPayload CreateApproleSecretIdPayload) ApiCreateApproleSecretIdRequest
func (ApiCreateApproleSecretIdRequest) Execute ¶ added in v0.19.0
func (r ApiCreateApproleSecretIdRequest) Execute() (*ApproleSecret, error)
type ApiCreateInstanceRequest ¶
type ApiCreateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateInstanceRequest) CreateInstancePayload ¶
func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest
func (ApiCreateInstanceRequest) Execute ¶
func (r ApiCreateInstanceRequest) Execute() (*Instance, error)
type ApiCreateUserRequest ¶
type ApiCreateUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateUserRequest) CreateUserPayload ¶
func (r ApiCreateUserRequest) CreateUserPayload(createUserPayload CreateUserPayload) ApiCreateUserRequest
func (ApiCreateUserRequest) Execute ¶
func (r ApiCreateUserRequest) Execute() (*User, error)
type ApiDeleteACLRequest ¶
type ApiDeleteACLRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteACLRequest) Execute ¶
func (r ApiDeleteACLRequest) Execute() error
type ApiDeleteApproleRequest ¶ added in v0.19.0
type ApiDeleteApproleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteApproleRequest) Execute ¶ added in v0.19.0
func (r ApiDeleteApproleRequest) Execute() error
type ApiDeleteApproleSecretIdRequest ¶ added in v0.19.0
type ApiDeleteApproleSecretIdRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteApproleSecretIdRequest) Execute ¶ added in v0.19.0
func (r ApiDeleteApproleSecretIdRequest) Execute() error
type ApiDeleteInstanceRequest ¶
type ApiDeleteInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteInstanceRequest) Execute ¶
func (r ApiDeleteInstanceRequest) Execute() error
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteUserRequest) Execute ¶
func (r ApiDeleteUserRequest) Execute() error
type ApiGetACLRequest ¶
type ApiGetACLRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetACLRequest) Execute ¶
func (r ApiGetACLRequest) Execute() (*ACL, error)
type ApiGetApproleRequest ¶ added in v0.19.0
type ApiGetApproleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetApproleRequest) Execute ¶ added in v0.19.0
func (r ApiGetApproleRequest) Execute() (*Approle, error)
type ApiGetApproleSecretIdRequest ¶ added in v0.19.0
type ApiGetApproleSecretIdRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetApproleSecretIdRequest) Execute ¶ added in v0.19.0
func (r ApiGetApproleSecretIdRequest) Execute() (*ApproleSecret, error)
type ApiGetApprolesRequest ¶ added in v0.19.0
type ApiGetApprolesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetApprolesRequest) Execute ¶ added in v0.19.0
func (r ApiGetApprolesRequest) Execute() (*ApproleList, error)
type ApiGetInstanceRequest ¶
type ApiGetInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRequest) Execute ¶
func (r ApiGetInstanceRequest) Execute() (*Instance, error)
type ApiGetUserRequest ¶
type ApiGetUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetUserRequest) Execute ¶
func (r ApiGetUserRequest) Execute() (*User, error)
type ApiListACLsRequest ¶
type ApiListACLsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListACLsRequest) Execute ¶
func (r ApiListACLsRequest) Execute() (*ListACLsResponse, error)
type ApiListApproleSecretIdsRequest ¶ added in v0.19.0
type ApiListApproleSecretIdsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListApproleSecretIdsRequest) Execute ¶ added in v0.19.0
func (r ApiListApproleSecretIdsRequest) Execute() (*ApproleSecretList, error)
type ApiListInstancesRequest ¶
type ApiListInstancesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstancesRequest) Execute ¶
func (r ApiListInstancesRequest) Execute() (*ListInstancesResponse, error)
type ApiListUsersRequest ¶
type ApiListUsersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() (*ListUsersResponse, error)
type ApiUpdateACLRequest ¶
type ApiUpdateACLRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateACLRequest) Execute ¶
func (r ApiUpdateACLRequest) Execute() error
func (ApiUpdateACLRequest) UpdateACLPayload ¶
func (r ApiUpdateACLRequest) UpdateACLPayload(updateACLPayload UpdateACLPayload) ApiUpdateACLRequest
type ApiUpdateACLsRequest ¶
type ApiUpdateACLsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateACLsRequest) Execute ¶
func (r ApiUpdateACLsRequest) Execute() error
func (ApiUpdateACLsRequest) UpdateACLsPayload ¶
func (r ApiUpdateACLsRequest) UpdateACLsPayload(updateACLsPayload UpdateACLsPayload) ApiUpdateACLsRequest
type ApiUpdateApproleRequest ¶ added in v0.19.0
type ApiUpdateApproleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateApproleRequest) Execute ¶ added in v0.19.0
func (r ApiUpdateApproleRequest) Execute() (*Approle, error)
func (ApiUpdateApproleRequest) UpdateApprolePayload ¶ added in v0.19.0
func (r ApiUpdateApproleRequest) UpdateApprolePayload(updateApprolePayload UpdateApprolePayload) ApiUpdateApproleRequest
type ApiUpdateApproleSecretIdRequest ¶ added in v0.19.0
type ApiUpdateApproleSecretIdRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateApproleSecretIdRequest) Execute ¶ added in v0.19.0
func (r ApiUpdateApproleSecretIdRequest) Execute() (*ApproleSecret, error)
func (ApiUpdateApproleSecretIdRequest) UpdateApproleSecretIdPayload ¶ added in v0.19.0
func (r ApiUpdateApproleSecretIdRequest) UpdateApproleSecretIdPayload(updateApproleSecretIdPayload UpdateApproleSecretIdPayload) ApiUpdateApproleSecretIdRequest
type ApiUpdateInstanceRequest ¶
type ApiUpdateInstanceRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateInstanceRequest) Execute ¶
func (r ApiUpdateInstanceRequest) Execute() error
func (ApiUpdateInstanceRequest) UpdateInstancePayload ¶
func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateUserRequest) Execute ¶
func (r ApiUpdateUserRequest) Execute() error
func (ApiUpdateUserRequest) UpdateUserPayload ¶
func (r ApiUpdateUserRequest) UpdateUserPayload(updateUserPayload UpdateUserPayload) ApiUpdateUserRequest
type Approle ¶ added in v0.19.0
type Approle struct {
// A user chosen description to differentiate between multiple approles.
Description string `json:"description"`
// Identifier used for authentication
RoleId string `json:"role_id"`
SecretIdNumUses int32 `json:"secret_id_num_uses"`
// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
SecretIdTtl string `json:"secret_id_ttl" validate:"regexp=^[0-9]+[smh]$"`
// Is true if the approle has write access to the secrets engine. Is false for a read-only approle.
Write bool `json:"write"`
AdditionalProperties map[string]interface{}
}
Approle struct for Approle
func NewApprole ¶ added in v0.19.0
func NewApprole(description string, roleId string, secretIdNumUses int32, secretIdTtl string, write bool) *Approle
NewApprole instantiates a new Approle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApproleWithDefaults ¶ added in v0.19.0
func NewApproleWithDefaults() *Approle
NewApproleWithDefaults instantiates a new Approle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Approle) GetDescription ¶ added in v0.19.0
GetDescription returns the Description field value
func (*Approle) GetDescriptionOk ¶ added in v0.19.0
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Approle) GetRoleIdOk ¶ added in v0.19.0
GetRoleIdOk returns a tuple with the RoleId field value and a boolean to check if the value has been set.
func (*Approle) GetSecretIdNumUses ¶ added in v0.19.0
GetSecretIdNumUses returns the SecretIdNumUses field value
func (*Approle) GetSecretIdNumUsesOk ¶ added in v0.19.0
GetSecretIdNumUsesOk returns a tuple with the SecretIdNumUses field value and a boolean to check if the value has been set.
func (*Approle) GetSecretIdTtl ¶ added in v0.19.0
GetSecretIdTtl returns the SecretIdTtl field value
func (*Approle) GetSecretIdTtlOk ¶ added in v0.19.0
GetSecretIdTtlOk returns a tuple with the SecretIdTtl field value and a boolean to check if the value has been set.
func (*Approle) GetWriteOk ¶ added in v0.19.0
GetWriteOk returns a tuple with the Write field value and a boolean to check if the value has been set.
func (Approle) MarshalJSON ¶ added in v0.19.0
func (*Approle) SetDescription ¶ added in v0.19.0
SetDescription sets field value
func (*Approle) SetSecretIdNumUses ¶ added in v0.19.0
SetSecretIdNumUses sets field value
func (*Approle) SetSecretIdTtl ¶ added in v0.19.0
SetSecretIdTtl sets field value
func (*Approle) UnmarshalJSON ¶ added in v0.19.0
type ApproleList ¶ added in v0.19.0
type ApproleList struct {
Approles []Approle `json:"approles"`
AdditionalProperties map[string]interface{}
}
ApproleList struct for ApproleList
func NewApproleList ¶ added in v0.19.0
func NewApproleList(approles []Approle) *ApproleList
NewApproleList instantiates a new ApproleList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApproleListWithDefaults ¶ added in v0.19.0
func NewApproleListWithDefaults() *ApproleList
NewApproleListWithDefaults instantiates a new ApproleList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApproleList) GetApproles ¶ added in v0.19.0
func (o *ApproleList) GetApproles() []Approle
GetApproles returns the Approles field value
func (*ApproleList) GetApprolesOk ¶ added in v0.19.0
func (o *ApproleList) GetApprolesOk() ([]Approle, bool)
GetApprolesOk returns a tuple with the Approles field value and a boolean to check if the value has been set.
func (ApproleList) MarshalJSON ¶ added in v0.19.0
func (o ApproleList) MarshalJSON() ([]byte, error)
func (*ApproleList) SetApproles ¶ added in v0.19.0
func (o *ApproleList) SetApproles(v []Approle)
SetApproles sets field value
func (ApproleList) ToMap ¶ added in v0.19.0
func (o ApproleList) ToMap() (map[string]interface{}, error)
func (*ApproleList) UnmarshalJSON ¶ added in v0.19.0
func (o *ApproleList) UnmarshalJSON(data []byte) (err error)
type ApproleSecret ¶ added in v0.19.0
type ApproleSecret struct {
// A user chosen description to differentiate between multiple approle secrets.
Description string `json:"description"`
NumUses int32 `json:"num_uses"`
// Identifier used for authentication, returned only at creation
SecretId *string `json:"secret_id,omitempty"`
// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
Ttl string `json:"ttl" validate:"regexp=^[0-9]+[smh]$"`
// Accessor used for handling secrets
Version int32 `json:"version"`
AdditionalProperties map[string]interface{}
}
ApproleSecret struct for ApproleSecret
func NewApproleSecret ¶ added in v0.19.0
func NewApproleSecret(description string, numUses int32, ttl string, version int32) *ApproleSecret
NewApproleSecret instantiates a new ApproleSecret object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApproleSecretWithDefaults ¶ added in v0.19.0
func NewApproleSecretWithDefaults() *ApproleSecret
NewApproleSecretWithDefaults instantiates a new ApproleSecret object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApproleSecret) GetDescription ¶ added in v0.19.0
func (o *ApproleSecret) GetDescription() string
GetDescription returns the Description field value
func (*ApproleSecret) GetDescriptionOk ¶ added in v0.19.0
func (o *ApproleSecret) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ApproleSecret) GetNumUses ¶ added in v0.19.0
func (o *ApproleSecret) GetNumUses() int32
GetNumUses returns the NumUses field value
func (*ApproleSecret) GetNumUsesOk ¶ added in v0.19.0
func (o *ApproleSecret) GetNumUsesOk() (*int32, bool)
GetNumUsesOk returns a tuple with the NumUses field value and a boolean to check if the value has been set.
func (*ApproleSecret) GetSecretId ¶ added in v0.19.0
func (o *ApproleSecret) GetSecretId() string
GetSecretId returns the SecretId field value if set, zero value otherwise.
func (*ApproleSecret) GetSecretIdOk ¶ added in v0.19.0
func (o *ApproleSecret) GetSecretIdOk() (*string, bool)
GetSecretIdOk returns a tuple with the SecretId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApproleSecret) GetTtl ¶ added in v0.19.0
func (o *ApproleSecret) GetTtl() string
GetTtl returns the Ttl field value
func (*ApproleSecret) GetTtlOk ¶ added in v0.19.0
func (o *ApproleSecret) GetTtlOk() (*string, bool)
GetTtlOk returns a tuple with the Ttl field value and a boolean to check if the value has been set.
func (*ApproleSecret) GetVersion ¶ added in v0.19.0
func (o *ApproleSecret) GetVersion() int32
GetVersion returns the Version field value
func (*ApproleSecret) GetVersionOk ¶ added in v0.19.0
func (o *ApproleSecret) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*ApproleSecret) HasSecretId ¶ added in v0.19.0
func (o *ApproleSecret) HasSecretId() bool
HasSecretId returns a boolean if a field has been set.
func (ApproleSecret) MarshalJSON ¶ added in v0.19.0
func (o ApproleSecret) MarshalJSON() ([]byte, error)
func (*ApproleSecret) SetDescription ¶ added in v0.19.0
func (o *ApproleSecret) SetDescription(v string)
SetDescription sets field value
func (*ApproleSecret) SetNumUses ¶ added in v0.19.0
func (o *ApproleSecret) SetNumUses(v int32)
SetNumUses sets field value
func (*ApproleSecret) SetSecretId ¶ added in v0.19.0
func (o *ApproleSecret) SetSecretId(v string)
SetSecretId gets a reference to the given string and assigns it to the SecretId field.
func (*ApproleSecret) SetTtl ¶ added in v0.19.0
func (o *ApproleSecret) SetTtl(v string)
SetTtl sets field value
func (*ApproleSecret) SetVersion ¶ added in v0.19.0
func (o *ApproleSecret) SetVersion(v int32)
SetVersion sets field value
func (ApproleSecret) ToMap ¶ added in v0.19.0
func (o ApproleSecret) ToMap() (map[string]interface{}, error)
func (*ApproleSecret) UnmarshalJSON ¶ added in v0.19.0
func (o *ApproleSecret) UnmarshalJSON(data []byte) (err error)
type ApproleSecretList ¶ added in v0.19.0
type ApproleSecretList struct {
SecretIds []ApproleSecret `json:"secretIds"`
AdditionalProperties map[string]interface{}
}
ApproleSecretList struct for ApproleSecretList
func NewApproleSecretList ¶ added in v0.19.0
func NewApproleSecretList(secretIds []ApproleSecret) *ApproleSecretList
NewApproleSecretList instantiates a new ApproleSecretList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApproleSecretListWithDefaults ¶ added in v0.19.0
func NewApproleSecretListWithDefaults() *ApproleSecretList
NewApproleSecretListWithDefaults instantiates a new ApproleSecretList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApproleSecretList) GetSecretIds ¶ added in v0.19.0
func (o *ApproleSecretList) GetSecretIds() []ApproleSecret
GetSecretIds returns the SecretIds field value
func (*ApproleSecretList) GetSecretIdsOk ¶ added in v0.19.0
func (o *ApproleSecretList) GetSecretIdsOk() ([]ApproleSecret, bool)
GetSecretIdsOk returns a tuple with the SecretIds field value and a boolean to check if the value has been set.
func (ApproleSecretList) MarshalJSON ¶ added in v0.19.0
func (o ApproleSecretList) MarshalJSON() ([]byte, error)
func (*ApproleSecretList) SetSecretIds ¶ added in v0.19.0
func (o *ApproleSecretList) SetSecretIds(v []ApproleSecret)
SetSecretIds sets field value
func (ApproleSecretList) ToMap ¶ added in v0.19.0
func (o ApproleSecretList) ToMap() (map[string]interface{}, error)
func (*ApproleSecretList) UnmarshalJSON ¶ added in v0.19.0
func (o *ApproleSecretList) UnmarshalJSON(data []byte) (err error)
type BadRequest ¶
type BadRequest struct {
// The error message for bad requests
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
BadRequest struct for BadRequest
func NewBadRequest ¶
func NewBadRequest(message string) *BadRequest
NewBadRequest instantiates a new BadRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBadRequestWithDefaults ¶
func NewBadRequestWithDefaults() *BadRequest
NewBadRequestWithDefaults instantiates a new BadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BadRequest) GetMessage ¶
func (o *BadRequest) GetMessage() string
GetMessage returns the Message field value
func (*BadRequest) GetMessageOk ¶
func (o *BadRequest) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (BadRequest) MarshalJSON ¶
func (o BadRequest) MarshalJSON() ([]byte, error)
func (*BadRequest) SetMessage ¶
func (o *BadRequest) SetMessage(v string)
SetMessage sets field value
func (BadRequest) ToMap ¶
func (o BadRequest) ToMap() (map[string]interface{}, error)
func (*BadRequest) UnmarshalJSON ¶
func (o *BadRequest) UnmarshalJSON(data []byte) (err error)
type Conflict ¶
type Conflict struct {
// The error message for conflicts
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
Conflict struct for Conflict
func NewConflict ¶
NewConflict instantiates a new Conflict object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConflictWithDefaults ¶
func NewConflictWithDefaults() *Conflict
NewConflictWithDefaults instantiates a new Conflict object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Conflict) GetMessage ¶
GetMessage returns the Message field value
func (*Conflict) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (Conflict) MarshalJSON ¶
func (*Conflict) UnmarshalJSON ¶
type CreateACLPayload ¶
type CreateACLPayload struct {
// The given IP/IP Range that is permitted to access.
Cidr string `json:"cidr"`
AdditionalProperties map[string]interface{}
}
CreateACLPayload struct for CreateACLPayload
func NewCreateACLPayload ¶
func NewCreateACLPayload(cidr string) *CreateACLPayload
NewCreateACLPayload instantiates a new CreateACLPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateACLPayloadWithDefaults ¶
func NewCreateACLPayloadWithDefaults() *CreateACLPayload
NewCreateACLPayloadWithDefaults instantiates a new CreateACLPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateACLPayload) GetCidr ¶
func (o *CreateACLPayload) GetCidr() string
GetCidr returns the Cidr field value
func (*CreateACLPayload) GetCidrOk ¶
func (o *CreateACLPayload) GetCidrOk() (*string, bool)
GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.
func (CreateACLPayload) MarshalJSON ¶
func (o CreateACLPayload) MarshalJSON() ([]byte, error)
func (*CreateACLPayload) SetCidr ¶
func (o *CreateACLPayload) SetCidr(v string)
SetCidr sets field value
func (CreateACLPayload) ToMap ¶
func (o CreateACLPayload) ToMap() (map[string]interface{}, error)
func (*CreateACLPayload) UnmarshalJSON ¶
func (o *CreateACLPayload) UnmarshalJSON(data []byte) (err error)
type CreateApprolePayload ¶ added in v0.19.0
type CreateApprolePayload struct {
// A user chosen description to differentiate between multiple approles.
Description *string `json:"description,omitempty"`
SecretIdNumUses *int32 `json:"secret_id_num_uses,omitempty"`
// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
SecretIdTtl *string `json:"secret_id_ttl,omitempty" validate:"regexp=^[0-9]+[smh]$"`
// Is true if the approle has write access to the secrets engine. Is false for a read-only approle.
Write *bool `json:"write,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateApprolePayload struct for CreateApprolePayload
func NewCreateApprolePayload ¶ added in v0.19.0
func NewCreateApprolePayload() *CreateApprolePayload
NewCreateApprolePayload instantiates a new CreateApprolePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateApprolePayloadWithDefaults ¶ added in v0.19.0
func NewCreateApprolePayloadWithDefaults() *CreateApprolePayload
NewCreateApprolePayloadWithDefaults instantiates a new CreateApprolePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateApprolePayload) GetDescription ¶ added in v0.19.0
func (o *CreateApprolePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateApprolePayload) GetDescriptionOk ¶ added in v0.19.0
func (o *CreateApprolePayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApprolePayload) GetSecretIdNumUses ¶ added in v0.19.0
func (o *CreateApprolePayload) GetSecretIdNumUses() int32
GetSecretIdNumUses returns the SecretIdNumUses field value if set, zero value otherwise.
func (*CreateApprolePayload) GetSecretIdNumUsesOk ¶ added in v0.19.0
func (o *CreateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool)
GetSecretIdNumUsesOk returns a tuple with the SecretIdNumUses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApprolePayload) GetSecretIdTtl ¶ added in v0.19.0
func (o *CreateApprolePayload) GetSecretIdTtl() string
GetSecretIdTtl returns the SecretIdTtl field value if set, zero value otherwise.
func (*CreateApprolePayload) GetSecretIdTtlOk ¶ added in v0.19.0
func (o *CreateApprolePayload) GetSecretIdTtlOk() (*string, bool)
GetSecretIdTtlOk returns a tuple with the SecretIdTtl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApprolePayload) GetWrite ¶ added in v0.19.0
func (o *CreateApprolePayload) GetWrite() bool
GetWrite returns the Write field value if set, zero value otherwise.
func (*CreateApprolePayload) GetWriteOk ¶ added in v0.19.0
func (o *CreateApprolePayload) GetWriteOk() (*bool, bool)
GetWriteOk returns a tuple with the Write field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApprolePayload) HasDescription ¶ added in v0.19.0
func (o *CreateApprolePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateApprolePayload) HasSecretIdNumUses ¶ added in v0.19.0
func (o *CreateApprolePayload) HasSecretIdNumUses() bool
HasSecretIdNumUses returns a boolean if a field has been set.
func (*CreateApprolePayload) HasSecretIdTtl ¶ added in v0.19.0
func (o *CreateApprolePayload) HasSecretIdTtl() bool
HasSecretIdTtl returns a boolean if a field has been set.
func (*CreateApprolePayload) HasWrite ¶ added in v0.19.0
func (o *CreateApprolePayload) HasWrite() bool
HasWrite returns a boolean if a field has been set.
func (CreateApprolePayload) MarshalJSON ¶ added in v0.19.0
func (o CreateApprolePayload) MarshalJSON() ([]byte, error)
func (*CreateApprolePayload) SetDescription ¶ added in v0.19.0
func (o *CreateApprolePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateApprolePayload) SetSecretIdNumUses ¶ added in v0.19.0
func (o *CreateApprolePayload) SetSecretIdNumUses(v int32)
SetSecretIdNumUses gets a reference to the given int32 and assigns it to the SecretIdNumUses field.
func (*CreateApprolePayload) SetSecretIdTtl ¶ added in v0.19.0
func (o *CreateApprolePayload) SetSecretIdTtl(v string)
SetSecretIdTtl gets a reference to the given string and assigns it to the SecretIdTtl field.
func (*CreateApprolePayload) SetWrite ¶ added in v0.19.0
func (o *CreateApprolePayload) SetWrite(v bool)
SetWrite gets a reference to the given bool and assigns it to the Write field.
func (CreateApprolePayload) ToMap ¶ added in v0.19.0
func (o CreateApprolePayload) ToMap() (map[string]interface{}, error)
func (*CreateApprolePayload) UnmarshalJSON ¶ added in v0.19.0
func (o *CreateApprolePayload) UnmarshalJSON(data []byte) (err error)
type CreateApproleSecretIdPayload ¶ added in v0.19.0
type CreateApproleSecretIdPayload struct {
// A user chosen description to differentiate between multiple approle secrets.
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateApproleSecretIdPayload struct for CreateApproleSecretIdPayload
func NewCreateApproleSecretIdPayload ¶ added in v0.19.0
func NewCreateApproleSecretIdPayload() *CreateApproleSecretIdPayload
NewCreateApproleSecretIdPayload instantiates a new CreateApproleSecretIdPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateApproleSecretIdPayloadWithDefaults ¶ added in v0.19.0
func NewCreateApproleSecretIdPayloadWithDefaults() *CreateApproleSecretIdPayload
NewCreateApproleSecretIdPayloadWithDefaults instantiates a new CreateApproleSecretIdPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateApproleSecretIdPayload) GetDescription ¶ added in v0.19.0
func (o *CreateApproleSecretIdPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateApproleSecretIdPayload) GetDescriptionOk ¶ added in v0.19.0
func (o *CreateApproleSecretIdPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateApproleSecretIdPayload) HasDescription ¶ added in v0.19.0
func (o *CreateApproleSecretIdPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CreateApproleSecretIdPayload) MarshalJSON ¶ added in v0.19.0
func (o CreateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
func (*CreateApproleSecretIdPayload) SetDescription ¶ added in v0.19.0
func (o *CreateApproleSecretIdPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (CreateApproleSecretIdPayload) ToMap ¶ added in v0.19.0
func (o CreateApproleSecretIdPayload) ToMap() (map[string]interface{}, error)
func (*CreateApproleSecretIdPayload) UnmarshalJSON ¶ added in v0.19.0
func (o *CreateApproleSecretIdPayload) UnmarshalJSON(data []byte) (err error)
type CreateInstancePayload ¶
type CreateInstancePayload struct {
KmsKey *KmsKeyPayload `json:"kmsKey,omitempty"`
// A user chosen name to distinguish multiple secrets manager instances.
Name string `json:"name"`
AdditionalProperties map[string]interface{}
}
CreateInstancePayload struct for CreateInstancePayload
func NewCreateInstancePayload ¶
func NewCreateInstancePayload(name string) *CreateInstancePayload
NewCreateInstancePayload instantiates a new CreateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateInstancePayloadWithDefaults ¶
func NewCreateInstancePayloadWithDefaults() *CreateInstancePayload
NewCreateInstancePayloadWithDefaults instantiates a new CreateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateInstancePayload) GetKmsKey ¶
func (o *CreateInstancePayload) GetKmsKey() KmsKeyPayload
GetKmsKey returns the KmsKey field value if set, zero value otherwise.
func (*CreateInstancePayload) GetKmsKeyOk ¶
func (o *CreateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
GetKmsKeyOk returns a tuple with the KmsKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateInstancePayload) GetName ¶
func (o *CreateInstancePayload) GetName() string
GetName returns the Name field value
func (*CreateInstancePayload) GetNameOk ¶
func (o *CreateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateInstancePayload) HasKmsKey ¶
func (o *CreateInstancePayload) HasKmsKey() bool
HasKmsKey returns a boolean if a field has been set.
func (CreateInstancePayload) MarshalJSON ¶
func (o CreateInstancePayload) MarshalJSON() ([]byte, error)
func (*CreateInstancePayload) SetKmsKey ¶
func (o *CreateInstancePayload) SetKmsKey(v KmsKeyPayload)
SetKmsKey gets a reference to the given KmsKeyPayload and assigns it to the KmsKey field.
func (*CreateInstancePayload) SetName ¶
func (o *CreateInstancePayload) SetName(v string)
SetName sets field value
func (CreateInstancePayload) ToMap ¶
func (o CreateInstancePayload) ToMap() (map[string]interface{}, error)
func (*CreateInstancePayload) UnmarshalJSON ¶
func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error)
type CreateUserPayload ¶
type CreateUserPayload struct {
// A user chosen description to differentiate between multiple users.
Description string `json:"description"`
// Is true if the user has write access to the secrets engine. Is false for a read-only user.
Write bool `json:"write"`
AdditionalProperties map[string]interface{}
}
CreateUserPayload struct for CreateUserPayload
func NewCreateUserPayload ¶
func NewCreateUserPayload(description string, write bool) *CreateUserPayload
NewCreateUserPayload instantiates a new CreateUserPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateUserPayloadWithDefaults ¶
func NewCreateUserPayloadWithDefaults() *CreateUserPayload
NewCreateUserPayloadWithDefaults instantiates a new CreateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateUserPayload) GetDescription ¶
func (o *CreateUserPayload) GetDescription() string
GetDescription returns the Description field value
func (*CreateUserPayload) GetDescriptionOk ¶
func (o *CreateUserPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*CreateUserPayload) GetWrite ¶
func (o *CreateUserPayload) GetWrite() bool
GetWrite returns the Write field value
func (*CreateUserPayload) GetWriteOk ¶
func (o *CreateUserPayload) GetWriteOk() (*bool, bool)
GetWriteOk returns a tuple with the Write field value and a boolean to check if the value has been set.
func (CreateUserPayload) MarshalJSON ¶
func (o CreateUserPayload) MarshalJSON() ([]byte, error)
func (*CreateUserPayload) SetDescription ¶
func (o *CreateUserPayload) SetDescription(v string)
SetDescription sets field value
func (*CreateUserPayload) SetWrite ¶
func (o *CreateUserPayload) SetWrite(v bool)
SetWrite sets field value
func (CreateUserPayload) ToMap ¶
func (o CreateUserPayload) ToMap() (map[string]interface{}, error)
func (*CreateUserPayload) UnmarshalJSON ¶
func (o *CreateUserPayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateACL Method for CreateACL
Creates a new Secrets Manager acl within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiCreateACLRequest
*/
CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
// CreateACLExecute executes the request
// @return ACL
CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
/*
CreateApprole Method for CreateApprole
Creates a new approle for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiCreateApproleRequest
*/
CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest
// CreateApproleExecute executes the request
// @return Approle
CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)
/*
CreateApproleSecretId Method for CreateApproleSecretId
Generate new secret id for the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@return ApiCreateApproleSecretIdRequest
*/
CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest
// CreateApproleSecretIdExecute executes the request
// @return ApproleSecret
CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)
/*
CreateInstance Method for CreateInstance
Creates a new Secrets Manager instance within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@return ApiCreateInstanceRequest
*/
CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
// CreateInstanceExecute executes the request
// @return Instance
CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
/*
CreateUser Method for CreateUser
Creates a new user for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiCreateUserRequest
*/
CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
// CreateUserExecute executes the request
// @return User
CreateUserExecute(r ApiCreateUserRequest) (*User, error)
/*
DeleteACL Method for DeleteACL
Deletes the given acl.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiDeleteACLRequest
*/
DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
// DeleteACLExecute executes the request
DeleteACLExecute(r ApiDeleteACLRequest) error
/*
DeleteApprole Method for DeleteApprole
Deletes the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@return ApiDeleteApproleRequest
*/
DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest
// DeleteApproleExecute executes the request
DeleteApproleExecute(r ApiDeleteApproleRequest) error
/*
DeleteApproleSecretId Method for DeleteApproleSecretId
Deletes the secret id by its given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@param secretIdVersion The version of the secret id.
@return ApiDeleteApproleSecretIdRequest
*/
DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest
// DeleteApproleSecretIdExecute executes the request
DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) error
/*
DeleteInstance Method for DeleteInstance
Deletes the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiDeleteInstanceRequest
*/
DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
// DeleteInstanceExecute executes the request
DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
/*
DeleteUser Method for DeleteUser
Deletes the given user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiDeleteUserRequest
*/
DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
// DeleteUserExecute executes the request
DeleteUserExecute(r ApiDeleteUserRequest) error
/*
GetACL Method for GetACL
Returns the details for the given acl.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiGetACLRequest
*/
GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
// GetACLExecute executes the request
// @return ACL
GetACLExecute(r ApiGetACLRequest) (*ACL, error)
/*
GetApprole Method for GetApprole
Returns the details for the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@return ApiGetApproleRequest
*/
GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest
// GetApproleExecute executes the request
// @return Approle
GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)
/*
GetApproleSecretId Method for GetApproleSecretId
Read the properties of a given secret id by its given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@param secretIdVersion The version of the secret id.
@return ApiGetApproleSecretIdRequest
*/
GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest
// GetApproleSecretIdExecute executes the request
// @return ApproleSecret
GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)
/*
GetApproles Method for GetApproles
Returns the approles for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiGetApprolesRequest
*/
GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest
// GetApprolesExecute executes the request
// @return ApproleList
GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, error)
/*
GetInstance Method for GetInstance
Returns the details for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiGetInstanceRequest
*/
GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
// GetInstanceExecute executes the request
// @return Instance
GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
/*
GetUser Method for GetUser
Returns the details for the given user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiGetUserRequest
*/
GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
// GetUserExecute executes the request
// @return User
GetUserExecute(r ApiGetUserRequest) (*User, error)
/*
ListACLs Method for ListACLs
Returns the acls for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiListACLsRequest
*/
ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
// ListACLsExecute executes the request
// @return ListACLsResponse
ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
/*
ListApproleSecretIds Method for ListApproleSecretIds
Returns the secret id list for the given Secrets Manager instance and approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@return ApiListApproleSecretIdsRequest
*/
ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest
// ListApproleSecretIdsExecute executes the request
// @return ApproleSecretList
ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)
/*
ListInstances Method for ListInstances
Returns a list of all Secrets Manager instances within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@return ApiListInstancesRequest
*/
ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
// ListInstancesExecute executes the request
// @return ListInstancesResponse
ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
/*
ListUsers Method for ListUsers
Returns the users for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiListUsersRequest
*/
ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
// ListUsersExecute executes the request
// @return ListUsersResponse
ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
/*
UpdateACL Method for UpdateACL
Updates the ip ranges for the acl.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiUpdateACLRequest
*/
UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
// UpdateACLExecute executes the request
UpdateACLExecute(r ApiUpdateACLRequest) error
/*
UpdateACLs Method for UpdateACLs
Changes a list of ACLs within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiUpdateACLsRequest
*/
UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
// UpdateACLsExecute executes the request
UpdateACLsExecute(r ApiUpdateACLsRequest) error
/*
UpdateApprole Method for UpdateApprole
Updates the details for the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@return ApiUpdateApproleRequest
*/
UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest
// UpdateApproleExecute executes the request
// @return Approle
UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)
/*
UpdateApproleSecretId Method for UpdateApproleSecretId
Update the description of a secret id by its given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param roleId The approle with permissions on the Secrets Manager instance.
@param secretIdVersion The version of the secret id.
@return ApiUpdateApproleSecretIdRequest
*/
UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest
// UpdateApproleSecretIdExecute executes the request
// @return ApproleSecret
UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)
/*
UpdateInstance Method for UpdateInstance
Updates the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiUpdateInstanceRequest
*/
UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
// UpdateInstanceExecute executes the request
UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
/*
UpdateUser Method for UpdateUser
Updates the details for the given user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiUpdateUserRequest
*/
UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
// UpdateUserExecute executes the request
UpdateUserExecute(r ApiUpdateUserRequest) error
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateACL ¶
func (a *DefaultAPIService) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
CreateACL Method for CreateACL
Creates a new Secrets Manager acl within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiCreateACLRequest
func (*DefaultAPIService) CreateACLExecute ¶
func (a *DefaultAPIService) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
Execute executes the request
@return ACL
func (*DefaultAPIService) CreateApprole ¶ added in v0.19.0
func (a *DefaultAPIService) CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest
CreateApprole Method for CreateApprole
Creates a new approle for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiCreateApproleRequest
func (*DefaultAPIService) CreateApproleExecute ¶ added in v0.19.0
func (a *DefaultAPIService) CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)
Execute executes the request
@return Approle
func (*DefaultAPIService) CreateApproleSecretId ¶ added in v0.19.0
func (a *DefaultAPIService) CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest
CreateApproleSecretId Method for CreateApproleSecretId
Generate new secret id for the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @return ApiCreateApproleSecretIdRequest
func (*DefaultAPIService) CreateApproleSecretIdExecute ¶ added in v0.19.0
func (a *DefaultAPIService) CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)
Execute executes the request
@return ApproleSecret
func (*DefaultAPIService) CreateInstance ¶
func (a *DefaultAPIService) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
CreateInstance Method for CreateInstance
Creates a new Secrets Manager instance within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @return ApiCreateInstanceRequest
func (*DefaultAPIService) CreateInstanceExecute ¶
func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
Execute executes the request
@return Instance
func (*DefaultAPIService) CreateUser ¶
func (a *DefaultAPIService) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
CreateUser Method for CreateUser
Creates a new user for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiCreateUserRequest
func (*DefaultAPIService) CreateUserExecute ¶
func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
Execute executes the request
@return User
func (*DefaultAPIService) DeleteACL ¶
func (a *DefaultAPIService) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
DeleteACL Method for DeleteACL
Deletes the given acl.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param aclId The acl UUID of the Secrets Manager instance. @return ApiDeleteACLRequest
func (*DefaultAPIService) DeleteACLExecute ¶
func (a *DefaultAPIService) DeleteACLExecute(r ApiDeleteACLRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteApprole ¶ added in v0.19.0
func (a *DefaultAPIService) DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest
DeleteApprole Method for DeleteApprole
Deletes the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @return ApiDeleteApproleRequest
func (*DefaultAPIService) DeleteApproleExecute ¶ added in v0.19.0
func (a *DefaultAPIService) DeleteApproleExecute(r ApiDeleteApproleRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteApproleSecretId ¶ added in v0.19.0
func (a *DefaultAPIService) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest
DeleteApproleSecretId Method for DeleteApproleSecretId
Deletes the secret id by its given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @param secretIdVersion The version of the secret id. @return ApiDeleteApproleSecretIdRequest
func (*DefaultAPIService) DeleteApproleSecretIdExecute ¶ added in v0.19.0
func (a *DefaultAPIService) DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteInstance ¶
func (a *DefaultAPIService) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
DeleteInstance Method for DeleteInstance
Deletes the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiDeleteInstanceRequest
func (*DefaultAPIService) DeleteInstanceExecute ¶
func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteUser ¶
func (a *DefaultAPIService) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
DeleteUser Method for DeleteUser
Deletes the given user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param userId The user UUID with permissions on the Secrets Manager instance. @return ApiDeleteUserRequest
func (*DefaultAPIService) DeleteUserExecute ¶
func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error
Execute executes the request
func (*DefaultAPIService) GetACL ¶
func (a *DefaultAPIService) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
GetACL Method for GetACL
Returns the details for the given acl.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param aclId The acl UUID of the Secrets Manager instance. @return ApiGetACLRequest
func (*DefaultAPIService) GetACLExecute ¶
func (a *DefaultAPIService) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
Execute executes the request
@return ACL
func (*DefaultAPIService) GetApprole ¶ added in v0.19.0
func (a *DefaultAPIService) GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest
GetApprole Method for GetApprole
Returns the details for the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @return ApiGetApproleRequest
func (*DefaultAPIService) GetApproleExecute ¶ added in v0.19.0
func (a *DefaultAPIService) GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)
Execute executes the request
@return Approle
func (*DefaultAPIService) GetApproleSecretId ¶ added in v0.19.0
func (a *DefaultAPIService) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest
GetApproleSecretId Method for GetApproleSecretId
Read the properties of a given secret id by its given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @param secretIdVersion The version of the secret id. @return ApiGetApproleSecretIdRequest
func (*DefaultAPIService) GetApproleSecretIdExecute ¶ added in v0.19.0
func (a *DefaultAPIService) GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)
Execute executes the request
@return ApproleSecret
func (*DefaultAPIService) GetApproles ¶ added in v0.19.0
func (a *DefaultAPIService) GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest
GetApproles Method for GetApproles
Returns the approles for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiGetApprolesRequest
func (*DefaultAPIService) GetApprolesExecute ¶ added in v0.19.0
func (a *DefaultAPIService) GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, error)
Execute executes the request
@return ApproleList
func (*DefaultAPIService) GetInstance ¶
func (a *DefaultAPIService) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
GetInstance Method for GetInstance
Returns the details for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiGetInstanceRequest
func (*DefaultAPIService) GetInstanceExecute ¶
func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
Execute executes the request
@return Instance
func (*DefaultAPIService) GetUser ¶
func (a *DefaultAPIService) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
GetUser Method for GetUser
Returns the details for the given user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param userId The user UUID with permissions on the Secrets Manager instance. @return ApiGetUserRequest
func (*DefaultAPIService) GetUserExecute ¶
func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*User, error)
Execute executes the request
@return User
func (*DefaultAPIService) ListACLs ¶
func (a *DefaultAPIService) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
ListACLs Method for ListACLs
Returns the acls for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiListACLsRequest
func (*DefaultAPIService) ListACLsExecute ¶
func (a *DefaultAPIService) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
Execute executes the request
@return ListACLsResponse
func (*DefaultAPIService) ListApproleSecretIds ¶ added in v0.19.0
func (a *DefaultAPIService) ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest
ListApproleSecretIds Method for ListApproleSecretIds
Returns the secret id list for the given Secrets Manager instance and approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @return ApiListApproleSecretIdsRequest
func (*DefaultAPIService) ListApproleSecretIdsExecute ¶ added in v0.19.0
func (a *DefaultAPIService) ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)
Execute executes the request
@return ApproleSecretList
func (*DefaultAPIService) ListInstances ¶
func (a *DefaultAPIService) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
ListInstances Method for ListInstances
Returns a list of all Secrets Manager instances within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @return ApiListInstancesRequest
func (*DefaultAPIService) ListInstancesExecute ¶
func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
Execute executes the request
@return ListInstancesResponse
func (*DefaultAPIService) ListUsers ¶
func (a *DefaultAPIService) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
ListUsers Method for ListUsers
Returns the users for the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiListUsersRequest
func (*DefaultAPIService) ListUsersExecute ¶
func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
Execute executes the request
@return ListUsersResponse
func (*DefaultAPIService) UpdateACL ¶
func (a *DefaultAPIService) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
UpdateACL Method for UpdateACL
Updates the ip ranges for the acl.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param aclId The acl UUID of the Secrets Manager instance. @return ApiUpdateACLRequest
func (*DefaultAPIService) UpdateACLExecute ¶
func (a *DefaultAPIService) UpdateACLExecute(r ApiUpdateACLRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateACLs ¶
func (a *DefaultAPIService) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
UpdateACLs Method for UpdateACLs
Changes a list of ACLs within the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiUpdateACLsRequest
func (*DefaultAPIService) UpdateACLsExecute ¶
func (a *DefaultAPIService) UpdateACLsExecute(r ApiUpdateACLsRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateApprole ¶ added in v0.19.0
func (a *DefaultAPIService) UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest
UpdateApprole Method for UpdateApprole
Updates the details for the given approle.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @return ApiUpdateApproleRequest
func (*DefaultAPIService) UpdateApproleExecute ¶ added in v0.19.0
func (a *DefaultAPIService) UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)
Execute executes the request
@return Approle
func (*DefaultAPIService) UpdateApproleSecretId ¶ added in v0.19.0
func (a *DefaultAPIService) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest
UpdateApproleSecretId Method for UpdateApproleSecretId
Update the description of a secret id by its given version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param roleId The approle with permissions on the Secrets Manager instance. @param secretIdVersion The version of the secret id. @return ApiUpdateApproleSecretIdRequest
func (*DefaultAPIService) UpdateApproleSecretIdExecute ¶ added in v0.19.0
func (a *DefaultAPIService) UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)
Execute executes the request
@return ApproleSecret
func (*DefaultAPIService) UpdateInstance ¶
func (a *DefaultAPIService) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
UpdateInstance Method for UpdateInstance
Updates the given Secrets Manager instance.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @return ApiUpdateInstanceRequest
func (*DefaultAPIService) UpdateInstanceExecute ¶
func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
Execute executes the request
func (*DefaultAPIService) UpdateUser ¶
func (a *DefaultAPIService) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
UpdateUser Method for UpdateUser
Updates the details for the given user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID the Secrets Manager instance is part of. @param instanceId The Secrets Manager instance UUID. @param userId The user UUID with permissions on the Secrets Manager instance. @return ApiUpdateUserRequest
func (*DefaultAPIService) UpdateUserExecute ¶
func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error
Execute executes the request
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateACLExecuteMock can be populated to implement the behavior of the CreateACLExecute function of this mock
CreateACLExecuteMock *func(r ApiCreateACLRequest) (*ACL, error)
// CreateApproleExecuteMock can be populated to implement the behavior of the CreateApproleExecute function of this mock
CreateApproleExecuteMock *func(r ApiCreateApproleRequest) (*Approle, error)
// CreateApproleSecretIdExecuteMock can be populated to implement the behavior of the CreateApproleSecretIdExecute function of this mock
CreateApproleSecretIdExecuteMock *func(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)
// CreateInstanceExecuteMock can be populated to implement the behavior of the CreateInstanceExecute function of this mock
CreateInstanceExecuteMock *func(r ApiCreateInstanceRequest) (*Instance, error)
// CreateUserExecuteMock can be populated to implement the behavior of the CreateUserExecute function of this mock
CreateUserExecuteMock *func(r ApiCreateUserRequest) (*User, error)
// DeleteACLExecuteMock can be populated to implement the behavior of the DeleteACLExecute function of this mock
DeleteACLExecuteMock *func(r ApiDeleteACLRequest) error
// DeleteApproleExecuteMock can be populated to implement the behavior of the DeleteApproleExecute function of this mock
DeleteApproleExecuteMock *func(r ApiDeleteApproleRequest) error
// DeleteApproleSecretIdExecuteMock can be populated to implement the behavior of the DeleteApproleSecretIdExecute function of this mock
DeleteApproleSecretIdExecuteMock *func(r ApiDeleteApproleSecretIdRequest) error
// DeleteInstanceExecuteMock can be populated to implement the behavior of the DeleteInstanceExecute function of this mock
DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error
// DeleteUserExecuteMock can be populated to implement the behavior of the DeleteUserExecute function of this mock
DeleteUserExecuteMock *func(r ApiDeleteUserRequest) error
// GetACLExecuteMock can be populated to implement the behavior of the GetACLExecute function of this mock
GetACLExecuteMock *func(r ApiGetACLRequest) (*ACL, error)
// GetApproleExecuteMock can be populated to implement the behavior of the GetApproleExecute function of this mock
GetApproleExecuteMock *func(r ApiGetApproleRequest) (*Approle, error)
// GetApproleSecretIdExecuteMock can be populated to implement the behavior of the GetApproleSecretIdExecute function of this mock
GetApproleSecretIdExecuteMock *func(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)
// GetApprolesExecuteMock can be populated to implement the behavior of the GetApprolesExecute function of this mock
GetApprolesExecuteMock *func(r ApiGetApprolesRequest) (*ApproleList, error)
// GetInstanceExecuteMock can be populated to implement the behavior of the GetInstanceExecute function of this mock
GetInstanceExecuteMock *func(r ApiGetInstanceRequest) (*Instance, error)
// GetUserExecuteMock can be populated to implement the behavior of the GetUserExecute function of this mock
GetUserExecuteMock *func(r ApiGetUserRequest) (*User, error)
// ListACLsExecuteMock can be populated to implement the behavior of the ListACLsExecute function of this mock
ListACLsExecuteMock *func(r ApiListACLsRequest) (*ListACLsResponse, error)
// ListApproleSecretIdsExecuteMock can be populated to implement the behavior of the ListApproleSecretIdsExecute function of this mock
ListApproleSecretIdsExecuteMock *func(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)
// ListInstancesExecuteMock can be populated to implement the behavior of the ListInstancesExecute function of this mock
ListInstancesExecuteMock *func(r ApiListInstancesRequest) (*ListInstancesResponse, error)
// ListUsersExecuteMock can be populated to implement the behavior of the ListUsersExecute function of this mock
ListUsersExecuteMock *func(r ApiListUsersRequest) (*ListUsersResponse, error)
// UpdateACLExecuteMock can be populated to implement the behavior of the UpdateACLExecute function of this mock
UpdateACLExecuteMock *func(r ApiUpdateACLRequest) error
// UpdateACLsExecuteMock can be populated to implement the behavior of the UpdateACLsExecute function of this mock
UpdateACLsExecuteMock *func(r ApiUpdateACLsRequest) error
// UpdateApproleExecuteMock can be populated to implement the behavior of the UpdateApproleExecute function of this mock
UpdateApproleExecuteMock *func(r ApiUpdateApproleRequest) (*Approle, error)
// UpdateApproleSecretIdExecuteMock can be populated to implement the behavior of the UpdateApproleSecretIdExecute function of this mock
UpdateApproleSecretIdExecuteMock *func(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)
// UpdateInstanceExecuteMock can be populated to implement the behavior of the UpdateInstanceExecute function of this mock
UpdateInstanceExecuteMock *func(r ApiUpdateInstanceRequest) error
// UpdateUserExecuteMock can be populated to implement the behavior of the UpdateUserExecute function of this mock
UpdateUserExecuteMock *func(r ApiUpdateUserRequest) error
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateACL ¶
func (a DefaultAPIServiceMock) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest
func (DefaultAPIServiceMock) CreateACLExecute ¶
func (a DefaultAPIServiceMock) CreateACLExecute(r ApiCreateACLRequest) (*ACL, error)
CreateACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateApprole ¶ added in v0.19.0
func (a DefaultAPIServiceMock) CreateApprole(ctx context.Context, projectId string, instanceId string) ApiCreateApproleRequest
func (DefaultAPIServiceMock) CreateApproleExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) CreateApproleExecute(r ApiCreateApproleRequest) (*Approle, error)
CreateApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateApproleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateApproleSecretId ¶ added in v0.19.0
func (a DefaultAPIServiceMock) CreateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string) ApiCreateApproleSecretIdRequest
func (DefaultAPIServiceMock) CreateApproleSecretIdExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) CreateApproleSecretIdExecute(r ApiCreateApproleSecretIdRequest) (*ApproleSecret, error)
CreateApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateApproleSecretIdExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateInstance ¶
func (a DefaultAPIServiceMock) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest
func (DefaultAPIServiceMock) CreateInstanceExecute ¶
func (a DefaultAPIServiceMock) CreateInstanceExecute(r ApiCreateInstanceRequest) (*Instance, error)
CreateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateUser ¶
func (a DefaultAPIServiceMock) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest
func (DefaultAPIServiceMock) CreateUserExecute ¶
func (a DefaultAPIServiceMock) CreateUserExecute(r ApiCreateUserRequest) (*User, error)
CreateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteACL ¶
func (a DefaultAPIServiceMock) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest
func (DefaultAPIServiceMock) DeleteACLExecute ¶
func (a DefaultAPIServiceMock) DeleteACLExecute(r ApiDeleteACLRequest) error
DeleteACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteApprole ¶ added in v0.19.0
func (a DefaultAPIServiceMock) DeleteApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiDeleteApproleRequest
func (DefaultAPIServiceMock) DeleteApproleExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) DeleteApproleExecute(r ApiDeleteApproleRequest) error
DeleteApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteApproleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteApproleSecretId ¶ added in v0.19.0
func (a DefaultAPIServiceMock) DeleteApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiDeleteApproleSecretIdRequest
func (DefaultAPIServiceMock) DeleteApproleSecretIdExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) DeleteApproleSecretIdExecute(r ApiDeleteApproleSecretIdRequest) error
DeleteApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteApproleSecretIdExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteInstance ¶
func (a DefaultAPIServiceMock) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest
func (DefaultAPIServiceMock) DeleteInstanceExecute ¶
func (a DefaultAPIServiceMock) DeleteInstanceExecute(r ApiDeleteInstanceRequest) error
DeleteInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteUser ¶
func (a DefaultAPIServiceMock) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest
func (DefaultAPIServiceMock) DeleteUserExecute ¶
func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error
DeleteUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetACL ¶
func (a DefaultAPIServiceMock) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest
func (DefaultAPIServiceMock) GetACLExecute ¶
func (a DefaultAPIServiceMock) GetACLExecute(r ApiGetACLRequest) (*ACL, error)
GetACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetApprole ¶ added in v0.19.0
func (a DefaultAPIServiceMock) GetApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiGetApproleRequest
func (DefaultAPIServiceMock) GetApproleExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) GetApproleExecute(r ApiGetApproleRequest) (*Approle, error)
GetApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApproleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetApproleSecretId ¶ added in v0.19.0
func (a DefaultAPIServiceMock) GetApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiGetApproleSecretIdRequest
func (DefaultAPIServiceMock) GetApproleSecretIdExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) GetApproleSecretIdExecute(r ApiGetApproleSecretIdRequest) (*ApproleSecret, error)
GetApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApproleSecretIdExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetApproles ¶ added in v0.19.0
func (a DefaultAPIServiceMock) GetApproles(ctx context.Context, projectId string, instanceId string) ApiGetApprolesRequest
func (DefaultAPIServiceMock) GetApprolesExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) GetApprolesExecute(r ApiGetApprolesRequest) (*ApproleList, error)
GetApprolesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetApprolesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstance ¶
func (a DefaultAPIServiceMock) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest
func (DefaultAPIServiceMock) GetInstanceExecute ¶
func (a DefaultAPIServiceMock) GetInstanceExecute(r ApiGetInstanceRequest) (*Instance, error)
GetInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetUser ¶
func (a DefaultAPIServiceMock) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest
func (DefaultAPIServiceMock) GetUserExecute ¶
func (a DefaultAPIServiceMock) GetUserExecute(r ApiGetUserRequest) (*User, error)
GetUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetUserExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListACLs ¶
func (a DefaultAPIServiceMock) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest
func (DefaultAPIServiceMock) ListACLsExecute ¶
func (a DefaultAPIServiceMock) ListACLsExecute(r ApiListACLsRequest) (*ListACLsResponse, error)
ListACLsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListACLsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListApproleSecretIds ¶ added in v0.19.0
func (a DefaultAPIServiceMock) ListApproleSecretIds(ctx context.Context, projectId string, instanceId string, roleId string) ApiListApproleSecretIdsRequest
func (DefaultAPIServiceMock) ListApproleSecretIdsExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) ListApproleSecretIdsExecute(r ApiListApproleSecretIdsRequest) (*ApproleSecretList, error)
ListApproleSecretIdsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListApproleSecretIdsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListInstances ¶
func (a DefaultAPIServiceMock) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest
func (DefaultAPIServiceMock) ListInstancesExecute ¶
func (a DefaultAPIServiceMock) ListInstancesExecute(r ApiListInstancesRequest) (*ListInstancesResponse, error)
ListInstancesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstancesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListUsers ¶
func (a DefaultAPIServiceMock) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest
func (DefaultAPIServiceMock) ListUsersExecute ¶
func (a DefaultAPIServiceMock) ListUsersExecute(r ApiListUsersRequest) (*ListUsersResponse, error)
ListUsersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListUsersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateACL ¶
func (a DefaultAPIServiceMock) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest
func (DefaultAPIServiceMock) UpdateACLExecute ¶
func (a DefaultAPIServiceMock) UpdateACLExecute(r ApiUpdateACLRequest) error
UpdateACLExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateACLExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateACLs ¶
func (a DefaultAPIServiceMock) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest
func (DefaultAPIServiceMock) UpdateACLsExecute ¶
func (a DefaultAPIServiceMock) UpdateACLsExecute(r ApiUpdateACLsRequest) error
UpdateACLsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateACLsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateApprole ¶ added in v0.19.0
func (a DefaultAPIServiceMock) UpdateApprole(ctx context.Context, projectId string, instanceId string, roleId string) ApiUpdateApproleRequest
func (DefaultAPIServiceMock) UpdateApproleExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) UpdateApproleExecute(r ApiUpdateApproleRequest) (*Approle, error)
UpdateApproleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateApproleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateApproleSecretId ¶ added in v0.19.0
func (a DefaultAPIServiceMock) UpdateApproleSecretId(ctx context.Context, projectId string, instanceId string, roleId string, secretIdVersion int32) ApiUpdateApproleSecretIdRequest
func (DefaultAPIServiceMock) UpdateApproleSecretIdExecute ¶ added in v0.19.0
func (a DefaultAPIServiceMock) UpdateApproleSecretIdExecute(r ApiUpdateApproleSecretIdRequest) (*ApproleSecret, error)
UpdateApproleSecretIdExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateApproleSecretIdExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateInstance ¶
func (a DefaultAPIServiceMock) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest
func (DefaultAPIServiceMock) UpdateInstanceExecute ¶
func (a DefaultAPIServiceMock) UpdateInstanceExecute(r ApiUpdateInstanceRequest) error
UpdateInstanceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateInstanceExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateUser ¶
func (a DefaultAPIServiceMock) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest
func (DefaultAPIServiceMock) UpdateUserExecute ¶
func (a DefaultAPIServiceMock) UpdateUserExecute(r ApiUpdateUserRequest) error
UpdateUserExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateUserExecuteMock field in the DefaultAPIServiceMock struct.
type Instance ¶
type Instance struct {
// The API endpoint for connecting to the secrets engine.
ApiUrl string `json:"apiUrl"`
// The date and time the creation of the Secrets Manager instance was finished.
CreationFinishedDate *string `json:"creationFinishedDate,omitempty"`
// The date and time the creation of the Secrets Manager instance was triggered.
CreationStartDate string `json:"creationStartDate"`
// A auto generated unique id which identifies the secrets manager instances.
Id string `json:"id"`
KmsKey *KmsKeyPayload `json:"kmsKey,omitempty"`
// A user chosen name to distinguish multiple secrets manager instances.
Name string `json:"name"`
// The number of secrets currently stored inside of the instance. This value will be updated once per hour.
SecretCount int32 `json:"secretCount"`
// The name of the secrets engine.
SecretsEngine string `json:"secretsEngine"`
// The current state of the Secrets Manager instance.
State string `json:"state"`
UpdateFinishedDate *string `json:"updateFinishedDate,omitempty"`
UpdateStartDate *string `json:"updateStartDate,omitempty"`
AdditionalProperties map[string]interface{}
}
Instance struct for Instance
func NewInstance ¶
func NewInstance(apiUrl string, creationStartDate string, id string, name string, secretCount int32, secretsEngine string, state string) *Instance
NewInstance instantiates a new Instance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewInstanceWithDefaults ¶
func NewInstanceWithDefaults() *Instance
NewInstanceWithDefaults instantiates a new Instance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Instance) GetApiUrlOk ¶
GetApiUrlOk returns a tuple with the ApiUrl field value and a boolean to check if the value has been set.
func (*Instance) GetCreationFinishedDate ¶
GetCreationFinishedDate returns the CreationFinishedDate field value if set, zero value otherwise.
func (*Instance) GetCreationFinishedDateOk ¶
GetCreationFinishedDateOk returns a tuple with the CreationFinishedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetCreationStartDate ¶
GetCreationStartDate returns the CreationStartDate field value
func (*Instance) GetCreationStartDateOk ¶
GetCreationStartDateOk returns a tuple with the CreationStartDate field value and a boolean to check if the value has been set.
func (*Instance) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Instance) GetKmsKey ¶
func (o *Instance) GetKmsKey() KmsKeyPayload
GetKmsKey returns the KmsKey field value if set, zero value otherwise.
func (*Instance) GetKmsKeyOk ¶
func (o *Instance) GetKmsKeyOk() (*KmsKeyPayload, bool)
GetKmsKeyOk returns a tuple with the KmsKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Instance) GetSecretCount ¶
GetSecretCount returns the SecretCount field value
func (*Instance) GetSecretCountOk ¶
GetSecretCountOk returns a tuple with the SecretCount field value and a boolean to check if the value has been set.
func (*Instance) GetSecretsEngine ¶
GetSecretsEngine returns the SecretsEngine field value
func (*Instance) GetSecretsEngineOk ¶
GetSecretsEngineOk returns a tuple with the SecretsEngine field value and a boolean to check if the value has been set.
func (*Instance) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Instance) GetUpdateFinishedDate ¶
GetUpdateFinishedDate returns the UpdateFinishedDate field value if set, zero value otherwise.
func (*Instance) GetUpdateFinishedDateOk ¶
GetUpdateFinishedDateOk returns a tuple with the UpdateFinishedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetUpdateStartDate ¶
GetUpdateStartDate returns the UpdateStartDate field value if set, zero value otherwise.
func (*Instance) GetUpdateStartDateOk ¶
GetUpdateStartDateOk returns a tuple with the UpdateStartDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) HasCreationFinishedDate ¶
HasCreationFinishedDate returns a boolean if a field has been set.
func (*Instance) HasUpdateFinishedDate ¶
HasUpdateFinishedDate returns a boolean if a field has been set.
func (*Instance) HasUpdateStartDate ¶
HasUpdateStartDate returns a boolean if a field has been set.
func (Instance) MarshalJSON ¶
func (*Instance) SetCreationFinishedDate ¶
SetCreationFinishedDate gets a reference to the given string and assigns it to the CreationFinishedDate field.
func (*Instance) SetCreationStartDate ¶
SetCreationStartDate sets field value
func (*Instance) SetKmsKey ¶
func (o *Instance) SetKmsKey(v KmsKeyPayload)
SetKmsKey gets a reference to the given KmsKeyPayload and assigns it to the KmsKey field.
func (*Instance) SetSecretCount ¶
SetSecretCount sets field value
func (*Instance) SetSecretsEngine ¶
SetSecretsEngine sets field value
func (*Instance) SetUpdateFinishedDate ¶
SetUpdateFinishedDate gets a reference to the given string and assigns it to the UpdateFinishedDate field.
func (*Instance) SetUpdateStartDate ¶
SetUpdateStartDate gets a reference to the given string and assigns it to the UpdateStartDate field.
func (*Instance) UnmarshalJSON ¶
type KmsKeyPayload ¶
type KmsKeyPayload struct {
// The key UUID.
KeyId string `json:"keyId"`
// The key ring UUID the key is part of.
KeyRingId string `json:"keyRingId"`
// The Key version number.
KeyVersion int64 `json:"keyVersion"`
// The Service account email that will consume the key. Must be in the same project as the Secrets Manager instance.
ServiceAccountEmail string `json:"serviceAccountEmail"`
AdditionalProperties map[string]interface{}
}
KmsKeyPayload The key for secret encryption and decryption.
func NewKmsKeyPayload ¶
func NewKmsKeyPayload(keyId string, keyRingId string, keyVersion int64, serviceAccountEmail string) *KmsKeyPayload
NewKmsKeyPayload instantiates a new KmsKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewKmsKeyPayloadWithDefaults ¶
func NewKmsKeyPayloadWithDefaults() *KmsKeyPayload
NewKmsKeyPayloadWithDefaults instantiates a new KmsKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*KmsKeyPayload) GetKeyId ¶
func (o *KmsKeyPayload) GetKeyId() string
GetKeyId returns the KeyId field value
func (*KmsKeyPayload) GetKeyIdOk ¶
func (o *KmsKeyPayload) GetKeyIdOk() (*string, bool)
GetKeyIdOk returns a tuple with the KeyId field value and a boolean to check if the value has been set.
func (*KmsKeyPayload) GetKeyRingId ¶
func (o *KmsKeyPayload) GetKeyRingId() string
GetKeyRingId returns the KeyRingId field value
func (*KmsKeyPayload) GetKeyRingIdOk ¶
func (o *KmsKeyPayload) GetKeyRingIdOk() (*string, bool)
GetKeyRingIdOk returns a tuple with the KeyRingId field value and a boolean to check if the value has been set.
func (*KmsKeyPayload) GetKeyVersion ¶
func (o *KmsKeyPayload) GetKeyVersion() int64
GetKeyVersion returns the KeyVersion field value
func (*KmsKeyPayload) GetKeyVersionOk ¶
func (o *KmsKeyPayload) GetKeyVersionOk() (*int64, bool)
GetKeyVersionOk returns a tuple with the KeyVersion field value and a boolean to check if the value has been set.
func (*KmsKeyPayload) GetServiceAccountEmail ¶
func (o *KmsKeyPayload) GetServiceAccountEmail() string
GetServiceAccountEmail returns the ServiceAccountEmail field value
func (*KmsKeyPayload) GetServiceAccountEmailOk ¶
func (o *KmsKeyPayload) GetServiceAccountEmailOk() (*string, bool)
GetServiceAccountEmailOk returns a tuple with the ServiceAccountEmail field value and a boolean to check if the value has been set.
func (KmsKeyPayload) MarshalJSON ¶
func (o KmsKeyPayload) MarshalJSON() ([]byte, error)
func (*KmsKeyPayload) SetKeyId ¶
func (o *KmsKeyPayload) SetKeyId(v string)
SetKeyId sets field value
func (*KmsKeyPayload) SetKeyRingId ¶
func (o *KmsKeyPayload) SetKeyRingId(v string)
SetKeyRingId sets field value
func (*KmsKeyPayload) SetKeyVersion ¶
func (o *KmsKeyPayload) SetKeyVersion(v int64)
SetKeyVersion sets field value
func (*KmsKeyPayload) SetServiceAccountEmail ¶
func (o *KmsKeyPayload) SetServiceAccountEmail(v string)
SetServiceAccountEmail sets field value
func (KmsKeyPayload) ToMap ¶
func (o KmsKeyPayload) ToMap() (map[string]interface{}, error)
func (*KmsKeyPayload) UnmarshalJSON ¶
func (o *KmsKeyPayload) UnmarshalJSON(data []byte) (err error)
type ListACLsResponse ¶
type ListACLsResponse struct {
Acls []ACL `json:"acls"`
AdditionalProperties map[string]interface{}
}
ListACLsResponse struct for ListACLsResponse
func NewListACLsResponse ¶
func NewListACLsResponse(acls []ACL) *ListACLsResponse
NewListACLsResponse instantiates a new ListACLsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListACLsResponseWithDefaults ¶
func NewListACLsResponseWithDefaults() *ListACLsResponse
NewListACLsResponseWithDefaults instantiates a new ListACLsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListACLsResponse) GetAcls ¶
func (o *ListACLsResponse) GetAcls() []ACL
GetAcls returns the Acls field value
func (*ListACLsResponse) GetAclsOk ¶
func (o *ListACLsResponse) GetAclsOk() ([]ACL, bool)
GetAclsOk returns a tuple with the Acls field value and a boolean to check if the value has been set.
func (ListACLsResponse) MarshalJSON ¶
func (o ListACLsResponse) MarshalJSON() ([]byte, error)
func (*ListACLsResponse) SetAcls ¶
func (o *ListACLsResponse) SetAcls(v []ACL)
SetAcls sets field value
func (ListACLsResponse) ToMap ¶
func (o ListACLsResponse) ToMap() (map[string]interface{}, error)
func (*ListACLsResponse) UnmarshalJSON ¶
func (o *ListACLsResponse) UnmarshalJSON(data []byte) (err error)
type ListInstancesResponse ¶
type ListInstancesResponse struct {
Instances []Instance `json:"instances"`
AdditionalProperties map[string]interface{}
}
ListInstancesResponse struct for ListInstancesResponse
func NewListInstancesResponse ¶
func NewListInstancesResponse(instances []Instance) *ListInstancesResponse
NewListInstancesResponse instantiates a new ListInstancesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListInstancesResponseWithDefaults ¶
func NewListInstancesResponseWithDefaults() *ListInstancesResponse
NewListInstancesResponseWithDefaults instantiates a new ListInstancesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListInstancesResponse) GetInstances ¶
func (o *ListInstancesResponse) GetInstances() []Instance
GetInstances returns the Instances field value
func (*ListInstancesResponse) GetInstancesOk ¶
func (o *ListInstancesResponse) GetInstancesOk() ([]Instance, bool)
GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.
func (ListInstancesResponse) MarshalJSON ¶
func (o ListInstancesResponse) MarshalJSON() ([]byte, error)
func (*ListInstancesResponse) SetInstances ¶
func (o *ListInstancesResponse) SetInstances(v []Instance)
SetInstances sets field value
func (ListInstancesResponse) ToMap ¶
func (o ListInstancesResponse) ToMap() (map[string]interface{}, error)
func (*ListInstancesResponse) UnmarshalJSON ¶
func (o *ListInstancesResponse) UnmarshalJSON(data []byte) (err error)
type ListUsersResponse ¶
type ListUsersResponse struct {
Users []User `json:"users"`
AdditionalProperties map[string]interface{}
}
ListUsersResponse struct for ListUsersResponse
func NewListUsersResponse ¶
func NewListUsersResponse(users []User) *ListUsersResponse
NewListUsersResponse instantiates a new ListUsersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListUsersResponseWithDefaults ¶
func NewListUsersResponseWithDefaults() *ListUsersResponse
NewListUsersResponseWithDefaults instantiates a new ListUsersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListUsersResponse) GetUsers ¶
func (o *ListUsersResponse) GetUsers() []User
GetUsers returns the Users field value
func (*ListUsersResponse) GetUsersOk ¶
func (o *ListUsersResponse) GetUsersOk() ([]User, bool)
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (ListUsersResponse) MarshalJSON ¶
func (o ListUsersResponse) MarshalJSON() ([]byte, error)
func (*ListUsersResponse) SetUsers ¶
func (o *ListUsersResponse) SetUsers(v []User)
SetUsers sets field value
func (ListUsersResponse) ToMap ¶
func (o ListUsersResponse) ToMap() (map[string]interface{}, error)
func (*ListUsersResponse) UnmarshalJSON ¶
func (o *ListUsersResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NotFound ¶
type NotFound struct {
// The error message for not found resources
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
NotFound struct for NotFound
func NewNotFound ¶
NewNotFound instantiates a new NotFound object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNotFoundWithDefaults ¶
func NewNotFoundWithDefaults() *NotFound
NewNotFoundWithDefaults instantiates a new NotFound object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NotFound) GetMessage ¶
GetMessage returns the Message field value
func (*NotFound) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (NotFound) MarshalJSON ¶
func (*NotFound) UnmarshalJSON ¶
type NullableACL ¶
type NullableACL struct {
// contains filtered or unexported fields
}
func NewNullableACL ¶
func NewNullableACL(val *ACL) *NullableACL
func (NullableACL) Get ¶
func (v NullableACL) Get() *ACL
func (NullableACL) IsSet ¶
func (v NullableACL) IsSet() bool
func (NullableACL) MarshalJSON ¶
func (v NullableACL) MarshalJSON() ([]byte, error)
func (*NullableACL) Set ¶
func (v *NullableACL) Set(val *ACL)
func (*NullableACL) UnmarshalJSON ¶
func (v *NullableACL) UnmarshalJSON(src []byte) error
func (*NullableACL) Unset ¶
func (v *NullableACL) Unset()
type NullableApprole ¶ added in v0.19.0
type NullableApprole struct {
// contains filtered or unexported fields
}
func NewNullableApprole ¶ added in v0.19.0
func NewNullableApprole(val *Approle) *NullableApprole
func (NullableApprole) Get ¶ added in v0.19.0
func (v NullableApprole) Get() *Approle
func (NullableApprole) IsSet ¶ added in v0.19.0
func (v NullableApprole) IsSet() bool
func (NullableApprole) MarshalJSON ¶ added in v0.19.0
func (v NullableApprole) MarshalJSON() ([]byte, error)
func (*NullableApprole) Set ¶ added in v0.19.0
func (v *NullableApprole) Set(val *Approle)
func (*NullableApprole) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableApprole) UnmarshalJSON(src []byte) error
func (*NullableApprole) Unset ¶ added in v0.19.0
func (v *NullableApprole) Unset()
type NullableApproleList ¶ added in v0.19.0
type NullableApproleList struct {
// contains filtered or unexported fields
}
func NewNullableApproleList ¶ added in v0.19.0
func NewNullableApproleList(val *ApproleList) *NullableApproleList
func (NullableApproleList) Get ¶ added in v0.19.0
func (v NullableApproleList) Get() *ApproleList
func (NullableApproleList) IsSet ¶ added in v0.19.0
func (v NullableApproleList) IsSet() bool
func (NullableApproleList) MarshalJSON ¶ added in v0.19.0
func (v NullableApproleList) MarshalJSON() ([]byte, error)
func (*NullableApproleList) Set ¶ added in v0.19.0
func (v *NullableApproleList) Set(val *ApproleList)
func (*NullableApproleList) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableApproleList) UnmarshalJSON(src []byte) error
func (*NullableApproleList) Unset ¶ added in v0.19.0
func (v *NullableApproleList) Unset()
type NullableApproleSecret ¶ added in v0.19.0
type NullableApproleSecret struct {
// contains filtered or unexported fields
}
func NewNullableApproleSecret ¶ added in v0.19.0
func NewNullableApproleSecret(val *ApproleSecret) *NullableApproleSecret
func (NullableApproleSecret) Get ¶ added in v0.19.0
func (v NullableApproleSecret) Get() *ApproleSecret
func (NullableApproleSecret) IsSet ¶ added in v0.19.0
func (v NullableApproleSecret) IsSet() bool
func (NullableApproleSecret) MarshalJSON ¶ added in v0.19.0
func (v NullableApproleSecret) MarshalJSON() ([]byte, error)
func (*NullableApproleSecret) Set ¶ added in v0.19.0
func (v *NullableApproleSecret) Set(val *ApproleSecret)
func (*NullableApproleSecret) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableApproleSecret) UnmarshalJSON(src []byte) error
func (*NullableApproleSecret) Unset ¶ added in v0.19.0
func (v *NullableApproleSecret) Unset()
type NullableApproleSecretList ¶ added in v0.19.0
type NullableApproleSecretList struct {
// contains filtered or unexported fields
}
func NewNullableApproleSecretList ¶ added in v0.19.0
func NewNullableApproleSecretList(val *ApproleSecretList) *NullableApproleSecretList
func (NullableApproleSecretList) Get ¶ added in v0.19.0
func (v NullableApproleSecretList) Get() *ApproleSecretList
func (NullableApproleSecretList) IsSet ¶ added in v0.19.0
func (v NullableApproleSecretList) IsSet() bool
func (NullableApproleSecretList) MarshalJSON ¶ added in v0.19.0
func (v NullableApproleSecretList) MarshalJSON() ([]byte, error)
func (*NullableApproleSecretList) Set ¶ added in v0.19.0
func (v *NullableApproleSecretList) Set(val *ApproleSecretList)
func (*NullableApproleSecretList) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableApproleSecretList) UnmarshalJSON(src []byte) error
func (*NullableApproleSecretList) Unset ¶ added in v0.19.0
func (v *NullableApproleSecretList) Unset()
type NullableBadRequest ¶
type NullableBadRequest struct {
// contains filtered or unexported fields
}
func NewNullableBadRequest ¶
func NewNullableBadRequest(val *BadRequest) *NullableBadRequest
func (NullableBadRequest) Get ¶
func (v NullableBadRequest) Get() *BadRequest
func (NullableBadRequest) IsSet ¶
func (v NullableBadRequest) IsSet() bool
func (NullableBadRequest) MarshalJSON ¶
func (v NullableBadRequest) MarshalJSON() ([]byte, error)
func (*NullableBadRequest) Set ¶
func (v *NullableBadRequest) Set(val *BadRequest)
func (*NullableBadRequest) UnmarshalJSON ¶
func (v *NullableBadRequest) UnmarshalJSON(src []byte) error
func (*NullableBadRequest) Unset ¶
func (v *NullableBadRequest) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableConflict ¶
type NullableConflict struct {
// contains filtered or unexported fields
}
func NewNullableConflict ¶
func NewNullableConflict(val *Conflict) *NullableConflict
func (NullableConflict) Get ¶
func (v NullableConflict) Get() *Conflict
func (NullableConflict) IsSet ¶
func (v NullableConflict) IsSet() bool
func (NullableConflict) MarshalJSON ¶
func (v NullableConflict) MarshalJSON() ([]byte, error)
func (*NullableConflict) Set ¶
func (v *NullableConflict) Set(val *Conflict)
func (*NullableConflict) UnmarshalJSON ¶
func (v *NullableConflict) UnmarshalJSON(src []byte) error
func (*NullableConflict) Unset ¶
func (v *NullableConflict) Unset()
type NullableCreateACLPayload ¶
type NullableCreateACLPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateACLPayload ¶
func NewNullableCreateACLPayload(val *CreateACLPayload) *NullableCreateACLPayload
func (NullableCreateACLPayload) Get ¶
func (v NullableCreateACLPayload) Get() *CreateACLPayload
func (NullableCreateACLPayload) IsSet ¶
func (v NullableCreateACLPayload) IsSet() bool
func (NullableCreateACLPayload) MarshalJSON ¶
func (v NullableCreateACLPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateACLPayload) Set ¶
func (v *NullableCreateACLPayload) Set(val *CreateACLPayload)
func (*NullableCreateACLPayload) UnmarshalJSON ¶
func (v *NullableCreateACLPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateACLPayload) Unset ¶
func (v *NullableCreateACLPayload) Unset()
type NullableCreateApprolePayload ¶ added in v0.19.0
type NullableCreateApprolePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateApprolePayload ¶ added in v0.19.0
func NewNullableCreateApprolePayload(val *CreateApprolePayload) *NullableCreateApprolePayload
func (NullableCreateApprolePayload) Get ¶ added in v0.19.0
func (v NullableCreateApprolePayload) Get() *CreateApprolePayload
func (NullableCreateApprolePayload) IsSet ¶ added in v0.19.0
func (v NullableCreateApprolePayload) IsSet() bool
func (NullableCreateApprolePayload) MarshalJSON ¶ added in v0.19.0
func (v NullableCreateApprolePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateApprolePayload) Set ¶ added in v0.19.0
func (v *NullableCreateApprolePayload) Set(val *CreateApprolePayload)
func (*NullableCreateApprolePayload) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableCreateApprolePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateApprolePayload) Unset ¶ added in v0.19.0
func (v *NullableCreateApprolePayload) Unset()
type NullableCreateApproleSecretIdPayload ¶ added in v0.19.0
type NullableCreateApproleSecretIdPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateApproleSecretIdPayload ¶ added in v0.19.0
func NewNullableCreateApproleSecretIdPayload(val *CreateApproleSecretIdPayload) *NullableCreateApproleSecretIdPayload
func (NullableCreateApproleSecretIdPayload) Get ¶ added in v0.19.0
func (v NullableCreateApproleSecretIdPayload) Get() *CreateApproleSecretIdPayload
func (NullableCreateApproleSecretIdPayload) IsSet ¶ added in v0.19.0
func (v NullableCreateApproleSecretIdPayload) IsSet() bool
func (NullableCreateApproleSecretIdPayload) MarshalJSON ¶ added in v0.19.0
func (v NullableCreateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateApproleSecretIdPayload) Set ¶ added in v0.19.0
func (v *NullableCreateApproleSecretIdPayload) Set(val *CreateApproleSecretIdPayload)
func (*NullableCreateApproleSecretIdPayload) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableCreateApproleSecretIdPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateApproleSecretIdPayload) Unset ¶ added in v0.19.0
func (v *NullableCreateApproleSecretIdPayload) Unset()
type NullableCreateInstancePayload ¶
type NullableCreateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateInstancePayload ¶
func NewNullableCreateInstancePayload(val *CreateInstancePayload) *NullableCreateInstancePayload
func (NullableCreateInstancePayload) Get ¶
func (v NullableCreateInstancePayload) Get() *CreateInstancePayload
func (NullableCreateInstancePayload) IsSet ¶
func (v NullableCreateInstancePayload) IsSet() bool
func (NullableCreateInstancePayload) MarshalJSON ¶
func (v NullableCreateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateInstancePayload) Set ¶
func (v *NullableCreateInstancePayload) Set(val *CreateInstancePayload)
func (*NullableCreateInstancePayload) UnmarshalJSON ¶
func (v *NullableCreateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateInstancePayload) Unset ¶
func (v *NullableCreateInstancePayload) Unset()
type NullableCreateUserPayload ¶
type NullableCreateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserPayload ¶
func NewNullableCreateUserPayload(val *CreateUserPayload) *NullableCreateUserPayload
func (NullableCreateUserPayload) Get ¶
func (v NullableCreateUserPayload) Get() *CreateUserPayload
func (NullableCreateUserPayload) IsSet ¶
func (v NullableCreateUserPayload) IsSet() bool
func (NullableCreateUserPayload) MarshalJSON ¶
func (v NullableCreateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateUserPayload) Set ¶
func (v *NullableCreateUserPayload) Set(val *CreateUserPayload)
func (*NullableCreateUserPayload) UnmarshalJSON ¶
func (v *NullableCreateUserPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateUserPayload) Unset ¶
func (v *NullableCreateUserPayload) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInstance ¶
type NullableInstance struct {
// contains filtered or unexported fields
}
func NewNullableInstance ¶
func NewNullableInstance(val *Instance) *NullableInstance
func (NullableInstance) Get ¶
func (v NullableInstance) Get() *Instance
func (NullableInstance) IsSet ¶
func (v NullableInstance) IsSet() bool
func (NullableInstance) MarshalJSON ¶
func (v NullableInstance) MarshalJSON() ([]byte, error)
func (*NullableInstance) Set ¶
func (v *NullableInstance) Set(val *Instance)
func (*NullableInstance) UnmarshalJSON ¶
func (v *NullableInstance) UnmarshalJSON(src []byte) error
func (*NullableInstance) Unset ¶
func (v *NullableInstance) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableKmsKeyPayload ¶
type NullableKmsKeyPayload struct {
// contains filtered or unexported fields
}
func NewNullableKmsKeyPayload ¶
func NewNullableKmsKeyPayload(val *KmsKeyPayload) *NullableKmsKeyPayload
func (NullableKmsKeyPayload) Get ¶
func (v NullableKmsKeyPayload) Get() *KmsKeyPayload
func (NullableKmsKeyPayload) IsSet ¶
func (v NullableKmsKeyPayload) IsSet() bool
func (NullableKmsKeyPayload) MarshalJSON ¶
func (v NullableKmsKeyPayload) MarshalJSON() ([]byte, error)
func (*NullableKmsKeyPayload) Set ¶
func (v *NullableKmsKeyPayload) Set(val *KmsKeyPayload)
func (*NullableKmsKeyPayload) UnmarshalJSON ¶
func (v *NullableKmsKeyPayload) UnmarshalJSON(src []byte) error
func (*NullableKmsKeyPayload) Unset ¶
func (v *NullableKmsKeyPayload) Unset()
type NullableListACLsResponse ¶
type NullableListACLsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListACLsResponse ¶
func NewNullableListACLsResponse(val *ListACLsResponse) *NullableListACLsResponse
func (NullableListACLsResponse) Get ¶
func (v NullableListACLsResponse) Get() *ListACLsResponse
func (NullableListACLsResponse) IsSet ¶
func (v NullableListACLsResponse) IsSet() bool
func (NullableListACLsResponse) MarshalJSON ¶
func (v NullableListACLsResponse) MarshalJSON() ([]byte, error)
func (*NullableListACLsResponse) Set ¶
func (v *NullableListACLsResponse) Set(val *ListACLsResponse)
func (*NullableListACLsResponse) UnmarshalJSON ¶
func (v *NullableListACLsResponse) UnmarshalJSON(src []byte) error
func (*NullableListACLsResponse) Unset ¶
func (v *NullableListACLsResponse) Unset()
type NullableListInstancesResponse ¶
type NullableListInstancesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListInstancesResponse ¶
func NewNullableListInstancesResponse(val *ListInstancesResponse) *NullableListInstancesResponse
func (NullableListInstancesResponse) Get ¶
func (v NullableListInstancesResponse) Get() *ListInstancesResponse
func (NullableListInstancesResponse) IsSet ¶
func (v NullableListInstancesResponse) IsSet() bool
func (NullableListInstancesResponse) MarshalJSON ¶
func (v NullableListInstancesResponse) MarshalJSON() ([]byte, error)
func (*NullableListInstancesResponse) Set ¶
func (v *NullableListInstancesResponse) Set(val *ListInstancesResponse)
func (*NullableListInstancesResponse) UnmarshalJSON ¶
func (v *NullableListInstancesResponse) UnmarshalJSON(src []byte) error
func (*NullableListInstancesResponse) Unset ¶
func (v *NullableListInstancesResponse) Unset()
type NullableListUsersResponse ¶
type NullableListUsersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUsersResponse ¶
func NewNullableListUsersResponse(val *ListUsersResponse) *NullableListUsersResponse
func (NullableListUsersResponse) Get ¶
func (v NullableListUsersResponse) Get() *ListUsersResponse
func (NullableListUsersResponse) IsSet ¶
func (v NullableListUsersResponse) IsSet() bool
func (NullableListUsersResponse) MarshalJSON ¶
func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
func (*NullableListUsersResponse) Set ¶
func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
func (*NullableListUsersResponse) UnmarshalJSON ¶
func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
func (*NullableListUsersResponse) Unset ¶
func (v *NullableListUsersResponse) Unset()
type NullableNotFound ¶
type NullableNotFound struct {
// contains filtered or unexported fields
}
func NewNullableNotFound ¶
func NewNullableNotFound(val *NotFound) *NullableNotFound
func (NullableNotFound) Get ¶
func (v NullableNotFound) Get() *NotFound
func (NullableNotFound) IsSet ¶
func (v NullableNotFound) IsSet() bool
func (NullableNotFound) MarshalJSON ¶
func (v NullableNotFound) MarshalJSON() ([]byte, error)
func (*NullableNotFound) Set ¶
func (v *NullableNotFound) Set(val *NotFound)
func (*NullableNotFound) UnmarshalJSON ¶
func (v *NullableNotFound) UnmarshalJSON(src []byte) error
func (*NullableNotFound) Unset ¶
func (v *NullableNotFound) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateACLPayload ¶
type NullableUpdateACLPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateACLPayload ¶
func NewNullableUpdateACLPayload(val *UpdateACLPayload) *NullableUpdateACLPayload
func (NullableUpdateACLPayload) Get ¶
func (v NullableUpdateACLPayload) Get() *UpdateACLPayload
func (NullableUpdateACLPayload) IsSet ¶
func (v NullableUpdateACLPayload) IsSet() bool
func (NullableUpdateACLPayload) MarshalJSON ¶
func (v NullableUpdateACLPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateACLPayload) Set ¶
func (v *NullableUpdateACLPayload) Set(val *UpdateACLPayload)
func (*NullableUpdateACLPayload) UnmarshalJSON ¶
func (v *NullableUpdateACLPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateACLPayload) Unset ¶
func (v *NullableUpdateACLPayload) Unset()
type NullableUpdateACLsPayload ¶
type NullableUpdateACLsPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateACLsPayload ¶
func NewNullableUpdateACLsPayload(val *UpdateACLsPayload) *NullableUpdateACLsPayload
func (NullableUpdateACLsPayload) Get ¶
func (v NullableUpdateACLsPayload) Get() *UpdateACLsPayload
func (NullableUpdateACLsPayload) IsSet ¶
func (v NullableUpdateACLsPayload) IsSet() bool
func (NullableUpdateACLsPayload) MarshalJSON ¶
func (v NullableUpdateACLsPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateACLsPayload) Set ¶
func (v *NullableUpdateACLsPayload) Set(val *UpdateACLsPayload)
func (*NullableUpdateACLsPayload) UnmarshalJSON ¶
func (v *NullableUpdateACLsPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateACLsPayload) Unset ¶
func (v *NullableUpdateACLsPayload) Unset()
type NullableUpdateApprolePayload ¶ added in v0.19.0
type NullableUpdateApprolePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateApprolePayload ¶ added in v0.19.0
func NewNullableUpdateApprolePayload(val *UpdateApprolePayload) *NullableUpdateApprolePayload
func (NullableUpdateApprolePayload) Get ¶ added in v0.19.0
func (v NullableUpdateApprolePayload) Get() *UpdateApprolePayload
func (NullableUpdateApprolePayload) IsSet ¶ added in v0.19.0
func (v NullableUpdateApprolePayload) IsSet() bool
func (NullableUpdateApprolePayload) MarshalJSON ¶ added in v0.19.0
func (v NullableUpdateApprolePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateApprolePayload) Set ¶ added in v0.19.0
func (v *NullableUpdateApprolePayload) Set(val *UpdateApprolePayload)
func (*NullableUpdateApprolePayload) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableUpdateApprolePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateApprolePayload) Unset ¶ added in v0.19.0
func (v *NullableUpdateApprolePayload) Unset()
type NullableUpdateApproleSecretIdPayload ¶ added in v0.19.0
type NullableUpdateApproleSecretIdPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateApproleSecretIdPayload ¶ added in v0.19.0
func NewNullableUpdateApproleSecretIdPayload(val *UpdateApproleSecretIdPayload) *NullableUpdateApproleSecretIdPayload
func (NullableUpdateApproleSecretIdPayload) Get ¶ added in v0.19.0
func (v NullableUpdateApproleSecretIdPayload) Get() *UpdateApproleSecretIdPayload
func (NullableUpdateApproleSecretIdPayload) IsSet ¶ added in v0.19.0
func (v NullableUpdateApproleSecretIdPayload) IsSet() bool
func (NullableUpdateApproleSecretIdPayload) MarshalJSON ¶ added in v0.19.0
func (v NullableUpdateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateApproleSecretIdPayload) Set ¶ added in v0.19.0
func (v *NullableUpdateApproleSecretIdPayload) Set(val *UpdateApproleSecretIdPayload)
func (*NullableUpdateApproleSecretIdPayload) UnmarshalJSON ¶ added in v0.19.0
func (v *NullableUpdateApproleSecretIdPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateApproleSecretIdPayload) Unset ¶ added in v0.19.0
func (v *NullableUpdateApproleSecretIdPayload) Unset()
type NullableUpdateInstancePayload ¶
type NullableUpdateInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateInstancePayload ¶
func NewNullableUpdateInstancePayload(val *UpdateInstancePayload) *NullableUpdateInstancePayload
func (NullableUpdateInstancePayload) Get ¶
func (v NullableUpdateInstancePayload) Get() *UpdateInstancePayload
func (NullableUpdateInstancePayload) IsSet ¶
func (v NullableUpdateInstancePayload) IsSet() bool
func (NullableUpdateInstancePayload) MarshalJSON ¶
func (v NullableUpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateInstancePayload) Set ¶
func (v *NullableUpdateInstancePayload) Set(val *UpdateInstancePayload)
func (*NullableUpdateInstancePayload) UnmarshalJSON ¶
func (v *NullableUpdateInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateInstancePayload) Unset ¶
func (v *NullableUpdateInstancePayload) Unset()
type NullableUpdateUserPayload ¶
type NullableUpdateUserPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUserPayload ¶
func NewNullableUpdateUserPayload(val *UpdateUserPayload) *NullableUpdateUserPayload
func (NullableUpdateUserPayload) Get ¶
func (v NullableUpdateUserPayload) Get() *UpdateUserPayload
func (NullableUpdateUserPayload) IsSet ¶
func (v NullableUpdateUserPayload) IsSet() bool
func (NullableUpdateUserPayload) MarshalJSON ¶
func (v NullableUpdateUserPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserPayload) Set ¶
func (v *NullableUpdateUserPayload) Set(val *UpdateUserPayload)
func (*NullableUpdateUserPayload) UnmarshalJSON ¶
func (v *NullableUpdateUserPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserPayload) Unset ¶
func (v *NullableUpdateUserPayload) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type UpdateACLPayload ¶
type UpdateACLPayload struct {
// The given IP/IP Range that is permitted to access.
Cidr string `json:"cidr"`
AdditionalProperties map[string]interface{}
}
UpdateACLPayload struct for UpdateACLPayload
func NewUpdateACLPayload ¶
func NewUpdateACLPayload(cidr string) *UpdateACLPayload
NewUpdateACLPayload instantiates a new UpdateACLPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateACLPayloadWithDefaults ¶
func NewUpdateACLPayloadWithDefaults() *UpdateACLPayload
NewUpdateACLPayloadWithDefaults instantiates a new UpdateACLPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateACLPayload) GetCidr ¶
func (o *UpdateACLPayload) GetCidr() string
GetCidr returns the Cidr field value
func (*UpdateACLPayload) GetCidrOk ¶
func (o *UpdateACLPayload) GetCidrOk() (*string, bool)
GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.
func (UpdateACLPayload) MarshalJSON ¶
func (o UpdateACLPayload) MarshalJSON() ([]byte, error)
func (*UpdateACLPayload) SetCidr ¶
func (o *UpdateACLPayload) SetCidr(v string)
SetCidr sets field value
func (UpdateACLPayload) ToMap ¶
func (o UpdateACLPayload) ToMap() (map[string]interface{}, error)
func (*UpdateACLPayload) UnmarshalJSON ¶
func (o *UpdateACLPayload) UnmarshalJSON(data []byte) (err error)
type UpdateACLsPayload ¶
type UpdateACLsPayload struct {
Cidrs []UpdateACLPayload `json:"cidrs,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateACLsPayload struct for UpdateACLsPayload
func NewUpdateACLsPayload ¶
func NewUpdateACLsPayload() *UpdateACLsPayload
NewUpdateACLsPayload instantiates a new UpdateACLsPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateACLsPayloadWithDefaults ¶
func NewUpdateACLsPayloadWithDefaults() *UpdateACLsPayload
NewUpdateACLsPayloadWithDefaults instantiates a new UpdateACLsPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateACLsPayload) GetCidrs ¶
func (o *UpdateACLsPayload) GetCidrs() []UpdateACLPayload
GetCidrs returns the Cidrs field value if set, zero value otherwise.
func (*UpdateACLsPayload) GetCidrsOk ¶
func (o *UpdateACLsPayload) GetCidrsOk() ([]UpdateACLPayload, bool)
GetCidrsOk returns a tuple with the Cidrs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateACLsPayload) HasCidrs ¶
func (o *UpdateACLsPayload) HasCidrs() bool
HasCidrs returns a boolean if a field has been set.
func (UpdateACLsPayload) MarshalJSON ¶
func (o UpdateACLsPayload) MarshalJSON() ([]byte, error)
func (*UpdateACLsPayload) SetCidrs ¶
func (o *UpdateACLsPayload) SetCidrs(v []UpdateACLPayload)
SetCidrs gets a reference to the given []UpdateACLPayload and assigns it to the Cidrs field.
func (UpdateACLsPayload) ToMap ¶
func (o UpdateACLsPayload) ToMap() (map[string]interface{}, error)
func (*UpdateACLsPayload) UnmarshalJSON ¶ added in v0.16.0
func (o *UpdateACLsPayload) UnmarshalJSON(data []byte) (err error)
type UpdateApprolePayload ¶ added in v0.19.0
type UpdateApprolePayload struct {
// A user chosen description to differentiate between multiple approles.
Description *string `json:"description,omitempty"`
SecretIdNumUses *int32 `json:"secret_id_num_uses,omitempty"`
// Token TTL in time.Duration format (eg 15m for 15 minutes, 1h for 1 hour).
SecretIdTtl *string `json:"secret_id_ttl,omitempty" validate:"regexp=^[0-9]+[smh]$"`
// Is true if the approle has write access to the secrets engine. Is false for a read-only approle.
Write *bool `json:"write,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateApprolePayload struct for UpdateApprolePayload
func NewUpdateApprolePayload ¶ added in v0.19.0
func NewUpdateApprolePayload() *UpdateApprolePayload
NewUpdateApprolePayload instantiates a new UpdateApprolePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateApprolePayloadWithDefaults ¶ added in v0.19.0
func NewUpdateApprolePayloadWithDefaults() *UpdateApprolePayload
NewUpdateApprolePayloadWithDefaults instantiates a new UpdateApprolePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateApprolePayload) GetDescription ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateApprolePayload) GetDescriptionOk ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateApprolePayload) GetSecretIdNumUses ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetSecretIdNumUses() int32
GetSecretIdNumUses returns the SecretIdNumUses field value if set, zero value otherwise.
func (*UpdateApprolePayload) GetSecretIdNumUsesOk ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetSecretIdNumUsesOk() (*int32, bool)
GetSecretIdNumUsesOk returns a tuple with the SecretIdNumUses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateApprolePayload) GetSecretIdTtl ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetSecretIdTtl() string
GetSecretIdTtl returns the SecretIdTtl field value if set, zero value otherwise.
func (*UpdateApprolePayload) GetSecretIdTtlOk ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetSecretIdTtlOk() (*string, bool)
GetSecretIdTtlOk returns a tuple with the SecretIdTtl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateApprolePayload) GetWrite ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetWrite() bool
GetWrite returns the Write field value if set, zero value otherwise.
func (*UpdateApprolePayload) GetWriteOk ¶ added in v0.19.0
func (o *UpdateApprolePayload) GetWriteOk() (*bool, bool)
GetWriteOk returns a tuple with the Write field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateApprolePayload) HasDescription ¶ added in v0.19.0
func (o *UpdateApprolePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateApprolePayload) HasSecretIdNumUses ¶ added in v0.19.0
func (o *UpdateApprolePayload) HasSecretIdNumUses() bool
HasSecretIdNumUses returns a boolean if a field has been set.
func (*UpdateApprolePayload) HasSecretIdTtl ¶ added in v0.19.0
func (o *UpdateApprolePayload) HasSecretIdTtl() bool
HasSecretIdTtl returns a boolean if a field has been set.
func (*UpdateApprolePayload) HasWrite ¶ added in v0.19.0
func (o *UpdateApprolePayload) HasWrite() bool
HasWrite returns a boolean if a field has been set.
func (UpdateApprolePayload) MarshalJSON ¶ added in v0.19.0
func (o UpdateApprolePayload) MarshalJSON() ([]byte, error)
func (*UpdateApprolePayload) SetDescription ¶ added in v0.19.0
func (o *UpdateApprolePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateApprolePayload) SetSecretIdNumUses ¶ added in v0.19.0
func (o *UpdateApprolePayload) SetSecretIdNumUses(v int32)
SetSecretIdNumUses gets a reference to the given int32 and assigns it to the SecretIdNumUses field.
func (*UpdateApprolePayload) SetSecretIdTtl ¶ added in v0.19.0
func (o *UpdateApprolePayload) SetSecretIdTtl(v string)
SetSecretIdTtl gets a reference to the given string and assigns it to the SecretIdTtl field.
func (*UpdateApprolePayload) SetWrite ¶ added in v0.19.0
func (o *UpdateApprolePayload) SetWrite(v bool)
SetWrite gets a reference to the given bool and assigns it to the Write field.
func (UpdateApprolePayload) ToMap ¶ added in v0.19.0
func (o UpdateApprolePayload) ToMap() (map[string]interface{}, error)
func (*UpdateApprolePayload) UnmarshalJSON ¶ added in v0.19.0
func (o *UpdateApprolePayload) UnmarshalJSON(data []byte) (err error)
type UpdateApproleSecretIdPayload ¶ added in v0.19.0
type UpdateApproleSecretIdPayload struct {
// A user chosen description to differentiate between multiple approle secrets.
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateApproleSecretIdPayload struct for UpdateApproleSecretIdPayload
func NewUpdateApproleSecretIdPayload ¶ added in v0.19.0
func NewUpdateApproleSecretIdPayload() *UpdateApproleSecretIdPayload
NewUpdateApproleSecretIdPayload instantiates a new UpdateApproleSecretIdPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateApproleSecretIdPayloadWithDefaults ¶ added in v0.19.0
func NewUpdateApproleSecretIdPayloadWithDefaults() *UpdateApproleSecretIdPayload
NewUpdateApproleSecretIdPayloadWithDefaults instantiates a new UpdateApproleSecretIdPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateApproleSecretIdPayload) GetDescription ¶ added in v0.19.0
func (o *UpdateApproleSecretIdPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateApproleSecretIdPayload) GetDescriptionOk ¶ added in v0.19.0
func (o *UpdateApproleSecretIdPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateApproleSecretIdPayload) HasDescription ¶ added in v0.19.0
func (o *UpdateApproleSecretIdPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (UpdateApproleSecretIdPayload) MarshalJSON ¶ added in v0.19.0
func (o UpdateApproleSecretIdPayload) MarshalJSON() ([]byte, error)
func (*UpdateApproleSecretIdPayload) SetDescription ¶ added in v0.19.0
func (o *UpdateApproleSecretIdPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (UpdateApproleSecretIdPayload) ToMap ¶ added in v0.19.0
func (o UpdateApproleSecretIdPayload) ToMap() (map[string]interface{}, error)
func (*UpdateApproleSecretIdPayload) UnmarshalJSON ¶ added in v0.19.0
func (o *UpdateApproleSecretIdPayload) UnmarshalJSON(data []byte) (err error)
type UpdateInstancePayload ¶
type UpdateInstancePayload struct {
KmsKey *KmsKeyPayload `json:"kmsKey,omitempty"`
// A user chosen name to distinguish multiple secrets manager instances.
Name string `json:"name"`
AdditionalProperties map[string]interface{}
}
UpdateInstancePayload struct for UpdateInstancePayload
func NewUpdateInstancePayload ¶
func NewUpdateInstancePayload(name string) *UpdateInstancePayload
NewUpdateInstancePayload instantiates a new UpdateInstancePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateInstancePayloadWithDefaults ¶
func NewUpdateInstancePayloadWithDefaults() *UpdateInstancePayload
NewUpdateInstancePayloadWithDefaults instantiates a new UpdateInstancePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateInstancePayload) GetKmsKey ¶
func (o *UpdateInstancePayload) GetKmsKey() KmsKeyPayload
GetKmsKey returns the KmsKey field value if set, zero value otherwise.
func (*UpdateInstancePayload) GetKmsKeyOk ¶
func (o *UpdateInstancePayload) GetKmsKeyOk() (*KmsKeyPayload, bool)
GetKmsKeyOk returns a tuple with the KmsKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateInstancePayload) GetName ¶
func (o *UpdateInstancePayload) GetName() string
GetName returns the Name field value
func (*UpdateInstancePayload) GetNameOk ¶
func (o *UpdateInstancePayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateInstancePayload) HasKmsKey ¶
func (o *UpdateInstancePayload) HasKmsKey() bool
HasKmsKey returns a boolean if a field has been set.
func (UpdateInstancePayload) MarshalJSON ¶
func (o UpdateInstancePayload) MarshalJSON() ([]byte, error)
func (*UpdateInstancePayload) SetKmsKey ¶
func (o *UpdateInstancePayload) SetKmsKey(v KmsKeyPayload)
SetKmsKey gets a reference to the given KmsKeyPayload and assigns it to the KmsKey field.
func (*UpdateInstancePayload) SetName ¶
func (o *UpdateInstancePayload) SetName(v string)
SetName sets field value
func (UpdateInstancePayload) ToMap ¶
func (o UpdateInstancePayload) ToMap() (map[string]interface{}, error)
func (*UpdateInstancePayload) UnmarshalJSON ¶
func (o *UpdateInstancePayload) UnmarshalJSON(data []byte) (err error)
type UpdateUserPayload ¶
type UpdateUserPayload struct {
// A user chosen description to differentiate between multiple users.
Description *string `json:"description,omitempty"`
// Is true if the user has write access to the secrets engine. Is false for a read-only user.
Write *bool `json:"write,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateUserPayload struct for UpdateUserPayload
func NewUpdateUserPayload ¶
func NewUpdateUserPayload() *UpdateUserPayload
NewUpdateUserPayload instantiates a new UpdateUserPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateUserPayloadWithDefaults ¶
func NewUpdateUserPayloadWithDefaults() *UpdateUserPayload
NewUpdateUserPayloadWithDefaults instantiates a new UpdateUserPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateUserPayload) GetDescription ¶
func (o *UpdateUserPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateUserPayload) GetDescriptionOk ¶
func (o *UpdateUserPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserPayload) GetWrite ¶
func (o *UpdateUserPayload) GetWrite() bool
GetWrite returns the Write field value if set, zero value otherwise.
func (*UpdateUserPayload) GetWriteOk ¶
func (o *UpdateUserPayload) GetWriteOk() (*bool, bool)
GetWriteOk returns a tuple with the Write field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserPayload) HasDescription ¶
func (o *UpdateUserPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateUserPayload) HasWrite ¶
func (o *UpdateUserPayload) HasWrite() bool
HasWrite returns a boolean if a field has been set.
func (UpdateUserPayload) MarshalJSON ¶
func (o UpdateUserPayload) MarshalJSON() ([]byte, error)
func (*UpdateUserPayload) SetDescription ¶
func (o *UpdateUserPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateUserPayload) SetWrite ¶
func (o *UpdateUserPayload) SetWrite(v bool)
SetWrite gets a reference to the given bool and assigns it to the Write field.
func (UpdateUserPayload) ToMap ¶
func (o UpdateUserPayload) ToMap() (map[string]interface{}, error)
func (*UpdateUserPayload) UnmarshalJSON ¶ added in v0.16.0
func (o *UpdateUserPayload) UnmarshalJSON(data []byte) (err error)
type User ¶
type User struct {
// A user chosen description to differentiate between multiple users.
Description string `json:"description"`
// A auto generated unique id which identifies the users.
Id string `json:"id"`
// A auto generated password for logging in with the user.
Password string `json:"password"`
// A auto generated username for logging in with the user.
Username string `json:"username"`
// Is true if the user has write access to the secrets engine. Is false for a read-only user.
Write bool `json:"write"`
AdditionalProperties map[string]interface{}
}
User struct for User
func NewUser ¶
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetDescription ¶
GetDescription returns the Description field value
func (*User) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) GetPassword ¶
GetPassword returns the Password field value
func (*User) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*User) GetUsername ¶
GetUsername returns the Username field value
func (*User) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*User) GetWriteOk ¶
GetWriteOk returns a tuple with the Write field value and a boolean to check if the value has been set.
func (User) MarshalJSON ¶
func (*User) SetDescription ¶
SetDescription sets field value
func (*User) UnmarshalJSON ¶
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_acl.go
- model_approle.go
- model_approle_list.go
- model_approle_secret.go
- model_approle_secret_list.go
- model_bad_request.go
- model_conflict.go
- model_create_acl_payload.go
- model_create_approle_payload.go
- model_create_approle_secret_id_payload.go
- model_create_instance_payload.go
- model_create_user_payload.go
- model_instance.go
- model_kms_key_payload.go
- model_list_acls_response.go
- model_list_instances_response.go
- model_list_users_response.go
- model_not_found.go
- model_update_acl_payload.go
- model_update_acls_payload.go
- model_update_approle_payload.go
- model_update_approle_secret_id_payload.go
- model_update_instance_payload.go
- model_update_user_payload.go
- model_user.go
- response.go
- utils.go