secretsmanager

package module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type ACL added in v0.8.0

type ACL struct {
	// The given IP/IP Range that is permitted to access.
	// REQUIRED
	Cidr *string `json:"cidr"`
	// A auto generated unique id which identifies the acl.
	// REQUIRED
	Id *string `json:"id"`
}

ACL struct for ACL

type APIClient

type APIClient struct {
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT Secrets Manager API API v1.4.0 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. Optionally receives configuration options

func (*APIClient) CreateACL

func (a *APIClient) CreateACL(ctx context.Context, projectId string, instanceId string) ApiCreateACLRequest

CreateACL: Method for CreateACL

Creates a new Secrets Manager acl within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiCreateACLRequest

func (*APIClient) CreateACLExecute

func (a *APIClient) CreateACLExecute(ctx context.Context, projectId string, instanceId string) (*ACL, error)

func (*APIClient) CreateInstance

func (a *APIClient) CreateInstance(ctx context.Context, projectId string) ApiCreateInstanceRequest

CreateInstance: Method for CreateInstance

Creates a new Secrets Manager instance within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@return ApiCreateInstanceRequest

func (*APIClient) CreateInstanceExecute

func (a *APIClient) CreateInstanceExecute(ctx context.Context, projectId string) (*Instance, error)

func (*APIClient) CreateUser

func (a *APIClient) CreateUser(ctx context.Context, projectId string, instanceId string) ApiCreateUserRequest

CreateUser: Method for CreateUser

Creates a new user for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiCreateUserRequest

func (*APIClient) CreateUserExecute

func (a *APIClient) CreateUserExecute(ctx context.Context, projectId string, instanceId string) (*User, error)

func (*APIClient) DeleteACL

func (a *APIClient) DeleteACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiDeleteACLRequest

DeleteACL: Method for DeleteACL

Deletes the given acl.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiDeleteACLRequest

func (*APIClient) DeleteACLExecute

func (a *APIClient) DeleteACLExecute(ctx context.Context, projectId string, instanceId string, aclId string) error

func (*APIClient) DeleteInstance

func (a *APIClient) DeleteInstance(ctx context.Context, projectId string, instanceId string) ApiDeleteInstanceRequest

DeleteInstance: Method for DeleteInstance

Deletes the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiDeleteInstanceRequest

func (*APIClient) DeleteInstanceExecute

func (a *APIClient) DeleteInstanceExecute(ctx context.Context, projectId string, instanceId string) error

func (*APIClient) DeleteUser

func (a *APIClient) DeleteUser(ctx context.Context, projectId string, instanceId string, userId string) ApiDeleteUserRequest

DeleteUser: Method for DeleteUser

Deletes the given user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiDeleteUserRequest

func (*APIClient) DeleteUserExecute

func (a *APIClient) DeleteUserExecute(ctx context.Context, projectId string, instanceId string, userId string) error

func (*APIClient) GetACL

func (a *APIClient) GetACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiGetACLRequest

GetACL: Method for GetACL

Returns the details for the given acl.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiGetACLRequest

func (*APIClient) GetACLExecute

func (a *APIClient) GetACLExecute(ctx context.Context, projectId string, instanceId string, aclId string) (*ACL, error)

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

func (*APIClient) GetInstance

func (a *APIClient) GetInstance(ctx context.Context, projectId string, instanceId string) ApiGetInstanceRequest

GetInstance: Method for GetInstance

Returns the details for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiGetInstanceRequest

func (*APIClient) GetInstanceExecute

func (a *APIClient) GetInstanceExecute(ctx context.Context, projectId string, instanceId string) (*Instance, error)

func (*APIClient) GetUser

func (a *APIClient) GetUser(ctx context.Context, projectId string, instanceId string, userId string) ApiGetUserRequest

GetUser: Method for GetUser

Returns the details for the given user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiGetUserRequest

func (*APIClient) GetUserExecute

func (a *APIClient) GetUserExecute(ctx context.Context, projectId string, instanceId string, userId string) (*User, error)

func (*APIClient) ListACLs

func (a *APIClient) ListACLs(ctx context.Context, projectId string, instanceId string) ApiListACLsRequest

ListACLs: Method for ListACLs

Returns the acls for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiListACLsRequest

func (*APIClient) ListACLsExecute

func (a *APIClient) ListACLsExecute(ctx context.Context, projectId string, instanceId string) (*ListACLsResponse, error)

func (*APIClient) ListInstances

func (a *APIClient) ListInstances(ctx context.Context, projectId string) ApiListInstancesRequest

ListInstances: Method for ListInstances

Returns a list of all Secrets Manager instances within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@return ApiListInstancesRequest

func (*APIClient) ListInstancesExecute

func (a *APIClient) ListInstancesExecute(ctx context.Context, projectId string) (*ListInstancesResponse, error)

func (*APIClient) ListUsers

func (a *APIClient) ListUsers(ctx context.Context, projectId string, instanceId string) ApiListUsersRequest

ListUsers: Method for ListUsers

Returns the users for the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiListUsersRequest

func (*APIClient) ListUsersExecute

func (a *APIClient) ListUsersExecute(ctx context.Context, projectId string, instanceId string) (*ListUsersResponse, error)

func (*APIClient) UpdateACL

func (a *APIClient) UpdateACL(ctx context.Context, projectId string, instanceId string, aclId string) ApiUpdateACLRequest

UpdateACL: Method for UpdateACL

Updates the ip ranges for the acl.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param aclId The acl UUID of the Secrets Manager instance.
@return ApiUpdateACLRequest

func (*APIClient) UpdateACLExecute

func (a *APIClient) UpdateACLExecute(ctx context.Context, projectId string, instanceId string, aclId string) error

func (*APIClient) UpdateACLs added in v0.6.0

func (a *APIClient) UpdateACLs(ctx context.Context, projectId string, instanceId string) ApiUpdateACLsRequest

UpdateACLs: Method for UpdateACLs

Changes a list of ACLs within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiUpdateACLsRequest

func (*APIClient) UpdateACLsExecute added in v0.6.0

func (a *APIClient) UpdateACLsExecute(ctx context.Context, projectId string, instanceId string) error

func (*APIClient) UpdateInstance added in v0.9.0

func (a *APIClient) UpdateInstance(ctx context.Context, projectId string, instanceId string) ApiUpdateInstanceRequest

UpdateInstance: Method for UpdateInstance

Updates the given Secrets Manager instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@return ApiUpdateInstanceRequest

func (*APIClient) UpdateInstanceExecute added in v0.9.0

func (a *APIClient) UpdateInstanceExecute(ctx context.Context, projectId string, instanceId string) error

func (*APIClient) UpdateUser

func (a *APIClient) UpdateUser(ctx context.Context, projectId string, instanceId string, userId string) ApiUpdateUserRequest

UpdateUser: Method for UpdateUser

Updates the details for the given user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the Secrets Manager instance is part of.
@param instanceId The Secrets Manager instance UUID.
@param userId The user UUID with permissions on the Secrets Manager instance.
@return ApiUpdateUserRequest

func (*APIClient) UpdateUserExecute

func (a *APIClient) UpdateUserExecute(ctx context.Context, projectId string, instanceId string, userId string) error

type ApiCreateACLRequest

type ApiCreateACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateACLRequest) CreateACLPayload

func (r ApiCreateACLRequest) CreateACLPayload(createACLPayload CreateACLPayload) ApiCreateACLRequest

func (ApiCreateACLRequest) Execute

func (r ApiCreateACLRequest) Execute() (*ACL, error)

type ApiCreateInstanceRequest

type ApiCreateInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateInstanceRequest) CreateInstancePayload

func (r ApiCreateInstanceRequest) CreateInstancePayload(createInstancePayload CreateInstancePayload) ApiCreateInstanceRequest

func (ApiCreateInstanceRequest) Execute

func (r ApiCreateInstanceRequest) Execute() (*Instance, error)

type ApiCreateUserRequest

type ApiCreateUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateUserRequest) CreateUserPayload

func (r ApiCreateUserRequest) CreateUserPayload(createUserPayload CreateUserPayload) ApiCreateUserRequest

func (ApiCreateUserRequest) Execute

func (r ApiCreateUserRequest) Execute() (*User, error)

type ApiDeleteACLRequest

type ApiDeleteACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteACLRequest) Execute

func (r ApiDeleteACLRequest) Execute() error

type ApiDeleteInstanceRequest

type ApiDeleteInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteInstanceRequest) Execute

func (r ApiDeleteInstanceRequest) Execute() error

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() error

type ApiGetACLRequest

type ApiGetACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetACLRequest) Execute

func (r ApiGetACLRequest) Execute() (*ACL, error)

type ApiGetInstanceRequest

type ApiGetInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetInstanceRequest) Execute

func (r ApiGetInstanceRequest) Execute() (*Instance, error)

type ApiGetUserRequest

type ApiGetUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*User, error)

type ApiListACLsRequest

type ApiListACLsRequest struct {
	// contains filtered or unexported fields
}

func (ApiListACLsRequest) Execute

func (r ApiListACLsRequest) Execute() (*ListACLsResponse, error)

type ApiListInstancesRequest

type ApiListInstancesRequest struct {
	// contains filtered or unexported fields
}

func (ApiListInstancesRequest) Execute

type ApiListUsersRequest

type ApiListUsersRequest struct {
	// contains filtered or unexported fields
}

func (ApiListUsersRequest) Execute

type ApiUpdateACLRequest

type ApiUpdateACLRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateACLRequest) Execute

func (r ApiUpdateACLRequest) Execute() error

func (ApiUpdateACLRequest) UpdateACLPayload

func (r ApiUpdateACLRequest) UpdateACLPayload(updateACLPayload UpdateACLPayload) ApiUpdateACLRequest

type ApiUpdateACLsRequest added in v0.6.0

type ApiUpdateACLsRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateACLsRequest) Execute added in v0.6.0

func (r ApiUpdateACLsRequest) Execute() error

func (ApiUpdateACLsRequest) UpdateACLsPayload added in v0.6.0

func (r ApiUpdateACLsRequest) UpdateACLsPayload(updateACLsPayload UpdateACLsPayload) ApiUpdateACLsRequest

type ApiUpdateInstanceRequest added in v0.9.0

type ApiUpdateInstanceRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateInstanceRequest) Execute added in v0.9.0

func (r ApiUpdateInstanceRequest) Execute() error

func (ApiUpdateInstanceRequest) UpdateInstancePayload added in v0.9.0

func (r ApiUpdateInstanceRequest) UpdateInstancePayload(updateInstancePayload UpdateInstancePayload) ApiUpdateInstanceRequest

type ApiUpdateUserRequest

type ApiUpdateUserRequest struct {
	// contains filtered or unexported fields
}

func (ApiUpdateUserRequest) Execute

func (r ApiUpdateUserRequest) Execute() error

func (ApiUpdateUserRequest) UpdateUserPayload

func (r ApiUpdateUserRequest) UpdateUserPayload(updateUserPayload UpdateUserPayload) ApiUpdateUserRequest

type CreateACLPayload

type CreateACLPayload struct {
	// The given IP/IP Range that is permitted to access.
	// REQUIRED
	Cidr *string `json:"cidr"`
}

CreateACLPayload struct for CreateACLPayload

type CreateInstancePayload

type CreateInstancePayload struct {
	// A user chosen name to distinguish multiple secrets manager instances.
	// REQUIRED
	Name *string `json:"name"`
}

