Documentation
¶
Index ¶
- Constants
- Variables
- type AccessProtection
- type AccessProtectionBuilder
- type AccessProtectionClient
- type AccessProtectionGetRequest
- func (r *AccessProtectionGetRequest) ClusterId(value string) *AccessProtectionGetRequest
- func (r *AccessProtectionGetRequest) Header(name string, value interface{}) *AccessProtectionGetRequest
- func (r *AccessProtectionGetRequest) Impersonate(user string) *AccessProtectionGetRequest
- func (r *AccessProtectionGetRequest) OrganizationId(value string) *AccessProtectionGetRequest
- func (r *AccessProtectionGetRequest) Parameter(name string, value interface{}) *AccessProtectionGetRequest
- func (r *AccessProtectionGetRequest) Send() (result *AccessProtectionGetResponse, err error)
- func (r *AccessProtectionGetRequest) SendContext(ctx context.Context) (result *AccessProtectionGetResponse, err error)
- func (r *AccessProtectionGetRequest) SubscriptionId(value string) *AccessProtectionGetRequest
- type AccessProtectionGetResponse
- func (r *AccessProtectionGetResponse) Body() *AccessProtection
- func (r *AccessProtectionGetResponse) Error() *errors.Error
- func (r *AccessProtectionGetResponse) GetBody() (value *AccessProtection, ok bool)
- func (r *AccessProtectionGetResponse) Header() http.Header
- func (r *AccessProtectionGetResponse) Status() int
- type AccessProtectionList
- type AccessProtectionListBuilder
- type AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) ClusterId(value string) *AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) Header(name string, value interface{}) *AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) Interval(value time.Duration) *AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) OrganizationId(value string) *AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) Parameter(name string, value interface{}) *AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) Predicate(value func(*AccessProtectionGetResponse) bool) *AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) StartContext(ctx context.Context) (response *AccessProtectionPollResponse, err error)
- func (r *AccessProtectionPollRequest) Status(value int) *AccessProtectionPollRequest
- func (r *AccessProtectionPollRequest) SubscriptionId(value string) *AccessProtectionPollRequest
- type AccessProtectionPollResponse
- func (r *AccessProtectionPollResponse) Body() *AccessProtection
- func (r *AccessProtectionPollResponse) Error() *errors.Error
- func (r *AccessProtectionPollResponse) GetBody() (value *AccessProtection, ok bool)
- func (r *AccessProtectionPollResponse) Header() http.Header
- func (r *AccessProtectionPollResponse) Status() int
- type AccessRequest
- type AccessRequestBuilder
- type AccessRequestClient
- type AccessRequestGetRequest
- func (r *AccessRequestGetRequest) Header(name string, value interface{}) *AccessRequestGetRequest
- func (r *AccessRequestGetRequest) Impersonate(user string) *AccessRequestGetRequest
- func (r *AccessRequestGetRequest) Parameter(name string, value interface{}) *AccessRequestGetRequest
- func (r *AccessRequestGetRequest) Send() (result *AccessRequestGetResponse, err error)
- func (r *AccessRequestGetRequest) SendContext(ctx context.Context) (result *AccessRequestGetResponse, err error)
- type AccessRequestGetResponse
- type AccessRequestList
- type AccessRequestListBuilder
- type AccessRequestPollRequest
- func (r *AccessRequestPollRequest) Header(name string, value interface{}) *AccessRequestPollRequest
- func (r *AccessRequestPollRequest) Interval(value time.Duration) *AccessRequestPollRequest
- func (r *AccessRequestPollRequest) Parameter(name string, value interface{}) *AccessRequestPollRequest
- func (r *AccessRequestPollRequest) Predicate(value func(*AccessRequestGetResponse) bool) *AccessRequestPollRequest
- func (r *AccessRequestPollRequest) StartContext(ctx context.Context) (response *AccessRequestPollResponse, err error)
- func (r *AccessRequestPollRequest) Status(value int) *AccessRequestPollRequest
- type AccessRequestPollResponse
- type AccessRequestPostRequest
- type AccessRequestPostRequestBuilder
- type AccessRequestPostRequestList
- type AccessRequestPostRequestListBuilder
- type AccessRequestState
- type AccessRequestStatus
- type AccessRequestStatusBuilder
- type AccessRequestStatusList
- type AccessRequestStatusListBuilder
- type AccessRequestsClient
- type AccessRequestsListRequest
- func (r *AccessRequestsListRequest) Header(name string, value interface{}) *AccessRequestsListRequest
- func (r *AccessRequestsListRequest) Impersonate(user string) *AccessRequestsListRequest
- func (r *AccessRequestsListRequest) Order(value string) *AccessRequestsListRequest
- func (r *AccessRequestsListRequest) Page(value int) *AccessRequestsListRequest
- func (r *AccessRequestsListRequest) Parameter(name string, value interface{}) *AccessRequestsListRequest
- func (r *AccessRequestsListRequest) Search(value string) *AccessRequestsListRequest
- func (r *AccessRequestsListRequest) Send() (result *AccessRequestsListResponse, err error)
- func (r *AccessRequestsListRequest) SendContext(ctx context.Context) (result *AccessRequestsListResponse, err error)
- func (r *AccessRequestsListRequest) Size(value int) *AccessRequestsListRequest
- type AccessRequestsListResponse
- func (r *AccessRequestsListResponse) Error() *errors.Error
- func (r *AccessRequestsListResponse) GetItems() (value *AccessRequestList, ok bool)
- func (r *AccessRequestsListResponse) GetPage() (value int, ok bool)
- func (r *AccessRequestsListResponse) GetSize() (value int, ok bool)
- func (r *AccessRequestsListResponse) GetTotal() (value int, ok bool)
- func (r *AccessRequestsListResponse) Header() http.Header
- func (r *AccessRequestsListResponse) Items() *AccessRequestList
- func (r *AccessRequestsListResponse) Page() int
- func (r *AccessRequestsListResponse) Size() int
- func (r *AccessRequestsListResponse) Status() int
- func (r *AccessRequestsListResponse) Total() int
- type AccessRequestsPostRequest
- func (r *AccessRequestsPostRequest) Body(value *AccessRequestPostRequest) *AccessRequestsPostRequest
- func (r *AccessRequestsPostRequest) Header(name string, value interface{}) *AccessRequestsPostRequest
- func (r *AccessRequestsPostRequest) Impersonate(user string) *AccessRequestsPostRequest
- func (r *AccessRequestsPostRequest) Parameter(name string, value interface{}) *AccessRequestsPostRequest
- func (r *AccessRequestsPostRequest) Send() (result *AccessRequestsPostResponse, err error)
- func (r *AccessRequestsPostRequest) SendContext(ctx context.Context) (result *AccessRequestsPostResponse, err error)
- type AccessRequestsPostResponse
- func (r *AccessRequestsPostResponse) Body() *AccessRequest
- func (r *AccessRequestsPostResponse) Error() *errors.Error
- func (r *AccessRequestsPostResponse) GetBody() (value *AccessRequest, ok bool)
- func (r *AccessRequestsPostResponse) Header() http.Header
- func (r *AccessRequestsPostResponse) Status() int
- type Client
- type Decision
- type DecisionBuilder
- type DecisionClient
- type DecisionDecision
- type DecisionGetRequest
- func (r *DecisionGetRequest) Header(name string, value interface{}) *DecisionGetRequest
- func (r *DecisionGetRequest) Impersonate(user string) *DecisionGetRequest
- func (r *DecisionGetRequest) Parameter(name string, value interface{}) *DecisionGetRequest
- func (r *DecisionGetRequest) Send() (result *DecisionGetResponse, err error)
- func (r *DecisionGetRequest) SendContext(ctx context.Context) (result *DecisionGetResponse, err error)
- type DecisionGetResponse
- type DecisionList
- type DecisionListBuilder
- type DecisionPollRequest
- func (r *DecisionPollRequest) Header(name string, value interface{}) *DecisionPollRequest
- func (r *DecisionPollRequest) Interval(value time.Duration) *DecisionPollRequest
- func (r *DecisionPollRequest) Parameter(name string, value interface{}) *DecisionPollRequest
- func (r *DecisionPollRequest) Predicate(value func(*DecisionGetResponse) bool) *DecisionPollRequest
- func (r *DecisionPollRequest) StartContext(ctx context.Context) (response *DecisionPollResponse, err error)
- func (r *DecisionPollRequest) Status(value int) *DecisionPollRequest
- type DecisionPollResponse
- type DecisionsAddRequest
- func (r *DecisionsAddRequest) Body(value *Decision) *DecisionsAddRequest
- func (r *DecisionsAddRequest) Header(name string, value interface{}) *DecisionsAddRequest
- func (r *DecisionsAddRequest) Impersonate(user string) *DecisionsAddRequest
- func (r *DecisionsAddRequest) Parameter(name string, value interface{}) *DecisionsAddRequest
- func (r *DecisionsAddRequest) Send() (result *DecisionsAddResponse, err error)
- func (r *DecisionsAddRequest) SendContext(ctx context.Context) (result *DecisionsAddResponse, err error)
- type DecisionsAddResponse
- type DecisionsClient
- type DecisionsListRequest
- func (r *DecisionsListRequest) Header(name string, value interface{}) *DecisionsListRequest
- func (r *DecisionsListRequest) Impersonate(user string) *DecisionsListRequest
- func (r *DecisionsListRequest) Order(value string) *DecisionsListRequest
- func (r *DecisionsListRequest) Page(value int) *DecisionsListRequest
- func (r *DecisionsListRequest) Parameter(name string, value interface{}) *DecisionsListRequest
- func (r *DecisionsListRequest) Search(value string) *DecisionsListRequest
- func (r *DecisionsListRequest) Send() (result *DecisionsListResponse, err error)
- func (r *DecisionsListRequest) SendContext(ctx context.Context) (result *DecisionsListResponse, err error)
- func (r *DecisionsListRequest) Size(value int) *DecisionsListRequest
- type DecisionsListResponse
- func (r *DecisionsListResponse) Error() *errors.Error
- func (r *DecisionsListResponse) GetItems() (value *DecisionList, ok bool)
- func (r *DecisionsListResponse) GetPage() (value int, ok bool)
- func (r *DecisionsListResponse) GetSize() (value int, ok bool)
- func (r *DecisionsListResponse) GetTotal() (value int, ok bool)
- func (r *DecisionsListResponse) Header() http.Header
- func (r *DecisionsListResponse) Items() *DecisionList
- func (r *DecisionsListResponse) Page() int
- func (r *DecisionsListResponse) Size() int
- func (r *DecisionsListResponse) Status() int
- func (r *DecisionsListResponse) Total() int
- type Metadata
- type MetadataRequest
- func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
- func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
- type MetadataResponse
Constants ¶
const AccessProtectionListKind = api_v1.AccessProtectionListKind
AccessProtectionListKind is the name of the type used to represent list of objects of type 'access_protection'.
const AccessProtectionListLinkKind = api_v1.AccessProtectionListLinkKind
AccessProtectionListLinkKind is the name of the type used to represent links to list of objects of type 'access_protection'.
const AccessProtectionListNilKind = api_v1.AccessProtectionListNilKind
AccessProtectionNilKind is the name of the type used to nil lists of objects of type 'access_protection'.
const AccessRequestKind = api_v1.AccessRequestKind
AccessRequestKind is the name of the type used to represent objects of type 'access_request'.
const AccessRequestLinkKind = api_v1.AccessRequestLinkKind
AccessRequestLinkKind is the name of the type used to represent links to objects of type 'access_request'.
const AccessRequestListKind = api_v1.AccessRequestListKind
AccessRequestListKind is the name of the type used to represent list of objects of type 'access_request'.
const AccessRequestListLinkKind = api_v1.AccessRequestListLinkKind
AccessRequestListLinkKind is the name of the type used to represent links to list of objects of type 'access_request'.
const AccessRequestListNilKind = api_v1.AccessRequestListNilKind
AccessRequestNilKind is the name of the type used to nil lists of objects of type 'access_request'.
const AccessRequestNilKind = api_v1.AccessRequestNilKind
AccessRequestNilKind is the name of the type used to nil references to objects of type 'access_request'.
const AccessRequestPostRequestListKind = api_v1.AccessRequestPostRequestListKind
AccessRequestPostRequestListKind is the name of the type used to represent list of objects of type 'access_request_post_request'.
const AccessRequestPostRequestListLinkKind = api_v1.AccessRequestPostRequestListLinkKind
AccessRequestPostRequestListLinkKind is the name of the type used to represent links to list of objects of type 'access_request_post_request'.
const AccessRequestPostRequestListNilKind = api_v1.AccessRequestPostRequestListNilKind
AccessRequestPostRequestNilKind is the name of the type used to nil lists of objects of type 'access_request_post_request'.
const AccessRequestStatusListKind = api_v1.AccessRequestStatusListKind
AccessRequestStatusListKind is the name of the type used to represent list of objects of type 'access_request_status'.
const AccessRequestStatusListLinkKind = api_v1.AccessRequestStatusListLinkKind
AccessRequestStatusListLinkKind is the name of the type used to represent links to list of objects of type 'access_request_status'.
const AccessRequestStatusListNilKind = api_v1.AccessRequestStatusListNilKind
AccessRequestStatusNilKind is the name of the type used to nil lists of objects of type 'access_request_status'.
const DecisionKind = api_v1.DecisionKind
DecisionKind is the name of the type used to represent objects of type 'decision'.
const DecisionLinkKind = api_v1.DecisionLinkKind
DecisionLinkKind is the name of the type used to represent links to objects of type 'decision'.
const DecisionListKind = api_v1.DecisionListKind
DecisionListKind is the name of the type used to represent list of objects of type 'decision'.
const DecisionListLinkKind = api_v1.DecisionListLinkKind
DecisionListLinkKind is the name of the type used to represent links to list of objects of type 'decision'.
const DecisionListNilKind = api_v1.DecisionListNilKind
DecisionNilKind is the name of the type used to nil lists of objects of type 'decision'.
const DecisionNilKind = api_v1.DecisionNilKind
DecisionNilKind is the name of the type used to nil references to objects of type 'decision'.
Variables ¶
var MarshalAccessProtection = api_v1.MarshalAccessProtection
MarshalAccessProtection writes a value of the 'access_protection' type to the given writer.
var MarshalAccessProtectionList = api_v1.MarshalAccessProtectionList
MarshalAccessProtectionList writes a list of values of the 'access_protection' type to the given writer.
var MarshalAccessRequest = api_v1.MarshalAccessRequest
MarshalAccessRequest writes a value of the 'access_request' type to the given writer.
var MarshalAccessRequestList = api_v1.MarshalAccessRequestList
MarshalAccessRequestList writes a list of values of the 'access_request' type to the given writer.
var MarshalAccessRequestPostRequest = api_v1.MarshalAccessRequestPostRequest
MarshalAccessRequestPostRequest writes a value of the 'access_request_post_request' type to the given writer.
var MarshalAccessRequestPostRequestList = api_v1.MarshalAccessRequestPostRequestList
MarshalAccessRequestPostRequestList writes a list of values of the 'access_request_post_request' type to the given writer.
var MarshalAccessRequestStateList = api_v1.MarshalAccessRequestStateList
MarshalAccessRequestStateList writes a list of values of the 'access_request_state' type to the given writer.
var MarshalAccessRequestStatus = api_v1.MarshalAccessRequestStatus
MarshalAccessRequestStatus writes a value of the 'access_request_status' type to the given writer.
var MarshalAccessRequestStatusList = api_v1.MarshalAccessRequestStatusList
MarshalAccessRequestStatusList writes a list of values of the 'access_request_status' type to the given writer.
var MarshalBooleanList = api_v1.MarshalBooleanList
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
var MarshalDateList = api_v1.MarshalDateList
MarshalDateList writes a list of values of the 'date' type to the given writer.
var MarshalDecision = api_v1.MarshalDecision
MarshalDecision writes a value of the 'decision' type to the given writer.
var MarshalDecisionDecisionList = api_v1.MarshalDecisionDecisionList
MarshalDecisionDecisionList writes a list of values of the 'decision_decision' type to the given writer.
var MarshalDecisionList = api_v1.MarshalDecisionList
MarshalDecisionList writes a list of values of the 'decision' type to the given writer.
var MarshalFloatList = api_v1.MarshalFloatList
MarshalFloatList writes a list of values of the 'float' type to the given writer.
var MarshalIntegerList = api_v1.MarshalIntegerList
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
var MarshalInterfaceList = api_v1.MarshalInterfaceList
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
var MarshalLongList = api_v1.MarshalLongList
MarshalLongList writes a list of values of the 'long' type to the given writer.
var MarshalMetadata = api_v1.MarshalMetadata
MarshalMetadata writes a value of the metadata type to the given target, which
var MarshalStringList = api_v1.MarshalStringList
MarshalStringList writes a list of values of the 'string' type to the given writer.
var NewAccessProtection = api_v1.NewAccessProtection
NewAccessProtection creates a new builder of 'access_protection' objects.
var NewAccessProtectionList = api_v1.NewAccessProtectionList
NewAccessProtectionList creates a new builder of 'access_protection' objects.
var NewAccessRequest = api_v1.NewAccessRequest
NewAccessRequest creates a new builder of 'access_request' objects.
var NewAccessRequestList = api_v1.NewAccessRequestList
NewAccessRequestList creates a new builder of 'access_request' objects.
var NewAccessRequestPostRequest = api_v1.NewAccessRequestPostRequest
NewAccessRequestPostRequest creates a new builder of 'access_request_post_request' objects.
var NewAccessRequestPostRequestList = api_v1.NewAccessRequestPostRequestList
NewAccessRequestPostRequestList creates a new builder of 'access_request_post_request' objects.
var NewAccessRequestStatus = api_v1.NewAccessRequestStatus
NewAccessRequestStatus creates a new builder of 'access_request_status' objects.
var NewAccessRequestStatusList = api_v1.NewAccessRequestStatusList
NewAccessRequestStatusList creates a new builder of 'access_request_status' objects.
var NewDecision = api_v1.NewDecision
NewDecision creates a new builder of 'decision' objects.
var NewDecisionList = api_v1.NewDecisionList
NewDecisionList creates a new builder of 'decision' objects.
var OpenAPI = []byte{}/* 23321 elements not displayed */
OpenAPI contains the OpenAPI specification of the service in JSON.
var ReadAccessProtection = api_v1.ReadAccessProtection
ReadAccessProtection reads a value of the 'access_protection' type from the given iterator.
var ReadAccessProtectionList = api_v1.ReadAccessProtectionList
ReadAccessProtectionList reads list of values of the ”access_protection' type from the given iterator.
var ReadAccessRequest = api_v1.ReadAccessRequest
ReadAccessRequest reads a value of the 'access_request' type from the given iterator.
var ReadAccessRequestList = api_v1.ReadAccessRequestList
ReadAccessRequestList reads list of values of the ”access_request' type from the given iterator.
var ReadAccessRequestPostRequest = api_v1.ReadAccessRequestPostRequest
ReadAccessRequestPostRequest reads a value of the 'access_request_post_request' type from the given iterator.
var ReadAccessRequestPostRequestList = api_v1.ReadAccessRequestPostRequestList
ReadAccessRequestPostRequestList reads list of values of the ”access_request_post_request' type from the given iterator.
var ReadAccessRequestStateList = api_v1.ReadAccessRequestStateList
ReadAccessRequestStateList reads list of values of the ”access_request_state' type from the given iterator.
var ReadAccessRequestStatus = api_v1.ReadAccessRequestStatus
ReadAccessRequestStatus reads a value of the 'access_request_status' type from the given iterator.
var ReadAccessRequestStatusList = api_v1.ReadAccessRequestStatusList
ReadAccessRequestStatusList reads list of values of the ”access_request_status' type from the given iterator.
var ReadBooleanList = api_v1.ReadBooleanList
ReadBooleanList reads list of values of the ”boolean' type from the given iterator.
var ReadDateList = api_v1.ReadDateList
ReadDateList reads list of values of the ”date' type from the given iterator.
var ReadDecision = api_v1.ReadDecision
ReadDecision reads a value of the 'decision' type from the given iterator.
var ReadDecisionDecisionList = api_v1.ReadDecisionDecisionList
ReadDecisionDecisionList reads list of values of the ”decision_decision' type from the given iterator.
var ReadDecisionList = api_v1.ReadDecisionList
ReadDecisionList reads list of values of the ”decision' type from the given iterator.
var ReadFloatList = api_v1.ReadFloatList
ReadFloatList reads list of values of the ”float' type from the given iterator.
var ReadIntegerList = api_v1.ReadIntegerList
ReadIntegerList reads list of values of the ”integer' type from the given iterator.
var ReadInterfaceList = api_v1.ReadInterfaceList
ReadInterfaceList reads list of values of the ”interface' type from the given iterator.
var ReadLongList = api_v1.ReadLongList
ReadLongList reads list of values of the ”long' type from the given iterator.
var ReadStringList = api_v1.ReadStringList
ReadStringList reads list of values of the ”string' type from the given iterator.
var UnmarshalAccessProtection = api_v1.UnmarshalAccessProtection
UnmarshalAccessProtection reads a value of the 'access_protection' type from the given source, which can be an slice of bytes, a string or a reader.
var UnmarshalAccessProtectionList = api_v1.UnmarshalAccessProtectionList
UnmarshalAccessProtectionList reads a list of values of the 'access_protection' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalAccessRequest = api_v1.UnmarshalAccessRequest
UnmarshalAccessRequest reads a value of the 'access_request' type from the given source, which can be an slice of bytes, a string or a reader.
var UnmarshalAccessRequestList = api_v1.UnmarshalAccessRequestList
UnmarshalAccessRequestList reads a list of values of the 'access_request' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalAccessRequestPostRequest = api_v1.UnmarshalAccessRequestPostRequest
UnmarshalAccessRequestPostRequest reads a value of the 'access_request_post_request' type from the given source, which can be an slice of bytes, a string or a reader.
var UnmarshalAccessRequestPostRequestList = api_v1.UnmarshalAccessRequestPostRequestList
UnmarshalAccessRequestPostRequestList reads a list of values of the 'access_request_post_request' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalAccessRequestStateList = api_v1.UnmarshalAccessRequestStateList
UnmarshalAccessRequestStateList reads a list of values of the 'access_request_state' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalAccessRequestStatus = api_v1.UnmarshalAccessRequestStatus
UnmarshalAccessRequestStatus reads a value of the 'access_request_status' type from the given source, which can be an slice of bytes, a string or a reader.
var UnmarshalAccessRequestStatusList = api_v1.UnmarshalAccessRequestStatusList
UnmarshalAccessRequestStatusList reads a list of values of the 'access_request_status' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalBooleanList = api_v1.UnmarshalBooleanList
UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalDateList = api_v1.UnmarshalDateList
UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalDecision = api_v1.UnmarshalDecision
UnmarshalDecision reads a value of the 'decision' type from the given source, which can be an slice of bytes, a string or a reader.
var UnmarshalDecisionDecisionList = api_v1.UnmarshalDecisionDecisionList
UnmarshalDecisionDecisionList reads a list of values of the 'decision_decision' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalDecisionList = api_v1.UnmarshalDecisionList
UnmarshalDecisionList reads a list of values of the 'decision' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalFloatList = api_v1.UnmarshalFloatList
UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalIntegerList = api_v1.UnmarshalIntegerList
UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalInterfaceList = api_v1.UnmarshalInterfaceList
UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalLongList = api_v1.UnmarshalLongList
UnmarshalLongList reads a list of values of the 'long' type from the given source, which can be a slice of bytes, a string or a reader.
var UnmarshalMetadata = api_v1.UnmarshalMetadata
UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.
var UnmarshalStringList = api_v1.UnmarshalStringList
UnmarshalStringList reads a list of values of the 'string' type from the given source, which can be a slice of bytes, a string or a reader.
var WriteAccessProtection = api_v1.WriteAccessProtection
WriteAccessProtection writes a value of the 'access_protection' type to the given stream.
var WriteAccessProtectionList = api_v1.WriteAccessProtectionList
WriteAccessProtectionList writes a list of value of the 'access_protection' type to the given stream.
var WriteAccessRequest = api_v1.WriteAccessRequest
WriteAccessRequest writes a value of the 'access_request' type to the given stream.
var WriteAccessRequestList = api_v1.WriteAccessRequestList
WriteAccessRequestList writes a list of value of the 'access_request' type to the given stream.
var WriteAccessRequestPostRequest = api_v1.WriteAccessRequestPostRequest
WriteAccessRequestPostRequest writes a value of the 'access_request_post_request' type to the given stream.
var WriteAccessRequestPostRequestList = api_v1.WriteAccessRequestPostRequestList
WriteAccessRequestPostRequestList writes a list of value of the 'access_request_post_request' type to the given stream.
var WriteAccessRequestStateList = api_v1.WriteAccessRequestStateList
WriteAccessRequestStateList writes a list of value of the 'access_request_state' type to the given stream.
var WriteAccessRequestStatus = api_v1.WriteAccessRequestStatus
WriteAccessRequestStatus writes a value of the 'access_request_status' type to the given stream.
var WriteAccessRequestStatusList = api_v1.WriteAccessRequestStatusList
WriteAccessRequestStatusList writes a list of value of the 'access_request_status' type to the given stream.
var WriteBooleanList = api_v1.WriteBooleanList
WriteBooleanList writes a list of value of the 'boolean' type to the given stream.
var WriteDateList = api_v1.WriteDateList
WriteDateList writes a list of value of the 'date' type to the given stream.
var WriteDecision = api_v1.WriteDecision
WriteDecision writes a value of the 'decision' type to the given stream.
var WriteDecisionDecisionList = api_v1.WriteDecisionDecisionList
WriteDecisionDecisionList writes a list of value of the 'decision_decision' type to the given stream.
var WriteDecisionList = api_v1.WriteDecisionList
WriteDecisionList writes a list of value of the 'decision' type to the given stream.
var WriteFloatList = api_v1.WriteFloatList
WriteFloatList writes a list of value of the 'float' type to the given stream.
var WriteIntegerList = api_v1.WriteIntegerList
WriteIntegerList writes a list of value of the 'integer' type to the given stream.
var WriteInterfaceList = api_v1.WriteInterfaceList
WriteInterfaceList writes a list of value of the 'interface' type to the given stream.
var WriteLongList = api_v1.WriteLongList
WriteLongList writes a list of value of the 'long' type to the given stream.
var WriteStringList = api_v1.WriteStringList
WriteStringList writes a list of value of the 'string' type to the given stream.
Functions ¶
This section is empty.
Types ¶
type AccessProtection ¶
type AccessProtection = api_v1.AccessProtection
AccessProtection represents the values of the 'access_protection' type.
Representation of an access protection.
type AccessProtectionBuilder ¶
type AccessProtectionBuilder = api_v1.AccessProtectionBuilder
AccessProtectionBuilder contains the data and logic needed to build 'access_protection' objects.
Representation of an access protection.
type AccessProtectionClient ¶
type AccessProtectionClient struct {
// contains filtered or unexported fields
}
AccessProtectionClient is the client of the 'access_protection' resource.
Manages the Access Protection resource.
func NewAccessProtectionClient ¶
func NewAccessProtectionClient(transport http.RoundTripper, path string) *AccessProtectionClient
NewAccessProtectionClient creates a new client for the 'access_protection' resource using the given transport to send the requests and receive the responses.
func (*AccessProtectionClient) Get ¶
func (c *AccessProtectionClient) Get() *AccessProtectionGetRequest
Get creates a request for the 'get' method.
Retrieves an Access Protection by organization/cluster/subscription query param.
func (*AccessProtectionClient) Poll ¶
func (c *AccessProtectionClient) Poll() *AccessProtectionPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type AccessProtectionGetRequest ¶
type AccessProtectionGetRequest struct {
// contains filtered or unexported fields
}
AccessProtectionGetRequest is the request for the 'get' method.
func (*AccessProtectionGetRequest) ClusterId ¶
func (r *AccessProtectionGetRequest) ClusterId(value string) *AccessProtectionGetRequest
ClusterId sets the value of the 'cluster_id' parameter.
Check status by Cluter.
func (*AccessProtectionGetRequest) Header ¶
func (r *AccessProtectionGetRequest) Header(name string, value interface{}) *AccessProtectionGetRequest
Header adds a request header.
func (*AccessProtectionGetRequest) Impersonate ¶
func (r *AccessProtectionGetRequest) Impersonate(user string) *AccessProtectionGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*AccessProtectionGetRequest) OrganizationId ¶
func (r *AccessProtectionGetRequest) OrganizationId(value string) *AccessProtectionGetRequest
OrganizationId sets the value of the 'organization_id' parameter.
Check status by Organization.
func (*AccessProtectionGetRequest) Parameter ¶
func (r *AccessProtectionGetRequest) Parameter(name string, value interface{}) *AccessProtectionGetRequest
Parameter adds a query parameter.
func (*AccessProtectionGetRequest) Send ¶
func (r *AccessProtectionGetRequest) Send() (result *AccessProtectionGetResponse, 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 (*AccessProtectionGetRequest) SendContext ¶
func (r *AccessProtectionGetRequest) SendContext(ctx context.Context) (result *AccessProtectionGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AccessProtectionGetRequest) SubscriptionId ¶
func (r *AccessProtectionGetRequest) SubscriptionId(value string) *AccessProtectionGetRequest
SubscriptionId sets the value of the 'subscription_id' parameter.
Check status by Subscription.
type AccessProtectionGetResponse ¶
type AccessProtectionGetResponse struct {
// contains filtered or unexported fields
}
AccessProtectionGetResponse is the response for the 'get' method.
func (*AccessProtectionGetResponse) Body ¶
func (r *AccessProtectionGetResponse) Body() *AccessProtection
Body returns the value of the 'body' parameter.
AccessProtection status response.
func (*AccessProtectionGetResponse) Error ¶
func (r *AccessProtectionGetResponse) Error() *errors.Error
Error returns the response error.
func (*AccessProtectionGetResponse) GetBody ¶
func (r *AccessProtectionGetResponse) GetBody() (value *AccessProtection, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
AccessProtection status response.
func (*AccessProtectionGetResponse) Header ¶
func (r *AccessProtectionGetResponse) Header() http.Header
Header returns header of the response.
func (*AccessProtectionGetResponse) Status ¶
func (r *AccessProtectionGetResponse) Status() int
Status returns the response status code.
type AccessProtectionList ¶
type AccessProtectionList = api_v1.AccessProtectionList
type AccessProtectionListBuilder ¶
type AccessProtectionListBuilder = api_v1.AccessProtectionListBuilder
AccessProtectionListBuilder contains the data and logic needed to build 'access_protection' objects.
type AccessProtectionPollRequest ¶
type AccessProtectionPollRequest struct {
// contains filtered or unexported fields
}
AccessProtectionPollRequest is the request for the Poll method.
func (*AccessProtectionPollRequest) ClusterId ¶
func (r *AccessProtectionPollRequest) ClusterId(value string) *AccessProtectionPollRequest
ClusterId sets the value of the 'cluster_id' parameter for all the requests that will be used to retrieve the object.
Check status by Cluter.
func (*AccessProtectionPollRequest) Header ¶
func (r *AccessProtectionPollRequest) Header(name string, value interface{}) *AccessProtectionPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AccessProtectionPollRequest) Interval ¶
func (r *AccessProtectionPollRequest) Interval(value time.Duration) *AccessProtectionPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AccessProtectionPollRequest) OrganizationId ¶
func (r *AccessProtectionPollRequest) OrganizationId(value string) *AccessProtectionPollRequest
OrganizationId sets the value of the 'organization_id' parameter for all the requests that will be used to retrieve the object.
Check status by Organization.
func (*AccessProtectionPollRequest) Parameter ¶
func (r *AccessProtectionPollRequest) Parameter(name string, value interface{}) *AccessProtectionPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AccessProtectionPollRequest) Predicate ¶
func (r *AccessProtectionPollRequest) Predicate(value func(*AccessProtectionGetResponse) bool) *AccessProtectionPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AccessProtectionPollRequest) StartContext ¶
func (r *AccessProtectionPollRequest) StartContext(ctx context.Context) (response *AccessProtectionPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*AccessProtectionPollRequest) Status ¶
func (r *AccessProtectionPollRequest) Status(value int) *AccessProtectionPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
func (*AccessProtectionPollRequest) SubscriptionId ¶
func (r *AccessProtectionPollRequest) SubscriptionId(value string) *AccessProtectionPollRequest
SubscriptionId sets the value of the 'subscription_id' parameter for all the requests that will be used to retrieve the object.
Check status by Subscription.
type AccessProtectionPollResponse ¶
type AccessProtectionPollResponse struct {
// contains filtered or unexported fields
}
AccessProtectionPollResponse is the response for the Poll method.
func (*AccessProtectionPollResponse) Body ¶
func (r *AccessProtectionPollResponse) Body() *AccessProtection
Body returns the value of the 'body' parameter.
AccessProtection status response.
func (*AccessProtectionPollResponse) Error ¶
func (r *AccessProtectionPollResponse) Error() *errors.Error
Error returns the response error.
func (*AccessProtectionPollResponse) GetBody ¶
func (r *AccessProtectionPollResponse) GetBody() (value *AccessProtection, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
AccessProtection status response.
func (*AccessProtectionPollResponse) Header ¶
func (r *AccessProtectionPollResponse) Header() http.Header
Header returns header of the response.
func (*AccessProtectionPollResponse) Status ¶
func (r *AccessProtectionPollResponse) Status() int
Status returns the response status code.
type AccessRequest ¶
type AccessRequest = api_v1.AccessRequest
AccessRequest represents the values of the 'access_request' type.
Representation of an access request.
type AccessRequestBuilder ¶
type AccessRequestBuilder = api_v1.AccessRequestBuilder
AccessRequestBuilder contains the data and logic needed to build 'access_request' objects.
Representation of an access request.
type AccessRequestClient ¶
type AccessRequestClient struct {
// contains filtered or unexported fields
}
AccessRequestClient is the client of the 'access_request' resource.
Manages a specific access request.
func NewAccessRequestClient ¶
func NewAccessRequestClient(transport http.RoundTripper, path string) *AccessRequestClient
NewAccessRequestClient creates a new client for the 'access_request' resource using the given transport to send the requests and receive the responses.
func (*AccessRequestClient) Decisions ¶
func (c *AccessRequestClient) Decisions() *DecisionsClient
Decisions returns the target 'decisions' resource.
Reference to the resource that manages the collection of decisions.
func (*AccessRequestClient) Get ¶
func (c *AccessRequestClient) Get() *AccessRequestGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the access request.
func (*AccessRequestClient) Poll ¶
func (c *AccessRequestClient) Poll() *AccessRequestPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type AccessRequestGetRequest ¶
type AccessRequestGetRequest struct {
// contains filtered or unexported fields
}
AccessRequestGetRequest is the request for the 'get' method.
func (*AccessRequestGetRequest) Header ¶
func (r *AccessRequestGetRequest) Header(name string, value interface{}) *AccessRequestGetRequest
Header adds a request header.
func (*AccessRequestGetRequest) Impersonate ¶
func (r *AccessRequestGetRequest) Impersonate(user string) *AccessRequestGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*AccessRequestGetRequest) Parameter ¶
func (r *AccessRequestGetRequest) Parameter(name string, value interface{}) *AccessRequestGetRequest
Parameter adds a query parameter.
func (*AccessRequestGetRequest) Send ¶
func (r *AccessRequestGetRequest) Send() (result *AccessRequestGetResponse, 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 (*AccessRequestGetRequest) SendContext ¶
func (r *AccessRequestGetRequest) SendContext(ctx context.Context) (result *AccessRequestGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccessRequestGetResponse ¶
type AccessRequestGetResponse struct {
// contains filtered or unexported fields
}
AccessRequestGetResponse is the response for the 'get' method.
func (*AccessRequestGetResponse) Body ¶
func (r *AccessRequestGetResponse) Body() *AccessRequest
Body returns the value of the 'body' parameter.
func (*AccessRequestGetResponse) Error ¶
func (r *AccessRequestGetResponse) Error() *errors.Error
Error returns the response error.
func (*AccessRequestGetResponse) GetBody ¶
func (r *AccessRequestGetResponse) GetBody() (value *AccessRequest, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AccessRequestGetResponse) Header ¶
func (r *AccessRequestGetResponse) Header() http.Header
Header returns header of the response.
func (*AccessRequestGetResponse) Status ¶
func (r *AccessRequestGetResponse) Status() int
Status returns the response status code.
type AccessRequestList ¶
type AccessRequestList = api_v1.AccessRequestList
type AccessRequestListBuilder ¶
type AccessRequestListBuilder = api_v1.AccessRequestListBuilder
AccessRequestListBuilder contains the data and logic needed to build 'access_request' objects.
type AccessRequestPollRequest ¶
type AccessRequestPollRequest struct {
// contains filtered or unexported fields
}
AccessRequestPollRequest is the request for the Poll method.
func (*AccessRequestPollRequest) Header ¶
func (r *AccessRequestPollRequest) Header(name string, value interface{}) *AccessRequestPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AccessRequestPollRequest) Interval ¶
func (r *AccessRequestPollRequest) Interval(value time.Duration) *AccessRequestPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AccessRequestPollRequest) Parameter ¶
func (r *AccessRequestPollRequest) Parameter(name string, value interface{}) *AccessRequestPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AccessRequestPollRequest) Predicate ¶
func (r *AccessRequestPollRequest) Predicate(value func(*AccessRequestGetResponse) bool) *AccessRequestPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AccessRequestPollRequest) StartContext ¶
func (r *AccessRequestPollRequest) StartContext(ctx context.Context) (response *AccessRequestPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*AccessRequestPollRequest) Status ¶
func (r *AccessRequestPollRequest) Status(value int) *AccessRequestPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type AccessRequestPollResponse ¶
type AccessRequestPollResponse struct {
// contains filtered or unexported fields
}
AccessRequestPollResponse is the response for the Poll method.
func (*AccessRequestPollResponse) Body ¶
func (r *AccessRequestPollResponse) Body() *AccessRequest
Body returns the value of the 'body' parameter.
func (*AccessRequestPollResponse) Error ¶
func (r *AccessRequestPollResponse) Error() *errors.Error
Error returns the response error.
func (*AccessRequestPollResponse) GetBody ¶
func (r *AccessRequestPollResponse) GetBody() (value *AccessRequest, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AccessRequestPollResponse) Header ¶
func (r *AccessRequestPollResponse) Header() http.Header
Header returns header of the response.
func (*AccessRequestPollResponse) Status ¶
func (r *AccessRequestPollResponse) Status() int
Status returns the response status code.
type AccessRequestPostRequest ¶
type AccessRequestPostRequest = api_v1.AccessRequestPostRequest
AccessRequestPostRequest represents the values of the 'access_request_post_request' type.
Representation of an access request post request.
type AccessRequestPostRequestBuilder ¶
type AccessRequestPostRequestBuilder = api_v1.AccessRequestPostRequestBuilder
AccessRequestPostRequestBuilder contains the data and logic needed to build 'access_request_post_request' objects.
Representation of an access request post request.
type AccessRequestPostRequestList ¶
type AccessRequestPostRequestList = api_v1.AccessRequestPostRequestList
type AccessRequestPostRequestListBuilder ¶
type AccessRequestPostRequestListBuilder = api_v1.AccessRequestPostRequestListBuilder
AccessRequestPostRequestListBuilder contains the data and logic needed to build 'access_request_post_request' objects.
type AccessRequestState ¶
type AccessRequestState = api_v1.AccessRequestState
AccessRequestState represents the values of the 'access_request_state' enumerated type.
const ( // AccessRequestStateApproved AccessRequestState = api_v1.AccessRequestStateApproved // AccessRequestStateDenied AccessRequestState = api_v1.AccessRequestStateDenied // AccessRequestStateExpired AccessRequestState = api_v1.AccessRequestStateExpired // AccessRequestStatePending AccessRequestState = api_v1.AccessRequestStatePending )
type AccessRequestStatus ¶
type AccessRequestStatus = api_v1.AccessRequestStatus
AccessRequestStatus represents the values of the 'access_request_status' type.
Representation of an access request status.
type AccessRequestStatusBuilder ¶
type AccessRequestStatusBuilder = api_v1.AccessRequestStatusBuilder
AccessRequestStatusBuilder contains the data and logic needed to build 'access_request_status' objects.
Representation of an access request status.
type AccessRequestStatusList ¶
type AccessRequestStatusList = api_v1.AccessRequestStatusList
type AccessRequestStatusListBuilder ¶
type AccessRequestStatusListBuilder = api_v1.AccessRequestStatusListBuilder
AccessRequestStatusListBuilder contains the data and logic needed to build 'access_request_status' objects.
type AccessRequestsClient ¶
type AccessRequestsClient struct {
// contains filtered or unexported fields
}
AccessRequestsClient is the client of the 'access_requests' resource.
Manages the collection of access requests.
func NewAccessRequestsClient ¶
func NewAccessRequestsClient(transport http.RoundTripper, path string) *AccessRequestsClient
NewAccessRequestsClient creates a new client for the 'access_requests' resource using the given transport to send the requests and receive the responses.
func (*AccessRequestsClient) AccessRequest ¶
func (c *AccessRequestsClient) AccessRequest(id string) *AccessRequestClient
AccessRequest returns the target 'access_request' resource for the given identifier.
Returns a reference to the service that manages a specific access request.
func (*AccessRequestsClient) List ¶
func (c *AccessRequestsClient) List() *AccessRequestsListRequest
List creates a request for the 'list' method.
Retrieves the list of access requests.
func (*AccessRequestsClient) Post ¶
func (c *AccessRequestsClient) Post() *AccessRequestsPostRequest
Post creates a request for the 'post' method.
Create a new access request and add it to the collection of access requests.
type AccessRequestsListRequest ¶
type AccessRequestsListRequest struct {
// contains filtered or unexported fields
}
AccessRequestsListRequest is the request for the 'list' method.
func (*AccessRequestsListRequest) Header ¶
func (r *AccessRequestsListRequest) Header(name string, value interface{}) *AccessRequestsListRequest
Header adds a request header.
func (*AccessRequestsListRequest) Impersonate ¶
func (r *AccessRequestsListRequest) Impersonate(user string) *AccessRequestsListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*AccessRequestsListRequest) Order ¶
func (r *AccessRequestsListRequest) Order(value string) *AccessRequestsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the access request instead of the names of the columns of a table. For example, in order to sort the access requests descending by created_at the value should be:
```sql created_at desc ```
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AccessRequestsListRequest) Page ¶
func (r *AccessRequestsListRequest) Page(value int) *AccessRequestsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AccessRequestsListRequest) Parameter ¶
func (r *AccessRequestsListRequest) Parameter(name string, value interface{}) *AccessRequestsListRequest
Parameter adds a query parameter.
func (*AccessRequestsListRequest) Search ¶
func (r *AccessRequestsListRequest) Search(value string) *AccessRequestsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the access request instead of the names of the columns of a table. For example, in order to retrieve all the access requests with a requested_by starting with `my` the value should be:
```sql requested_by like 'my%' ```
If the parameter isn't provided, or if the value is empty, then all the access requests that the user has permission to see will be returned.
func (*AccessRequestsListRequest) Send ¶
func (r *AccessRequestsListRequest) Send() (result *AccessRequestsListResponse, 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 (*AccessRequestsListRequest) SendContext ¶
func (r *AccessRequestsListRequest) SendContext(ctx context.Context) (result *AccessRequestsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AccessRequestsListRequest) Size ¶
func (r *AccessRequestsListRequest) Size(value int) *AccessRequestsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AccessRequestsListResponse ¶
type AccessRequestsListResponse struct {
// contains filtered or unexported fields
}
AccessRequestsListResponse is the response for the 'list' method.
func (*AccessRequestsListResponse) Error ¶
func (r *AccessRequestsListResponse) Error() *errors.Error
Error returns the response error.
func (*AccessRequestsListResponse) GetItems ¶
func (r *AccessRequestsListResponse) GetItems() (value *AccessRequestList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of access requests.
func (*AccessRequestsListResponse) GetPage ¶
func (r *AccessRequestsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*AccessRequestsListResponse) GetSize ¶
func (r *AccessRequestsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*AccessRequestsListResponse) GetTotal ¶
func (r *AccessRequestsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*AccessRequestsListResponse) Header ¶
func (r *AccessRequestsListResponse) Header() http.Header
Header returns header of the response.
func (*AccessRequestsListResponse) Items ¶
func (r *AccessRequestsListResponse) Items() *AccessRequestList
Items returns the value of the 'items' parameter.
Retrieved list of access requests.
func (*AccessRequestsListResponse) Page ¶
func (r *AccessRequestsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AccessRequestsListResponse) Size ¶
func (r *AccessRequestsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AccessRequestsListResponse) Status ¶
func (r *AccessRequestsListResponse) Status() int
Status returns the response status code.
func (*AccessRequestsListResponse) Total ¶
func (r *AccessRequestsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type AccessRequestsPostRequest ¶
type AccessRequestsPostRequest struct {
// contains filtered or unexported fields
}
AccessRequestsPostRequest is the request for the 'post' method.
func (*AccessRequestsPostRequest) Body ¶
func (r *AccessRequestsPostRequest) Body(value *AccessRequestPostRequest) *AccessRequestsPostRequest
Body sets the value of the 'body' parameter.
Input to include new access request.
func (*AccessRequestsPostRequest) Header ¶
func (r *AccessRequestsPostRequest) Header(name string, value interface{}) *AccessRequestsPostRequest
Header adds a request header.
func (*AccessRequestsPostRequest) Impersonate ¶
func (r *AccessRequestsPostRequest) Impersonate(user string) *AccessRequestsPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*AccessRequestsPostRequest) Parameter ¶
func (r *AccessRequestsPostRequest) Parameter(name string, value interface{}) *AccessRequestsPostRequest
Parameter adds a query parameter.
func (*AccessRequestsPostRequest) Send ¶
func (r *AccessRequestsPostRequest) Send() (result *AccessRequestsPostResponse, 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 (*AccessRequestsPostRequest) SendContext ¶
func (r *AccessRequestsPostRequest) SendContext(ctx context.Context) (result *AccessRequestsPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccessRequestsPostResponse ¶
type AccessRequestsPostResponse struct {
// contains filtered or unexported fields
}
AccessRequestsPostResponse is the response for the 'post' method.
func (*AccessRequestsPostResponse) Body ¶
func (r *AccessRequestsPostResponse) Body() *AccessRequest
Body returns the value of the 'body' parameter.
Newly access request.
func (*AccessRequestsPostResponse) Error ¶
func (r *AccessRequestsPostResponse) Error() *errors.Error
Error returns the response error.
func (*AccessRequestsPostResponse) GetBody ¶
func (r *AccessRequestsPostResponse) GetBody() (value *AccessRequest, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Newly access request.
func (*AccessRequestsPostResponse) Header ¶
func (r *AccessRequestsPostResponse) Header() http.Header
Header returns header of the response.
func (*AccessRequestsPostResponse) Status ¶
func (r *AccessRequestsPostResponse) Status() int
Status returns the response status code.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client of the 'root' resource.
Root of the tree of resources of the Access Transparency Management.
func NewClient ¶
func NewClient(transport http.RoundTripper, path string) *Client
NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.
func (*Client) AccessProtection ¶
func (c *Client) AccessProtection() *AccessProtectionClient
AccessProtection returns the target 'access_protection' resource.
Reference to the resource that manages the Access Protection resource.
func (*Client) AccessRequests ¶
func (c *Client) AccessRequests() *AccessRequestsClient
AccessRequests returns the target 'access_requests' resource.
Reference to the resource that manages the collection of Access Requests.
func (*Client) Get ¶
func (c *Client) Get() *MetadataRequest
Creates a new request for the method that retrieves the metadata.
type Decision ¶
Decision represents the values of the 'decision' type.
Representation of an decision.
type DecisionBuilder ¶
type DecisionBuilder = api_v1.DecisionBuilder
DecisionBuilder contains the data and logic needed to build 'decision' objects.
Representation of an decision.
type DecisionClient ¶
type DecisionClient struct {
// contains filtered or unexported fields
}
DecisionClient is the client of the 'decision' resource.
Manages a specific decision.
func NewDecisionClient ¶
func NewDecisionClient(transport http.RoundTripper, path string) *DecisionClient
NewDecisionClient creates a new client for the 'decision' resource using the given transport to send the requests and receive the responses.
func (*DecisionClient) Get ¶
func (c *DecisionClient) Get() *DecisionGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the decision.
func (*DecisionClient) Poll ¶
func (c *DecisionClient) Poll() *DecisionPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type DecisionDecision ¶
type DecisionDecision = api_v1.DecisionDecision
DecisionDecision represents the values of the 'decision_decision' enumerated type.
const ( // DecisionDecisionApproved DecisionDecision = api_v1.DecisionDecisionApproved // DecisionDecisionDenied DecisionDecision = api_v1.DecisionDecisionDenied // DecisionDecisionExpired DecisionDecision = api_v1.DecisionDecisionExpired )
type DecisionGetRequest ¶
type DecisionGetRequest struct {
// contains filtered or unexported fields
}
DecisionGetRequest is the request for the 'get' method.
func (*DecisionGetRequest) Header ¶
func (r *DecisionGetRequest) Header(name string, value interface{}) *DecisionGetRequest
Header adds a request header.
func (*DecisionGetRequest) Impersonate ¶
func (r *DecisionGetRequest) Impersonate(user string) *DecisionGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*DecisionGetRequest) Parameter ¶
func (r *DecisionGetRequest) Parameter(name string, value interface{}) *DecisionGetRequest
Parameter adds a query parameter.
func (*DecisionGetRequest) Send ¶
func (r *DecisionGetRequest) Send() (result *DecisionGetResponse, 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 (*DecisionGetRequest) SendContext ¶
func (r *DecisionGetRequest) SendContext(ctx context.Context) (result *DecisionGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type DecisionGetResponse ¶
type DecisionGetResponse struct {
// contains filtered or unexported fields
}
DecisionGetResponse is the response for the 'get' method.
func (*DecisionGetResponse) Body ¶
func (r *DecisionGetResponse) Body() *Decision
Body returns the value of the 'body' parameter.
func (*DecisionGetResponse) Error ¶
func (r *DecisionGetResponse) Error() *errors.Error
Error returns the response error.
func (*DecisionGetResponse) GetBody ¶
func (r *DecisionGetResponse) GetBody() (value *Decision, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*DecisionGetResponse) Header ¶
func (r *DecisionGetResponse) Header() http.Header
Header returns header of the response.
func (*DecisionGetResponse) Status ¶
func (r *DecisionGetResponse) Status() int
Status returns the response status code.
type DecisionList ¶
type DecisionList = api_v1.DecisionList
type DecisionListBuilder ¶
type DecisionListBuilder = api_v1.DecisionListBuilder
DecisionListBuilder contains the data and logic needed to build 'decision' objects.
type DecisionPollRequest ¶
type DecisionPollRequest struct {
// contains filtered or unexported fields
}
DecisionPollRequest is the request for the Poll method.
func (*DecisionPollRequest) Header ¶
func (r *DecisionPollRequest) Header(name string, value interface{}) *DecisionPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*DecisionPollRequest) Interval ¶
func (r *DecisionPollRequest) Interval(value time.Duration) *DecisionPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*DecisionPollRequest) Parameter ¶
func (r *DecisionPollRequest) Parameter(name string, value interface{}) *DecisionPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*DecisionPollRequest) Predicate ¶
func (r *DecisionPollRequest) Predicate(value func(*DecisionGetResponse) bool) *DecisionPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*DecisionPollRequest) StartContext ¶
func (r *DecisionPollRequest) StartContext(ctx context.Context) (response *DecisionPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*DecisionPollRequest) Status ¶
func (r *DecisionPollRequest) Status(value int) *DecisionPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type DecisionPollResponse ¶
type DecisionPollResponse struct {
// contains filtered or unexported fields
}
DecisionPollResponse is the response for the Poll method.
func (*DecisionPollResponse) Body ¶
func (r *DecisionPollResponse) Body() *Decision
Body returns the value of the 'body' parameter.
func (*DecisionPollResponse) Error ¶
func (r *DecisionPollResponse) Error() *errors.Error
Error returns the response error.
func (*DecisionPollResponse) GetBody ¶
func (r *DecisionPollResponse) GetBody() (value *Decision, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*DecisionPollResponse) Header ¶
func (r *DecisionPollResponse) Header() http.Header
Header returns header of the response.
func (*DecisionPollResponse) Status ¶
func (r *DecisionPollResponse) Status() int
Status returns the response status code.
type DecisionsAddRequest ¶
type DecisionsAddRequest struct {
// contains filtered or unexported fields
}
DecisionsAddRequest is the request for the 'add' method.
func (*DecisionsAddRequest) Body ¶
func (r *DecisionsAddRequest) Body(value *Decision) *DecisionsAddRequest
Body sets the value of the 'body' parameter.
Description of the decision addition.
func (*DecisionsAddRequest) Header ¶
func (r *DecisionsAddRequest) Header(name string, value interface{}) *DecisionsAddRequest
Header adds a request header.
func (*DecisionsAddRequest) Impersonate ¶
func (r *DecisionsAddRequest) Impersonate(user string) *DecisionsAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*DecisionsAddRequest) Parameter ¶
func (r *DecisionsAddRequest) Parameter(name string, value interface{}) *DecisionsAddRequest
Parameter adds a query parameter.
func (*DecisionsAddRequest) Send ¶
func (r *DecisionsAddRequest) Send() (result *DecisionsAddResponse, 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 (*DecisionsAddRequest) SendContext ¶
func (r *DecisionsAddRequest) SendContext(ctx context.Context) (result *DecisionsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type DecisionsAddResponse ¶
type DecisionsAddResponse struct {
// contains filtered or unexported fields
}
DecisionsAddResponse is the response for the 'add' method.
func (*DecisionsAddResponse) Body ¶
func (r *DecisionsAddResponse) Body() *Decision
Body returns the value of the 'body' parameter.
Description of the decision addition.
func (*DecisionsAddResponse) Error ¶
func (r *DecisionsAddResponse) Error() *errors.Error
Error returns the response error.
func (*DecisionsAddResponse) GetBody ¶
func (r *DecisionsAddResponse) GetBody() (value *Decision, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Description of the decision addition.
func (*DecisionsAddResponse) Header ¶
func (r *DecisionsAddResponse) Header() http.Header
Header returns header of the response.
func (*DecisionsAddResponse) Status ¶
func (r *DecisionsAddResponse) Status() int
Status returns the response status code.
type DecisionsClient ¶
type DecisionsClient struct {
// contains filtered or unexported fields
}
DecisionsClient is the client of the 'decisions' resource.
Manages a collection of decisions attached to an access request.
func NewDecisionsClient ¶
func NewDecisionsClient(transport http.RoundTripper, path string) *DecisionsClient
NewDecisionsClient creates a new client for the 'decisions' resource using the given transport to send the requests and receive the responses.
func (*DecisionsClient) Add ¶
func (c *DecisionsClient) Add() *DecisionsAddRequest
Add creates a request for the 'add' method.
Create a new decision and add it to the collection of decisions of an access request.
func (*DecisionsClient) Decision ¶
func (c *DecisionsClient) Decision(id string) *DecisionClient
Decision returns the target 'decision' resource for the given identifier.
Returns a reference to the service that manages a specific decision.
func (*DecisionsClient) List ¶
func (c *DecisionsClient) List() *DecisionsListRequest
List creates a request for the 'list' method.
Retrieves the list of decisions.
type DecisionsListRequest ¶
type DecisionsListRequest struct {
// contains filtered or unexported fields
}
DecisionsListRequest is the request for the 'list' method.
func (*DecisionsListRequest) Header ¶
func (r *DecisionsListRequest) Header(name string, value interface{}) *DecisionsListRequest
Header adds a request header.
func (*DecisionsListRequest) Impersonate ¶
func (r *DecisionsListRequest) Impersonate(user string) *DecisionsListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*DecisionsListRequest) Order ¶
func (r *DecisionsListRequest) Order(value string) *DecisionsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement, but using the names of the attributes of the decision instead of the names of the columns of a table. For example, in order to sort the decisions descending by created_at the value should be:
```sql created_at desc ```
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*DecisionsListRequest) Page ¶
func (r *DecisionsListRequest) Page(value int) *DecisionsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*DecisionsListRequest) Parameter ¶
func (r *DecisionsListRequest) Parameter(name string, value interface{}) *DecisionsListRequest
Parameter adds a query parameter.
func (*DecisionsListRequest) Search ¶
func (r *DecisionsListRequest) Search(value string) *DecisionsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the decision instead of the names of the columns of a table. For example, in order to retrieve all the decisions with a decided_by starting with `my` the value should be:
```sql decided_by like 'my%' ```
If the parameter isn't provided, or if the value is empty, then all the decisions that the user has permission to see will be returned.
func (*DecisionsListRequest) Send ¶
func (r *DecisionsListRequest) Send() (result *DecisionsListResponse, 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 (*DecisionsListRequest) SendContext ¶
func (r *DecisionsListRequest) SendContext(ctx context.Context) (result *DecisionsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*DecisionsListRequest) Size ¶
func (r *DecisionsListRequest) Size(value int) *DecisionsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type DecisionsListResponse ¶
type DecisionsListResponse struct {
// contains filtered or unexported fields
}
DecisionsListResponse is the response for the 'list' method.
func (*DecisionsListResponse) Error ¶
func (r *DecisionsListResponse) Error() *errors.Error
Error returns the response error.
func (*DecisionsListResponse) GetItems ¶
func (r *DecisionsListResponse) GetItems() (value *DecisionList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of decisions.
func (*DecisionsListResponse) GetPage ¶
func (r *DecisionsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*DecisionsListResponse) GetSize ¶
func (r *DecisionsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*DecisionsListResponse) GetTotal ¶
func (r *DecisionsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*DecisionsListResponse) Header ¶
func (r *DecisionsListResponse) Header() http.Header
Header returns header of the response.
func (*DecisionsListResponse) Items ¶
func (r *DecisionsListResponse) Items() *DecisionList
Items returns the value of the 'items' parameter.
Retrieved list of decisions.
func (*DecisionsListResponse) Page ¶
func (r *DecisionsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*DecisionsListResponse) Size ¶
func (r *DecisionsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*DecisionsListResponse) Status ¶
func (r *DecisionsListResponse) Status() int
Status returns the response status code.
func (*DecisionsListResponse) Total ¶
func (r *DecisionsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type MetadataRequest ¶
type MetadataRequest struct {
// contains filtered or unexported fields
}
MetadataRequest is the request to retrieve the metadata.
func (*MetadataRequest) Header ¶
func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
Header adds a request header.
func (*MetadataRequest) Parameter ¶
func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
Parameter adds a query parameter.
func (*MetadataRequest) Send ¶
func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
Send sends the metadata 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 (*MetadataRequest) SendContext ¶
func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
SendContext sends the metadata request, waits for the response, and returns it.
type MetadataResponse ¶
type MetadataResponse struct {
// contains filtered or unexported fields
}
MetadataResponse is the response for the metadata request.
func (*MetadataResponse) Body ¶
func (r *MetadataResponse) Body() *Metadata
Body returns the response body.
func (*MetadataResponse) Error ¶
func (r *MetadataResponse) Error() *errors.Error
Error returns the response error.
func (*MetadataResponse) Header ¶
func (r *MetadataResponse) Header() http.Header
Header returns header of the response.
func (*MetadataResponse) Status ¶
func (r *MetadataResponse) Status() int
Status returns the response status code.
Source Files
¶
- access_protection_builder_alias.go
- access_protection_client.go
- access_protection_list_builder_alias.go
- access_protection_list_type_alias_json_alias.go
- access_protection_resource_request_json.go
- access_protection_type_alias.go
- access_protection_type_alias_json_alias.go
- access_request_builder_alias.go
- access_request_client.go
- access_request_list_builder_alias.go
- access_request_list_type_alias_json_alias.go
- access_request_post_request_builder_alias.go
- access_request_post_request_list_builder_alias.go
- access_request_post_request_list_type_alias_json_alias.go
- access_request_post_request_type_alias.go
- access_request_post_request_type_alias_json_alias.go
- access_request_resource_request_json.go
- access_request_state_list_type_alias_json_alias.go
- access_request_state_type_alias.go
- access_request_status_builder_alias.go
- access_request_status_list_builder_alias.go
- access_request_status_list_type_alias_json_alias.go
- access_request_status_type_alias.go
- access_request_status_type_alias_json_alias.go
- access_request_type_alias.go
- access_request_type_alias_json_alias.go
- access_requests_client.go
- access_requests_resource_request_json.go
- boolean_list_type_alias_json_alias.go
- date_list_type_alias_json_alias.go
- decision_builder_alias.go
- decision_client.go
- decision_decision_list_type_alias_json_alias.go
- decision_decision_type_alias.go
- decision_list_builder_alias.go
- decision_list_type_alias_json_alias.go
- decision_resource_request_json.go
- decision_type_alias.go
- decision_type_alias_json_alias.go
- decisions_client.go
- decisions_resource_request_json.go
- errors.go
- float_list_type_alias_json_alias.go
- integer_list_type_alias_json_alias.go
- interface_list_type_alias_json_alias.go
- long_list_type_alias_json_alias.go
- metadata_alias_reader.go
- metadata_client.go
- metadata_type_alias.go
- openapi.go
- root_client.go
- root_resource_request_json.go
- string_list_type_alias_json_alias.go