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 APIClient
- type APIResponse
- type AddInstanceRoleBindingsPayload
- func (o *AddInstanceRoleBindingsPayload) GetRole() string
- func (o *AddInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *AddInstanceRoleBindingsPayload) GetSubject() string
- func (o *AddInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o AddInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *AddInstanceRoleBindingsPayload) SetRole(v string)
- func (o *AddInstanceRoleBindingsPayload) SetSubject(v string)
- func (o AddInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *AddInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type AddSecretGroupRoleBindingsPayload
- func (o *AddSecretGroupRoleBindingsPayload) GetRole() string
- func (o *AddSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *AddSecretGroupRoleBindingsPayload) GetSubject() string
- func (o *AddSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o AddSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *AddSecretGroupRoleBindingsPayload) SetRole(v string)
- func (o *AddSecretGroupRoleBindingsPayload) SetSubject(v string)
- func (o AddSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *AddSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type ApiAddInstanceRoleBindingsRequest
- type ApiAddSecretGroupRoleBindingsRequest
- type ApiEditInstanceRoleBindingsRequest
- type ApiEditSecretGroupRoleBindingsRequest
- type ApiGetInstanceRoleBindingsRequest
- type ApiGetSecretGroupRoleBindingsRequest
- type ApiListInstanceRoleBindingsRequest
- type ApiListSecretGroupRoleBindingsRequest
- type ApiRemoveInstanceRoleBindingsRequest
- type ApiRemoveSecretGroupRoleBindingsRequest
- 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 CreateSecretgroupPayload
- func (o *CreateSecretgroupPayload) GetDescription() string
- func (o *CreateSecretgroupPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateSecretgroupPayload) GetSecrets() []string
- func (o *CreateSecretgroupPayload) GetSecretsOk() ([]string, bool)
- func (o CreateSecretgroupPayload) MarshalJSON() ([]byte, error)
- func (o *CreateSecretgroupPayload) SetDescription(v string)
- func (o *CreateSecretgroupPayload) SetSecrets(v []string)
- func (o CreateSecretgroupPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateSecretgroupPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest
- func (a *DefaultAPIService) AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)
- func (a *DefaultAPIService) AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest
- func (a *DefaultAPIService) AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)
- func (a *DefaultAPIService) EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest
- func (a *DefaultAPIService) EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)
- func (a *DefaultAPIService) EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest
- func (a *DefaultAPIService) EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)
- func (a *DefaultAPIService) GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest
- func (a *DefaultAPIService) GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)
- func (a *DefaultAPIService) GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest
- func (a *DefaultAPIService) GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)
- func (a *DefaultAPIService) ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest
- func (a *DefaultAPIService) ListInstanceRoleBindingsExecute(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)
- func (a *DefaultAPIService) ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest
- func (a *DefaultAPIService) ListSecretGroupRoleBindingsExecute(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)
- func (a *DefaultAPIService) RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest
- func (a *DefaultAPIService) RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error
- func (a *DefaultAPIService) RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest
- func (a *DefaultAPIService) RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest
- func (a DefaultAPIServiceMock) AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)
- func (a DefaultAPIServiceMock) AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest
- func (a DefaultAPIServiceMock) AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)
- func (a DefaultAPIServiceMock) EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest
- func (a DefaultAPIServiceMock) EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)
- func (a DefaultAPIServiceMock) EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest
- func (a DefaultAPIServiceMock) EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)
- func (a DefaultAPIServiceMock) GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest
- func (a DefaultAPIServiceMock) GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)
- func (a DefaultAPIServiceMock) GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest
- func (a DefaultAPIServiceMock) GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)
- func (a DefaultAPIServiceMock) ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest
- func (a DefaultAPIServiceMock) ListInstanceRoleBindingsExecute(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)
- func (a DefaultAPIServiceMock) ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest
- func (a DefaultAPIServiceMock) ListSecretGroupRoleBindingsExecute(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)
- func (a DefaultAPIServiceMock) RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest
- func (a DefaultAPIServiceMock) RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error
- func (a DefaultAPIServiceMock) RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest
- func (a DefaultAPIServiceMock) RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error
- type EditInstanceRoleBindingsPayload
- func (o *EditInstanceRoleBindingsPayload) GetRole() string
- func (o *EditInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *EditInstanceRoleBindingsPayload) GetSubject() string
- func (o *EditInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o EditInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *EditInstanceRoleBindingsPayload) SetRole(v string)
- func (o *EditInstanceRoleBindingsPayload) SetSubject(v string)
- func (o EditInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *EditInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type EditSecretGroupRoleBindingsPayload
- func (o *EditSecretGroupRoleBindingsPayload) GetRole() string
- func (o *EditSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *EditSecretGroupRoleBindingsPayload) GetSubject() string
- func (o *EditSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o EditSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *EditSecretGroupRoleBindingsPayload) SetRole(v string)
- func (o *EditSecretGroupRoleBindingsPayload) SetSubject(v string)
- func (o EditSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *EditSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- func (o *ErrorResponse) GetError() string
- func (o *ErrorResponse) GetErrorOk() (*string, bool)
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) GetPath() string
- func (o *ErrorResponse) GetPathOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() int32
- func (o *ErrorResponse) GetStatusOk() (*int32, bool)
- func (o *ErrorResponse) GetTimeStamp() time.Time
- func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetError(v string)
- func (o *ErrorResponse) SetMessage(v string)
- func (o *ErrorResponse) SetPath(v string)
- func (o *ErrorResponse) SetStatus(v int32)
- func (o *ErrorResponse) SetTimeStamp(v time.Time)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type GetInstanceRoleBindingsPayload
- func (o *GetInstanceRoleBindingsPayload) GetRole() string
- func (o *GetInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *GetInstanceRoleBindingsPayload) GetSubject() string
- func (o *GetInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o GetInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *GetInstanceRoleBindingsPayload) SetRole(v string)
- func (o *GetInstanceRoleBindingsPayload) SetSubject(v string)
- func (o GetInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *GetInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type GetSecretGroupRoleBindingsPayload
- func (o *GetSecretGroupRoleBindingsPayload) GetRole() string
- func (o *GetSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *GetSecretGroupRoleBindingsPayload) GetSubject() string
- func (o *GetSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o GetSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *GetSecretGroupRoleBindingsPayload) SetRole(v string)
- func (o *GetSecretGroupRoleBindingsPayload) SetSubject(v string)
- func (o GetSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *GetSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type ListRoleBindingsResponse
- func (o *ListRoleBindingsResponse) GetRoleBindings() []RoleBinding
- func (o *ListRoleBindingsResponse) GetRoleBindingsOk() ([]RoleBinding, bool)
- func (o *ListRoleBindingsResponse) HasRoleBindings() bool
- func (o ListRoleBindingsResponse) MarshalJSON() ([]byte, error)
- func (o *ListRoleBindingsResponse) SetRoleBindings(v []RoleBinding)
- func (o ListRoleBindingsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListRoleBindingsResponse) UnmarshalJSON(data []byte) (err error)
- type ListSecretgroupsResponse
- func (o *ListSecretgroupsResponse) GetSecretgroups() []Secretgroup
- func (o *ListSecretgroupsResponse) GetSecretgroupsOk() ([]Secretgroup, bool)
- func (o *ListSecretgroupsResponse) HasSecretgroups() bool
- func (o ListSecretgroupsResponse) MarshalJSON() ([]byte, error)
- func (o *ListSecretgroupsResponse) SetSecretgroups(v []Secretgroup)
- func (o ListSecretgroupsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListSecretgroupsResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NotFound
- type NullableAddInstanceRoleBindingsPayload
- func (v NullableAddInstanceRoleBindingsPayload) Get() *AddInstanceRoleBindingsPayload
- func (v NullableAddInstanceRoleBindingsPayload) IsSet() bool
- func (v NullableAddInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableAddInstanceRoleBindingsPayload) Set(val *AddInstanceRoleBindingsPayload)
- func (v *NullableAddInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableAddInstanceRoleBindingsPayload) Unset()
- type NullableAddSecretGroupRoleBindingsPayload
- func (v NullableAddSecretGroupRoleBindingsPayload) Get() *AddSecretGroupRoleBindingsPayload
- func (v NullableAddSecretGroupRoleBindingsPayload) IsSet() bool
- func (v NullableAddSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableAddSecretGroupRoleBindingsPayload) Set(val *AddSecretGroupRoleBindingsPayload)
- func (v *NullableAddSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableAddSecretGroupRoleBindingsPayload) Unset()
- type NullableBadRequest
- type NullableBool
- type NullableCreateSecretgroupPayload
- func (v NullableCreateSecretgroupPayload) Get() *CreateSecretgroupPayload
- func (v NullableCreateSecretgroupPayload) IsSet() bool
- func (v NullableCreateSecretgroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSecretgroupPayload) Set(val *CreateSecretgroupPayload)
- func (v *NullableCreateSecretgroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSecretgroupPayload) Unset()
- type NullableEditInstanceRoleBindingsPayload
- func (v NullableEditInstanceRoleBindingsPayload) Get() *EditInstanceRoleBindingsPayload
- func (v NullableEditInstanceRoleBindingsPayload) IsSet() bool
- func (v NullableEditInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableEditInstanceRoleBindingsPayload) Set(val *EditInstanceRoleBindingsPayload)
- func (v *NullableEditInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableEditInstanceRoleBindingsPayload) Unset()
- type NullableEditSecretGroupRoleBindingsPayload
- func (v NullableEditSecretGroupRoleBindingsPayload) Get() *EditSecretGroupRoleBindingsPayload
- func (v NullableEditSecretGroupRoleBindingsPayload) IsSet() bool
- func (v NullableEditSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableEditSecretGroupRoleBindingsPayload) Set(val *EditSecretGroupRoleBindingsPayload)
- func (v *NullableEditSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableEditSecretGroupRoleBindingsPayload) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetInstanceRoleBindingsPayload
- func (v NullableGetInstanceRoleBindingsPayload) Get() *GetInstanceRoleBindingsPayload
- func (v NullableGetInstanceRoleBindingsPayload) IsSet() bool
- func (v NullableGetInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableGetInstanceRoleBindingsPayload) Set(val *GetInstanceRoleBindingsPayload)
- func (v *NullableGetInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableGetInstanceRoleBindingsPayload) Unset()
- type NullableGetSecretGroupRoleBindingsPayload
- func (v NullableGetSecretGroupRoleBindingsPayload) Get() *GetSecretGroupRoleBindingsPayload
- func (v NullableGetSecretGroupRoleBindingsPayload) IsSet() bool
- func (v NullableGetSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableGetSecretGroupRoleBindingsPayload) Set(val *GetSecretGroupRoleBindingsPayload)
- func (v *NullableGetSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableGetSecretGroupRoleBindingsPayload) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListRoleBindingsResponse
- func (v NullableListRoleBindingsResponse) Get() *ListRoleBindingsResponse
- func (v NullableListRoleBindingsResponse) IsSet() bool
- func (v NullableListRoleBindingsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListRoleBindingsResponse) Set(val *ListRoleBindingsResponse)
- func (v *NullableListRoleBindingsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListRoleBindingsResponse) Unset()
- type NullableListSecretgroupsResponse
- func (v NullableListSecretgroupsResponse) Get() *ListSecretgroupsResponse
- func (v NullableListSecretgroupsResponse) IsSet() bool
- func (v NullableListSecretgroupsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListSecretgroupsResponse) Set(val *ListSecretgroupsResponse)
- func (v *NullableListSecretgroupsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListSecretgroupsResponse) Unset()
- type NullableNotFound
- type NullableRemoveInstanceRoleBindingsPayload
- func (v NullableRemoveInstanceRoleBindingsPayload) Get() *RemoveInstanceRoleBindingsPayload
- func (v NullableRemoveInstanceRoleBindingsPayload) IsSet() bool
- func (v NullableRemoveInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableRemoveInstanceRoleBindingsPayload) Set(val *RemoveInstanceRoleBindingsPayload)
- func (v *NullableRemoveInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableRemoveInstanceRoleBindingsPayload) Unset()
- type NullableRemoveSecretGroupRoleBindingsPayload
- func (v NullableRemoveSecretGroupRoleBindingsPayload) Get() *RemoveSecretGroupRoleBindingsPayload
- func (v NullableRemoveSecretGroupRoleBindingsPayload) IsSet() bool
- func (v NullableRemoveSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (v *NullableRemoveSecretGroupRoleBindingsPayload) Set(val *RemoveSecretGroupRoleBindingsPayload)
- func (v *NullableRemoveSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
- func (v *NullableRemoveSecretGroupRoleBindingsPayload) Unset()
- type NullableRoleBinding
- func (v NullableRoleBinding) Get() *RoleBinding
- func (v NullableRoleBinding) IsSet() bool
- func (v NullableRoleBinding) MarshalJSON() ([]byte, error)
- func (v *NullableRoleBinding) Set(val *RoleBinding)
- func (v *NullableRoleBinding) UnmarshalJSON(src []byte) error
- func (v *NullableRoleBinding) Unset()
- type NullableSecretgroup
- func (v NullableSecretgroup) Get() *Secretgroup
- func (v NullableSecretgroup) IsSet() bool
- func (v NullableSecretgroup) MarshalJSON() ([]byte, error)
- func (v *NullableSecretgroup) Set(val *Secretgroup)
- func (v *NullableSecretgroup) UnmarshalJSON(src []byte) error
- func (v *NullableSecretgroup) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateSecretgroupPayload
- func (v NullableUpdateSecretgroupPayload) Get() *UpdateSecretgroupPayload
- func (v NullableUpdateSecretgroupPayload) IsSet() bool
- func (v NullableUpdateSecretgroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSecretgroupPayload) Set(val *UpdateSecretgroupPayload)
- func (v *NullableUpdateSecretgroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSecretgroupPayload) Unset()
- type RemoveInstanceRoleBindingsPayload
- func (o *RemoveInstanceRoleBindingsPayload) GetRole() string
- func (o *RemoveInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *RemoveInstanceRoleBindingsPayload) GetSubject() string
- func (o *RemoveInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o RemoveInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *RemoveInstanceRoleBindingsPayload) SetRole(v string)
- func (o *RemoveInstanceRoleBindingsPayload) SetSubject(v string)
- func (o RemoveInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *RemoveInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type RemoveSecretGroupRoleBindingsPayload
- func (o *RemoveSecretGroupRoleBindingsPayload) GetRole() string
- func (o *RemoveSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
- func (o *RemoveSecretGroupRoleBindingsPayload) GetSubject() string
- func (o *RemoveSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
- func (o RemoveSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
- func (o *RemoveSecretGroupRoleBindingsPayload) SetRole(v string)
- func (o *RemoveSecretGroupRoleBindingsPayload) SetSubject(v string)
- func (o RemoveSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
- func (o *RemoveSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
- type RoleBinding
- func (o *RoleBinding) GetRole() string
- func (o *RoleBinding) GetRoleOk() (*string, bool)
- func (o *RoleBinding) GetSubject() string
- func (o *RoleBinding) GetSubjectOk() (*string, bool)
- func (o RoleBinding) MarshalJSON() ([]byte, error)
- func (o *RoleBinding) SetRole(v string)
- func (o *RoleBinding) SetSubject(v string)
- func (o RoleBinding) ToMap() (map[string]interface{}, error)
- func (o *RoleBinding) UnmarshalJSON(data []byte) (err error)
- type Secretgroup
- func (o *Secretgroup) GetDescription() string
- func (o *Secretgroup) GetDescriptionOk() (*string, bool)
- func (o *Secretgroup) GetId() string
- func (o *Secretgroup) GetIdOk() (*string, bool)
- func (o *Secretgroup) GetSecrets() []string
- func (o *Secretgroup) GetSecretsOk() ([]string, bool)
- func (o Secretgroup) MarshalJSON() ([]byte, error)
- func (o *Secretgroup) SetDescription(v string)
- func (o *Secretgroup) SetId(v string)
- func (o *Secretgroup) SetSecrets(v []string)
- func (o Secretgroup) ToMap() (map[string]interface{}, error)
- func (o *Secretgroup) UnmarshalJSON(data []byte) (err error)
- type UpdateSecretgroupPayload
- func (o *UpdateSecretgroupPayload) GetDescription() string
- func (o *UpdateSecretgroupPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateSecretgroupPayload) GetSecrets() []string
- func (o *UpdateSecretgroupPayload) GetSecretsOk() ([]string, bool)
- func (o *UpdateSecretgroupPayload) HasDescription() bool
- func (o *UpdateSecretgroupPayload) HasSecrets() bool
- func (o UpdateSecretgroupPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateSecretgroupPayload) SetDescription(v string)
- func (o *UpdateSecretgroupPayload) SetSecrets(v []string)
- func (o UpdateSecretgroupPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateSecretgroupPayload) 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 APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Secrets Manager API API v1alpha 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 AddInstanceRoleBindingsPayload ¶
type AddInstanceRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
AddInstanceRoleBindingsPayload struct for AddInstanceRoleBindingsPayload
func NewAddInstanceRoleBindingsPayload ¶
func NewAddInstanceRoleBindingsPayload(role string, subject string) *AddInstanceRoleBindingsPayload
NewAddInstanceRoleBindingsPayload instantiates a new AddInstanceRoleBindingsPayload 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 NewAddInstanceRoleBindingsPayloadWithDefaults ¶
func NewAddInstanceRoleBindingsPayloadWithDefaults() *AddInstanceRoleBindingsPayload
NewAddInstanceRoleBindingsPayloadWithDefaults instantiates a new AddInstanceRoleBindingsPayload 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 (*AddInstanceRoleBindingsPayload) GetRole ¶
func (o *AddInstanceRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*AddInstanceRoleBindingsPayload) GetRoleOk ¶
func (o *AddInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*AddInstanceRoleBindingsPayload) GetSubject ¶
func (o *AddInstanceRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*AddInstanceRoleBindingsPayload) GetSubjectOk ¶
func (o *AddInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (AddInstanceRoleBindingsPayload) MarshalJSON ¶
func (o AddInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*AddInstanceRoleBindingsPayload) SetRole ¶
func (o *AddInstanceRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*AddInstanceRoleBindingsPayload) SetSubject ¶
func (o *AddInstanceRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (AddInstanceRoleBindingsPayload) ToMap ¶
func (o AddInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*AddInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (o *AddInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type AddSecretGroupRoleBindingsPayload ¶
type AddSecretGroupRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
AddSecretGroupRoleBindingsPayload struct for AddSecretGroupRoleBindingsPayload
func NewAddSecretGroupRoleBindingsPayload ¶
func NewAddSecretGroupRoleBindingsPayload(role string, subject string) *AddSecretGroupRoleBindingsPayload
NewAddSecretGroupRoleBindingsPayload instantiates a new AddSecretGroupRoleBindingsPayload 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 NewAddSecretGroupRoleBindingsPayloadWithDefaults ¶
func NewAddSecretGroupRoleBindingsPayloadWithDefaults() *AddSecretGroupRoleBindingsPayload
NewAddSecretGroupRoleBindingsPayloadWithDefaults instantiates a new AddSecretGroupRoleBindingsPayload 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 (*AddSecretGroupRoleBindingsPayload) GetRole ¶
func (o *AddSecretGroupRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*AddSecretGroupRoleBindingsPayload) GetRoleOk ¶
func (o *AddSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*AddSecretGroupRoleBindingsPayload) GetSubject ¶
func (o *AddSecretGroupRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*AddSecretGroupRoleBindingsPayload) GetSubjectOk ¶
func (o *AddSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (AddSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (o AddSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*AddSecretGroupRoleBindingsPayload) SetRole ¶
func (o *AddSecretGroupRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*AddSecretGroupRoleBindingsPayload) SetSubject ¶
func (o *AddSecretGroupRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (AddSecretGroupRoleBindingsPayload) ToMap ¶
func (o AddSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*AddSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (o *AddSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type ApiAddInstanceRoleBindingsRequest ¶
type ApiAddInstanceRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddInstanceRoleBindingsRequest) AddInstanceRoleBindingsPayload ¶
func (r ApiAddInstanceRoleBindingsRequest) AddInstanceRoleBindingsPayload(addInstanceRoleBindingsPayload AddInstanceRoleBindingsPayload) ApiAddInstanceRoleBindingsRequest
func (ApiAddInstanceRoleBindingsRequest) Execute ¶
func (r ApiAddInstanceRoleBindingsRequest) Execute() (*RoleBinding, error)
type ApiAddSecretGroupRoleBindingsRequest ¶
type ApiAddSecretGroupRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiAddSecretGroupRoleBindingsRequest) AddSecretGroupRoleBindingsPayload ¶
func (r ApiAddSecretGroupRoleBindingsRequest) AddSecretGroupRoleBindingsPayload(addSecretGroupRoleBindingsPayload AddSecretGroupRoleBindingsPayload) ApiAddSecretGroupRoleBindingsRequest
func (ApiAddSecretGroupRoleBindingsRequest) Execute ¶
func (r ApiAddSecretGroupRoleBindingsRequest) Execute() (*RoleBinding, error)
type ApiEditInstanceRoleBindingsRequest ¶
type ApiEditInstanceRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiEditInstanceRoleBindingsRequest) EditInstanceRoleBindingsPayload ¶
func (r ApiEditInstanceRoleBindingsRequest) EditInstanceRoleBindingsPayload(editInstanceRoleBindingsPayload EditInstanceRoleBindingsPayload) ApiEditInstanceRoleBindingsRequest
func (ApiEditInstanceRoleBindingsRequest) Execute ¶
func (r ApiEditInstanceRoleBindingsRequest) Execute() (*RoleBinding, error)
type ApiEditSecretGroupRoleBindingsRequest ¶
type ApiEditSecretGroupRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiEditSecretGroupRoleBindingsRequest) EditSecretGroupRoleBindingsPayload ¶
func (r ApiEditSecretGroupRoleBindingsRequest) EditSecretGroupRoleBindingsPayload(editSecretGroupRoleBindingsPayload EditSecretGroupRoleBindingsPayload) ApiEditSecretGroupRoleBindingsRequest
func (ApiEditSecretGroupRoleBindingsRequest) Execute ¶
func (r ApiEditSecretGroupRoleBindingsRequest) Execute() (*RoleBinding, error)
type ApiGetInstanceRoleBindingsRequest ¶
type ApiGetInstanceRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetInstanceRoleBindingsRequest) Execute ¶
func (r ApiGetInstanceRoleBindingsRequest) Execute() (*RoleBinding, error)
func (ApiGetInstanceRoleBindingsRequest) GetInstanceRoleBindingsPayload ¶
func (r ApiGetInstanceRoleBindingsRequest) GetInstanceRoleBindingsPayload(getInstanceRoleBindingsPayload GetInstanceRoleBindingsPayload) ApiGetInstanceRoleBindingsRequest
type ApiGetSecretGroupRoleBindingsRequest ¶
type ApiGetSecretGroupRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetSecretGroupRoleBindingsRequest) Execute ¶
func (r ApiGetSecretGroupRoleBindingsRequest) Execute() (*RoleBinding, error)
func (ApiGetSecretGroupRoleBindingsRequest) GetSecretGroupRoleBindingsPayload ¶
func (r ApiGetSecretGroupRoleBindingsRequest) GetSecretGroupRoleBindingsPayload(getSecretGroupRoleBindingsPayload GetSecretGroupRoleBindingsPayload) ApiGetSecretGroupRoleBindingsRequest
type ApiListInstanceRoleBindingsRequest ¶
type ApiListInstanceRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListInstanceRoleBindingsRequest) Execute ¶
func (r ApiListInstanceRoleBindingsRequest) Execute() (*ListRoleBindingsResponse, error)
type ApiListSecretGroupRoleBindingsRequest ¶
type ApiListSecretGroupRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListSecretGroupRoleBindingsRequest) Execute ¶
func (r ApiListSecretGroupRoleBindingsRequest) Execute() (*ListRoleBindingsResponse, error)
type ApiRemoveInstanceRoleBindingsRequest ¶
type ApiRemoveInstanceRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveInstanceRoleBindingsRequest) Execute ¶
func (r ApiRemoveInstanceRoleBindingsRequest) Execute() error
func (ApiRemoveInstanceRoleBindingsRequest) RemoveInstanceRoleBindingsPayload ¶
func (r ApiRemoveInstanceRoleBindingsRequest) RemoveInstanceRoleBindingsPayload(removeInstanceRoleBindingsPayload RemoveInstanceRoleBindingsPayload) ApiRemoveInstanceRoleBindingsRequest
type ApiRemoveSecretGroupRoleBindingsRequest ¶
type ApiRemoveSecretGroupRoleBindingsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRemoveSecretGroupRoleBindingsRequest) Execute ¶
func (r ApiRemoveSecretGroupRoleBindingsRequest) Execute() error
func (ApiRemoveSecretGroupRoleBindingsRequest) RemoveSecretGroupRoleBindingsPayload ¶
func (r ApiRemoveSecretGroupRoleBindingsRequest) RemoveSecretGroupRoleBindingsPayload(removeSecretGroupRoleBindingsPayload RemoveSecretGroupRoleBindingsPayload) ApiRemoveSecretGroupRoleBindingsRequest
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 CreateSecretgroupPayload ¶
type CreateSecretgroupPayload struct {
// A user chosen description to differentiate between multiple secret groups.
Description string `json:"description"`
// A list of secrets this secret group contains.
Secrets []string `json:"secrets"`
AdditionalProperties map[string]interface{}
}
CreateSecretgroupPayload struct for CreateSecretgroupPayload
func NewCreateSecretgroupPayload ¶
func NewCreateSecretgroupPayload(description string, secrets []string) *CreateSecretgroupPayload
NewCreateSecretgroupPayload instantiates a new CreateSecretgroupPayload 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 NewCreateSecretgroupPayloadWithDefaults ¶
func NewCreateSecretgroupPayloadWithDefaults() *CreateSecretgroupPayload
NewCreateSecretgroupPayloadWithDefaults instantiates a new CreateSecretgroupPayload 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 (*CreateSecretgroupPayload) GetDescription ¶
func (o *CreateSecretgroupPayload) GetDescription() string
GetDescription returns the Description field value
func (*CreateSecretgroupPayload) GetDescriptionOk ¶
func (o *CreateSecretgroupPayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*CreateSecretgroupPayload) GetSecrets ¶
func (o *CreateSecretgroupPayload) GetSecrets() []string
GetSecrets returns the Secrets field value
func (*CreateSecretgroupPayload) GetSecretsOk ¶
func (o *CreateSecretgroupPayload) GetSecretsOk() ([]string, bool)
GetSecretsOk returns a tuple with the Secrets field value and a boolean to check if the value has been set.
func (CreateSecretgroupPayload) MarshalJSON ¶
func (o CreateSecretgroupPayload) MarshalJSON() ([]byte, error)
func (*CreateSecretgroupPayload) SetDescription ¶
func (o *CreateSecretgroupPayload) SetDescription(v string)
SetDescription sets field value
func (*CreateSecretgroupPayload) SetSecrets ¶
func (o *CreateSecretgroupPayload) SetSecrets(v []string)
SetSecrets sets field value
func (CreateSecretgroupPayload) ToMap ¶
func (o CreateSecretgroupPayload) ToMap() (map[string]interface{}, error)
func (*CreateSecretgroupPayload) UnmarshalJSON ¶
func (o *CreateSecretgroupPayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
AddInstanceRoleBindings Add a new role binding
Add role binding to the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiAddInstanceRoleBindingsRequest
*/
AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest
// AddInstanceRoleBindingsExecute executes the request
// @return RoleBinding
AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)
/*
AddSecretGroupRoleBindings Add a new role binding
Add role binding to the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiAddSecretGroupRoleBindingsRequest
*/
AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest
// AddSecretGroupRoleBindingsExecute executes the request
// @return RoleBinding
AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)
/*
EditInstanceRoleBindings Update an existing role binding
Update a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiEditInstanceRoleBindingsRequest
*/
EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest
// EditInstanceRoleBindingsExecute executes the request
// @return RoleBinding
EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)
/*
EditSecretGroupRoleBindings Update an existing role binding
Update a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiEditSecretGroupRoleBindingsRequest
*/
EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest
// EditSecretGroupRoleBindingsExecute executes the request
// @return RoleBinding
EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)
/*
GetInstanceRoleBindings Get role binding of a resource
Get a specific role binding of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiGetInstanceRoleBindingsRequest
*/
GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest
// GetInstanceRoleBindingsExecute executes the request
// @return RoleBinding
GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)
/*
GetSecretGroupRoleBindings Get role binding of a resource
Get a specific role binding of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiGetSecretGroupRoleBindingsRequest
*/
GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest
// GetSecretGroupRoleBindingsExecute executes the request
// @return RoleBinding
GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)
/*
ListInstanceRoleBindings List role bindings of a resource
List role bindings of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiListInstanceRoleBindingsRequest
*/
ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest
// ListInstanceRoleBindingsExecute executes the request
// @return ListRoleBindingsResponse
ListInstanceRoleBindingsExecute(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)
/*
ListSecretGroupRoleBindings List role bindings of a resource
List role bindings of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiListSecretGroupRoleBindingsRequest
*/
ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest
// ListSecretGroupRoleBindingsExecute executes the request
// @return ListRoleBindingsResponse
ListSecretGroupRoleBindingsExecute(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)
/*
RemoveInstanceRoleBindings Delete an existing role binding
Delete a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiRemoveInstanceRoleBindingsRequest
*/
RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest
// RemoveInstanceRoleBindingsExecute executes the request
RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error
/*
RemoveSecretGroupRoleBindings Delete an existing role binding
Delete a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@param resourceId
@return ApiRemoveSecretGroupRoleBindingsRequest
*/
RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest
// RemoveSecretGroupRoleBindingsExecute executes the request
RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) AddInstanceRoleBindings ¶
func (a *DefaultAPIService) AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest
AddInstanceRoleBindings Add a new role binding
Add role binding to the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiAddInstanceRoleBindingsRequest
func (*DefaultAPIService) AddInstanceRoleBindingsExecute ¶
func (a *DefaultAPIService) AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)
Execute executes the request
@return RoleBinding
func (*DefaultAPIService) AddSecretGroupRoleBindings ¶
func (a *DefaultAPIService) AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest
AddSecretGroupRoleBindings Add a new role binding
Add role binding to the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiAddSecretGroupRoleBindingsRequest
func (*DefaultAPIService) AddSecretGroupRoleBindingsExecute ¶
func (a *DefaultAPIService) AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)
Execute executes the request
@return RoleBinding
func (*DefaultAPIService) EditInstanceRoleBindings ¶
func (a *DefaultAPIService) EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest
EditInstanceRoleBindings Update an existing role binding
Update a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiEditInstanceRoleBindingsRequest
func (*DefaultAPIService) EditInstanceRoleBindingsExecute ¶
func (a *DefaultAPIService) EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)
Execute executes the request
@return RoleBinding
func (*DefaultAPIService) EditSecretGroupRoleBindings ¶
func (a *DefaultAPIService) EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest
EditSecretGroupRoleBindings Update an existing role binding
Update a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiEditSecretGroupRoleBindingsRequest
func (*DefaultAPIService) EditSecretGroupRoleBindingsExecute ¶
func (a *DefaultAPIService) EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)
Execute executes the request
@return RoleBinding
func (*DefaultAPIService) GetInstanceRoleBindings ¶
func (a *DefaultAPIService) GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest
GetInstanceRoleBindings Get role binding of a resource
Get a specific role binding of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiGetInstanceRoleBindingsRequest
func (*DefaultAPIService) GetInstanceRoleBindingsExecute ¶
func (a *DefaultAPIService) GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)
Execute executes the request
@return RoleBinding
func (*DefaultAPIService) GetSecretGroupRoleBindings ¶
func (a *DefaultAPIService) GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest
GetSecretGroupRoleBindings Get role binding of a resource
Get a specific role binding of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiGetSecretGroupRoleBindingsRequest
func (*DefaultAPIService) GetSecretGroupRoleBindingsExecute ¶
func (a *DefaultAPIService) GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)
Execute executes the request
@return RoleBinding
func (*DefaultAPIService) ListInstanceRoleBindings ¶
func (a *DefaultAPIService) ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest
ListInstanceRoleBindings List role bindings of a resource
List role bindings of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiListInstanceRoleBindingsRequest
func (*DefaultAPIService) ListInstanceRoleBindingsExecute ¶
func (a *DefaultAPIService) ListInstanceRoleBindingsExecute(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)
Execute executes the request
@return ListRoleBindingsResponse
func (*DefaultAPIService) ListSecretGroupRoleBindings ¶
func (a *DefaultAPIService) ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest
ListSecretGroupRoleBindings List role bindings of a resource
List role bindings of the given resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiListSecretGroupRoleBindingsRequest
func (*DefaultAPIService) ListSecretGroupRoleBindingsExecute ¶
func (a *DefaultAPIService) ListSecretGroupRoleBindingsExecute(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)
Execute executes the request
@return ListRoleBindingsResponse
func (*DefaultAPIService) RemoveInstanceRoleBindings ¶
func (a *DefaultAPIService) RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest
RemoveInstanceRoleBindings Delete an existing role binding
Delete a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiRemoveInstanceRoleBindingsRequest
func (*DefaultAPIService) RemoveInstanceRoleBindingsExecute ¶
func (a *DefaultAPIService) RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error
Execute executes the request
func (*DefaultAPIService) RemoveSecretGroupRoleBindings ¶
func (a *DefaultAPIService) RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest
RemoveSecretGroupRoleBindings Delete an existing role binding
Delete a role binding.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param region @param resourceId @return ApiRemoveSecretGroupRoleBindingsRequest
func (*DefaultAPIService) RemoveSecretGroupRoleBindingsExecute ¶
func (a *DefaultAPIService) RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error
Execute executes the request
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// AddInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the AddInstanceRoleBindingsExecute function of this mock
AddInstanceRoleBindingsExecuteMock *func(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)
// AddSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the AddSecretGroupRoleBindingsExecute function of this mock
AddSecretGroupRoleBindingsExecuteMock *func(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)
// EditInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the EditInstanceRoleBindingsExecute function of this mock
EditInstanceRoleBindingsExecuteMock *func(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)
// EditSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the EditSecretGroupRoleBindingsExecute function of this mock
EditSecretGroupRoleBindingsExecuteMock *func(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)
// GetInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the GetInstanceRoleBindingsExecute function of this mock
GetInstanceRoleBindingsExecuteMock *func(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)
// GetSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the GetSecretGroupRoleBindingsExecute function of this mock
GetSecretGroupRoleBindingsExecuteMock *func(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)
// ListInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the ListInstanceRoleBindingsExecute function of this mock
ListInstanceRoleBindingsExecuteMock *func(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)
// ListSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the ListSecretGroupRoleBindingsExecute function of this mock
ListSecretGroupRoleBindingsExecuteMock *func(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)
// RemoveInstanceRoleBindingsExecuteMock can be populated to implement the behavior of the RemoveInstanceRoleBindingsExecute function of this mock
RemoveInstanceRoleBindingsExecuteMock *func(r ApiRemoveInstanceRoleBindingsRequest) error
// RemoveSecretGroupRoleBindingsExecuteMock can be populated to implement the behavior of the RemoveSecretGroupRoleBindingsExecute function of this mock
RemoveSecretGroupRoleBindingsExecuteMock *func(r ApiRemoveSecretGroupRoleBindingsRequest) 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) AddInstanceRoleBindings ¶
func (a DefaultAPIServiceMock) AddInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiAddInstanceRoleBindingsRequest
func (DefaultAPIServiceMock) AddInstanceRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) AddInstanceRoleBindingsExecute(r ApiAddInstanceRoleBindingsRequest) (*RoleBinding, error)
AddInstanceRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddInstanceRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) AddSecretGroupRoleBindings ¶
func (a DefaultAPIServiceMock) AddSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiAddSecretGroupRoleBindingsRequest
func (DefaultAPIServiceMock) AddSecretGroupRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) AddSecretGroupRoleBindingsExecute(r ApiAddSecretGroupRoleBindingsRequest) (*RoleBinding, error)
AddSecretGroupRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the AddSecretGroupRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) EditInstanceRoleBindings ¶
func (a DefaultAPIServiceMock) EditInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiEditInstanceRoleBindingsRequest
func (DefaultAPIServiceMock) EditInstanceRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) EditInstanceRoleBindingsExecute(r ApiEditInstanceRoleBindingsRequest) (*RoleBinding, error)
EditInstanceRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EditInstanceRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) EditSecretGroupRoleBindings ¶
func (a DefaultAPIServiceMock) EditSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiEditSecretGroupRoleBindingsRequest
func (DefaultAPIServiceMock) EditSecretGroupRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) EditSecretGroupRoleBindingsExecute(r ApiEditSecretGroupRoleBindingsRequest) (*RoleBinding, error)
EditSecretGroupRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EditSecretGroupRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetInstanceRoleBindings ¶
func (a DefaultAPIServiceMock) GetInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiGetInstanceRoleBindingsRequest
func (DefaultAPIServiceMock) GetInstanceRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) GetInstanceRoleBindingsExecute(r ApiGetInstanceRoleBindingsRequest) (*RoleBinding, error)
GetInstanceRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetInstanceRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetSecretGroupRoleBindings ¶
func (a DefaultAPIServiceMock) GetSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiGetSecretGroupRoleBindingsRequest
func (DefaultAPIServiceMock) GetSecretGroupRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) GetSecretGroupRoleBindingsExecute(r ApiGetSecretGroupRoleBindingsRequest) (*RoleBinding, error)
GetSecretGroupRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetSecretGroupRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListInstanceRoleBindings ¶
func (a DefaultAPIServiceMock) ListInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiListInstanceRoleBindingsRequest
func (DefaultAPIServiceMock) ListInstanceRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) ListInstanceRoleBindingsExecute(r ApiListInstanceRoleBindingsRequest) (*ListRoleBindingsResponse, error)
ListInstanceRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListInstanceRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListSecretGroupRoleBindings ¶
func (a DefaultAPIServiceMock) ListSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiListSecretGroupRoleBindingsRequest
func (DefaultAPIServiceMock) ListSecretGroupRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) ListSecretGroupRoleBindingsExecute(r ApiListSecretGroupRoleBindingsRequest) (*ListRoleBindingsResponse, error)
ListSecretGroupRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListSecretGroupRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveInstanceRoleBindings ¶
func (a DefaultAPIServiceMock) RemoveInstanceRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveInstanceRoleBindingsRequest
func (DefaultAPIServiceMock) RemoveInstanceRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) RemoveInstanceRoleBindingsExecute(r ApiRemoveInstanceRoleBindingsRequest) error
RemoveInstanceRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveInstanceRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) RemoveSecretGroupRoleBindings ¶
func (a DefaultAPIServiceMock) RemoveSecretGroupRoleBindings(ctx context.Context, region string, resourceId string) ApiRemoveSecretGroupRoleBindingsRequest
func (DefaultAPIServiceMock) RemoveSecretGroupRoleBindingsExecute ¶
func (a DefaultAPIServiceMock) RemoveSecretGroupRoleBindingsExecute(r ApiRemoveSecretGroupRoleBindingsRequest) error
RemoveSecretGroupRoleBindingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RemoveSecretGroupRoleBindingsExecuteMock field in the DefaultAPIServiceMock struct.
type EditInstanceRoleBindingsPayload ¶
type EditInstanceRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
EditInstanceRoleBindingsPayload struct for EditInstanceRoleBindingsPayload
func NewEditInstanceRoleBindingsPayload ¶
func NewEditInstanceRoleBindingsPayload(role string, subject string) *EditInstanceRoleBindingsPayload
NewEditInstanceRoleBindingsPayload instantiates a new EditInstanceRoleBindingsPayload 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 NewEditInstanceRoleBindingsPayloadWithDefaults ¶
func NewEditInstanceRoleBindingsPayloadWithDefaults() *EditInstanceRoleBindingsPayload
NewEditInstanceRoleBindingsPayloadWithDefaults instantiates a new EditInstanceRoleBindingsPayload 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 (*EditInstanceRoleBindingsPayload) GetRole ¶
func (o *EditInstanceRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*EditInstanceRoleBindingsPayload) GetRoleOk ¶
func (o *EditInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*EditInstanceRoleBindingsPayload) GetSubject ¶
func (o *EditInstanceRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*EditInstanceRoleBindingsPayload) GetSubjectOk ¶
func (o *EditInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (EditInstanceRoleBindingsPayload) MarshalJSON ¶
func (o EditInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*EditInstanceRoleBindingsPayload) SetRole ¶
func (o *EditInstanceRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*EditInstanceRoleBindingsPayload) SetSubject ¶
func (o *EditInstanceRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (EditInstanceRoleBindingsPayload) ToMap ¶
func (o EditInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*EditInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (o *EditInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type EditSecretGroupRoleBindingsPayload ¶
type EditSecretGroupRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
EditSecretGroupRoleBindingsPayload struct for EditSecretGroupRoleBindingsPayload
func NewEditSecretGroupRoleBindingsPayload ¶
func NewEditSecretGroupRoleBindingsPayload(role string, subject string) *EditSecretGroupRoleBindingsPayload
NewEditSecretGroupRoleBindingsPayload instantiates a new EditSecretGroupRoleBindingsPayload 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 NewEditSecretGroupRoleBindingsPayloadWithDefaults ¶
func NewEditSecretGroupRoleBindingsPayloadWithDefaults() *EditSecretGroupRoleBindingsPayload
NewEditSecretGroupRoleBindingsPayloadWithDefaults instantiates a new EditSecretGroupRoleBindingsPayload 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 (*EditSecretGroupRoleBindingsPayload) GetRole ¶
func (o *EditSecretGroupRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*EditSecretGroupRoleBindingsPayload) GetRoleOk ¶
func (o *EditSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*EditSecretGroupRoleBindingsPayload) GetSubject ¶
func (o *EditSecretGroupRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*EditSecretGroupRoleBindingsPayload) GetSubjectOk ¶
func (o *EditSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (EditSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (o EditSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*EditSecretGroupRoleBindingsPayload) SetRole ¶
func (o *EditSecretGroupRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*EditSecretGroupRoleBindingsPayload) SetSubject ¶
func (o *EditSecretGroupRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (EditSecretGroupRoleBindingsPayload) ToMap ¶
func (o EditSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*EditSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (o *EditSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
Message string `json:"message"`
Path string `json:"path"`
Status int32 `json:"status"`
TimeStamp time.Time `json:"timeStamp"`
AdditionalProperties map[string]interface{}
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(error_ string, message string, path string, status int32, timeStamp time.Time) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetError ¶
func (o *ErrorResponse) GetError() string
GetError returns the Error field value
func (*ErrorResponse) GetErrorOk ¶
func (o *ErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetPath ¶
func (o *ErrorResponse) GetPath() string
GetPath returns the Path field value
func (*ErrorResponse) GetPathOk ¶
func (o *ErrorResponse) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetStatus ¶
func (o *ErrorResponse) GetStatus() int32
GetStatus returns the Status field value
func (*ErrorResponse) GetStatusOk ¶
func (o *ErrorResponse) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetTimeStamp ¶
func (o *ErrorResponse) GetTimeStamp() time.Time
GetTimeStamp returns the TimeStamp field value
func (*ErrorResponse) GetTimeStampOk ¶
func (o *ErrorResponse) GetTimeStampOk() (*time.Time, bool)
GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetError ¶
func (o *ErrorResponse) SetError(v string)
SetError sets field value
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage sets field value
func (*ErrorResponse) SetStatus ¶
func (o *ErrorResponse) SetStatus(v int32)
SetStatus sets field value
func (*ErrorResponse) SetTimeStamp ¶
func (o *ErrorResponse) SetTimeStamp(v time.Time)
SetTimeStamp sets field value
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type GetInstanceRoleBindingsPayload ¶
type GetInstanceRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
GetInstanceRoleBindingsPayload struct for GetInstanceRoleBindingsPayload
func NewGetInstanceRoleBindingsPayload ¶
func NewGetInstanceRoleBindingsPayload(role string, subject string) *GetInstanceRoleBindingsPayload
NewGetInstanceRoleBindingsPayload instantiates a new GetInstanceRoleBindingsPayload 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 NewGetInstanceRoleBindingsPayloadWithDefaults ¶
func NewGetInstanceRoleBindingsPayloadWithDefaults() *GetInstanceRoleBindingsPayload
NewGetInstanceRoleBindingsPayloadWithDefaults instantiates a new GetInstanceRoleBindingsPayload 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 (*GetInstanceRoleBindingsPayload) GetRole ¶
func (o *GetInstanceRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*GetInstanceRoleBindingsPayload) GetRoleOk ¶
func (o *GetInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*GetInstanceRoleBindingsPayload) GetSubject ¶
func (o *GetInstanceRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*GetInstanceRoleBindingsPayload) GetSubjectOk ¶
func (o *GetInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (GetInstanceRoleBindingsPayload) MarshalJSON ¶
func (o GetInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*GetInstanceRoleBindingsPayload) SetRole ¶
func (o *GetInstanceRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*GetInstanceRoleBindingsPayload) SetSubject ¶
func (o *GetInstanceRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (GetInstanceRoleBindingsPayload) ToMap ¶
func (o GetInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*GetInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (o *GetInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type GetSecretGroupRoleBindingsPayload ¶
type GetSecretGroupRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
GetSecretGroupRoleBindingsPayload struct for GetSecretGroupRoleBindingsPayload
func NewGetSecretGroupRoleBindingsPayload ¶
func NewGetSecretGroupRoleBindingsPayload(role string, subject string) *GetSecretGroupRoleBindingsPayload
NewGetSecretGroupRoleBindingsPayload instantiates a new GetSecretGroupRoleBindingsPayload 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 NewGetSecretGroupRoleBindingsPayloadWithDefaults ¶
func NewGetSecretGroupRoleBindingsPayloadWithDefaults() *GetSecretGroupRoleBindingsPayload
NewGetSecretGroupRoleBindingsPayloadWithDefaults instantiates a new GetSecretGroupRoleBindingsPayload 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 (*GetSecretGroupRoleBindingsPayload) GetRole ¶
func (o *GetSecretGroupRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*GetSecretGroupRoleBindingsPayload) GetRoleOk ¶
func (o *GetSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*GetSecretGroupRoleBindingsPayload) GetSubject ¶
func (o *GetSecretGroupRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*GetSecretGroupRoleBindingsPayload) GetSubjectOk ¶
func (o *GetSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (GetSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (o GetSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*GetSecretGroupRoleBindingsPayload) SetRole ¶
func (o *GetSecretGroupRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*GetSecretGroupRoleBindingsPayload) SetSubject ¶
func (o *GetSecretGroupRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (GetSecretGroupRoleBindingsPayload) ToMap ¶
func (o GetSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*GetSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (o *GetSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type ListRoleBindingsResponse ¶
type ListRoleBindingsResponse struct {
RoleBindings []RoleBinding `json:"roleBindings,omitempty"`
AdditionalProperties map[string]interface{}
}
ListRoleBindingsResponse struct for ListRoleBindingsResponse
func NewListRoleBindingsResponse ¶
func NewListRoleBindingsResponse() *ListRoleBindingsResponse
NewListRoleBindingsResponse instantiates a new ListRoleBindingsResponse 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 NewListRoleBindingsResponseWithDefaults ¶
func NewListRoleBindingsResponseWithDefaults() *ListRoleBindingsResponse
NewListRoleBindingsResponseWithDefaults instantiates a new ListRoleBindingsResponse 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 (*ListRoleBindingsResponse) GetRoleBindings ¶
func (o *ListRoleBindingsResponse) GetRoleBindings() []RoleBinding
GetRoleBindings returns the RoleBindings field value if set, zero value otherwise.
func (*ListRoleBindingsResponse) GetRoleBindingsOk ¶
func (o *ListRoleBindingsResponse) GetRoleBindingsOk() ([]RoleBinding, bool)
GetRoleBindingsOk returns a tuple with the RoleBindings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListRoleBindingsResponse) HasRoleBindings ¶
func (o *ListRoleBindingsResponse) HasRoleBindings() bool
HasRoleBindings returns a boolean if a field has been set.
func (ListRoleBindingsResponse) MarshalJSON ¶
func (o ListRoleBindingsResponse) MarshalJSON() ([]byte, error)
func (*ListRoleBindingsResponse) SetRoleBindings ¶
func (o *ListRoleBindingsResponse) SetRoleBindings(v []RoleBinding)
SetRoleBindings gets a reference to the given []RoleBinding and assigns it to the RoleBindings field.
func (ListRoleBindingsResponse) ToMap ¶
func (o ListRoleBindingsResponse) ToMap() (map[string]interface{}, error)
func (*ListRoleBindingsResponse) UnmarshalJSON ¶
func (o *ListRoleBindingsResponse) UnmarshalJSON(data []byte) (err error)
type ListSecretgroupsResponse ¶
type ListSecretgroupsResponse struct {
Secretgroups []Secretgroup `json:"secretgroups,omitempty"`
AdditionalProperties map[string]interface{}
}
ListSecretgroupsResponse struct for ListSecretgroupsResponse
func NewListSecretgroupsResponse ¶
func NewListSecretgroupsResponse() *ListSecretgroupsResponse
NewListSecretgroupsResponse instantiates a new ListSecretgroupsResponse 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 NewListSecretgroupsResponseWithDefaults ¶
func NewListSecretgroupsResponseWithDefaults() *ListSecretgroupsResponse
NewListSecretgroupsResponseWithDefaults instantiates a new ListSecretgroupsResponse 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 (*ListSecretgroupsResponse) GetSecretgroups ¶
func (o *ListSecretgroupsResponse) GetSecretgroups() []Secretgroup
GetSecretgroups returns the Secretgroups field value if set, zero value otherwise.
func (*ListSecretgroupsResponse) GetSecretgroupsOk ¶
func (o *ListSecretgroupsResponse) GetSecretgroupsOk() ([]Secretgroup, bool)
GetSecretgroupsOk returns a tuple with the Secretgroups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListSecretgroupsResponse) HasSecretgroups ¶
func (o *ListSecretgroupsResponse) HasSecretgroups() bool
HasSecretgroups returns a boolean if a field has been set.
func (ListSecretgroupsResponse) MarshalJSON ¶
func (o ListSecretgroupsResponse) MarshalJSON() ([]byte, error)
func (*ListSecretgroupsResponse) SetSecretgroups ¶
func (o *ListSecretgroupsResponse) SetSecretgroups(v []Secretgroup)
SetSecretgroups gets a reference to the given []Secretgroup and assigns it to the Secretgroups field.
func (ListSecretgroupsResponse) ToMap ¶
func (o ListSecretgroupsResponse) ToMap() (map[string]interface{}, error)
func (*ListSecretgroupsResponse) UnmarshalJSON ¶
func (o *ListSecretgroupsResponse) 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 NullableAddInstanceRoleBindingsPayload ¶
type NullableAddInstanceRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableAddInstanceRoleBindingsPayload ¶
func NewNullableAddInstanceRoleBindingsPayload(val *AddInstanceRoleBindingsPayload) *NullableAddInstanceRoleBindingsPayload
func (NullableAddInstanceRoleBindingsPayload) Get ¶
func (v NullableAddInstanceRoleBindingsPayload) Get() *AddInstanceRoleBindingsPayload
func (NullableAddInstanceRoleBindingsPayload) IsSet ¶
func (v NullableAddInstanceRoleBindingsPayload) IsSet() bool
func (NullableAddInstanceRoleBindingsPayload) MarshalJSON ¶
func (v NullableAddInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableAddInstanceRoleBindingsPayload) Set ¶
func (v *NullableAddInstanceRoleBindingsPayload) Set(val *AddInstanceRoleBindingsPayload)
func (*NullableAddInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableAddInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableAddInstanceRoleBindingsPayload) Unset ¶
func (v *NullableAddInstanceRoleBindingsPayload) Unset()
type NullableAddSecretGroupRoleBindingsPayload ¶
type NullableAddSecretGroupRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableAddSecretGroupRoleBindingsPayload ¶
func NewNullableAddSecretGroupRoleBindingsPayload(val *AddSecretGroupRoleBindingsPayload) *NullableAddSecretGroupRoleBindingsPayload
func (NullableAddSecretGroupRoleBindingsPayload) IsSet ¶
func (v NullableAddSecretGroupRoleBindingsPayload) IsSet() bool
func (NullableAddSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (v NullableAddSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableAddSecretGroupRoleBindingsPayload) Set ¶
func (v *NullableAddSecretGroupRoleBindingsPayload) Set(val *AddSecretGroupRoleBindingsPayload)
func (*NullableAddSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableAddSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableAddSecretGroupRoleBindingsPayload) Unset ¶
func (v *NullableAddSecretGroupRoleBindingsPayload) 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 NullableCreateSecretgroupPayload ¶
type NullableCreateSecretgroupPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateSecretgroupPayload ¶
func NewNullableCreateSecretgroupPayload(val *CreateSecretgroupPayload) *NullableCreateSecretgroupPayload
func (NullableCreateSecretgroupPayload) Get ¶
func (v NullableCreateSecretgroupPayload) Get() *CreateSecretgroupPayload
func (NullableCreateSecretgroupPayload) IsSet ¶
func (v NullableCreateSecretgroupPayload) IsSet() bool
func (NullableCreateSecretgroupPayload) MarshalJSON ¶
func (v NullableCreateSecretgroupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateSecretgroupPayload) Set ¶
func (v *NullableCreateSecretgroupPayload) Set(val *CreateSecretgroupPayload)
func (*NullableCreateSecretgroupPayload) UnmarshalJSON ¶
func (v *NullableCreateSecretgroupPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateSecretgroupPayload) Unset ¶
func (v *NullableCreateSecretgroupPayload) Unset()
type NullableEditInstanceRoleBindingsPayload ¶
type NullableEditInstanceRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableEditInstanceRoleBindingsPayload ¶
func NewNullableEditInstanceRoleBindingsPayload(val *EditInstanceRoleBindingsPayload) *NullableEditInstanceRoleBindingsPayload
func (NullableEditInstanceRoleBindingsPayload) IsSet ¶
func (v NullableEditInstanceRoleBindingsPayload) IsSet() bool
func (NullableEditInstanceRoleBindingsPayload) MarshalJSON ¶
func (v NullableEditInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableEditInstanceRoleBindingsPayload) Set ¶
func (v *NullableEditInstanceRoleBindingsPayload) Set(val *EditInstanceRoleBindingsPayload)
func (*NullableEditInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableEditInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableEditInstanceRoleBindingsPayload) Unset ¶
func (v *NullableEditInstanceRoleBindingsPayload) Unset()
type NullableEditSecretGroupRoleBindingsPayload ¶
type NullableEditSecretGroupRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableEditSecretGroupRoleBindingsPayload ¶
func NewNullableEditSecretGroupRoleBindingsPayload(val *EditSecretGroupRoleBindingsPayload) *NullableEditSecretGroupRoleBindingsPayload
func (NullableEditSecretGroupRoleBindingsPayload) IsSet ¶
func (v NullableEditSecretGroupRoleBindingsPayload) IsSet() bool
func (NullableEditSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (v NullableEditSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableEditSecretGroupRoleBindingsPayload) Set ¶
func (v *NullableEditSecretGroupRoleBindingsPayload) Set(val *EditSecretGroupRoleBindingsPayload)
func (*NullableEditSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableEditSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableEditSecretGroupRoleBindingsPayload) Unset ¶
func (v *NullableEditSecretGroupRoleBindingsPayload) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) 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 NullableGetInstanceRoleBindingsPayload ¶
type NullableGetInstanceRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableGetInstanceRoleBindingsPayload ¶
func NewNullableGetInstanceRoleBindingsPayload(val *GetInstanceRoleBindingsPayload) *NullableGetInstanceRoleBindingsPayload
func (NullableGetInstanceRoleBindingsPayload) Get ¶
func (v NullableGetInstanceRoleBindingsPayload) Get() *GetInstanceRoleBindingsPayload
func (NullableGetInstanceRoleBindingsPayload) IsSet ¶
func (v NullableGetInstanceRoleBindingsPayload) IsSet() bool
func (NullableGetInstanceRoleBindingsPayload) MarshalJSON ¶
func (v NullableGetInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableGetInstanceRoleBindingsPayload) Set ¶
func (v *NullableGetInstanceRoleBindingsPayload) Set(val *GetInstanceRoleBindingsPayload)
func (*NullableGetInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableGetInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableGetInstanceRoleBindingsPayload) Unset ¶
func (v *NullableGetInstanceRoleBindingsPayload) Unset()
type NullableGetSecretGroupRoleBindingsPayload ¶
type NullableGetSecretGroupRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableGetSecretGroupRoleBindingsPayload ¶
func NewNullableGetSecretGroupRoleBindingsPayload(val *GetSecretGroupRoleBindingsPayload) *NullableGetSecretGroupRoleBindingsPayload
func (NullableGetSecretGroupRoleBindingsPayload) IsSet ¶
func (v NullableGetSecretGroupRoleBindingsPayload) IsSet() bool
func (NullableGetSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (v NullableGetSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableGetSecretGroupRoleBindingsPayload) Set ¶
func (v *NullableGetSecretGroupRoleBindingsPayload) Set(val *GetSecretGroupRoleBindingsPayload)
func (*NullableGetSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableGetSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableGetSecretGroupRoleBindingsPayload) Unset ¶
func (v *NullableGetSecretGroupRoleBindingsPayload) 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 NullableListRoleBindingsResponse ¶
type NullableListRoleBindingsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListRoleBindingsResponse ¶
func NewNullableListRoleBindingsResponse(val *ListRoleBindingsResponse) *NullableListRoleBindingsResponse
func (NullableListRoleBindingsResponse) Get ¶
func (v NullableListRoleBindingsResponse) Get() *ListRoleBindingsResponse
func (NullableListRoleBindingsResponse) IsSet ¶
func (v NullableListRoleBindingsResponse) IsSet() bool
func (NullableListRoleBindingsResponse) MarshalJSON ¶
func (v NullableListRoleBindingsResponse) MarshalJSON() ([]byte, error)
func (*NullableListRoleBindingsResponse) Set ¶
func (v *NullableListRoleBindingsResponse) Set(val *ListRoleBindingsResponse)
func (*NullableListRoleBindingsResponse) UnmarshalJSON ¶
func (v *NullableListRoleBindingsResponse) UnmarshalJSON(src []byte) error
func (*NullableListRoleBindingsResponse) Unset ¶
func (v *NullableListRoleBindingsResponse) Unset()
type NullableListSecretgroupsResponse ¶
type NullableListSecretgroupsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListSecretgroupsResponse ¶
func NewNullableListSecretgroupsResponse(val *ListSecretgroupsResponse) *NullableListSecretgroupsResponse
func (NullableListSecretgroupsResponse) Get ¶
func (v NullableListSecretgroupsResponse) Get() *ListSecretgroupsResponse
func (NullableListSecretgroupsResponse) IsSet ¶
func (v NullableListSecretgroupsResponse) IsSet() bool
func (NullableListSecretgroupsResponse) MarshalJSON ¶
func (v NullableListSecretgroupsResponse) MarshalJSON() ([]byte, error)
func (*NullableListSecretgroupsResponse) Set ¶
func (v *NullableListSecretgroupsResponse) Set(val *ListSecretgroupsResponse)
func (*NullableListSecretgroupsResponse) UnmarshalJSON ¶
func (v *NullableListSecretgroupsResponse) UnmarshalJSON(src []byte) error
func (*NullableListSecretgroupsResponse) Unset ¶
func (v *NullableListSecretgroupsResponse) 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 NullableRemoveInstanceRoleBindingsPayload ¶
type NullableRemoveInstanceRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableRemoveInstanceRoleBindingsPayload ¶
func NewNullableRemoveInstanceRoleBindingsPayload(val *RemoveInstanceRoleBindingsPayload) *NullableRemoveInstanceRoleBindingsPayload
func (NullableRemoveInstanceRoleBindingsPayload) IsSet ¶
func (v NullableRemoveInstanceRoleBindingsPayload) IsSet() bool
func (NullableRemoveInstanceRoleBindingsPayload) MarshalJSON ¶
func (v NullableRemoveInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableRemoveInstanceRoleBindingsPayload) Set ¶
func (v *NullableRemoveInstanceRoleBindingsPayload) Set(val *RemoveInstanceRoleBindingsPayload)
func (*NullableRemoveInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableRemoveInstanceRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableRemoveInstanceRoleBindingsPayload) Unset ¶
func (v *NullableRemoveInstanceRoleBindingsPayload) Unset()
type NullableRemoveSecretGroupRoleBindingsPayload ¶
type NullableRemoveSecretGroupRoleBindingsPayload struct {
// contains filtered or unexported fields
}
func NewNullableRemoveSecretGroupRoleBindingsPayload ¶
func NewNullableRemoveSecretGroupRoleBindingsPayload(val *RemoveSecretGroupRoleBindingsPayload) *NullableRemoveSecretGroupRoleBindingsPayload
func (NullableRemoveSecretGroupRoleBindingsPayload) IsSet ¶
func (v NullableRemoveSecretGroupRoleBindingsPayload) IsSet() bool
func (NullableRemoveSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (v NullableRemoveSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*NullableRemoveSecretGroupRoleBindingsPayload) Set ¶
func (v *NullableRemoveSecretGroupRoleBindingsPayload) Set(val *RemoveSecretGroupRoleBindingsPayload)
func (*NullableRemoveSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (v *NullableRemoveSecretGroupRoleBindingsPayload) UnmarshalJSON(src []byte) error
func (*NullableRemoveSecretGroupRoleBindingsPayload) Unset ¶
func (v *NullableRemoveSecretGroupRoleBindingsPayload) Unset()
type NullableRoleBinding ¶
type NullableRoleBinding struct {
// contains filtered or unexported fields
}
func NewNullableRoleBinding ¶
func NewNullableRoleBinding(val *RoleBinding) *NullableRoleBinding
func (NullableRoleBinding) Get ¶
func (v NullableRoleBinding) Get() *RoleBinding
func (NullableRoleBinding) IsSet ¶
func (v NullableRoleBinding) IsSet() bool
func (NullableRoleBinding) MarshalJSON ¶
func (v NullableRoleBinding) MarshalJSON() ([]byte, error)
func (*NullableRoleBinding) Set ¶
func (v *NullableRoleBinding) Set(val *RoleBinding)
func (*NullableRoleBinding) UnmarshalJSON ¶
func (v *NullableRoleBinding) UnmarshalJSON(src []byte) error
func (*NullableRoleBinding) Unset ¶
func (v *NullableRoleBinding) Unset()
type NullableSecretgroup ¶
type NullableSecretgroup struct {
// contains filtered or unexported fields
}
func NewNullableSecretgroup ¶
func NewNullableSecretgroup(val *Secretgroup) *NullableSecretgroup
func (NullableSecretgroup) Get ¶
func (v NullableSecretgroup) Get() *Secretgroup
func (NullableSecretgroup) IsSet ¶
func (v NullableSecretgroup) IsSet() bool
func (NullableSecretgroup) MarshalJSON ¶
func (v NullableSecretgroup) MarshalJSON() ([]byte, error)
func (*NullableSecretgroup) Set ¶
func (v *NullableSecretgroup) Set(val *Secretgroup)
func (*NullableSecretgroup) UnmarshalJSON ¶
func (v *NullableSecretgroup) UnmarshalJSON(src []byte) error
func (*NullableSecretgroup) Unset ¶
func (v *NullableSecretgroup) 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 NullableUpdateSecretgroupPayload ¶
type NullableUpdateSecretgroupPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSecretgroupPayload ¶
func NewNullableUpdateSecretgroupPayload(val *UpdateSecretgroupPayload) *NullableUpdateSecretgroupPayload
func (NullableUpdateSecretgroupPayload) Get ¶
func (v NullableUpdateSecretgroupPayload) Get() *UpdateSecretgroupPayload
func (NullableUpdateSecretgroupPayload) IsSet ¶
func (v NullableUpdateSecretgroupPayload) IsSet() bool
func (NullableUpdateSecretgroupPayload) MarshalJSON ¶
func (v NullableUpdateSecretgroupPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateSecretgroupPayload) Set ¶
func (v *NullableUpdateSecretgroupPayload) Set(val *UpdateSecretgroupPayload)
func (*NullableUpdateSecretgroupPayload) UnmarshalJSON ¶
func (v *NullableUpdateSecretgroupPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateSecretgroupPayload) Unset ¶
func (v *NullableUpdateSecretgroupPayload) Unset()
type RemoveInstanceRoleBindingsPayload ¶
type RemoveInstanceRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
RemoveInstanceRoleBindingsPayload struct for RemoveInstanceRoleBindingsPayload
func NewRemoveInstanceRoleBindingsPayload ¶
func NewRemoveInstanceRoleBindingsPayload(role string, subject string) *RemoveInstanceRoleBindingsPayload
NewRemoveInstanceRoleBindingsPayload instantiates a new RemoveInstanceRoleBindingsPayload 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 NewRemoveInstanceRoleBindingsPayloadWithDefaults ¶
func NewRemoveInstanceRoleBindingsPayloadWithDefaults() *RemoveInstanceRoleBindingsPayload
NewRemoveInstanceRoleBindingsPayloadWithDefaults instantiates a new RemoveInstanceRoleBindingsPayload 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 (*RemoveInstanceRoleBindingsPayload) GetRole ¶
func (o *RemoveInstanceRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*RemoveInstanceRoleBindingsPayload) GetRoleOk ¶
func (o *RemoveInstanceRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*RemoveInstanceRoleBindingsPayload) GetSubject ¶
func (o *RemoveInstanceRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*RemoveInstanceRoleBindingsPayload) GetSubjectOk ¶
func (o *RemoveInstanceRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (RemoveInstanceRoleBindingsPayload) MarshalJSON ¶
func (o RemoveInstanceRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*RemoveInstanceRoleBindingsPayload) SetRole ¶
func (o *RemoveInstanceRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*RemoveInstanceRoleBindingsPayload) SetSubject ¶
func (o *RemoveInstanceRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (RemoveInstanceRoleBindingsPayload) ToMap ¶
func (o RemoveInstanceRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*RemoveInstanceRoleBindingsPayload) UnmarshalJSON ¶
func (o *RemoveInstanceRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type RemoveSecretGroupRoleBindingsPayload ¶
type RemoveSecretGroupRoleBindingsPayload struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
RemoveSecretGroupRoleBindingsPayload struct for RemoveSecretGroupRoleBindingsPayload
func NewRemoveSecretGroupRoleBindingsPayload ¶
func NewRemoveSecretGroupRoleBindingsPayload(role string, subject string) *RemoveSecretGroupRoleBindingsPayload
NewRemoveSecretGroupRoleBindingsPayload instantiates a new RemoveSecretGroupRoleBindingsPayload 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 NewRemoveSecretGroupRoleBindingsPayloadWithDefaults ¶
func NewRemoveSecretGroupRoleBindingsPayloadWithDefaults() *RemoveSecretGroupRoleBindingsPayload
NewRemoveSecretGroupRoleBindingsPayloadWithDefaults instantiates a new RemoveSecretGroupRoleBindingsPayload 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 (*RemoveSecretGroupRoleBindingsPayload) GetRole ¶
func (o *RemoveSecretGroupRoleBindingsPayload) GetRole() string
GetRole returns the Role field value
func (*RemoveSecretGroupRoleBindingsPayload) GetRoleOk ¶
func (o *RemoveSecretGroupRoleBindingsPayload) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*RemoveSecretGroupRoleBindingsPayload) GetSubject ¶
func (o *RemoveSecretGroupRoleBindingsPayload) GetSubject() string
GetSubject returns the Subject field value
func (*RemoveSecretGroupRoleBindingsPayload) GetSubjectOk ¶
func (o *RemoveSecretGroupRoleBindingsPayload) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (RemoveSecretGroupRoleBindingsPayload) MarshalJSON ¶
func (o RemoveSecretGroupRoleBindingsPayload) MarshalJSON() ([]byte, error)
func (*RemoveSecretGroupRoleBindingsPayload) SetRole ¶
func (o *RemoveSecretGroupRoleBindingsPayload) SetRole(v string)
SetRole sets field value
func (*RemoveSecretGroupRoleBindingsPayload) SetSubject ¶
func (o *RemoveSecretGroupRoleBindingsPayload) SetSubject(v string)
SetSubject sets field value
func (RemoveSecretGroupRoleBindingsPayload) ToMap ¶
func (o RemoveSecretGroupRoleBindingsPayload) ToMap() (map[string]interface{}, error)
func (*RemoveSecretGroupRoleBindingsPayload) UnmarshalJSON ¶
func (o *RemoveSecretGroupRoleBindingsPayload) UnmarshalJSON(data []byte) (err error)
type RoleBinding ¶
type RoleBinding struct {
Role string `json:"role" validate:"regexp=^[a-z](?:[-.]?[a-z]){1,63}$"`
Subject string `json:"subject"`
AdditionalProperties map[string]interface{}
}
RoleBinding struct for RoleBinding
func NewRoleBinding ¶
func NewRoleBinding(role string, subject string) *RoleBinding
NewRoleBinding instantiates a new RoleBinding 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 NewRoleBindingWithDefaults ¶
func NewRoleBindingWithDefaults() *RoleBinding
NewRoleBindingWithDefaults instantiates a new RoleBinding 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 (*RoleBinding) GetRole ¶
func (o *RoleBinding) GetRole() string
GetRole returns the Role field value
func (*RoleBinding) GetRoleOk ¶
func (o *RoleBinding) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*RoleBinding) GetSubject ¶
func (o *RoleBinding) GetSubject() string
GetSubject returns the Subject field value
func (*RoleBinding) GetSubjectOk ¶
func (o *RoleBinding) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (RoleBinding) MarshalJSON ¶
func (o RoleBinding) MarshalJSON() ([]byte, error)
func (*RoleBinding) SetSubject ¶
func (o *RoleBinding) SetSubject(v string)
SetSubject sets field value
func (RoleBinding) ToMap ¶
func (o RoleBinding) ToMap() (map[string]interface{}, error)
func (*RoleBinding) UnmarshalJSON ¶
func (o *RoleBinding) UnmarshalJSON(data []byte) (err error)
type Secretgroup ¶
type Secretgroup struct {
// A user chosen description to differentiate between multiple secret groups.
Description string `json:"description"`
// A auto generated unique id which identifies the secret group.
Id string `json:"id"`
// A list of secrets this secret group contains.
Secrets []string `json:"secrets"`
AdditionalProperties map[string]interface{}
}
Secretgroup struct for Secretgroup
func NewSecretgroup ¶
func NewSecretgroup(description string, id string, secrets []string) *Secretgroup
NewSecretgroup instantiates a new Secretgroup 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 NewSecretgroupWithDefaults ¶
func NewSecretgroupWithDefaults() *Secretgroup
NewSecretgroupWithDefaults instantiates a new Secretgroup 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 (*Secretgroup) GetDescription ¶
func (o *Secretgroup) GetDescription() string
GetDescription returns the Description field value
func (*Secretgroup) GetDescriptionOk ¶
func (o *Secretgroup) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Secretgroup) GetIdOk ¶
func (o *Secretgroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Secretgroup) GetSecrets ¶
func (o *Secretgroup) GetSecrets() []string
GetSecrets returns the Secrets field value
func (*Secretgroup) GetSecretsOk ¶
func (o *Secretgroup) GetSecretsOk() ([]string, bool)
GetSecretsOk returns a tuple with the Secrets field value and a boolean to check if the value has been set.
func (Secretgroup) MarshalJSON ¶
func (o Secretgroup) MarshalJSON() ([]byte, error)
func (*Secretgroup) SetDescription ¶
func (o *Secretgroup) SetDescription(v string)
SetDescription sets field value
func (*Secretgroup) SetSecrets ¶
func (o *Secretgroup) SetSecrets(v []string)
SetSecrets sets field value
func (Secretgroup) ToMap ¶
func (o Secretgroup) ToMap() (map[string]interface{}, error)
func (*Secretgroup) UnmarshalJSON ¶
func (o *Secretgroup) UnmarshalJSON(data []byte) (err error)
type UpdateSecretgroupPayload ¶
type UpdateSecretgroupPayload struct {
// A user chosen description to differentiate between multiple secret groups.
Description *string `json:"description,omitempty"`
// A list of secrets this secret group contains.
Secrets []string `json:"secrets,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateSecretgroupPayload struct for UpdateSecretgroupPayload
func NewUpdateSecretgroupPayload ¶
func NewUpdateSecretgroupPayload() *UpdateSecretgroupPayload
NewUpdateSecretgroupPayload instantiates a new UpdateSecretgroupPayload 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 NewUpdateSecretgroupPayloadWithDefaults ¶
func NewUpdateSecretgroupPayloadWithDefaults() *UpdateSecretgroupPayload
NewUpdateSecretgroupPayloadWithDefaults instantiates a new UpdateSecretgroupPayload 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 (*UpdateSecretgroupPayload) GetDescription ¶
func (o *UpdateSecretgroupPayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateSecretgroupPayload) GetDescriptionOk ¶
func (o *UpdateSecretgroupPayload) 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 (*UpdateSecretgroupPayload) GetSecrets ¶
func (o *UpdateSecretgroupPayload) GetSecrets() []string
GetSecrets returns the Secrets field value if set, zero value otherwise.
func (*UpdateSecretgroupPayload) GetSecretsOk ¶
func (o *UpdateSecretgroupPayload) GetSecretsOk() ([]string, bool)
GetSecretsOk returns a tuple with the Secrets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSecretgroupPayload) HasDescription ¶
func (o *UpdateSecretgroupPayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateSecretgroupPayload) HasSecrets ¶
func (o *UpdateSecretgroupPayload) HasSecrets() bool
HasSecrets returns a boolean if a field has been set.
func (UpdateSecretgroupPayload) MarshalJSON ¶
func (o UpdateSecretgroupPayload) MarshalJSON() ([]byte, error)
func (*UpdateSecretgroupPayload) SetDescription ¶
func (o *UpdateSecretgroupPayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateSecretgroupPayload) SetSecrets ¶
func (o *UpdateSecretgroupPayload) SetSecrets(v []string)
SetSecrets gets a reference to the given []string and assigns it to the Secrets field.
func (UpdateSecretgroupPayload) ToMap ¶
func (o UpdateSecretgroupPayload) ToMap() (map[string]interface{}, error)
func (*UpdateSecretgroupPayload) UnmarshalJSON ¶
func (o *UpdateSecretgroupPayload) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_add_instance_role_bindings_payload.go
- model_add_secret_group_role_bindings_payload.go
- model_bad_request.go
- model_create_secretgroup_payload.go
- model_edit_instance_role_bindings_payload.go
- model_edit_secret_group_role_bindings_payload.go
- model_error_response.go
- model_get_instance_role_bindings_payload.go
- model_get_secret_group_role_bindings_payload.go
- model_list_role_bindings_response.go
- model_list_secretgroups_response.go
- model_not_found.go
- model_remove_instance_role_bindings_payload.go
- model_remove_secret_group_role_bindings_payload.go
- model_role_binding.go
- model_secretgroup.go
- model_update_secretgroup_payload.go
- response.go
- utils.go