CreateInstancePayload struct for CreateInstancePayload

type CreateUserPayload

type CreateUserPayload struct {
	// A user chosen description to differentiate between multiple users.
	// REQUIRED
	Description *string `json:"description"`
	// Is true if the user has write access to the secrets engine. Is false for a read-only user.
	// REQUIRED
	Write *bool `json:"write"`
}

CreateUserPayload struct for CreateUserPayload

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type Instance

type Instance struct {
	// The API endpoint for connecting to the secrets engine.
	// REQUIRED
	ApiUrl *string `json:"apiUrl"`
	// The date and time the creation of the Secrets Manager instance was finished.
	CreationFinishedDate *string `json:"creationFinishedDate,omitempty"`
	// The date and time the creation of the Secrets Manager instance was triggered.
	// REQUIRED
	CreationStartDate *string `json:"creationStartDate"`
	// A auto generated unique id which identifies the secrets manager instances.
	// REQUIRED
	Id *string `json:"id"`
	// A user chosen name to distinguish multiple secrets manager instances.
	// REQUIRED
	Name *string `json:"name"`
	// The number of secrets currently stored inside of the instance. This value will be updated once per hour.
	// REQUIRED
	SecretCount *int64 `json:"secretCount"`
	// The name of the secrets engine.
	// REQUIRED
	SecretsEngine *string `json:"secretsEngine"`
	// The current state of the Secrets Manager instance.
	// REQUIRED
	State              *string `json:"state"`
	UpdateFinishedDate *string `json:"updateFinishedDate,omitempty"`
	UpdateStartDate    *string `json:"updateStartDate,omitempty"`
}

Instance struct for Instance

type ListACLsResponse added in v0.8.0

type ListACLsResponse struct {
	// REQUIRED
	Acls *[]ACL `json:"acls"`
}

ListACLsResponse struct for ListACLsResponse

type ListInstancesResponse added in v0.8.0

type ListInstancesResponse struct {
	// REQUIRED
	Instances *[]Instance `json:"instances"`
}

ListInstancesResponse struct for ListInstancesResponse

type ListUsersResponse added in v0.8.0

type ListUsersResponse struct {
	// REQUIRED
	Users *[]User `json:"users"`
}

ListUsersResponse struct for ListUsersResponse

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 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 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 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 UpdateACLPayload

type UpdateACLPayload struct {
	// The given IP/IP Range that is permitted to access.
	// REQUIRED
	Cidr *string `json:"cidr"`
}

UpdateACLPayload struct for UpdateACLPayload

type UpdateACLsPayload added in v0.6.0

type UpdateACLsPayload struct {
	Cidrs *[]UpdateACLPayload `json:"cidrs,omitempty"`
}

UpdateACLsPayload struct for UpdateACLsPayload

type UpdateInstancePayload added in v0.9.0

type UpdateInstancePayload struct {
	// A user chosen name to distinguish multiple secrets manager instances.
	// REQUIRED
	Name *string `json:"name"`
}

UpdateInstancePayload struct for UpdateInstancePayload

type UpdateUserPayload

type UpdateUserPayload struct {
	// Is true if the user has write access to the secrets engine. Is false for a read-only user.
	Write *bool `json:"write,omitempty"`
}

UpdateUserPayload struct for UpdateUserPayload

type User

type User struct {
	// A user chosen description to differentiate between multiple users.
	// REQUIRED
	Description *string `json:"description"`
	// A auto generated unique id which identifies the users.
	// REQUIRED
	Id *string `json:"id"`
	// A auto generated password for logging in with the user.
	// REQUIRED
	Password *string `json:"password"`
	// A auto generated username for logging in with the user.
	// REQUIRED
	Username *string `json:"username"`
	// Is true if the user has write access to the secrets engine. Is false for a read-only user.
	// REQUIRED
	Write *bool `json:"write"`
}

User struct for User

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL