Documentation ¶
Index ¶
- func MarshalExportControlReviewRequest(object *ExportControlReviewRequest, target interface{}) error
- func MarshalExportControlReviewResponse(object *ExportControlReviewResponse, target interface{}) error
- type ExportControlReviewClient
- type ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Header(name string, value interface{}) *ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Parameter(name string, value interface{}) *ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Request(value *ExportControlReviewRequest) *ExportControlReviewPostRequest
- func (r *ExportControlReviewPostRequest) Send() (result *ExportControlReviewPostResponse, err error)
- func (r *ExportControlReviewPostRequest) SendContext(ctx context.Context) (result *ExportControlReviewPostResponse, err error)
- type ExportControlReviewPostResponse
- func (r *ExportControlReviewPostResponse) Error() *errors.Error
- func (r *ExportControlReviewPostResponse) GetResponse() (value *ExportControlReviewResponse, ok bool)
- func (r *ExportControlReviewPostResponse) Header() http.Header
- func (r *ExportControlReviewPostResponse) Response() *ExportControlReviewResponse
- func (r *ExportControlReviewPostResponse) Status() int
- type ExportControlReviewPostServerRequest
- type ExportControlReviewPostServerResponse
- type ExportControlReviewRequest
- type ExportControlReviewRequestBuilder
- func (b *ExportControlReviewRequestBuilder) AccountUsername(value string) *ExportControlReviewRequestBuilder
- func (b *ExportControlReviewRequestBuilder) Build() (object *ExportControlReviewRequest, err error)
- func (b *ExportControlReviewRequestBuilder) Copy(object *ExportControlReviewRequest) *ExportControlReviewRequestBuilder
- type ExportControlReviewRequestList
- func (l *ExportControlReviewRequestList) Each(f func(item *ExportControlReviewRequest) bool)
- func (l *ExportControlReviewRequestList) Empty() bool
- func (l *ExportControlReviewRequestList) Get(i int) *ExportControlReviewRequest
- func (l *ExportControlReviewRequestList) Len() int
- func (l *ExportControlReviewRequestList) Range(f func(index int, item *ExportControlReviewRequest) bool)
- func (l *ExportControlReviewRequestList) Slice() []*ExportControlReviewRequest
- type ExportControlReviewRequestListBuilder
- type ExportControlReviewResponse
- type ExportControlReviewResponseBuilder
- func (b *ExportControlReviewResponseBuilder) Build() (object *ExportControlReviewResponse, err error)
- func (b *ExportControlReviewResponseBuilder) Copy(object *ExportControlReviewResponse) *ExportControlReviewResponseBuilder
- func (b *ExportControlReviewResponseBuilder) Restricted(value bool) *ExportControlReviewResponseBuilder
- type ExportControlReviewResponseList
- func (l *ExportControlReviewResponseList) Each(f func(item *ExportControlReviewResponse) bool)
- func (l *ExportControlReviewResponseList) Empty() bool
- func (l *ExportControlReviewResponseList) Get(i int) *ExportControlReviewResponse
- func (l *ExportControlReviewResponseList) Len() int
- func (l *ExportControlReviewResponseList) Range(f func(index int, item *ExportControlReviewResponse) bool)
- func (l *ExportControlReviewResponseList) Slice() []*ExportControlReviewResponse
- type ExportControlReviewResponseListBuilder
- type ExportControlReviewServer
- type ExportControlReviewServerAdapter
- type RootClient
- type RootServer
- type RootServerAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalExportControlReviewRequest ¶
func MarshalExportControlReviewRequest(object *ExportControlReviewRequest, target interface{}) error
MarshalExportControlReviewRequest writes a value of the 'export_control_review_request' to the given target, which can be a writer or a JSON encoder.
func MarshalExportControlReviewResponse ¶
func MarshalExportControlReviewResponse(object *ExportControlReviewResponse, target interface{}) error
MarshalExportControlReviewResponse writes a value of the 'export_control_review_response' to the given target, which can be a writer or a JSON encoder.
Types ¶
type ExportControlReviewClient ¶
type ExportControlReviewClient struct {
// contains filtered or unexported fields
}
ExportControlReviewClient is the client of the 'export_control_review' resource.
Manages export control review.
func NewExportControlReviewClient ¶
func NewExportControlReviewClient(transport http.RoundTripper, path string, metric string) *ExportControlReviewClient
NewExportControlReviewClient creates a new client for the 'export_control_review' resource using the given transport to sned the requests and receive the responses.
func (*ExportControlReviewClient) Post ¶
func (c *ExportControlReviewClient) Post() *ExportControlReviewPostRequest
Post creates a request for the 'post' method.
Screens a user by account user name.
type ExportControlReviewPostRequest ¶
type ExportControlReviewPostRequest struct {
// contains filtered or unexported fields
}
ExportControlReviewPostRequest is the request for the 'post' method.
func (*ExportControlReviewPostRequest) Header ¶
func (r *ExportControlReviewPostRequest) Header(name string, value interface{}) *ExportControlReviewPostRequest
Header adds a request header.
func (*ExportControlReviewPostRequest) Parameter ¶
func (r *ExportControlReviewPostRequest) Parameter(name string, value interface{}) *ExportControlReviewPostRequest
Parameter adds a query parameter.
func (*ExportControlReviewPostRequest) Request ¶
func (r *ExportControlReviewPostRequest) Request(value *ExportControlReviewRequest) *ExportControlReviewPostRequest
Request sets the value of the 'request' parameter.
func (*ExportControlReviewPostRequest) Send ¶
func (r *ExportControlReviewPostRequest) Send() (result *ExportControlReviewPostResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ExportControlReviewPostRequest) SendContext ¶
func (r *ExportControlReviewPostRequest) SendContext(ctx context.Context) (result *ExportControlReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ExportControlReviewPostResponse ¶
type ExportControlReviewPostResponse struct {
// contains filtered or unexported fields
}
ExportControlReviewPostResponse is the response for the 'post' method.
func (*ExportControlReviewPostResponse) Error ¶
func (r *ExportControlReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*ExportControlReviewPostResponse) GetResponse ¶
func (r *ExportControlReviewPostResponse) GetResponse() (value *ExportControlReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*ExportControlReviewPostResponse) Header ¶
func (r *ExportControlReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*ExportControlReviewPostResponse) Response ¶
func (r *ExportControlReviewPostResponse) Response() *ExportControlReviewResponse
Response returns the value of the 'response' parameter.
func (*ExportControlReviewPostResponse) Status ¶
func (r *ExportControlReviewPostResponse) Status() int
Status returns the response status code.
type ExportControlReviewPostServerRequest ¶
type ExportControlReviewPostServerRequest struct {
// contains filtered or unexported fields
}
ExportControlReviewPostServerRequest is the request for the 'post' method.
func (*ExportControlReviewPostServerRequest) GetRequest ¶
func (r *ExportControlReviewPostServerRequest) GetRequest() (value *ExportControlReviewRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*ExportControlReviewPostServerRequest) Request ¶
func (r *ExportControlReviewPostServerRequest) Request() *ExportControlReviewRequest
Request returns the value of the 'request' parameter.
type ExportControlReviewPostServerResponse ¶
type ExportControlReviewPostServerResponse struct {
// contains filtered or unexported fields
}
ExportControlReviewPostServerResponse is the response for the 'post' method.
func (*ExportControlReviewPostServerResponse) Response ¶
func (r *ExportControlReviewPostServerResponse) Response(value *ExportControlReviewResponse) *ExportControlReviewPostServerResponse
Response sets the value of the 'response' parameter.
func (*ExportControlReviewPostServerResponse) SetStatusCode ¶ added in v0.1.41
func (r *ExportControlReviewPostServerResponse) SetStatusCode(status int) *ExportControlReviewPostServerResponse
SetStatusCode sets the status code for a give response and returns the response object.
type ExportControlReviewRequest ¶
type ExportControlReviewRequest struct {
// contains filtered or unexported fields
}
ExportControlReviewRequest represents the values of the 'export_control_review_request' type.
func UnmarshalExportControlReviewRequest ¶
func UnmarshalExportControlReviewRequest(source interface{}) (object *ExportControlReviewRequest, err error)
UnmarshalExportControlReviewRequest reads a value of the 'export_control_review_request' type from the given source, which can be an slice of bytes, a string, a reader or a JSON decoder.
func (*ExportControlReviewRequest) AccountUsername ¶
func (o *ExportControlReviewRequest) AccountUsername() string
AccountUsername returns the value of the 'account_username' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ExportControlReviewRequest) Empty ¶
func (o *ExportControlReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ExportControlReviewRequest) GetAccountUsername ¶
func (o *ExportControlReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
type ExportControlReviewRequestBuilder ¶
type ExportControlReviewRequestBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewRequestBuilder contains the data and logic needed to build 'export_control_review_request' objects.
func NewExportControlReviewRequest ¶
func NewExportControlReviewRequest() *ExportControlReviewRequestBuilder
NewExportControlReviewRequest creates a new builder of 'export_control_review_request' objects.
func (*ExportControlReviewRequestBuilder) AccountUsername ¶
func (b *ExportControlReviewRequestBuilder) AccountUsername(value string) *ExportControlReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ExportControlReviewRequestBuilder) Build ¶
func (b *ExportControlReviewRequestBuilder) Build() (object *ExportControlReviewRequest, err error)
Build creates a 'export_control_review_request' object using the configuration stored in the builder.
func (*ExportControlReviewRequestBuilder) Copy ¶
func (b *ExportControlReviewRequestBuilder) Copy(object *ExportControlReviewRequest) *ExportControlReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type ExportControlReviewRequestList ¶
type ExportControlReviewRequestList struct {
// contains filtered or unexported fields
}
ExportControlReviewRequestList is a list of values of the 'export_control_review_request' type.
func UnmarshalExportControlReviewRequestList ¶
func UnmarshalExportControlReviewRequestList(source interface{}) (list *ExportControlReviewRequestList, err error)
UnmarshalExportControlReviewRequestList reads a list of values of the 'export_control_review_request' from the given source, which can be a slice of bytes, a string, an io.Reader or a json.Decoder.
func (*ExportControlReviewRequestList) Each ¶
func (l *ExportControlReviewRequestList) Each(f func(item *ExportControlReviewRequest) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewRequestList) Empty ¶
func (l *ExportControlReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ExportControlReviewRequestList) Get ¶
func (l *ExportControlReviewRequestList) Get(i int) *ExportControlReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ExportControlReviewRequestList) Len ¶
func (l *ExportControlReviewRequestList) Len() int
Len returns the length of the list.
func (*ExportControlReviewRequestList) Range ¶
func (l *ExportControlReviewRequestList) Range(f func(index int, item *ExportControlReviewRequest) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewRequestList) Slice ¶
func (l *ExportControlReviewRequestList) Slice() []*ExportControlReviewRequest
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ExportControlReviewRequestListBuilder ¶
type ExportControlReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewRequestListBuilder contains the data and logic needed to build 'export_control_review_request' objects.
func NewExportControlReviewRequestList ¶
func NewExportControlReviewRequestList() *ExportControlReviewRequestListBuilder
NewExportControlReviewRequestList creates a new builder of 'export_control_review_request' objects.
func (*ExportControlReviewRequestListBuilder) Build ¶
func (b *ExportControlReviewRequestListBuilder) Build() (list *ExportControlReviewRequestList, err error)
Build creates a list of 'export_control_review_request' objects using the configuration stored in the builder.
func (*ExportControlReviewRequestListBuilder) Items ¶
func (b *ExportControlReviewRequestListBuilder) Items(values ...*ExportControlReviewRequestBuilder) *ExportControlReviewRequestListBuilder
Items sets the items of the list.
type ExportControlReviewResponse ¶
type ExportControlReviewResponse struct {
// contains filtered or unexported fields
}
ExportControlReviewResponse represents the values of the 'export_control_review_response' type.
func UnmarshalExportControlReviewResponse ¶
func UnmarshalExportControlReviewResponse(source interface{}) (object *ExportControlReviewResponse, err error)
UnmarshalExportControlReviewResponse reads a value of the 'export_control_review_response' type from the given source, which can be an slice of bytes, a string, a reader or a JSON decoder.
func (*ExportControlReviewResponse) Empty ¶
func (o *ExportControlReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ExportControlReviewResponse) GetRestricted ¶
func (o *ExportControlReviewResponse) GetRestricted() (value bool, ok bool)
GetRestricted returns the value of the 'restricted' attribute and a flag indicating if the attribute has a value.
func (*ExportControlReviewResponse) Restricted ¶
func (o *ExportControlReviewResponse) Restricted() bool
Restricted returns the value of the 'restricted' attribute, or the zero value of the type if the attribute doesn't have a value.
type ExportControlReviewResponseBuilder ¶
type ExportControlReviewResponseBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewResponseBuilder contains the data and logic needed to build 'export_control_review_response' objects.
func NewExportControlReviewResponse ¶
func NewExportControlReviewResponse() *ExportControlReviewResponseBuilder
NewExportControlReviewResponse creates a new builder of 'export_control_review_response' objects.
func (*ExportControlReviewResponseBuilder) Build ¶
func (b *ExportControlReviewResponseBuilder) Build() (object *ExportControlReviewResponse, err error)
Build creates a 'export_control_review_response' object using the configuration stored in the builder.
func (*ExportControlReviewResponseBuilder) Copy ¶
func (b *ExportControlReviewResponseBuilder) Copy(object *ExportControlReviewResponse) *ExportControlReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ExportControlReviewResponseBuilder) Restricted ¶
func (b *ExportControlReviewResponseBuilder) Restricted(value bool) *ExportControlReviewResponseBuilder
Restricted sets the value of the 'restricted' attribute to the given value.
type ExportControlReviewResponseList ¶
type ExportControlReviewResponseList struct {
// contains filtered or unexported fields
}
ExportControlReviewResponseList is a list of values of the 'export_control_review_response' type.
func UnmarshalExportControlReviewResponseList ¶
func UnmarshalExportControlReviewResponseList(source interface{}) (list *ExportControlReviewResponseList, err error)
UnmarshalExportControlReviewResponseList reads a list of values of the 'export_control_review_response' from the given source, which can be a slice of bytes, a string, an io.Reader or a json.Decoder.
func (*ExportControlReviewResponseList) Each ¶
func (l *ExportControlReviewResponseList) Each(f func(item *ExportControlReviewResponse) bool)
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewResponseList) Empty ¶
func (l *ExportControlReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*ExportControlReviewResponseList) Get ¶
func (l *ExportControlReviewResponseList) Get(i int) *ExportControlReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ExportControlReviewResponseList) Len ¶
func (l *ExportControlReviewResponseList) Len() int
Len returns the length of the list.
func (*ExportControlReviewResponseList) Range ¶
func (l *ExportControlReviewResponseList) Range(f func(index int, item *ExportControlReviewResponse) bool)
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*ExportControlReviewResponseList) Slice ¶
func (l *ExportControlReviewResponseList) Slice() []*ExportControlReviewResponse
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type ExportControlReviewResponseListBuilder ¶
type ExportControlReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
ExportControlReviewResponseListBuilder contains the data and logic needed to build 'export_control_review_response' objects.
func NewExportControlReviewResponseList ¶
func NewExportControlReviewResponseList() *ExportControlReviewResponseListBuilder
NewExportControlReviewResponseList creates a new builder of 'export_control_review_response' objects.
func (*ExportControlReviewResponseListBuilder) Build ¶
func (b *ExportControlReviewResponseListBuilder) Build() (list *ExportControlReviewResponseList, err error)
Build creates a list of 'export_control_review_response' objects using the configuration stored in the builder.
func (*ExportControlReviewResponseListBuilder) Items ¶
func (b *ExportControlReviewResponseListBuilder) Items(values ...*ExportControlReviewResponseBuilder) *ExportControlReviewResponseListBuilder
Items sets the items of the list.
type ExportControlReviewServer ¶
type ExportControlReviewServer interface { // Post handles a request for the 'post' method. // // Screens a user by account user name. Post(ctx context.Context, request *ExportControlReviewPostServerRequest, response *ExportControlReviewPostServerResponse) error }
ExportControlReviewServer represents the interface the manages the 'export_control_review' resource.
type ExportControlReviewServerAdapter ¶ added in v0.1.41
type ExportControlReviewServerAdapter struct {
// contains filtered or unexported fields
}
ExportControlReviewServerAdapter represents the structs that adapts Requests and Response to internal structs.
func NewExportControlReviewServerAdapter ¶ added in v0.1.41
func NewExportControlReviewServerAdapter(server ExportControlReviewServer, router *mux.Router) *ExportControlReviewServerAdapter
func (*ExportControlReviewServerAdapter) ServeHTTP ¶ added in v0.1.41
func (a *ExportControlReviewServerAdapter) ServeHTTP(w http.ResponseWriter, r *http.Request)
type RootClient ¶ added in v0.1.41
type RootClient struct {
// contains filtered or unexported fields
}
RootClient is the client of the 'root' resource.
Root of the tree of resources of the authorization service.
func NewRootClient ¶ added in v0.1.41
func NewRootClient(transport http.RoundTripper, path string, metric string) *RootClient
NewRootClient creates a new client for the 'root' resource using the given transport to sned the requests and receive the responses.
func (*RootClient) ExportControlReview ¶ added in v0.1.41
func (c *RootClient) ExportControlReview() *ExportControlReviewClient
ExportControlReview returns the target 'export_control_review' resource.
Reference to the resource that is used to submit export control review requests.
type RootServer ¶ added in v0.1.41
type RootServer interface { // ExportControlReview returns the target 'export_control_review' resource. // // Reference to the resource that is used to submit export control review requests. ExportControlReview() ExportControlReviewServer }
RootServer represents the interface the manages the 'root' resource.
type RootServerAdapter ¶ added in v0.1.41
type RootServerAdapter struct {
// contains filtered or unexported fields
}
RootServerAdapter represents the structs that adapts Requests and Response to internal structs.
func NewRootServerAdapter ¶ added in v0.1.41
func NewRootServerAdapter(server RootServer, router *mux.Router) *RootServerAdapter
func (*RootServerAdapter) ServeHTTP ¶ added in v0.1.41
func (a *RootServerAdapter) ServeHTTP(w http.ResponseWriter, r *http.Request)
Source Files ¶
- errors.go
- export_control_review_client.go
- export_control_review_request_builder.go
- export_control_review_request_list_builder.go
- export_control_review_request_list_reader.go
- export_control_review_request_reader.go
- export_control_review_request_type.go
- export_control_review_response_builder.go
- export_control_review_response_list_builder.go
- export_control_review_response_list_reader.go
- export_control_review_response_reader.go
- export_control_review_response_type.go
- export_control_review_server.go
- root_client.go
- root_server.go