Documentation
¶
Index ¶
- type Authorization
- func (m *Authorization) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Authorization) MarshalBinary() ([]byte, error)
- func (m Authorization) MarshalJSON() ([]byte, error)
- func (m *Authorization) UnmarshalBinary(b []byte) error
- func (m *Authorization) UnmarshalJSON(raw []byte) error
- func (m *Authorization) Validate(formats strfmt.Registry) error
- type AuthorizationScope
- func (m *AuthorizationScope) Caveats() []Caveat
- func (m *AuthorizationScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuthorizationScope) MarshalBinary() ([]byte, error)
- func (m AuthorizationScope) MarshalJSON() ([]byte, error)
- func (m *AuthorizationScope) SetCaveats(val []Caveat)
- func (m *AuthorizationScope) UnmarshalBinary(b []byte) error
- func (m *AuthorizationScope) UnmarshalJSON(raw []byte) error
- func (m *AuthorizationScope) Validate(formats strfmt.Registry) error
- type Caveat
- type Comparison
- type ComparisonRequest
- func (m *ComparisonRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ComparisonRequest) MarshalBinary() ([]byte, error)
- func (m ComparisonRequest) MarshalJSON() ([]byte, error)
- func (m *ComparisonRequest) Op() Operator
- func (m *ComparisonRequest) SetOp(val Operator)
- func (m *ComparisonRequest) UnmarshalBinary(b []byte) error
- func (m *ComparisonRequest) UnmarshalJSON(raw []byte) error
- func (m *ComparisonRequest) Validate(formats strfmt.Registry) error
- type DocQuery
- func (m *DocQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DocQuery) ID() string
- func (m *DocQuery) MarshalBinary() ([]byte, error)
- func (m DocQuery) MarshalJSON() ([]byte, error)
- func (m *DocQuery) SetID(val string)
- func (m *DocQuery) SetType(val string)
- func (m *DocQuery) Type() string
- func (m *DocQuery) UnmarshalBinary(b []byte) error
- func (m *DocQuery) UnmarshalJSON(raw []byte) error
- func (m *DocQuery) Validate(formats strfmt.Registry) error
- type DocQueryAO1UpstreamAuth
- func (m *DocQueryAO1UpstreamAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DocQueryAO1UpstreamAuth) MarshalBinary() ([]byte, error)
- func (m *DocQueryAO1UpstreamAuth) UnmarshalBinary(b []byte) error
- func (m *DocQueryAO1UpstreamAuth) Validate(formats strfmt.Registry) error
- type EqOp
- func (m *EqOp) Args() []Query
- func (m *EqOp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EqOp) MarshalBinary() ([]byte, error)
- func (m EqOp) MarshalJSON() ([]byte, error)
- func (m *EqOp) SetArgs(val []Query)
- func (m *EqOp) SetType(val string)
- func (m *EqOp) Type() string
- func (m *EqOp) UnmarshalBinary(b []byte) error
- func (m *EqOp) UnmarshalJSON(raw []byte) error
- func (m *EqOp) Validate(formats strfmt.Registry) error
- type Error
- type ExpiryCaveat
- func (m *ExpiryCaveat) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExpiryCaveat) MarshalBinary() ([]byte, error)
- func (m ExpiryCaveat) MarshalJSON() ([]byte, error)
- func (m *ExpiryCaveat) SetType(val string)
- func (m *ExpiryCaveat) Type() string
- func (m *ExpiryCaveat) UnmarshalBinary(b []byte) error
- func (m *ExpiryCaveat) UnmarshalJSON(raw []byte) error
- func (m *ExpiryCaveat) Validate(formats strfmt.Registry) error
- type ExtractionResponse
- type ExtractionResponseItems0
- func (m *ExtractionResponseItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExtractionResponseItems0) MarshalBinary() ([]byte, error)
- func (m *ExtractionResponseItems0) UnmarshalBinary(b []byte) error
- func (m *ExtractionResponseItems0) Validate(formats strfmt.Registry) error
- type Operator
- type Profile
- type Query
- type RefQuery
- func (m *RefQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RefQuery) ID() string
- func (m *RefQuery) MarshalBinary() ([]byte, error)
- func (m RefQuery) MarshalJSON() ([]byte, error)
- func (m *RefQuery) SetID(val string)
- func (m *RefQuery) SetType(val string)
- func (m *RefQuery) Type() string
- func (m *RefQuery) UnmarshalBinary(b []byte) error
- func (m *RefQuery) UnmarshalJSON(raw []byte) error
- func (m *RefQuery) Validate(formats strfmt.Registry) error
- type UpstreamAuthorization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorization ¶
type Authorization struct {
// id
ID string `json:"id,omitempty"`
// requesting party
// Required: true
RequestingParty *string `json:"requestingParty"`
// scope
// Required: true
Scope *AuthorizationScope `json:"scope"`
// zcap
Zcap string `json:"zcap,omitempty"`
}
Authorization authorization
swagger:model Authorization
func (*Authorization) ContextValidate ¶
ContextValidate validate this authorization based on the context it is used
func (*Authorization) MarshalBinary ¶
func (m *Authorization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (Authorization) MarshalJSON ¶
func (m Authorization) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Authorization) UnmarshalBinary ¶
func (m *Authorization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*Authorization) UnmarshalJSON ¶
func (m *Authorization) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type AuthorizationScope ¶
type AuthorizationScope struct {
// action
// Required: true
Action []string `json:"action"`
// resource ID
// Required: true
ResourceID *string `json:"resourceID"`
// resource type
// Required: true
ResourceType *string `json:"resourceType"`
// contains filtered or unexported fields
}
AuthorizationScope authorization scope
swagger:model AuthorizationScope
func (*AuthorizationScope) Caveats ¶
func (m *AuthorizationScope) Caveats() []Caveat
Caveats gets the caveats of this base type
func (*AuthorizationScope) ContextValidate ¶
ContextValidate validate this authorization scope based on the context it is used
func (*AuthorizationScope) MarshalBinary ¶
func (m *AuthorizationScope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (AuthorizationScope) MarshalJSON ¶
func (m AuthorizationScope) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*AuthorizationScope) SetCaveats ¶
func (m *AuthorizationScope) SetCaveats(val []Caveat)
SetCaveats sets the caveats of this base type
func (*AuthorizationScope) UnmarshalBinary ¶
func (m *AuthorizationScope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AuthorizationScope) UnmarshalJSON ¶
func (m *AuthorizationScope) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Caveat ¶
type Caveat interface {
runtime.Validatable
runtime.ContextValidatable
// type
// Required: true
Type() string
SetType(string)
}
Caveat caveat
swagger:discriminator Caveat type
func UnmarshalCaveat ¶
UnmarshalCaveat unmarshals polymorphic Caveat
type Comparison ¶
type Comparison struct {
// result
Result bool `json:"result,omitempty"`
}
Comparison TODO - "comparison" does not sound apt as a name
swagger:model Comparison
func (*Comparison) ContextValidate ¶
ContextValidate validates this comparison based on context it is used
func (*Comparison) MarshalBinary ¶
func (m *Comparison) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Comparison) UnmarshalBinary ¶
func (m *Comparison) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ComparisonRequest ¶
type ComparisonRequest struct {
// contains filtered or unexported fields
}
ComparisonRequest comparison request
swagger:model ComparisonRequest
func (*ComparisonRequest) ContextValidate ¶
ContextValidate validate this comparison request based on the context it is used
func (*ComparisonRequest) MarshalBinary ¶
func (m *ComparisonRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ComparisonRequest) MarshalJSON ¶
func (m ComparisonRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ComparisonRequest) Op ¶
func (m *ComparisonRequest) Op() Operator
Op gets the op of this base type
func (*ComparisonRequest) SetOp ¶
func (m *ComparisonRequest) SetOp(val Operator)
SetOp sets the op of this base type
func (*ComparisonRequest) UnmarshalBinary ¶
func (m *ComparisonRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ComparisonRequest) UnmarshalJSON ¶
func (m *ComparisonRequest) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type DocQuery ¶
type DocQuery struct {
// doc ID
// Required: true
DocID *string `json:"docID"`
// path
Path string `json:"path,omitempty"`
// upstream auth
// Required: true
UpstreamAuth *DocQueryAO1UpstreamAuth `json:"upstreamAuth"`
// vault ID
// Required: true
VaultID *string `json:"vaultID"`
// contains filtered or unexported fields
}
DocQuery doc query
swagger:model DocQuery
func (*DocQuery) ContextValidate ¶
ContextValidate validate this doc query based on the context it is used
func (*DocQuery) MarshalBinary ¶
MarshalBinary interface implementation
func (DocQuery) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*DocQuery) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*DocQuery) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type DocQueryAO1UpstreamAuth ¶
type DocQueryAO1UpstreamAuth struct {
// edv
// Required: true
Edv *UpstreamAuthorization `json:"edv"`
// kms
// Required: true
Kms *UpstreamAuthorization `json:"kms"`
}
DocQueryAO1UpstreamAuth doc query a o1 upstream auth
swagger:model DocQueryAO1UpstreamAuth
func (*DocQueryAO1UpstreamAuth) ContextValidate ¶
func (m *DocQueryAO1UpstreamAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this doc query a o1 upstream auth based on the context it is used
func (*DocQueryAO1UpstreamAuth) MarshalBinary ¶
func (m *DocQueryAO1UpstreamAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DocQueryAO1UpstreamAuth) UnmarshalBinary ¶
func (m *DocQueryAO1UpstreamAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EqOp ¶
type EqOp struct {
// contains filtered or unexported fields
}
EqOp eq op
swagger:model EqOp
func (*EqOp) ContextValidate ¶
ContextValidate validate this eq op based on the context it is used
func (*EqOp) MarshalBinary ¶
MarshalBinary interface implementation
func (EqOp) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*EqOp) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*EqOp) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Error ¶
type Error struct {
// err message
ErrMessage string `json:"errMessage,omitempty"`
}
Error error
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExpiryCaveat ¶
type ExpiryCaveat struct {
// Duration (in seconds) for which this authorization will remain valid.
Duration int64 `json:"duration,omitempty"`
}
ExpiryCaveat expiry caveat
swagger:model ExpiryCaveat
func (*ExpiryCaveat) ContextValidate ¶
ContextValidate validate this expiry caveat based on the context it is used
func (*ExpiryCaveat) MarshalBinary ¶
func (m *ExpiryCaveat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ExpiryCaveat) MarshalJSON ¶
func (m ExpiryCaveat) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ExpiryCaveat) SetType ¶
func (m *ExpiryCaveat) SetType(val string)
SetType sets the type of this subtype
func (*ExpiryCaveat) UnmarshalBinary ¶
func (m *ExpiryCaveat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ExpiryCaveat) UnmarshalJSON ¶
func (m *ExpiryCaveat) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type ExtractionResponse ¶
type ExtractionResponse []*ExtractionResponseItems0
ExtractionResponse extraction response
swagger:model ExtractionResponse
func (ExtractionResponse) ContextValidate ¶
ContextValidate validate this extraction response based on the context it is used
type ExtractionResponseItems0 ¶
type ExtractionResponseItems0 struct {
// document
Document interface{} `json:"document,omitempty"`
// id
ID string `json:"id,omitempty"`
}
ExtractionResponseItems0 extraction response items0
swagger:model ExtractionResponseItems0
func (*ExtractionResponseItems0) ContextValidate ¶
func (m *ExtractionResponseItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this extraction response items0 based on context it is used
func (*ExtractionResponseItems0) MarshalBinary ¶
func (m *ExtractionResponseItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtractionResponseItems0) UnmarshalBinary ¶
func (m *ExtractionResponseItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Operator ¶
type Operator interface {
runtime.Validatable
runtime.ContextValidatable
// type
// Required: true
Type() string
SetType(string)
}
Operator operator
swagger:discriminator Operator type
func UnmarshalOperator ¶
UnmarshalOperator unmarshals polymorphic Operator
type Profile ¶
type Profile struct {
// controller
// Required: true
Controller *string `json:"controller"`
// id
ID string `json:"id,omitempty"`
// zcap
Zcap string `json:"zcap,omitempty"`
}
Profile profile
swagger:model Profile
func (*Profile) ContextValidate ¶
ContextValidate validates this profile based on context it is used
func (*Profile) MarshalBinary ¶
MarshalBinary interface implementation
func (*Profile) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Query ¶
type Query interface {
runtime.Validatable
runtime.ContextValidatable
// id
ID() string
SetID(string)
// type
// Required: true
Type() string
SetType(string)
}
Query query
swagger:discriminator Query type
func UnmarshalQuery ¶
UnmarshalQuery unmarshals polymorphic Query
type RefQuery ¶
type RefQuery struct {
// ref
// Required: true
Ref *string `json:"ref"`
// contains filtered or unexported fields
}
RefQuery ref query
swagger:model RefQuery
func (*RefQuery) ContextValidate ¶
ContextValidate validate this ref query based on the context it is used
func (*RefQuery) MarshalBinary ¶
MarshalBinary interface implementation
func (RefQuery) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*RefQuery) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*RefQuery) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type UpstreamAuthorization ¶
type UpstreamAuthorization struct {
// base URL
BaseURL string `json:"baseURL,omitempty"`
// zcap
Zcap string `json:"zcap,omitempty"`
}
UpstreamAuthorization upstream authorization
swagger:model UpstreamAuthorization
func (*UpstreamAuthorization) ContextValidate ¶
ContextValidate validates this upstream authorization based on context it is used
func (*UpstreamAuthorization) MarshalBinary ¶
func (m *UpstreamAuthorization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpstreamAuthorization) UnmarshalBinary ¶
func (m *UpstreamAuthorization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation