Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditAction ¶
type AuditAction string
const ( AuditActionUnknown AuditAction = "Unknown" AuditActionCreate AuditAction = "Create" AuditActionUpdate AuditAction = "Update" AuditActionDelete AuditAction = "Delete" AuditActionRead AuditAction = "Read" )
type AuditCategory ¶
type AuditCategory string
const ( AuditCategoryUnknown AuditCategory = "Unknown" AuditCategoryDatacenter AuditCategory = "Datacenter" AuditCategoryPrice AuditCategory = "Price" AuditCategoryProject AuditCategory = "Project" AuditCategoryWorkspace AuditCategory = "Workspace" AuditCategoryConfiguration AuditCategory = "Configuration" AuditCategoryClusterMetadata AuditCategory = "ClusterMetadata" AuditCategoryApikey AuditCategory = "ApiKey" AuditCategoryAcl AuditCategory = "Acl" AuditCategorySwitchboard AuditCategory = "Ruleset" AuditCategoryKubeconfig AuditCategory = "Kubeconfig" )
type AuthModel ¶
type AuthModel struct { Accessor string `json:"accessor"` Client_Token string `json:"client_token"` Entity_Id string `json:"entity_id"` Orphan bool `json:"orphan"` Lease_Duration int `json:"lease_duration"` Metadata MetadataModel `json:"metadata"` Renewable bool `json:"renewable"` Policies []string `json:"policies"` Token_Policies []string `json:"token_policies"` Token_Type string `json:"token_type"` }
type MetadataModel ¶
type MetadataModel struct { Role string `json:"role"` ServiceAccountName string `json:"service_account_name"` ServiceAccountNamespace string `json:"service_account_namespace"` ServiceAccountSecretName string `json:"service_account_secret_name"` ServiceAccountUid string `json:"service_account_uid"` }
type VaultLoginModel ¶
type VaultLoginModel struct { // array of strings - A list of policies for the token. This must be a subset of the policies belonging to the token making the request, unless the calling token is root or contains sudo capabilities to auth/token/create. If not specified, defaults to all the policies of the calling token. Policies []string `json:"policies"` // string - The TTL period of the token, provided as "1h", where hour is the largest suffix. If not provided, the token is valid for the default lease TTL, or indefinitely if the root policy is used. TimeToLeave string `json:"ttl"` // default is true Renewable bool `json:"renewable,omitempty"` ExplicitMaxTimeToLeave string `json:"explicit_max_ttl,omitempty"` DisplayName string `json:"display_name,omitempty"` Period string `json:"period,omitempty"` MaxNumberOfUses int `json:"num_uses,omitempty"` }
type VaultRenewModel ¶
type VaultRenewModel struct { Increment string `json:"increment"` Token string `json:"token,omitempty"` // The token to renew. Only required if iusing /auth/token/renew endpoint Accessor string `json:"accessor,omitempty"` // The accessor of the token to renew. Only required if using /auth/token/renew-accessor endpoint }
type VaultRequestTokenModel ¶
Directories ¶
Path | Synopsis |
---|---|
THIS FILE IS GENERATED, DO NOT EDIT ref: build/generator/main.go
|
THIS FILE IS GENERATED, DO NOT EDIT ref: build/generator/main.go |
this package provides models for views
|
this package provides models for views |
Click to show internal directories.
Click to hide internal directories.