Documentation ¶
Index ¶
- type Action
- type Address
- type Attribute
- type Balance
- type Bearer
- type BinaryBearer
- type ContainerInfo
- type ContainerList
- type ContainerPutInfo
- type Eacl
- type ErrorResponse
- type ErrorType
- type Filter
- type HeaderType
- type MatchType
- type ObjectBaseInfo
- type ObjectInfo
- type ObjectList
- type ObjectUpload
- type Operation
- type Principal
- type Record
- type Role
- type Rule
- type SearchFilter
- type SearchFilters
- type SearchMatch
- type SuccessResponse
- type Target
- type TokenResponse
- type TokenType
- type Verb
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action string
Action Rule execution result action in FrostFS EACL. Either allows or denies access if the rule's filters match.
swagger:model Action
func (Action) ContextValidate ¶
ContextValidate validates this action based on context it is used
type Address ¶
type Address struct { // container Id // Required: true ContainerID *string `json:"containerId"` // object Id // Required: true ObjectID *string `json:"objectId"` }
Address Address of the object in FrostFS. Example: {"containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","objectId":"8N3o7Dtr6T1xteCt6eRwhpmJ7JhME58Hyu1dvaswuTDd"}
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Attribute ¶
type Attribute struct { // key // Required: true Key *string `json:"key"` // value // Required: true Value *string `json:"value"` }
Attribute Attribute is a pair of strings that can be attached to a container or an object. Example: {"key":"User-Defined-Tag","value":"tag value"}
swagger:model Attribute
func (*Attribute) ContextValidate ¶
ContextValidate validates this attribute based on context it is used
func (*Attribute) MarshalBinary ¶
MarshalBinary interface implementation
func (*Attribute) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Balance ¶
type Balance struct { // address // Required: true Address *string `json:"address"` // precision // Required: true Precision *int64 `json:"precision"` // value // Required: true Value *string `json:"value"` }
Balance balance
swagger:model Balance
func (*Balance) ContextValidate ¶
ContextValidate validates this balance based on context it is used
func (*Balance) MarshalBinary ¶
MarshalBinary interface implementation
func (*Balance) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Bearer ¶
type Bearer struct { // container Container *Rule `json:"container,omitempty"` // name Name string `json:"name,omitempty"` // object Object []*Record `json:"object"` }
Bearer Bearer token that is expected to be formed. Example: [{"name":"my-bearer-token","object":[{"action":"ALLOW","filters":[],"operation":"GET","targets":[{"keys":[],"role":"OTHERS"}]}]},{"container":{"verb":"PUT"},"name":"my token to create container"}]
swagger:model Bearer
func (*Bearer) ContextValidate ¶
ContextValidate validate this bearer based on the context it is used
func (*Bearer) MarshalBinary ¶
MarshalBinary interface implementation
func (*Bearer) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BinaryBearer ¶
type BinaryBearer struct { // Base64 encoded bearer token. // Required: true Token *string `json:"token"` }
BinaryBearer Bearer token for object operations that is represented in binary form. Example: {"token":"ChIKDAoAGggIARABIgIIAxoCCGQSZgohA+J5jFWFMiOpyvMZBu9wwPTKsWsG0q206kVe63iuWP/wEkEE4SIV0QngnKppDf54QezUKmar7UQby6HzufT5yVIOvj7QEqZnOavrKW0chCeCwP0khda/j9k00ct6NMEDxQFW+g=="}
swagger:model BinaryBearer
func (*BinaryBearer) ContextValidate ¶
ContextValidate validates this binary bearer based on context it is used
func (*BinaryBearer) MarshalBinary ¶
func (m *BinaryBearer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BinaryBearer) UnmarshalBinary ¶
func (m *BinaryBearer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerInfo ¶
type ContainerInfo struct { // attributes // Required: true Attributes []*Attribute `json:"attributes"` // basic Acl // Required: true BasicACL *string `json:"basicAcl"` // The friendly name for the basicAcl field. CannedACL string `json:"cannedAcl,omitempty"` // container Id // Required: true ContainerID *string `json:"containerId"` // container name // Required: true ContainerName *string `json:"containerName"` // owner Id // Required: true OwnerID *string `json:"ownerId"` // placement policy // Required: true PlacementPolicy *string `json:"placementPolicy"` // version // Required: true Version *string `json:"version"` }
ContainerInfo Information about container. Example: {"attribute":[{"key":"Timestamp","value":"1648810072"},{"key":"Name","value":"container"}],"basicAcl":"0x1fbf9fff","containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","containerName":"container","ownerId":"NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM","placementPolicy":"REP 2","version":"2.11"}
swagger:model ContainerInfo
func (*ContainerInfo) ContextValidate ¶
ContextValidate validate this container info based on the context it is used
func (*ContainerInfo) MarshalBinary ¶
func (m *ContainerInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerInfo) UnmarshalBinary ¶
func (m *ContainerInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerList ¶
type ContainerList struct { // containers // Required: true Containers []*ContainerInfo `json:"containers"` // size // Required: true Size *int64 `json:"size"` }
ContainerList List of containers info Example: {"containers":[{"attribute":[{"key":"Timestamp","value":"1648810072"},{"key":"Name","value":"container"}],"basicAcl":"0x1fbf9fff","containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","containerName":"container","ownerId":"NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM","placementPolicy":"REP 2","version":"2.11"},{"attribute":[{"key":"Name","value":"container2"}],"basicAcl":"0x1fbf9fff","containerId":"FsE7HLQBBYc2WFJzuTXMcpspDEmwUxsD5YmNb2r25uUu","containerName":"container2","ownerId":"NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM","placementPolicy":"REP 1","version":"2.11"}],"size":2}
swagger:model ContainerList
func (*ContainerList) ContextValidate ¶
ContextValidate validate this container list based on the context it is used
func (*ContainerList) MarshalBinary ¶
func (m *ContainerList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerList) UnmarshalBinary ¶
func (m *ContainerList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerPutInfo ¶
type ContainerPutInfo struct { // attributes Attributes []*Attribute `json:"attributes"` // basic Acl BasicACL string `json:"basicAcl,omitempty"` // container name ContainerName string `json:"containerName,omitempty"` // placement policy PlacementPolicy string `json:"placementPolicy,omitempty"` }
ContainerPutInfo Request body to create container. To specify container name use appropriate property (name provided in attributes will be ignored). Example: {"attributes":[{"key":"Custom-Attribute","value":"value"}],"basicAcl":"public-read-write","containerName":"container","placementPolicy":"REP 3"}
swagger:model ContainerPutInfo
func (*ContainerPutInfo) ContextValidate ¶
ContextValidate validate this container put info based on the context it is used
func (*ContainerPutInfo) MarshalBinary ¶
func (m *ContainerPutInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerPutInfo) UnmarshalBinary ¶
func (m *ContainerPutInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Eacl ¶
type Eacl struct { // container Id // Read Only: true ContainerID string `json:"containerId,omitempty"` // records // Required: true Records []*Record `json:"records"` }
Eacl EACL FrostFS table. Example: {"containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","records":[{"action":"GET","filters":[{"headerType":"OBJECT","key":"FileName","matchType":"STRING_EQUAL","value":"myfile"}],"operation":"ALLOW","targets":[{"role":"OTHERS"}]}]}
swagger:model Eacl
func (*Eacl) ContextValidate ¶
ContextValidate validate this eacl based on the context it is used
func (*Eacl) MarshalBinary ¶
MarshalBinary interface implementation
func (*Eacl) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // code Code int64 `json:"code,omitempty"` // message // Required: true Message *string `json:"message"` // type // Required: true Type *ErrorType `json:"type"` }
ErrorResponse Error response. Example: {"code":1024,"message":"incomplete object PUT by placement","type":"API"}
swagger:model ErrorResponse
func (*ErrorResponse) ContextValidate ¶
ContextValidate validate this error response based on the context it is used
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorType ¶
type ErrorType string
ErrorType Error type. Allow determine source of the error.
swagger:model ErrorType
func NewErrorType ¶
func (ErrorType) ContextValidate ¶
ContextValidate validates this error type based on context it is used
type Filter ¶
type Filter struct { // header type // Required: true HeaderType *HeaderType `json:"headerType"` // key // Required: true Key *string `json:"key"` // match type // Required: true MatchType *MatchType `json:"matchType"` // value // Required: true Value *string `json:"value"` }
Filter Filter in FrostFS EACL to check particular properties of the request or the object. Example: {"headerType":"OBJECT","key":"FileName","matchType":"STRING_NOT_EQUAL","value":"myfile"}
swagger:model Filter
func (*Filter) ContextValidate ¶
ContextValidate validate this filter based on the context it is used
func (*Filter) MarshalBinary ¶
MarshalBinary interface implementation
func (*Filter) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HeaderType ¶
type HeaderType string
HeaderType Enumeration of possible sources of Headers to apply filters in FrostFS EACL.
swagger:model HeaderType
const ( // HeaderTypeREQUEST captures enum value "REQUEST" HeaderTypeREQUEST HeaderType = "REQUEST" // HeaderTypeOBJECT captures enum value "OBJECT" HeaderTypeOBJECT HeaderType = "OBJECT" // HeaderTypeSERVICE captures enum value "SERVICE" HeaderTypeSERVICE HeaderType = "SERVICE" )
func NewHeaderType ¶
func NewHeaderType(value HeaderType) *HeaderType
func (HeaderType) ContextValidate ¶
ContextValidate validates this header type based on context it is used
func (HeaderType) Pointer ¶
func (m HeaderType) Pointer() *HeaderType
Pointer returns a pointer to a freshly-allocated HeaderType.
type MatchType ¶
type MatchType string
MatchType Match type in FrostFS EACL filter.
swagger:model MatchType
func NewMatchType ¶
func (MatchType) ContextValidate ¶
ContextValidate validates this match type based on context it is used
type ObjectBaseInfo ¶
type ObjectBaseInfo struct { // address // Required: true Address *Address `json:"address"` // file path FilePath string `json:"filePath,omitempty"` // name Name string `json:"name,omitempty"` }
ObjectBaseInfo Basic object information. Example: {"address":{"containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","objectId":"8N3o7Dtr6T1xteCt6eRwhpmJ7JhME58Hyu1dvaswuTDd"},"filePath":"/my/object/name.txt","name":"name.txt"}
swagger:model ObjectBaseInfo
func (*ObjectBaseInfo) ContextValidate ¶
ContextValidate validate this object base info based on the context it is used
func (*ObjectBaseInfo) MarshalBinary ¶
func (m *ObjectBaseInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectBaseInfo) UnmarshalBinary ¶
func (m *ObjectBaseInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectInfo ¶
type ObjectInfo struct { // attributes // Required: true Attributes []*Attribute `json:"attributes"` // container Id // Required: true ContainerID *string `json:"containerId"` // object Id // Required: true ObjectID *string `json:"objectId"` // Object full payload size // Required: true ObjectSize *int64 `json:"objectSize"` // owner Id // Required: true OwnerID *string `json:"ownerId"` // Base64 encoded object payload Payload string `json:"payload,omitempty"` // Payload size in response // Required: true PayloadSize *int64 `json:"payloadSize"` }
ObjectInfo Object information. Example: {"attribute":[{"key":"Timestamp","value":"1648810072"},{"key":"Name","value":"object"}],"containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","objectId":"8N3o7Dtr6T1xteCt6eRwhpmJ7JhME58Hyu1dvaswuTDd","ownerId":"NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM"}
swagger:model ObjectInfo
func (*ObjectInfo) ContextValidate ¶
ContextValidate validate this object info based on the context it is used
func (*ObjectInfo) MarshalBinary ¶
func (m *ObjectInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectInfo) UnmarshalBinary ¶
func (m *ObjectInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectList ¶
type ObjectList struct { // objects // Required: true Objects []*ObjectBaseInfo `json:"objects"` // size // Required: true Size *int64 `json:"size"` }
ObjectList List of objects. Example: {"objects":[{"address":{"containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","objectId":"8N3o7Dtr6T1xteCt6eRwhpmJ7JhME58Hyu1dvaswuTDd"},"name":"/my/object/name"},{"address":{"containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","objectId":"3GbmMWusaWgMHokWui2zDunxMTzButuQMVLbtL3cDn8s"},"name":"/my/object/some/other/name"}],"size":2}
swagger:model ObjectList
func (*ObjectList) ContextValidate ¶
ContextValidate validate this object list based on the context it is used
func (*ObjectList) MarshalBinary ¶
func (m *ObjectList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectList) UnmarshalBinary ¶
func (m *ObjectList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ObjectUpload ¶
type ObjectUpload struct { // attributes Attributes []*Attribute `json:"attributes"` // container Id // Required: true ContainerID *string `json:"containerId"` // file name // Required: true FileName *string `json:"fileName"` // payload Payload string `json:"payload,omitempty"` }
ObjectUpload Request body to create object. Example: {"attributes":[{"key":"User-Attribute","value":"some-value"}],"containerId":"5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv","fileName":"myFile.txt","payload":"Y29udGVudCBvZiBmaWxl"}
swagger:model ObjectUpload
func (*ObjectUpload) ContextValidate ¶
ContextValidate validate this object upload based on the context it is used
func (*ObjectUpload) MarshalBinary ¶
func (m *ObjectUpload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ObjectUpload) UnmarshalBinary ¶
func (m *ObjectUpload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Operation ¶
type Operation string
Operation Request's operation type to match in FrostFS EACL if the rule is applicable to a particular request.
swagger:model Operation
const ( // OperationGET captures enum value "GET" OperationGET Operation = "GET" // OperationHEAD captures enum value "HEAD" OperationHEAD Operation = "HEAD" // OperationPUT captures enum value "PUT" OperationPUT Operation = "PUT" // OperationDELETE captures enum value "DELETE" OperationDELETE Operation = "DELETE" // OperationSEARCH captures enum value "SEARCH" OperationSEARCH Operation = "SEARCH" // OperationRANGE captures enum value "RANGE" OperationRANGE Operation = "RANGE" // OperationRANGEHASH captures enum value "RANGEHASH" OperationRANGEHASH Operation = "RANGEHASH" )
func NewOperation ¶
func (Operation) ContextValidate ¶
ContextValidate validates this operation based on context it is used
type Principal ¶
type Principal string
Principal principal
swagger:model Principal
func (Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
type Record ¶
type Record struct { // action // Required: true Action *Action `json:"action"` // filters // Required: true Filters []*Filter `json:"filters"` // operation // Required: true Operation *Operation `json:"operation"` // targets // Required: true Targets []*Target `json:"targets"` }
Record A single FrostFS EACL rule. Example: {"action":"ALLOW","filters":[],"operation":"GET","targets":[{"keys":[],"role":"OTHERS"}]}
swagger:model Record
func (*Record) ContextValidate ¶
ContextValidate validate this record based on the context it is used
func (*Record) MarshalBinary ¶
MarshalBinary interface implementation
func (*Record) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Role ¶
type Role string
Role Role for target in EACL.
swagger:model Role
func (Role) ContextValidate ¶
ContextValidate validates this role based on context it is used
type Rule ¶
type Rule struct { // container Id ContainerID string `json:"containerId,omitempty"` // verb // Required: true Verb *Verb `json:"verb"` }
Rule Container session token rule. Example: {"containerId":"6jvKJCQr6e47Yx8SsbSN3fNgzroUJVkY66Q9wqxYcAjc","verb":"DELETE"}
swagger:model Rule
func (*Rule) ContextValidate ¶
ContextValidate validate this rule based on the context it is used
func (*Rule) MarshalBinary ¶
MarshalBinary interface implementation
func (*Rule) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SearchFilter ¶
type SearchFilter struct { // key // Required: true Key *string `json:"key"` // match // Required: true Match *SearchMatch `json:"match"` // value // Required: true Value *string `json:"value"` }
SearchFilter Search filter to find objects. Example: {"key":"FileName","match":"MatchStringEqual","value":"object-name"}
swagger:model SearchFilter
func (*SearchFilter) ContextValidate ¶
ContextValidate validate this search filter based on the context it is used
func (*SearchFilter) MarshalBinary ¶
func (m *SearchFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchFilter) UnmarshalBinary ¶
func (m *SearchFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchFilters ¶
type SearchFilters struct { // filters // Required: true Filters []*SearchFilter `json:"filters"` }
SearchFilters List of SearchFilter elements. Example: {"filters":[{"key":"FileName","match":"MatchCommonPrefix","value":"some/prefix"},{"key":"CustomAttribute","match":"MatchStringEqual","value":"tag-value"}]}
swagger:model SearchFilters
func (*SearchFilters) ContextValidate ¶
ContextValidate validate this search filters based on the context it is used
func (*SearchFilters) MarshalBinary ¶
func (m *SearchFilters) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchFilters) UnmarshalBinary ¶
func (m *SearchFilters) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchMatch ¶
type SearchMatch string
SearchMatch Search match type.
swagger:model SearchMatch
const ( // SearchMatchMatchStringEqual captures enum value "MatchStringEqual" SearchMatchMatchStringEqual SearchMatch = "MatchStringEqual" // SearchMatchMatchStringNotEqual captures enum value "MatchStringNotEqual" SearchMatchMatchStringNotEqual SearchMatch = "MatchStringNotEqual" // SearchMatchMatchNotPresent captures enum value "MatchNotPresent" SearchMatchMatchNotPresent SearchMatch = "MatchNotPresent" // SearchMatchMatchCommonPrefix captures enum value "MatchCommonPrefix" SearchMatchMatchCommonPrefix SearchMatch = "MatchCommonPrefix" )
func NewSearchMatch ¶
func NewSearchMatch(value SearchMatch) *SearchMatch
func (SearchMatch) ContextValidate ¶
ContextValidate validates this search match based on context it is used
func (SearchMatch) Pointer ¶
func (m SearchMatch) Pointer() *SearchMatch
Pointer returns a pointer to a freshly-allocated SearchMatch.
type SuccessResponse ¶
type SuccessResponse struct { // success // Required: true Success *bool `json:"success"` }
SuccessResponse Success response. Example: {"success":true}
swagger:model SuccessResponse
func (*SuccessResponse) ContextValidate ¶
ContextValidate validates this success response based on context it is used
func (*SuccessResponse) MarshalBinary ¶
func (m *SuccessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SuccessResponse) UnmarshalBinary ¶
func (m *SuccessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Target ¶
type Target struct { // keys // Required: true Keys []string `json:"keys"` // role // Required: true Role *Role `json:"role"` }
Target Target to apply the ACL rule. Can be a subject's role class or a list of public keys to match (KEYS role). Example: {"keys":["021dc56fc6d81d581ae7605a8e00e0e0bab6cbad566a924a527339475a97a8e38e"],"role":"KEYS"}
swagger:model Target
func (*Target) ContextValidate ¶
ContextValidate validate this target based on the context it is used
func (*Target) MarshalBinary ¶
MarshalBinary interface implementation
func (*Target) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TokenResponse ¶
type TokenResponse struct { // name Name string `json:"name,omitempty"` // token // Required: true Token *string `json:"token"` // type // Required: true Type *TokenType `json:"type"` }
TokenResponse Base64 encoded marshaled token (for container or for object operations). Example: [{"token":"ClYKBAgCEA0aCAgDEAEiAggDGggIARACIgIIAxoICAIQAiICCAMaCAgDEAIiAggDGggIBBACIgIIAxoICAUQAiICCAMaCAgGEAIiAggDGggIBxACIgIIAxIbChk182WEDFuAqq3nssrGOaH0NK0ZhzF8bu+YGgQIaBgE","type":"object"},{"token":"ChCpanIBJCpJuJz42KOmGMSnEhsKGTWquaX2Lq6GhhO4faOYkLD0f9WkXuYJlq4aBAhnGAMiIQJgFcIEghQB5lq3AJZOVswInwc1IGhlQ7NCUh4DFO3UATIECAEQAQ==","type":"container"}]
swagger:model TokenResponse
func (*TokenResponse) ContextValidate ¶
ContextValidate validate this token response based on the context it is used
func (*TokenResponse) MarshalBinary ¶
func (m *TokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TokenResponse) UnmarshalBinary ¶
func (m *TokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TokenType ¶
type TokenType string
TokenType Type of token.
swagger:model TokenType
func NewTokenType ¶
func (TokenType) ContextValidate ¶
ContextValidate validates this token type based on context it is used
Source Files ¶
- action.go
- address.go
- attribute.go
- balance.go
- bearer.go
- binary_bearer.go
- container_info.go
- container_list.go
- container_put_info.go
- eacl.go
- error_response.go
- error_type.go
- filter.go
- header_type.go
- match_type.go
- object_base_info.go
- object_info.go
- object_list.go
- object_upload.go
- operation.go
- principal.go
- record.go
- role.go
- rule.go
- search_filter.go
- search_filters.go
- search_match.go
- success_response.go
- target.go
- token_response.go
- token_type.go
- verb.go