Documentation ¶
Index ¶
- type HashicorpCloudVault20200420AuditConfig
- type HashicorpCloudVault20200420AuditLog
- type HashicorpCloudVault20200420AuditLogState
- type HashicorpCloudVault20200420CORSConfig
- type HashicorpCloudVault20200420CapacityConfig
- type HashicorpCloudVault20200420Cluster
- type HashicorpCloudVault20200420ClusterConfig
- type HashicorpCloudVault20200420ClusterDNSNames
- type HashicorpCloudVault20200420ClusterState
- type HashicorpCloudVault20200420CreateRequest
- type HashicorpCloudVault20200420CreateResponse
- type HashicorpCloudVault20200420CreateSnapshotRequest
- type HashicorpCloudVault20200420CreateSnapshotResponse
- type HashicorpCloudVault20200420DeleteResponse
- type HashicorpCloudVault20200420DeleteSnapshotResponse
- type HashicorpCloudVault20200420DisableCORSResponse
- type HashicorpCloudVault20200420FetchAuditLogRequest
- type HashicorpCloudVault20200420FetchAuditLogResponse
- type HashicorpCloudVault20200420GetAdminTokenResponse
- type HashicorpCloudVault20200420GetAuditLogStatusResponse
- type HashicorpCloudVault20200420GetCORSConfigResponse
- type HashicorpCloudVault20200420GetResponse
- type HashicorpCloudVault20200420GetSnapshotResponse
- type HashicorpCloudVault20200420ListResponse
- type HashicorpCloudVault20200420ListSnapshotsResponse
- type HashicorpCloudVault20200420MaintenanceConfig
- type HashicorpCloudVault20200420NetworkConfig
- type HashicorpCloudVault20200420RestoreSnapshotRequest
- type HashicorpCloudVault20200420RestoreSnapshotResponse
- type HashicorpCloudVault20200420SealRequest
- type HashicorpCloudVault20200420SealResponse
- type HashicorpCloudVault20200420Snapshot
- type HashicorpCloudVault20200420SnapshotConfig
- type HashicorpCloudVault20200420SnapshotState
- type HashicorpCloudVault20200420SnapshotType
- type HashicorpCloudVault20200420UnsealRequest
- type HashicorpCloudVault20200420UnsealResponse
- type HashicorpCloudVault20200420UpdateCORSConfigRequest
- type HashicorpCloudVault20200420UpdateCORSConfigResponse
- type HashicorpCloudVault20200420UpdatePublicIpsRequest
- type HashicorpCloudVault20200420UpdatePublicIpsResponse
- type HashicorpCloudVault20200420UpdateSnapshotRequest
- type HashicorpCloudVault20200420UpdateSnapshotResponse
- type HashicorpCloudVault20200420VaultAccess
- type HashicorpCloudVault20200420VaultConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpCloudVault20200420AuditConfig ¶
type HashicorpCloudVault20200420AuditConfig struct { // audit logs disabled AuditLogsDisabled bool `json:"audit_logs_disabled,omitempty"` }
HashicorpCloudVault20200420AuditConfig hashicorp cloud vault 20200420 audit config
swagger:model hashicorp.cloud.vault_20200420.AuditConfig
func (*HashicorpCloudVault20200420AuditConfig) MarshalBinary ¶
func (m *HashicorpCloudVault20200420AuditConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420AuditConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420AuditConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420AuditLog ¶
type HashicorpCloudVault20200420AuditLog struct { // cluster_id is the cluster id that this download backs ClusterID string `json:"cluster_id,omitempty"` // download_url is the URL which can be used to retrieve the audit logs. DownloadURL string `json:"download_url,omitempty"` // expires_at is the timestamp of when the cluster was first created. // Format: date-time ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"` // finished_at is the timestamp of when the download was ready. // Format: date-time FinishedAt strfmt.DateTime `json:"finished_at,omitempty"` // id is the id of the audit log download ID string `json:"id,omitempty"` // interval_end // Format: date-time IntervalEnd strfmt.DateTime `json:"interval_end,omitempty"` // interval_start // Format: date-time IntervalStart strfmt.DateTime `json:"interval_start,omitempty"` // location is the location of the cluster. Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // state is the current state of the download State HashicorpCloudVault20200420AuditLogState `json:"state,omitempty"` }
HashicorpCloudVault20200420AuditLog AuditLog represents a request for audit logs to download
swagger:model hashicorp.cloud.vault_20200420.AuditLog
func (*HashicorpCloudVault20200420AuditLog) MarshalBinary ¶
func (m *HashicorpCloudVault20200420AuditLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420AuditLog) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420AuditLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420AuditLogState ¶
type HashicorpCloudVault20200420AuditLogState string
HashicorpCloudVault20200420AuditLogState State is the state of download.
- UNSET: UNSET is a sentinel zero value so that an uninitialized value can be
detected.
- PENDING: PENDING is the initial state before the workflow starts.
- CREATING: CREATING is the state used when the download is being prepared.
- READY: READY is the completed state when the download is ready
- FAILED: FAILED is a failure state in which the download is not created
- EXPIRED: EXPIRED is the state that the download hits when it is no longer
accessible for download
swagger:model hashicorp.cloud.vault_20200420.AuditLog.State
const ( // HashicorpCloudVault20200420AuditLogStateUNSET captures enum value "UNSET" HashicorpCloudVault20200420AuditLogStateUNSET HashicorpCloudVault20200420AuditLogState = "UNSET" // HashicorpCloudVault20200420AuditLogStatePENDING captures enum value "PENDING" HashicorpCloudVault20200420AuditLogStatePENDING HashicorpCloudVault20200420AuditLogState = "PENDING" // HashicorpCloudVault20200420AuditLogStateCREATING captures enum value "CREATING" HashicorpCloudVault20200420AuditLogStateCREATING HashicorpCloudVault20200420AuditLogState = "CREATING" // HashicorpCloudVault20200420AuditLogStateREADY captures enum value "READY" HashicorpCloudVault20200420AuditLogStateREADY HashicorpCloudVault20200420AuditLogState = "READY" // HashicorpCloudVault20200420AuditLogStateFAILED captures enum value "FAILED" HashicorpCloudVault20200420AuditLogStateFAILED HashicorpCloudVault20200420AuditLogState = "FAILED" // HashicorpCloudVault20200420AuditLogStateEXPIRED captures enum value "EXPIRED" HashicorpCloudVault20200420AuditLogStateEXPIRED HashicorpCloudVault20200420AuditLogState = "EXPIRED" )
type HashicorpCloudVault20200420CORSConfig ¶
type HashicorpCloudVault20200420CORSConfig struct { // allowed_headers returns the allowed headers. AllowedHeaders []string `json:"allowed_headers"` // allowed_origins returns the allowed origins. AllowedOrigins []string `json:"allowed_origins"` // enabled is true if CORS is enabled for this cluster. Enabled bool `json:"enabled,omitempty"` }
HashicorpCloudVault20200420CORSConfig CORSConfig is the CORS configuration on the Vault cluster
swagger:model hashicorp.cloud.vault_20200420.CORSConfig
func (*HashicorpCloudVault20200420CORSConfig) MarshalBinary ¶
func (m *HashicorpCloudVault20200420CORSConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420CORSConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420CORSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420CapacityConfig ¶
type HashicorpCloudVault20200420CapacityConfig struct { // num_servers is the number of nodes this Vault cluster should have. NumServers int32 `json:"num_servers,omitempty"` }
HashicorpCloudVault20200420CapacityConfig hashicorp cloud vault 20200420 capacity config
swagger:model hashicorp.cloud.vault_20200420.CapacityConfig
func (*HashicorpCloudVault20200420CapacityConfig) MarshalBinary ¶
func (m *HashicorpCloudVault20200420CapacityConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420CapacityConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420CapacityConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420Cluster ¶
type HashicorpCloudVault20200420Cluster struct { // config holds the configuration of the cluster. Config *HashicorpCloudVault20200420ClusterConfig `json:"config,omitempty"` // created_at is the timestamp of when the cluster was first created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // currently_deployed_version is the version of the currrent Vault deployment. CurrentVersion string `json:"current_version,omitempty"` // DNSNames holds all of the cluster's DNS names. DNSNames *HashicorpCloudVault20200420ClusterDNSNames `json:"dns_names,omitempty"` // id is ID of the Vault cluster. ID string `json:"id,omitempty"` // location is the location of the cluster. Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // state is the current state of the cluster. State HashicorpCloudVault20200420ClusterState `json:"state,omitempty"` }
HashicorpCloudVault20200420Cluster Cluster represents a single Vault cluster.
swagger:model hashicorp.cloud.vault_20200420.Cluster
func (*HashicorpCloudVault20200420Cluster) MarshalBinary ¶
func (m *HashicorpCloudVault20200420Cluster) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420Cluster) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420Cluster) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420ClusterConfig ¶
type HashicorpCloudVault20200420ClusterConfig struct { // audit config AuditConfig *HashicorpCloudVault20200420AuditConfig `json:"audit_config,omitempty"` // capacity config CapacityConfig *HashicorpCloudVault20200420CapacityConfig `json:"capacity_config,omitempty"` // maintenance config MaintenanceConfig HashicorpCloudVault20200420MaintenanceConfig `json:"maintenance_config,omitempty"` // network config NetworkConfig *HashicorpCloudVault20200420NetworkConfig `json:"network_config,omitempty"` // public ips disabled PublicIpsDisabled bool `json:"public_ips_disabled,omitempty"` // snapshot config SnapshotConfig *HashicorpCloudVault20200420SnapshotConfig `json:"snapshot_config,omitempty"` // vault access VaultAccess *HashicorpCloudVault20200420VaultAccess `json:"vault_access,omitempty"` // vault config VaultConfig *HashicorpCloudVault20200420VaultConfig `json:"vault_config,omitempty"` }
HashicorpCloudVault20200420ClusterConfig hashicorp cloud vault 20200420 cluster config
swagger:model hashicorp.cloud.vault_20200420.ClusterConfig
func (*HashicorpCloudVault20200420ClusterConfig) MarshalBinary ¶
func (m *HashicorpCloudVault20200420ClusterConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420ClusterConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420ClusterConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420ClusterDNSNames ¶
type HashicorpCloudVault20200420ClusterDNSNames struct { // private is the DNS name pointing to the cluster's private IP addresses. Private string `json:"private,omitempty"` // public is the DNS name pointing to the cluster's public IP addresses. Public string `json:"public,omitempty"` }
HashicorpCloudVault20200420ClusterDNSNames DNSNames holds all of the cluster's DNS names.
swagger:model hashicorp.cloud.vault_20200420.Cluster.DNSNames
func (*HashicorpCloudVault20200420ClusterDNSNames) MarshalBinary ¶
func (m *HashicorpCloudVault20200420ClusterDNSNames) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420ClusterDNSNames) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420ClusterDNSNames) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420ClusterState ¶
type HashicorpCloudVault20200420ClusterState string
HashicorpCloudVault20200420ClusterState State is the state of the Vault cluster. Note that this state represents the abstract Vault cluster itself, not necessarily whether Vault cluster is currently available or not.
- UNSET: UNSET is a sentinel zero value so that an uninitialized value can be
detected.
- PENDING: PENDING is the state the cluster is in while it is waiting to be created.
- CREATING: CREATING is the state the cluster is in while it is being provisioned for
the first time.
- RUNNING: RUNNING is the steady state while the cluster is running.
- FAILED: FAILED is a failure state in which the cluster is unavailable and may
required an operator restore action to recover.
- UPDATING: UPDATING is the state the cluster is in while undergoing a version
update.
- RESTORING: RESTORING is the state the cluster is in while restoring from a snapshot.
- DELETING: DELETING is the state the cluster is in while it is being de-provisioned.
- DELETED: DELETED is the state the cluster is in when it has been de-provisioned. At
this point, the cluster is eligible for garbage collection.
- SEALING: SEALING is the state the cluster is in when it is about to get sealed.
- SEALED: SEALED is the state the cluster is in while a cluster is sealed.
- UNSEALING: UNSEALING is the state the cluster is in when it is about to get unsealed.
swagger:model hashicorp.cloud.vault_20200420.Cluster.State
const ( // HashicorpCloudVault20200420ClusterStateUNSET captures enum value "UNSET" HashicorpCloudVault20200420ClusterStateUNSET HashicorpCloudVault20200420ClusterState = "UNSET" // HashicorpCloudVault20200420ClusterStatePENDING captures enum value "PENDING" HashicorpCloudVault20200420ClusterStatePENDING HashicorpCloudVault20200420ClusterState = "PENDING" // HashicorpCloudVault20200420ClusterStateCREATING captures enum value "CREATING" HashicorpCloudVault20200420ClusterStateCREATING HashicorpCloudVault20200420ClusterState = "CREATING" // HashicorpCloudVault20200420ClusterStateRUNNING captures enum value "RUNNING" HashicorpCloudVault20200420ClusterStateRUNNING HashicorpCloudVault20200420ClusterState = "RUNNING" // HashicorpCloudVault20200420ClusterStateFAILED captures enum value "FAILED" HashicorpCloudVault20200420ClusterStateFAILED HashicorpCloudVault20200420ClusterState = "FAILED" // HashicorpCloudVault20200420ClusterStateUPDATING captures enum value "UPDATING" HashicorpCloudVault20200420ClusterStateUPDATING HashicorpCloudVault20200420ClusterState = "UPDATING" // HashicorpCloudVault20200420ClusterStateRESTORING captures enum value "RESTORING" HashicorpCloudVault20200420ClusterStateRESTORING HashicorpCloudVault20200420ClusterState = "RESTORING" // HashicorpCloudVault20200420ClusterStateDELETING captures enum value "DELETING" HashicorpCloudVault20200420ClusterStateDELETING HashicorpCloudVault20200420ClusterState = "DELETING" // HashicorpCloudVault20200420ClusterStateDELETED captures enum value "DELETED" HashicorpCloudVault20200420ClusterStateDELETED HashicorpCloudVault20200420ClusterState = "DELETED" // HashicorpCloudVault20200420ClusterStateSEALING captures enum value "SEALING" HashicorpCloudVault20200420ClusterStateSEALING HashicorpCloudVault20200420ClusterState = "SEALING" // HashicorpCloudVault20200420ClusterStateSEALED captures enum value "SEALED" HashicorpCloudVault20200420ClusterStateSEALED HashicorpCloudVault20200420ClusterState = "SEALED" // HashicorpCloudVault20200420ClusterStateUNSEALING captures enum value "UNSEALING" HashicorpCloudVault20200420ClusterStateUNSEALING HashicorpCloudVault20200420ClusterState = "UNSEALING" )
type HashicorpCloudVault20200420CreateRequest ¶
type HashicorpCloudVault20200420CreateRequest struct { // cluster Cluster *HashicorpCloudVault20200420Cluster `json:"cluster,omitempty"` }
HashicorpCloudVault20200420CreateRequest hashicorp cloud vault 20200420 create request
swagger:model hashicorp.cloud.vault_20200420.CreateRequest
func (*HashicorpCloudVault20200420CreateRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420CreateRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420CreateResponse ¶
type HashicorpCloudVault20200420CreateResponse struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420CreateResponse hashicorp cloud vault 20200420 create response
swagger:model hashicorp.cloud.vault_20200420.CreateResponse
func (*HashicorpCloudVault20200420CreateResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420CreateResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420CreateSnapshotRequest ¶
type HashicorpCloudVault20200420CreateSnapshotRequest struct { // name is the user provided name of the snapshot. Name string `json:"name,omitempty"` // resource specifies the link to the resource to snapshot Resource *cloud.HashicorpCloudLocationLink `json:"resource,omitempty"` }
HashicorpCloudVault20200420CreateSnapshotRequest hashicorp cloud vault 20200420 create snapshot request
swagger:model hashicorp.cloud.vault_20200420.CreateSnapshotRequest
func (*HashicorpCloudVault20200420CreateSnapshotRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateSnapshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420CreateSnapshotRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateSnapshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420CreateSnapshotResponse ¶
type HashicorpCloudVault20200420CreateSnapshotResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // snapshot id SnapshotID string `json:"snapshot_id,omitempty"` }
HashicorpCloudVault20200420CreateSnapshotResponse hashicorp cloud vault 20200420 create snapshot response
swagger:model hashicorp.cloud.vault_20200420.CreateSnapshotResponse
func (*HashicorpCloudVault20200420CreateSnapshotResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420CreateSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420CreateSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420DeleteResponse ¶
type HashicorpCloudVault20200420DeleteResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420DeleteResponse hashicorp cloud vault 20200420 delete response
swagger:model hashicorp.cloud.vault_20200420.DeleteResponse
func (*HashicorpCloudVault20200420DeleteResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420DeleteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420DeleteResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420DeleteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420DeleteSnapshotResponse ¶
type HashicorpCloudVault20200420DeleteSnapshotResponse struct { // operation represents the deletion of the requested snapshot. Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420DeleteSnapshotResponse DeleteSnapshotResponse is a response to deleting a snapshot.
swagger:model hashicorp.cloud.vault_20200420.DeleteSnapshotResponse
func (*HashicorpCloudVault20200420DeleteSnapshotResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420DeleteSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420DeleteSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420DeleteSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420DisableCORSResponse ¶
type HashicorpCloudVault20200420DisableCORSResponse interface{}
HashicorpCloudVault20200420DisableCORSResponse hashicorp cloud vault 20200420 disable c o r s response
swagger:model hashicorp.cloud.vault_20200420.DisableCORSResponse
type HashicorpCloudVault20200420FetchAuditLogRequest ¶
type HashicorpCloudVault20200420FetchAuditLogRequest struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // interval end // Format: date-time IntervalEnd strfmt.DateTime `json:"interval_end,omitempty"` // interval start // Format: date-time IntervalStart strfmt.DateTime `json:"interval_start,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudVault20200420FetchAuditLogRequest hashicorp cloud vault 20200420 fetch audit log request
swagger:model hashicorp.cloud.vault_20200420.FetchAuditLogRequest
func (*HashicorpCloudVault20200420FetchAuditLogRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420FetchAuditLogRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420FetchAuditLogRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420FetchAuditLogRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420FetchAuditLogResponse ¶
type HashicorpCloudVault20200420FetchAuditLogResponse struct { // log id LogID string `json:"log_id,omitempty"` // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420FetchAuditLogResponse hashicorp cloud vault 20200420 fetch audit log response
swagger:model hashicorp.cloud.vault_20200420.FetchAuditLogResponse
func (*HashicorpCloudVault20200420FetchAuditLogResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420FetchAuditLogResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420FetchAuditLogResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420FetchAuditLogResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420GetAdminTokenResponse ¶
type HashicorpCloudVault20200420GetAdminTokenResponse struct { // token Token string `json:"token,omitempty"` }
HashicorpCloudVault20200420GetAdminTokenResponse hashicorp cloud vault 20200420 get admin token response
swagger:model hashicorp.cloud.vault_20200420.GetAdminTokenResponse
func (*HashicorpCloudVault20200420GetAdminTokenResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420GetAdminTokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420GetAdminTokenResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420GetAdminTokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420GetAuditLogStatusResponse ¶
type HashicorpCloudVault20200420GetAuditLogStatusResponse struct { // log Log *HashicorpCloudVault20200420AuditLog `json:"log,omitempty"` }
HashicorpCloudVault20200420GetAuditLogStatusResponse hashicorp cloud vault 20200420 get audit log status response
swagger:model hashicorp.cloud.vault_20200420.GetAuditLogStatusResponse
func (*HashicorpCloudVault20200420GetAuditLogStatusResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420GetAuditLogStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420GetAuditLogStatusResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420GetAuditLogStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420GetCORSConfigResponse ¶
type HashicorpCloudVault20200420GetCORSConfigResponse struct { // allowed_headers are the allowed headers. AllowedHeaders []string `json:"allowed_headers"` // allowed_origins are the allowed origins. AllowedOrigins []string `json:"allowed_origins"` // enabled returns true if CORS is enabled. Enabled bool `json:"enabled,omitempty"` }
HashicorpCloudVault20200420GetCORSConfigResponse hashicorp cloud vault 20200420 get c o r s config response
swagger:model hashicorp.cloud.vault_20200420.GetCORSConfigResponse
func (*HashicorpCloudVault20200420GetCORSConfigResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420GetCORSConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420GetCORSConfigResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420GetCORSConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420GetResponse ¶
type HashicorpCloudVault20200420GetResponse struct { // cluster Cluster *HashicorpCloudVault20200420Cluster `json:"cluster,omitempty"` }
HashicorpCloudVault20200420GetResponse hashicorp cloud vault 20200420 get response
swagger:model hashicorp.cloud.vault_20200420.GetResponse
func (*HashicorpCloudVault20200420GetResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420GetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420GetResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420GetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420GetSnapshotResponse ¶
type HashicorpCloudVault20200420GetSnapshotResponse struct { // snapshot is the requested snapshot. Snapshot *HashicorpCloudVault20200420Snapshot `json:"snapshot,omitempty"` }
HashicorpCloudVault20200420GetSnapshotResponse GetSnapshotResponse is a response for retrieving a snapshot's information.
swagger:model hashicorp.cloud.vault_20200420.GetSnapshotResponse
func (*HashicorpCloudVault20200420GetSnapshotResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420GetSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420GetSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420GetSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420ListResponse ¶
type HashicorpCloudVault20200420ListResponse struct { // clusters Clusters []*HashicorpCloudVault20200420Cluster `json:"clusters"` // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudVault20200420ListResponse hashicorp cloud vault 20200420 list response
swagger:model hashicorp.cloud.vault_20200420.ListResponse
func (*HashicorpCloudVault20200420ListResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420ListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420ListResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420ListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420ListSnapshotsResponse ¶
type HashicorpCloudVault20200420ListSnapshotsResponse struct { // Pagination contains the pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // snapshots is a list of available snapshots. Snapshots []*HashicorpCloudVault20200420Snapshot `json:"snapshots"` }
HashicorpCloudVault20200420ListSnapshotsResponse ListSnapshotsResponse is a response from listing snapshots.
swagger:model hashicorp.cloud.vault_20200420.ListSnapshotsResponse
func (*HashicorpCloudVault20200420ListSnapshotsResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420ListSnapshotsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420ListSnapshotsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420ListSnapshotsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420MaintenanceConfig ¶
type HashicorpCloudVault20200420MaintenanceConfig interface{}
HashicorpCloudVault20200420MaintenanceConfig hashicorp cloud vault 20200420 maintenance config
swagger:model hashicorp.cloud.vault_20200420.MaintenanceConfig
type HashicorpCloudVault20200420NetworkConfig ¶
type HashicorpCloudVault20200420NetworkConfig struct { // cors config CorsConfig *HashicorpCloudVault20200420CORSConfig `json:"cors_config,omitempty"` // network_id is the ID of the network the Vault cluster belongs to. NetworkID string `json:"network_id,omitempty"` // public_ips_disabled indicates if public IP's are disabled. PublicIpsDisabled bool `json:"public_ips_disabled,omitempty"` }
HashicorpCloudVault20200420NetworkConfig hashicorp cloud vault 20200420 network config
swagger:model hashicorp.cloud.vault_20200420.NetworkConfig
func (*HashicorpCloudVault20200420NetworkConfig) MarshalBinary ¶
func (m *HashicorpCloudVault20200420NetworkConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420NetworkConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420NetworkConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420RestoreSnapshotRequest ¶
type HashicorpCloudVault20200420RestoreSnapshotRequest struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // snapshot id SnapshotID string `json:"snapshot_id,omitempty"` }
HashicorpCloudVault20200420RestoreSnapshotRequest hashicorp cloud vault 20200420 restore snapshot request
swagger:model hashicorp.cloud.vault_20200420.RestoreSnapshotRequest
func (*HashicorpCloudVault20200420RestoreSnapshotRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420RestoreSnapshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420RestoreSnapshotRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420RestoreSnapshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420RestoreSnapshotResponse ¶
type HashicorpCloudVault20200420RestoreSnapshotResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420RestoreSnapshotResponse hashicorp cloud vault 20200420 restore snapshot response
swagger:model hashicorp.cloud.vault_20200420.RestoreSnapshotResponse
func (*HashicorpCloudVault20200420RestoreSnapshotResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420RestoreSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420RestoreSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420RestoreSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420SealRequest ¶
type HashicorpCloudVault20200420SealRequest struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudVault20200420SealRequest hashicorp cloud vault 20200420 seal request
swagger:model hashicorp.cloud.vault_20200420.SealRequest
func (*HashicorpCloudVault20200420SealRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420SealRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420SealRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420SealRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420SealResponse ¶
type HashicorpCloudVault20200420SealResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420SealResponse hashicorp cloud vault 20200420 seal response
swagger:model hashicorp.cloud.vault_20200420.SealResponse
func (*HashicorpCloudVault20200420SealResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420SealResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420SealResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420SealResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420Snapshot ¶
type HashicorpCloudVault20200420Snapshot struct { // cluster_id is the cluster id that this snapshot backs. ClusterID string `json:"cluster_id,omitempty"` // finished_at notes the time that this snapshot was finished. // Format: date-time FinishedAt strfmt.DateTime `json:"finished_at,omitempty"` // location is the location of the Snapshot. Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Name of the snapshot Name string `json:"name,omitempty"` // requested_at notes the time that this snapshot was requested. // Format: date-time RequestedAt strfmt.DateTime `json:"requested_at,omitempty"` // snapshot_id is the snapshots UUID. SnapshotID string `json:"snapshot_id,omitempty"` // state is represents the current status for this snapshot. State HashicorpCloudVault20200420SnapshotState `json:"state,omitempty"` // type is the type of snapshot. Type HashicorpCloudVault20200420SnapshotType `json:"type,omitempty"` // vault_version is the version of the Vault cluster this snapshot was taken from. VaultVersion string `json:"vault_version,omitempty"` }
HashicorpCloudVault20200420Snapshot Snapshot is our representation needed to back-up a Vault cluster.
swagger:model hashicorp.cloud.vault_20200420.Snapshot
func (*HashicorpCloudVault20200420Snapshot) MarshalBinary ¶
func (m *HashicorpCloudVault20200420Snapshot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420Snapshot) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420Snapshot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420SnapshotConfig ¶
type HashicorpCloudVault20200420SnapshotConfig struct { // periodic_snapshots_disabled indicates if automated periodic snapshots should be disabled PeriodicSnapshotsDisabled bool `json:"periodic_snapshots_disabled,omitempty"` }
HashicorpCloudVault20200420SnapshotConfig hashicorp cloud vault 20200420 snapshot config
swagger:model hashicorp.cloud.vault_20200420.SnapshotConfig
func (*HashicorpCloudVault20200420SnapshotConfig) MarshalBinary ¶
func (m *HashicorpCloudVault20200420SnapshotConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420SnapshotConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420SnapshotConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420SnapshotState ¶
type HashicorpCloudVault20200420SnapshotState string
HashicorpCloudVault20200420SnapshotState SnapshotState represents the lifecycle of snapshots
swagger:model hashicorp.cloud.vault_20200420.Snapshot.State
const ( // HashicorpCloudVault20200420SnapshotStateUNSET captures enum value "UNSET" HashicorpCloudVault20200420SnapshotStateUNSET HashicorpCloudVault20200420SnapshotState = "UNSET" // HashicorpCloudVault20200420SnapshotStatePENDING captures enum value "PENDING" HashicorpCloudVault20200420SnapshotStatePENDING HashicorpCloudVault20200420SnapshotState = "PENDING" // HashicorpCloudVault20200420SnapshotStateCREATING captures enum value "CREATING" HashicorpCloudVault20200420SnapshotStateCREATING HashicorpCloudVault20200420SnapshotState = "CREATING" // HashicorpCloudVault20200420SnapshotStateSTORED captures enum value "STORED" HashicorpCloudVault20200420SnapshotStateSTORED HashicorpCloudVault20200420SnapshotState = "STORED" // HashicorpCloudVault20200420SnapshotStateFAILED captures enum value "FAILED" HashicorpCloudVault20200420SnapshotStateFAILED HashicorpCloudVault20200420SnapshotState = "FAILED" // HashicorpCloudVault20200420SnapshotStateDELETING captures enum value "DELETING" HashicorpCloudVault20200420SnapshotStateDELETING HashicorpCloudVault20200420SnapshotState = "DELETING" )
type HashicorpCloudVault20200420SnapshotType ¶
type HashicorpCloudVault20200420SnapshotType string
HashicorpCloudVault20200420SnapshotType Type represents the type of snapshots.
swagger:model hashicorp.cloud.vault_20200420.Snapshot.Type
const ( // HashicorpCloudVault20200420SnapshotTypeTYPEUNSET captures enum value "TYPE_UNSET" HashicorpCloudVault20200420SnapshotTypeTYPEUNSET HashicorpCloudVault20200420SnapshotType = "TYPE_UNSET" // HashicorpCloudVault20200420SnapshotTypeAUTOMATIC captures enum value "AUTOMATIC" HashicorpCloudVault20200420SnapshotTypeAUTOMATIC HashicorpCloudVault20200420SnapshotType = "AUTOMATIC" // HashicorpCloudVault20200420SnapshotTypeSCHEDULED captures enum value "SCHEDULED" HashicorpCloudVault20200420SnapshotTypeSCHEDULED HashicorpCloudVault20200420SnapshotType = "SCHEDULED" // HashicorpCloudVault20200420SnapshotTypeMANUAL captures enum value "MANUAL" HashicorpCloudVault20200420SnapshotTypeMANUAL HashicorpCloudVault20200420SnapshotType = "MANUAL" // HashicorpCloudVault20200420SnapshotTypeBEFOREUPGRADE captures enum value "BEFORE_UPGRADE" HashicorpCloudVault20200420SnapshotTypeBEFOREUPGRADE HashicorpCloudVault20200420SnapshotType = "BEFORE_UPGRADE" )
type HashicorpCloudVault20200420UnsealRequest ¶
type HashicorpCloudVault20200420UnsealRequest struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudVault20200420UnsealRequest hashicorp cloud vault 20200420 unseal request
swagger:model hashicorp.cloud.vault_20200420.UnsealRequest
func (*HashicorpCloudVault20200420UnsealRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420UnsealRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420UnsealRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420UnsealRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420UnsealResponse ¶
type HashicorpCloudVault20200420UnsealResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420UnsealResponse hashicorp cloud vault 20200420 unseal response
swagger:model hashicorp.cloud.vault_20200420.UnsealResponse
func (*HashicorpCloudVault20200420UnsealResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420UnsealResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420UnsealResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420UnsealResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420UpdateCORSConfigRequest ¶
type HashicorpCloudVault20200420UpdateCORSConfigRequest struct { // allowed_headers sets the allowed headers. AllowedHeaders []string `json:"allowed_headers"` // allowed_origins sets the allowed origins. AllowedOrigins []string `json:"allowed_origins"` // cluster id ClusterID string `json:"cluster_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudVault20200420UpdateCORSConfigRequest hashicorp cloud vault 20200420 update c o r s config request
swagger:model hashicorp.cloud.vault_20200420.UpdateCORSConfigRequest
func (*HashicorpCloudVault20200420UpdateCORSConfigRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdateCORSConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420UpdateCORSConfigRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdateCORSConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420UpdateCORSConfigResponse ¶
type HashicorpCloudVault20200420UpdateCORSConfigResponse interface{}
HashicorpCloudVault20200420UpdateCORSConfigResponse hashicorp cloud vault 20200420 update c o r s config response
swagger:model hashicorp.cloud.vault_20200420.UpdateCORSConfigResponse
type HashicorpCloudVault20200420UpdatePublicIpsRequest ¶
type HashicorpCloudVault20200420UpdatePublicIpsRequest struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // enable public ips EnablePublicIps bool `json:"enable_public_ips,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudVault20200420UpdatePublicIpsRequest hashicorp cloud vault 20200420 update public ips request
swagger:model hashicorp.cloud.vault_20200420.UpdatePublicIpsRequest
func (*HashicorpCloudVault20200420UpdatePublicIpsRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdatePublicIpsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420UpdatePublicIpsRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdatePublicIpsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420UpdatePublicIpsResponse ¶
type HashicorpCloudVault20200420UpdatePublicIpsResponse struct { // operation represents the operation of the request. Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudVault20200420UpdatePublicIpsResponse hashicorp cloud vault 20200420 update public ips response
swagger:model hashicorp.cloud.vault_20200420.UpdatePublicIpsResponse
func (*HashicorpCloudVault20200420UpdatePublicIpsResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdatePublicIpsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420UpdatePublicIpsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdatePublicIpsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420UpdateSnapshotRequest ¶
type HashicorpCloudVault20200420UpdateSnapshotRequest struct { // mask is the mask of fields to update. Mask *cloud.GoogleProtobufFieldMask `json:"mask,omitempty"` // snapshot contains the fields to update. // // Supported fields: name Snapshot *HashicorpCloudVault20200420Snapshot `json:"snapshot,omitempty"` }
HashicorpCloudVault20200420UpdateSnapshotRequest UpdateSnapshotRequest is a request to update a snapshot.
swagger:model hashicorp.cloud.vault_20200420.UpdateSnapshotRequest
func (*HashicorpCloudVault20200420UpdateSnapshotRequest) MarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdateSnapshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420UpdateSnapshotRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdateSnapshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420UpdateSnapshotResponse ¶
type HashicorpCloudVault20200420UpdateSnapshotResponse struct { // snapshot is the updated snapshot. Snapshot *HashicorpCloudVault20200420Snapshot `json:"snapshot,omitempty"` }
HashicorpCloudVault20200420UpdateSnapshotResponse UpdateSnapshotResponse is a response to updating a snapshot.
swagger:model hashicorp.cloud.vault_20200420.UpdateSnapshotResponse
func (*HashicorpCloudVault20200420UpdateSnapshotResponse) MarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdateSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420UpdateSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420UpdateSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420VaultAccess ¶
type HashicorpCloudVault20200420VaultAccess struct { // recovery key RecoveryKey string `json:"recovery_key,omitempty"` // root token RootToken string `json:"root_token,omitempty"` // url URL string `json:"url,omitempty"` }
HashicorpCloudVault20200420VaultAccess hashicorp cloud vault 20200420 vault access
swagger:model hashicorp.cloud.vault_20200420.VaultAccess
func (*HashicorpCloudVault20200420VaultAccess) MarshalBinary ¶
func (m *HashicorpCloudVault20200420VaultAccess) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420VaultAccess) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420VaultAccess) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudVault20200420VaultConfig ¶
type HashicorpCloudVault20200420VaultConfig struct { // initial_version is the initial Vault version to use when creating the // cluster. Once the cluster is created, this value is no longer used. InitialVersion string `json:"initial_version,omitempty"` // max_lease_ttl is the max lease ttl for this Vault cluster. MaxLeaseTTL string `json:"max_lease_ttl,omitempty"` // namespace is the name of the customer namespace. Namespace string `json:"namespace,omitempty"` }
HashicorpCloudVault20200420VaultConfig hashicorp cloud vault 20200420 vault config
swagger:model hashicorp.cloud.vault_20200420.VaultConfig
func (*HashicorpCloudVault20200420VaultConfig) MarshalBinary ¶
func (m *HashicorpCloudVault20200420VaultConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20200420VaultConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20200420VaultConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- hashicorp_cloud_vault20200420_audit_config.go
- hashicorp_cloud_vault20200420_audit_log.go
- hashicorp_cloud_vault20200420_audit_log_state.go
- hashicorp_cloud_vault20200420_c_o_r_s_config.go
- hashicorp_cloud_vault20200420_capacity_config.go
- hashicorp_cloud_vault20200420_cluster.go
- hashicorp_cloud_vault20200420_cluster_config.go
- hashicorp_cloud_vault20200420_cluster_dns_names.go
- hashicorp_cloud_vault20200420_cluster_state.go
- hashicorp_cloud_vault20200420_create_request.go
- hashicorp_cloud_vault20200420_create_response.go
- hashicorp_cloud_vault20200420_create_snapshot_request.go
- hashicorp_cloud_vault20200420_create_snapshot_response.go
- hashicorp_cloud_vault20200420_delete_response.go
- hashicorp_cloud_vault20200420_delete_snapshot_response.go
- hashicorp_cloud_vault20200420_disable_c_o_r_s_response.go
- hashicorp_cloud_vault20200420_fetch_audit_log_request.go
- hashicorp_cloud_vault20200420_fetch_audit_log_response.go
- hashicorp_cloud_vault20200420_get_admin_token_response.go
- hashicorp_cloud_vault20200420_get_audit_log_status_response.go
- hashicorp_cloud_vault20200420_get_c_o_r_s_config_response.go
- hashicorp_cloud_vault20200420_get_response.go
- hashicorp_cloud_vault20200420_get_snapshot_response.go
- hashicorp_cloud_vault20200420_list_response.go
- hashicorp_cloud_vault20200420_list_snapshots_response.go
- hashicorp_cloud_vault20200420_maintenance_config.go
- hashicorp_cloud_vault20200420_network_config.go
- hashicorp_cloud_vault20200420_restore_snapshot_request.go
- hashicorp_cloud_vault20200420_restore_snapshot_response.go
- hashicorp_cloud_vault20200420_seal_request.go
- hashicorp_cloud_vault20200420_seal_response.go
- hashicorp_cloud_vault20200420_snapshot.go
- hashicorp_cloud_vault20200420_snapshot_config.go
- hashicorp_cloud_vault20200420_snapshot_state.go
- hashicorp_cloud_vault20200420_snapshot_type.go
- hashicorp_cloud_vault20200420_unseal_request.go
- hashicorp_cloud_vault20200420_unseal_response.go
- hashicorp_cloud_vault20200420_update_c_o_r_s_config_request.go
- hashicorp_cloud_vault20200420_update_c_o_r_s_config_response.go
- hashicorp_cloud_vault20200420_update_public_ips_request.go
- hashicorp_cloud_vault20200420_update_public_ips_response.go
- hashicorp_cloud_vault20200420_update_snapshot_request.go
- hashicorp_cloud_vault20200420_update_snapshot_response.go
- hashicorp_cloud_vault20200420_vault_access.go
- hashicorp_cloud_vault20200420_vault_config.go