Documentation
¶
Index ¶
- Constants
- Variables
- func Dispatch(w http.ResponseWriter, r *http.Request, server Server, segments []string)
- func MarshalAccessReviewRequest(object *AccessReviewRequest, writer io.Writer) error
- func MarshalAccessReviewRequestList(list []*AccessReviewRequest, writer io.Writer) error
- func MarshalAccessReviewResponse(object *AccessReviewResponse, writer io.Writer) error
- func MarshalAccessReviewResponseList(list []*AccessReviewResponse, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalExportControlReviewRequest(object *ExportControlReviewRequest, writer io.Writer) error
- func MarshalExportControlReviewRequestList(list []*ExportControlReviewRequest, writer io.Writer) error
- func MarshalExportControlReviewResponse(object *ExportControlReviewResponse, writer io.Writer) error
- func MarshalExportControlReviewResponseList(list []*ExportControlReviewResponse, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalResourceReview(object *ResourceReview, writer io.Writer) error
- func MarshalResourceReviewList(list []*ResourceReview, writer io.Writer) error
- func MarshalResourceReviewRequest(object *ResourceReviewRequest, writer io.Writer) error
- func MarshalResourceReviewRequestList(list []*ResourceReviewRequest, writer io.Writer) error
- func MarshalSelfAccessReviewRequest(object *SelfAccessReviewRequest, writer io.Writer) error
- func MarshalSelfAccessReviewRequestList(list []*SelfAccessReviewRequest, writer io.Writer) error
- func MarshalSelfAccessReviewResponse(object *SelfAccessReviewResponse, writer io.Writer) error
- func MarshalSelfAccessReviewResponseList(list []*SelfAccessReviewResponse, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- type AccessReviewClient
- type AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Header(name string, value interface{}) *AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Parameter(name string, value interface{}) *AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Request(value *AccessReviewRequest) *AccessReviewPostRequest
- func (r *AccessReviewPostRequest) Send() (result *AccessReviewPostResponse, err error)
- func (r *AccessReviewPostRequest) SendContext(ctx context.Context) (result *AccessReviewPostResponse, err error)
- type AccessReviewPostResponse
- func (r *AccessReviewPostResponse) Error() *errors.Error
- func (r *AccessReviewPostResponse) GetResponse() (value *AccessReviewResponse, ok bool)
- func (r *AccessReviewPostResponse) Header() http.Header
- func (r *AccessReviewPostResponse) Response() *AccessReviewResponse
- func (r *AccessReviewPostResponse) Status() int
- type AccessReviewPostServerRequest
- type AccessReviewPostServerResponse
- type AccessReviewRequest
- func (o *AccessReviewRequest) AccountUsername() string
- func (o *AccessReviewRequest) Action() string
- func (o *AccessReviewRequest) ClusterID() string
- func (o *AccessReviewRequest) ClusterUUID() string
- func (o *AccessReviewRequest) Empty() bool
- func (o *AccessReviewRequest) GetAccountUsername() (value string, ok bool)
- func (o *AccessReviewRequest) GetAction() (value string, ok bool)
- func (o *AccessReviewRequest) GetClusterID() (value string, ok bool)
- func (o *AccessReviewRequest) GetClusterUUID() (value string, ok bool)
- func (o *AccessReviewRequest) GetOrganizationID() (value string, ok bool)
- func (o *AccessReviewRequest) GetResourceType() (value string, ok bool)
- func (o *AccessReviewRequest) GetSubscriptionID() (value string, ok bool)
- func (o *AccessReviewRequest) OrganizationID() string
- func (o *AccessReviewRequest) ResourceType() string
- func (o *AccessReviewRequest) SubscriptionID() string
- type AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) AccountUsername(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) Action(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) Build() (object *AccessReviewRequest, err error)
- func (b *AccessReviewRequestBuilder) ClusterID(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) ClusterUUID(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) Copy(object *AccessReviewRequest) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) OrganizationID(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) ResourceType(value string) *AccessReviewRequestBuilder
- func (b *AccessReviewRequestBuilder) SubscriptionID(value string) *AccessReviewRequestBuilder
- type AccessReviewRequestList
- func (l *AccessReviewRequestList) Each(f func(item *AccessReviewRequest) bool)
- func (l *AccessReviewRequestList) Empty() bool
- func (l *AccessReviewRequestList) Get(i int) *AccessReviewRequest
- func (l *AccessReviewRequestList) Len() int
- func (l *AccessReviewRequestList) Range(f func(index int, item *AccessReviewRequest) bool)
- func (l *AccessReviewRequestList) Slice() []*AccessReviewRequest
- type AccessReviewRequestListBuilder
- func (b *AccessReviewRequestListBuilder) Build() (list *AccessReviewRequestList, err error)
- func (b *AccessReviewRequestListBuilder) Copy(list *AccessReviewRequestList) *AccessReviewRequestListBuilder
- func (b *AccessReviewRequestListBuilder) Items(values ...*AccessReviewRequestBuilder) *AccessReviewRequestListBuilder
- type AccessReviewResponse
- func (o *AccessReviewResponse) AccountUsername() string
- func (o *AccessReviewResponse) Action() string
- func (o *AccessReviewResponse) Allowed() bool
- func (o *AccessReviewResponse) ClusterID() string
- func (o *AccessReviewResponse) ClusterUUID() string
- func (o *AccessReviewResponse) Empty() bool
- func (o *AccessReviewResponse) GetAccountUsername() (value string, ok bool)
- func (o *AccessReviewResponse) GetAction() (value string, ok bool)
- func (o *AccessReviewResponse) GetAllowed() (value bool, ok bool)
- func (o *AccessReviewResponse) GetClusterID() (value string, ok bool)
- func (o *AccessReviewResponse) GetClusterUUID() (value string, ok bool)
- func (o *AccessReviewResponse) GetOrganizationID() (value string, ok bool)
- func (o *AccessReviewResponse) GetResourceType() (value string, ok bool)
- func (o *AccessReviewResponse) GetSubscriptionID() (value string, ok bool)
- func (o *AccessReviewResponse) OrganizationID() string
- func (o *AccessReviewResponse) ResourceType() string
- func (o *AccessReviewResponse) SubscriptionID() string
- type AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) AccountUsername(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Action(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Allowed(value bool) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Build() (object *AccessReviewResponse, err error)
- func (b *AccessReviewResponseBuilder) ClusterID(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) ClusterUUID(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) Copy(object *AccessReviewResponse) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) OrganizationID(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) ResourceType(value string) *AccessReviewResponseBuilder
- func (b *AccessReviewResponseBuilder) SubscriptionID(value string) *AccessReviewResponseBuilder
- type AccessReviewResponseList
- func (l *AccessReviewResponseList) Each(f func(item *AccessReviewResponse) bool)
- func (l *AccessReviewResponseList) Empty() bool
- func (l *AccessReviewResponseList) Get(i int) *AccessReviewResponse
- func (l *AccessReviewResponseList) Len() int
- func (l *AccessReviewResponseList) Range(f func(index int, item *AccessReviewResponse) bool)
- func (l *AccessReviewResponseList) Slice() []*AccessReviewResponse
- type AccessReviewResponseListBuilder
- func (b *AccessReviewResponseListBuilder) Build() (list *AccessReviewResponseList, err error)
- func (b *AccessReviewResponseListBuilder) Copy(list *AccessReviewResponseList) *AccessReviewResponseListBuilder
- func (b *AccessReviewResponseListBuilder) Items(values ...*AccessReviewResponseBuilder) *AccessReviewResponseListBuilder
- type AccessReviewServer
- type Client
- 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
- func (b *ExportControlReviewRequestListBuilder) Build() (list *ExportControlReviewRequestList, err error)
- func (b *ExportControlReviewRequestListBuilder) Copy(list *ExportControlReviewRequestList) *ExportControlReviewRequestListBuilder
- func (b *ExportControlReviewRequestListBuilder) Items(values ...*ExportControlReviewRequestBuilder) *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
- func (b *ExportControlReviewResponseListBuilder) Build() (list *ExportControlReviewResponseList, err error)
- func (b *ExportControlReviewResponseListBuilder) Copy(list *ExportControlReviewResponseList) *ExportControlReviewResponseListBuilder
- func (b *ExportControlReviewResponseListBuilder) Items(values ...*ExportControlReviewResponseBuilder) *ExportControlReviewResponseListBuilder
- type ExportControlReviewServer
- 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
- type ResourceReview
- func (o *ResourceReview) AccountUsername() string
- func (o *ResourceReview) Action() string
- func (o *ResourceReview) ClusterIDs() []string
- func (o *ResourceReview) ClusterUUIDs() []string
- func (o *ResourceReview) Empty() bool
- func (o *ResourceReview) GetAccountUsername() (value string, ok bool)
- func (o *ResourceReview) GetAction() (value string, ok bool)
- func (o *ResourceReview) GetClusterIDs() (value []string, ok bool)
- func (o *ResourceReview) GetClusterUUIDs() (value []string, ok bool)
- func (o *ResourceReview) GetOrganizationIDs() (value []string, ok bool)
- func (o *ResourceReview) GetResourceType() (value string, ok bool)
- func (o *ResourceReview) GetSubscriptionIDs() (value []string, ok bool)
- func (o *ResourceReview) OrganizationIDs() []string
- func (o *ResourceReview) ResourceType() string
- func (o *ResourceReview) SubscriptionIDs() []string
- type ResourceReviewBuilder
- func (b *ResourceReviewBuilder) AccountUsername(value string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) Action(value string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) Build() (object *ResourceReview, err error)
- func (b *ResourceReviewBuilder) ClusterIDs(values ...string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) ClusterUUIDs(values ...string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) Copy(object *ResourceReview) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) OrganizationIDs(values ...string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) ResourceType(value string) *ResourceReviewBuilder
- func (b *ResourceReviewBuilder) SubscriptionIDs(values ...string) *ResourceReviewBuilder
- type ResourceReviewClient
- type ResourceReviewList
- func (l *ResourceReviewList) Each(f func(item *ResourceReview) bool)
- func (l *ResourceReviewList) Empty() bool
- func (l *ResourceReviewList) Get(i int) *ResourceReview
- func (l *ResourceReviewList) Len() int
- func (l *ResourceReviewList) Range(f func(index int, item *ResourceReview) bool)
- func (l *ResourceReviewList) Slice() []*ResourceReview
- type ResourceReviewListBuilder
- type ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Header(name string, value interface{}) *ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Parameter(name string, value interface{}) *ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Request(value *ResourceReviewRequest) *ResourceReviewPostRequest
- func (r *ResourceReviewPostRequest) Send() (result *ResourceReviewPostResponse, err error)
- func (r *ResourceReviewPostRequest) SendContext(ctx context.Context) (result *ResourceReviewPostResponse, err error)
- type ResourceReviewPostResponse
- func (r *ResourceReviewPostResponse) Error() *errors.Error
- func (r *ResourceReviewPostResponse) GetReview() (value *ResourceReview, ok bool)
- func (r *ResourceReviewPostResponse) Header() http.Header
- func (r *ResourceReviewPostResponse) Review() *ResourceReview
- func (r *ResourceReviewPostResponse) Status() int
- type ResourceReviewPostServerRequest
- type ResourceReviewPostServerResponse
- type ResourceReviewRequest
- func (o *ResourceReviewRequest) AccountUsername() string
- func (o *ResourceReviewRequest) Action() string
- func (o *ResourceReviewRequest) Empty() bool
- func (o *ResourceReviewRequest) GetAccountUsername() (value string, ok bool)
- func (o *ResourceReviewRequest) GetAction() (value string, ok bool)
- func (o *ResourceReviewRequest) GetResourceType() (value string, ok bool)
- func (o *ResourceReviewRequest) ResourceType() string
- type ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) AccountUsername(value string) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) Action(value string) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) Build() (object *ResourceReviewRequest, err error)
- func (b *ResourceReviewRequestBuilder) Copy(object *ResourceReviewRequest) *ResourceReviewRequestBuilder
- func (b *ResourceReviewRequestBuilder) ResourceType(value string) *ResourceReviewRequestBuilder
- type ResourceReviewRequestList
- func (l *ResourceReviewRequestList) Each(f func(item *ResourceReviewRequest) bool)
- func (l *ResourceReviewRequestList) Empty() bool
- func (l *ResourceReviewRequestList) Get(i int) *ResourceReviewRequest
- func (l *ResourceReviewRequestList) Len() int
- func (l *ResourceReviewRequestList) Range(f func(index int, item *ResourceReviewRequest) bool)
- func (l *ResourceReviewRequestList) Slice() []*ResourceReviewRequest
- type ResourceReviewRequestListBuilder
- func (b *ResourceReviewRequestListBuilder) Build() (list *ResourceReviewRequestList, err error)
- func (b *ResourceReviewRequestListBuilder) Copy(list *ResourceReviewRequestList) *ResourceReviewRequestListBuilder
- func (b *ResourceReviewRequestListBuilder) Items(values ...*ResourceReviewRequestBuilder) *ResourceReviewRequestListBuilder
- type ResourceReviewServer
- type SelfAccessReviewClient
- type SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Header(name string, value interface{}) *SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Parameter(name string, value interface{}) *SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Request(value *SelfAccessReviewRequest) *SelfAccessReviewPostRequest
- func (r *SelfAccessReviewPostRequest) Send() (result *SelfAccessReviewPostResponse, err error)
- func (r *SelfAccessReviewPostRequest) SendContext(ctx context.Context) (result *SelfAccessReviewPostResponse, err error)
- type SelfAccessReviewPostResponse
- func (r *SelfAccessReviewPostResponse) Error() *errors.Error
- func (r *SelfAccessReviewPostResponse) GetResponse() (value *SelfAccessReviewResponse, ok bool)
- func (r *SelfAccessReviewPostResponse) Header() http.Header
- func (r *SelfAccessReviewPostResponse) Response() *SelfAccessReviewResponse
- func (r *SelfAccessReviewPostResponse) Status() int
- type SelfAccessReviewPostServerRequest
- type SelfAccessReviewPostServerResponse
- type SelfAccessReviewRequest
- func (o *SelfAccessReviewRequest) Action() string
- func (o *SelfAccessReviewRequest) ClusterID() string
- func (o *SelfAccessReviewRequest) ClusterUUID() string
- func (o *SelfAccessReviewRequest) Empty() bool
- func (o *SelfAccessReviewRequest) GetAction() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetClusterID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetClusterUUID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetOrganizationID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetResourceType() (value string, ok bool)
- func (o *SelfAccessReviewRequest) GetSubscriptionID() (value string, ok bool)
- func (o *SelfAccessReviewRequest) OrganizationID() string
- func (o *SelfAccessReviewRequest) ResourceType() string
- func (o *SelfAccessReviewRequest) SubscriptionID() string
- type SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) Action(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) Build() (object *SelfAccessReviewRequest, err error)
- func (b *SelfAccessReviewRequestBuilder) ClusterID(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) ClusterUUID(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) Copy(object *SelfAccessReviewRequest) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) OrganizationID(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) ResourceType(value string) *SelfAccessReviewRequestBuilder
- func (b *SelfAccessReviewRequestBuilder) SubscriptionID(value string) *SelfAccessReviewRequestBuilder
- type SelfAccessReviewRequestList
- func (l *SelfAccessReviewRequestList) Each(f func(item *SelfAccessReviewRequest) bool)
- func (l *SelfAccessReviewRequestList) Empty() bool
- func (l *SelfAccessReviewRequestList) Get(i int) *SelfAccessReviewRequest
- func (l *SelfAccessReviewRequestList) Len() int
- func (l *SelfAccessReviewRequestList) Range(f func(index int, item *SelfAccessReviewRequest) bool)
- func (l *SelfAccessReviewRequestList) Slice() []*SelfAccessReviewRequest
- type SelfAccessReviewRequestListBuilder
- func (b *SelfAccessReviewRequestListBuilder) Build() (list *SelfAccessReviewRequestList, err error)
- func (b *SelfAccessReviewRequestListBuilder) Copy(list *SelfAccessReviewRequestList) *SelfAccessReviewRequestListBuilder
- func (b *SelfAccessReviewRequestListBuilder) Items(values ...*SelfAccessReviewRequestBuilder) *SelfAccessReviewRequestListBuilder
- type SelfAccessReviewResponse
- func (o *SelfAccessReviewResponse) Action() string
- func (o *SelfAccessReviewResponse) Allowed() bool
- func (o *SelfAccessReviewResponse) ClusterID() string
- func (o *SelfAccessReviewResponse) ClusterUUID() string
- func (o *SelfAccessReviewResponse) Empty() bool
- func (o *SelfAccessReviewResponse) GetAction() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetAllowed() (value bool, ok bool)
- func (o *SelfAccessReviewResponse) GetClusterID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetClusterUUID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetOrganizationID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetResourceType() (value string, ok bool)
- func (o *SelfAccessReviewResponse) GetSubscriptionID() (value string, ok bool)
- func (o *SelfAccessReviewResponse) OrganizationID() string
- func (o *SelfAccessReviewResponse) ResourceType() string
- func (o *SelfAccessReviewResponse) SubscriptionID() string
- type SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Action(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Allowed(value bool) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Build() (object *SelfAccessReviewResponse, err error)
- func (b *SelfAccessReviewResponseBuilder) ClusterID(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) ClusterUUID(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) Copy(object *SelfAccessReviewResponse) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) OrganizationID(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) ResourceType(value string) *SelfAccessReviewResponseBuilder
- func (b *SelfAccessReviewResponseBuilder) SubscriptionID(value string) *SelfAccessReviewResponseBuilder
- type SelfAccessReviewResponseList
- func (l *SelfAccessReviewResponseList) Each(f func(item *SelfAccessReviewResponse) bool)
- func (l *SelfAccessReviewResponseList) Empty() bool
- func (l *SelfAccessReviewResponseList) Get(i int) *SelfAccessReviewResponse
- func (l *SelfAccessReviewResponseList) Len() int
- func (l *SelfAccessReviewResponseList) Range(f func(index int, item *SelfAccessReviewResponse) bool)
- func (l *SelfAccessReviewResponseList) Slice() []*SelfAccessReviewResponse
- type SelfAccessReviewResponseListBuilder
- func (b *SelfAccessReviewResponseListBuilder) Build() (list *SelfAccessReviewResponseList, err error)
- func (b *SelfAccessReviewResponseListBuilder) Copy(list *SelfAccessReviewResponseList) *SelfAccessReviewResponseListBuilder
- func (b *SelfAccessReviewResponseListBuilder) Items(values ...*SelfAccessReviewResponseBuilder) *SelfAccessReviewResponseListBuilder
- type SelfAccessReviewServer
- type Server
Constants ¶
const AccessReviewRequestListKind = "AccessReviewRequestList"
AccessReviewRequestListKind is the name of the type used to represent list of objects of type 'access_review_request'.
const AccessReviewRequestListLinkKind = "AccessReviewRequestListLink"
AccessReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'access_review_request'.
const AccessReviewRequestListNilKind = "AccessReviewRequestListNil"
AccessReviewRequestNilKind is the name of the type used to nil lists of objects of type 'access_review_request'.
const AccessReviewResponseListKind = "AccessReviewResponseList"
AccessReviewResponseListKind is the name of the type used to represent list of objects of type 'access_review_response'.
const AccessReviewResponseListLinkKind = "AccessReviewResponseListLink"
AccessReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'access_review_response'.
const AccessReviewResponseListNilKind = "AccessReviewResponseListNil"
AccessReviewResponseNilKind is the name of the type used to nil lists of objects of type 'access_review_response'.
const ExportControlReviewRequestListKind = "ExportControlReviewRequestList"
ExportControlReviewRequestListKind is the name of the type used to represent list of objects of type 'export_control_review_request'.
const ExportControlReviewRequestListLinkKind = "ExportControlReviewRequestListLink"
ExportControlReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'export_control_review_request'.
const ExportControlReviewRequestListNilKind = "ExportControlReviewRequestListNil"
ExportControlReviewRequestNilKind is the name of the type used to nil lists of objects of type 'export_control_review_request'.
const ExportControlReviewResponseListKind = "ExportControlReviewResponseList"
ExportControlReviewResponseListKind is the name of the type used to represent list of objects of type 'export_control_review_response'.
const ExportControlReviewResponseListLinkKind = "ExportControlReviewResponseListLink"
ExportControlReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'export_control_review_response'.
const ExportControlReviewResponseListNilKind = "ExportControlReviewResponseListNil"
ExportControlReviewResponseNilKind is the name of the type used to nil lists of objects of type 'export_control_review_response'.
const ResourceReviewListKind = "ResourceReviewList"
ResourceReviewListKind is the name of the type used to represent list of objects of type 'resource_review'.
const ResourceReviewListLinkKind = "ResourceReviewListLink"
ResourceReviewListLinkKind is the name of the type used to represent links to list of objects of type 'resource_review'.
const ResourceReviewListNilKind = "ResourceReviewListNil"
ResourceReviewNilKind is the name of the type used to nil lists of objects of type 'resource_review'.
const ResourceReviewRequestListKind = "ResourceReviewRequestList"
ResourceReviewRequestListKind is the name of the type used to represent list of objects of type 'resource_review_request'.
const ResourceReviewRequestListLinkKind = "ResourceReviewRequestListLink"
ResourceReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'resource_review_request'.
const ResourceReviewRequestListNilKind = "ResourceReviewRequestListNil"
ResourceReviewRequestNilKind is the name of the type used to nil lists of objects of type 'resource_review_request'.
const SelfAccessReviewRequestListKind = "SelfAccessReviewRequestList"
SelfAccessReviewRequestListKind is the name of the type used to represent list of objects of type 'self_access_review_request'.
const SelfAccessReviewRequestListLinkKind = "SelfAccessReviewRequestListLink"
SelfAccessReviewRequestListLinkKind is the name of the type used to represent links to list of objects of type 'self_access_review_request'.
const SelfAccessReviewRequestListNilKind = "SelfAccessReviewRequestListNil"
SelfAccessReviewRequestNilKind is the name of the type used to nil lists of objects of type 'self_access_review_request'.
const SelfAccessReviewResponseListKind = "SelfAccessReviewResponseList"
SelfAccessReviewResponseListKind is the name of the type used to represent list of objects of type 'self_access_review_response'.
const SelfAccessReviewResponseListLinkKind = "SelfAccessReviewResponseListLink"
SelfAccessReviewResponseListLinkKind is the name of the type used to represent links to list of objects of type 'self_access_review_response'.
const SelfAccessReviewResponseListNilKind = "SelfAccessReviewResponseListNil"
SelfAccessReviewResponseNilKind is the name of the type used to nil lists of objects of type 'self_access_review_response'.
Variables ¶
var OpenAPI = []byte{}/* 14868 elements not displayed */
OpenAPI contains the OpenAPI specification of the service in JSON.
Functions ¶
func Dispatch ¶
Dispatch navigates the servers tree rooted at the given server till it finds one that matches the given set of path segments, and then invokes the corresponding server.
func MarshalAccessReviewRequest ¶
func MarshalAccessReviewRequest(object *AccessReviewRequest, writer io.Writer) error
MarshalAccessReviewRequest writes a value of the 'access_review_request' type to the given writer.
func MarshalAccessReviewRequestList ¶
func MarshalAccessReviewRequestList(list []*AccessReviewRequest, writer io.Writer) error
MarshalAccessReviewRequestList writes a list of values of the 'access_review_request' type to the given writer.
func MarshalAccessReviewResponse ¶
func MarshalAccessReviewResponse(object *AccessReviewResponse, writer io.Writer) error
MarshalAccessReviewResponse writes a value of the 'access_review_response' type to the given writer.
func MarshalAccessReviewResponseList ¶
func MarshalAccessReviewResponseList(list []*AccessReviewResponse, writer io.Writer) error
MarshalAccessReviewResponseList writes a list of values of the 'access_review_response' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalExportControlReviewRequest ¶
func MarshalExportControlReviewRequest(object *ExportControlReviewRequest, writer io.Writer) error
MarshalExportControlReviewRequest writes a value of the 'export_control_review_request' type to the given writer.
func MarshalExportControlReviewRequestList ¶
func MarshalExportControlReviewRequestList(list []*ExportControlReviewRequest, writer io.Writer) error
MarshalExportControlReviewRequestList writes a list of values of the 'export_control_review_request' type to the given writer.
func MarshalExportControlReviewResponse ¶
func MarshalExportControlReviewResponse(object *ExportControlReviewResponse, writer io.Writer) error
MarshalExportControlReviewResponse writes a value of the 'export_control_review_response' type to the given writer.
func MarshalExportControlReviewResponseList ¶
func MarshalExportControlReviewResponseList(list []*ExportControlReviewResponse, writer io.Writer) error
MarshalExportControlReviewResponseList writes a list of values of the 'export_control_review_response' type to the given writer.
func MarshalFloatList ¶
MarshalFloatList writes a list of values of the 'float' type to the given writer.
func MarshalIntegerList ¶
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalMetadata ¶
MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.
func MarshalResourceReview ¶
func MarshalResourceReview(object *ResourceReview, writer io.Writer) error
MarshalResourceReview writes a value of the 'resource_review' type to the given writer.
func MarshalResourceReviewList ¶
func MarshalResourceReviewList(list []*ResourceReview, writer io.Writer) error
MarshalResourceReviewList writes a list of values of the 'resource_review' type to the given writer.
func MarshalResourceReviewRequest ¶
func MarshalResourceReviewRequest(object *ResourceReviewRequest, writer io.Writer) error
MarshalResourceReviewRequest writes a value of the 'resource_review_request' type to the given writer.
func MarshalResourceReviewRequestList ¶
func MarshalResourceReviewRequestList(list []*ResourceReviewRequest, writer io.Writer) error
MarshalResourceReviewRequestList writes a list of values of the 'resource_review_request' type to the given writer.
func MarshalSelfAccessReviewRequest ¶
func MarshalSelfAccessReviewRequest(object *SelfAccessReviewRequest, writer io.Writer) error
MarshalSelfAccessReviewRequest writes a value of the 'self_access_review_request' type to the given writer.
func MarshalSelfAccessReviewRequestList ¶
func MarshalSelfAccessReviewRequestList(list []*SelfAccessReviewRequest, writer io.Writer) error
MarshalSelfAccessReviewRequestList writes a list of values of the 'self_access_review_request' type to the given writer.
func MarshalSelfAccessReviewResponse ¶
func MarshalSelfAccessReviewResponse(object *SelfAccessReviewResponse, writer io.Writer) error
MarshalSelfAccessReviewResponse writes a value of the 'self_access_review_response' type to the given writer.
func MarshalSelfAccessReviewResponseList ¶
func MarshalSelfAccessReviewResponseList(list []*SelfAccessReviewResponse, writer io.Writer) error
MarshalSelfAccessReviewResponseList writes a list of values of the 'self_access_review_response' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func 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.
func 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.
func 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.
func 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.
func 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.
func 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.
Types ¶
type AccessReviewClient ¶
type AccessReviewClient struct {
// contains filtered or unexported fields
}
AccessReviewClient is the client of the 'access_review' resource.
Manages access review.
func NewAccessReviewClient ¶
func NewAccessReviewClient(transport http.RoundTripper, path string, metric string) *AccessReviewClient
NewAccessReviewClient creates a new client for the 'access_review' resource using the given transport to send the requests and receive the responses.
func (*AccessReviewClient) Post ¶
func (c *AccessReviewClient) Post() *AccessReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's access to a resource
type AccessReviewPostRequest ¶
type AccessReviewPostRequest struct {
// contains filtered or unexported fields
}
AccessReviewPostRequest is the request for the 'post' method.
func (*AccessReviewPostRequest) Header ¶
func (r *AccessReviewPostRequest) Header(name string, value interface{}) *AccessReviewPostRequest
Header adds a request header.
func (*AccessReviewPostRequest) Parameter ¶
func (r *AccessReviewPostRequest) Parameter(name string, value interface{}) *AccessReviewPostRequest
Parameter adds a query parameter.
func (*AccessReviewPostRequest) Request ¶
func (r *AccessReviewPostRequest) Request(value *AccessReviewRequest) *AccessReviewPostRequest
Request sets the value of the 'request' parameter.
func (*AccessReviewPostRequest) Send ¶
func (r *AccessReviewPostRequest) Send() (result *AccessReviewPostResponse, 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 (*AccessReviewPostRequest) SendContext ¶
func (r *AccessReviewPostRequest) SendContext(ctx context.Context) (result *AccessReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccessReviewPostResponse ¶
type AccessReviewPostResponse struct {
// contains filtered or unexported fields
}
AccessReviewPostResponse is the response for the 'post' method.
func (*AccessReviewPostResponse) Error ¶
func (r *AccessReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*AccessReviewPostResponse) GetResponse ¶
func (r *AccessReviewPostResponse) GetResponse() (value *AccessReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*AccessReviewPostResponse) Header ¶
func (r *AccessReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*AccessReviewPostResponse) Response ¶
func (r *AccessReviewPostResponse) Response() *AccessReviewResponse
Response returns the value of the 'response' parameter.
func (*AccessReviewPostResponse) Status ¶
func (r *AccessReviewPostResponse) Status() int
Status returns the response status code.
type AccessReviewPostServerRequest ¶
type AccessReviewPostServerRequest struct {
// contains filtered or unexported fields
}
AccessReviewPostServerRequest is the request for the 'post' method.
func (*AccessReviewPostServerRequest) GetRequest ¶
func (r *AccessReviewPostServerRequest) GetRequest() (value *AccessReviewRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*AccessReviewPostServerRequest) Request ¶
func (r *AccessReviewPostServerRequest) Request() *AccessReviewRequest
Request returns the value of the 'request' parameter.
type AccessReviewPostServerResponse ¶
type AccessReviewPostServerResponse struct {
// contains filtered or unexported fields
}
AccessReviewPostServerResponse is the response for the 'post' method.
func (*AccessReviewPostServerResponse) Response ¶
func (r *AccessReviewPostServerResponse) Response(value *AccessReviewResponse) *AccessReviewPostServerResponse
Response sets the value of the 'response' parameter.
func (*AccessReviewPostServerResponse) Status ¶
func (r *AccessReviewPostServerResponse) Status(value int) *AccessReviewPostServerResponse
Status sets the status code.
type AccessReviewRequest ¶
type AccessReviewRequest struct {
// contains filtered or unexported fields
}
AccessReviewRequest represents the values of the 'access_review_request' type.
Representation of an access review
func UnmarshalAccessReviewRequest ¶
func UnmarshalAccessReviewRequest(source interface{}) (object *AccessReviewRequest, err error)
UnmarshalAccessReviewRequest reads a value of the 'access_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessReviewRequestList ¶
func UnmarshalAccessReviewRequestList(source interface{}) (items []*AccessReviewRequest, err error)
UnmarshalAccessReviewRequestList reads a list of values of the 'access_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessReviewRequest) AccountUsername ¶
func (o *AccessReviewRequest) 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.
Defines the username of the account of which access is being reviewed
func (*AccessReviewRequest) Action ¶
func (o *AccessReviewRequest) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewRequest) ClusterID ¶
func (o *AccessReviewRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewRequest) ClusterUUID ¶
func (o *AccessReviewRequest) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewRequest) Empty ¶
func (o *AccessReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessReviewRequest) GetAccountUsername ¶
func (o *AccessReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which access is being reviewed
func (*AccessReviewRequest) GetAction ¶
func (o *AccessReviewRequest) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewRequest) GetClusterID ¶
func (o *AccessReviewRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewRequest) GetClusterUUID ¶
func (o *AccessReviewRequest) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewRequest) GetOrganizationID ¶
func (o *AccessReviewRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewRequest) GetResourceType ¶
func (o *AccessReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewRequest) GetSubscriptionID ¶
func (o *AccessReviewRequest) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*AccessReviewRequest) OrganizationID ¶
func (o *AccessReviewRequest) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewRequest) ResourceType ¶
func (o *AccessReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewRequest) SubscriptionID ¶
func (o *AccessReviewRequest) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type AccessReviewRequestBuilder ¶
type AccessReviewRequestBuilder struct {
// contains filtered or unexported fields
}
AccessReviewRequestBuilder contains the data and logic needed to build 'access_review_request' objects.
Representation of an access review
func NewAccessReviewRequest ¶
func NewAccessReviewRequest() *AccessReviewRequestBuilder
NewAccessReviewRequest creates a new builder of 'access_review_request' objects.
func (*AccessReviewRequestBuilder) AccountUsername ¶
func (b *AccessReviewRequestBuilder) AccountUsername(value string) *AccessReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*AccessReviewRequestBuilder) Action ¶
func (b *AccessReviewRequestBuilder) Action(value string) *AccessReviewRequestBuilder
Action sets the value of the 'action' attribute to the given value.
func (*AccessReviewRequestBuilder) Build ¶
func (b *AccessReviewRequestBuilder) Build() (object *AccessReviewRequest, err error)
Build creates a 'access_review_request' object using the configuration stored in the builder.
func (*AccessReviewRequestBuilder) ClusterID ¶
func (b *AccessReviewRequestBuilder) ClusterID(value string) *AccessReviewRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*AccessReviewRequestBuilder) ClusterUUID ¶
func (b *AccessReviewRequestBuilder) ClusterUUID(value string) *AccessReviewRequestBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*AccessReviewRequestBuilder) Copy ¶
func (b *AccessReviewRequestBuilder) Copy(object *AccessReviewRequest) *AccessReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessReviewRequestBuilder) OrganizationID ¶
func (b *AccessReviewRequestBuilder) OrganizationID(value string) *AccessReviewRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*AccessReviewRequestBuilder) ResourceType ¶
func (b *AccessReviewRequestBuilder) ResourceType(value string) *AccessReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*AccessReviewRequestBuilder) SubscriptionID ¶
func (b *AccessReviewRequestBuilder) SubscriptionID(value string) *AccessReviewRequestBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type AccessReviewRequestList ¶
type AccessReviewRequestList struct {
// contains filtered or unexported fields
}
AccessReviewRequestList is a list of values of the 'access_review_request' type.
func (*AccessReviewRequestList) Each ¶
func (l *AccessReviewRequestList) Each(f func(item *AccessReviewRequest) 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 (*AccessReviewRequestList) Empty ¶
func (l *AccessReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*AccessReviewRequestList) Get ¶
func (l *AccessReviewRequestList) Get(i int) *AccessReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessReviewRequestList) Len ¶
func (l *AccessReviewRequestList) Len() int
Len returns the length of the list.
func (*AccessReviewRequestList) Range ¶
func (l *AccessReviewRequestList) Range(f func(index int, item *AccessReviewRequest) 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 (*AccessReviewRequestList) Slice ¶
func (l *AccessReviewRequestList) Slice() []*AccessReviewRequest
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 AccessReviewRequestListBuilder ¶
type AccessReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
AccessReviewRequestListBuilder contains the data and logic needed to build 'access_review_request' objects.
func NewAccessReviewRequestList ¶
func NewAccessReviewRequestList() *AccessReviewRequestListBuilder
NewAccessReviewRequestList creates a new builder of 'access_review_request' objects.
func (*AccessReviewRequestListBuilder) Build ¶
func (b *AccessReviewRequestListBuilder) Build() (list *AccessReviewRequestList, err error)
Build creates a list of 'access_review_request' objects using the configuration stored in the builder.
func (*AccessReviewRequestListBuilder) Copy ¶
func (b *AccessReviewRequestListBuilder) Copy(list *AccessReviewRequestList) *AccessReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessReviewRequestListBuilder) Items ¶
func (b *AccessReviewRequestListBuilder) Items(values ...*AccessReviewRequestBuilder) *AccessReviewRequestListBuilder
Items sets the items of the list.
type AccessReviewResponse ¶
type AccessReviewResponse struct {
// contains filtered or unexported fields
}
AccessReviewResponse represents the values of the 'access_review_response' type.
Representation of an access review response
func UnmarshalAccessReviewResponse ¶
func UnmarshalAccessReviewResponse(source interface{}) (object *AccessReviewResponse, err error)
UnmarshalAccessReviewResponse reads a value of the 'access_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessReviewResponseList ¶
func UnmarshalAccessReviewResponseList(source interface{}) (items []*AccessReviewResponse, err error)
UnmarshalAccessReviewResponseList reads a list of values of the 'access_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessReviewResponse) AccountUsername ¶
func (o *AccessReviewResponse) 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.
Defines the username of the account of which access is being reviewed
func (*AccessReviewResponse) Action ¶
func (o *AccessReviewResponse) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewResponse) Allowed ¶
func (o *AccessReviewResponse) Allowed() bool
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether the action on the specified resource type is allowed
func (*AccessReviewResponse) ClusterID ¶
func (o *AccessReviewResponse) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewResponse) ClusterUUID ¶
func (o *AccessReviewResponse) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewResponse) Empty ¶
func (o *AccessReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessReviewResponse) GetAccountUsername ¶
func (o *AccessReviewResponse) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Defines the username of the account of which access is being reviewed
func (*AccessReviewResponse) GetAction ¶
func (o *AccessReviewResponse) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*AccessReviewResponse) GetAllowed ¶
func (o *AccessReviewResponse) GetAllowed() (value bool, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Defines whether the action on the specified resource type is allowed
func (*AccessReviewResponse) GetClusterID ¶
func (o *AccessReviewResponse) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*AccessReviewResponse) GetClusterUUID ¶
func (o *AccessReviewResponse) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*AccessReviewResponse) GetOrganizationID ¶
func (o *AccessReviewResponse) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewResponse) GetResourceType ¶
func (o *AccessReviewResponse) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewResponse) GetSubscriptionID ¶
func (o *AccessReviewResponse) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*AccessReviewResponse) OrganizationID ¶
func (o *AccessReviewResponse) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*AccessReviewResponse) ResourceType ¶
func (o *AccessReviewResponse) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*AccessReviewResponse) SubscriptionID ¶
func (o *AccessReviewResponse) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type AccessReviewResponseBuilder ¶
type AccessReviewResponseBuilder struct {
// contains filtered or unexported fields
}
AccessReviewResponseBuilder contains the data and logic needed to build 'access_review_response' objects.
Representation of an access review response
func NewAccessReviewResponse ¶
func NewAccessReviewResponse() *AccessReviewResponseBuilder
NewAccessReviewResponse creates a new builder of 'access_review_response' objects.
func (*AccessReviewResponseBuilder) AccountUsername ¶
func (b *AccessReviewResponseBuilder) AccountUsername(value string) *AccessReviewResponseBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*AccessReviewResponseBuilder) Action ¶
func (b *AccessReviewResponseBuilder) Action(value string) *AccessReviewResponseBuilder
Action sets the value of the 'action' attribute to the given value.
func (*AccessReviewResponseBuilder) Allowed ¶
func (b *AccessReviewResponseBuilder) Allowed(value bool) *AccessReviewResponseBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*AccessReviewResponseBuilder) Build ¶
func (b *AccessReviewResponseBuilder) Build() (object *AccessReviewResponse, err error)
Build creates a 'access_review_response' object using the configuration stored in the builder.
func (*AccessReviewResponseBuilder) ClusterID ¶
func (b *AccessReviewResponseBuilder) ClusterID(value string) *AccessReviewResponseBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*AccessReviewResponseBuilder) ClusterUUID ¶
func (b *AccessReviewResponseBuilder) ClusterUUID(value string) *AccessReviewResponseBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*AccessReviewResponseBuilder) Copy ¶
func (b *AccessReviewResponseBuilder) Copy(object *AccessReviewResponse) *AccessReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessReviewResponseBuilder) OrganizationID ¶
func (b *AccessReviewResponseBuilder) OrganizationID(value string) *AccessReviewResponseBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*AccessReviewResponseBuilder) ResourceType ¶
func (b *AccessReviewResponseBuilder) ResourceType(value string) *AccessReviewResponseBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*AccessReviewResponseBuilder) SubscriptionID ¶
func (b *AccessReviewResponseBuilder) SubscriptionID(value string) *AccessReviewResponseBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type AccessReviewResponseList ¶
type AccessReviewResponseList struct {
// contains filtered or unexported fields
}
AccessReviewResponseList is a list of values of the 'access_review_response' type.
func (*AccessReviewResponseList) Each ¶
func (l *AccessReviewResponseList) Each(f func(item *AccessReviewResponse) 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 (*AccessReviewResponseList) Empty ¶
func (l *AccessReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*AccessReviewResponseList) Get ¶
func (l *AccessReviewResponseList) Get(i int) *AccessReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessReviewResponseList) Len ¶
func (l *AccessReviewResponseList) Len() int
Len returns the length of the list.
func (*AccessReviewResponseList) Range ¶
func (l *AccessReviewResponseList) Range(f func(index int, item *AccessReviewResponse) 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 (*AccessReviewResponseList) Slice ¶
func (l *AccessReviewResponseList) Slice() []*AccessReviewResponse
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 AccessReviewResponseListBuilder ¶
type AccessReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
AccessReviewResponseListBuilder contains the data and logic needed to build 'access_review_response' objects.
func NewAccessReviewResponseList ¶
func NewAccessReviewResponseList() *AccessReviewResponseListBuilder
NewAccessReviewResponseList creates a new builder of 'access_review_response' objects.
func (*AccessReviewResponseListBuilder) Build ¶
func (b *AccessReviewResponseListBuilder) Build() (list *AccessReviewResponseList, err error)
Build creates a list of 'access_review_response' objects using the configuration stored in the builder.
func (*AccessReviewResponseListBuilder) Copy ¶
func (b *AccessReviewResponseListBuilder) Copy(list *AccessReviewResponseList) *AccessReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessReviewResponseListBuilder) Items ¶
func (b *AccessReviewResponseListBuilder) Items(values ...*AccessReviewResponseBuilder) *AccessReviewResponseListBuilder
Items sets the items of the list.
type AccessReviewServer ¶
type AccessReviewServer interface { // Post handles a request for the 'post' method. // // Reviews a user's access to a resource Post(ctx context.Context, request *AccessReviewPostServerRequest, response *AccessReviewPostServerResponse) error }
AccessReviewServer represents the interface the manages the 'access_review' resource.
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 authorization service.
func NewClient ¶
func NewClient(transport http.RoundTripper, path string, metric 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) AccessReview ¶
func (c *Client) AccessReview() *AccessReviewClient
AccessReview returns the target 'access_review' resource.
Reference to the resource that is used to submit access review requests.
func (*Client) ExportControlReview ¶
func (c *Client) ExportControlReview() *ExportControlReviewClient
ExportControlReview returns the target 'export_control_review' resource.
Reference to the resource that is used to submit export control review requests.
func (*Client) Get ¶
func (c *Client) Get() *MetadataRequest
Creates a new request for the method that retrieves the metadata.
func (*Client) ResourceReview ¶
func (c *Client) ResourceReview() *ResourceReviewClient
ResourceReview returns the target 'resource_review' resource.
Reference to the resource that is used to submit resource review requests.
func (*Client) SelfAccessReview ¶
func (c *Client) SelfAccessReview() *SelfAccessReviewClient
SelfAccessReview returns the target 'self_access_review' resource.
Reference to the resource that is used to submit self access review requests.
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 send 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) Status ¶
func (r *ExportControlReviewPostServerResponse) Status(value int) *ExportControlReviewPostServerResponse
Status sets the status code.
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 or a reader.
func UnmarshalExportControlReviewRequestList ¶
func UnmarshalExportControlReviewRequestList(source interface{}) (items []*ExportControlReviewRequest, err error)
UnmarshalExportControlReviewRequestList reads a list of values of the 'export_control_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
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 (*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) Copy ¶
func (b *ExportControlReviewRequestListBuilder) Copy(list *ExportControlReviewRequestList) *ExportControlReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
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 or a reader.
func UnmarshalExportControlReviewResponseList ¶
func UnmarshalExportControlReviewResponseList(source interface{}) (items []*ExportControlReviewResponse, err error)
UnmarshalExportControlReviewResponseList reads a list of values of the 'export_control_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
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 (*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) Copy ¶
func (b *ExportControlReviewResponseListBuilder) Copy(list *ExportControlReviewResponseList) *ExportControlReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
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 Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata contains the version metadata.
func 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.
func (*Metadata) GetServerVersion ¶
GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.
func (*Metadata) ServerVersion ¶
ServerVersion returns the version of the server.
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.
type ResourceReview ¶
type ResourceReview struct {
// contains filtered or unexported fields
}
ResourceReview represents the values of the 'resource_review' type.
Contains the result of performing a resource access review.
func UnmarshalResourceReview ¶
func UnmarshalResourceReview(source interface{}) (object *ResourceReview, err error)
UnmarshalResourceReview reads a value of the 'resource_review' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceReviewList ¶
func UnmarshalResourceReviewList(source interface{}) (items []*ResourceReview, err error)
UnmarshalResourceReviewList reads a list of values of the 'resource_review' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ResourceReview) AccountUsername ¶
func (o *ResourceReview) 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.
Name of the account that is trying to perform the access.
func (*ResourceReview) Action ¶
func (o *ResourceReview) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Action that will the user is trying to perform.
func (*ResourceReview) ClusterIDs ¶
func (o *ResourceReview) ClusterIDs() []string
ClusterIDs returns the value of the 'cluster_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers of the Clusters (internal ids) that the user has permission to perform the action upon.
func (*ResourceReview) ClusterUUIDs ¶
func (o *ResourceReview) ClusterUUIDs() []string
ClusterUUIDs returns the value of the 'cluster_UUIDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers which Clusters (external ids) that the user has permission to perform the action upon.
func (*ResourceReview) Empty ¶
func (o *ResourceReview) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ResourceReview) GetAccountUsername ¶
func (o *ResourceReview) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Name of the account that is trying to perform the access.
func (*ResourceReview) GetAction ¶
func (o *ResourceReview) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Action that will the user is trying to perform.
func (*ResourceReview) GetClusterIDs ¶
func (o *ResourceReview) GetClusterIDs() (value []string, ok bool)
GetClusterIDs returns the value of the 'cluster_IDs' attribute and a flag indicating if the attribute has a value.
Identifiers of the Clusters (internal ids) that the user has permission to perform the action upon.
func (*ResourceReview) GetClusterUUIDs ¶
func (o *ResourceReview) GetClusterUUIDs() (value []string, ok bool)
GetClusterUUIDs returns the value of the 'cluster_UUIDs' attribute and a flag indicating if the attribute has a value.
Identifiers which Clusters (external ids) that the user has permission to perform the action upon.
func (*ResourceReview) GetOrganizationIDs ¶
func (o *ResourceReview) GetOrganizationIDs() (value []string, ok bool)
GetOrganizationIDs returns the value of the 'organization_IDs' attribute and a flag indicating if the attribute has a value.
Identifiers of the organizations that the user has permissions to perform the action upon.
func (*ResourceReview) GetResourceType ¶
func (o *ResourceReview) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Type of resource.
func (*ResourceReview) GetSubscriptionIDs ¶
func (o *ResourceReview) GetSubscriptionIDs() (value []string, ok bool)
GetSubscriptionIDs returns the value of the 'subscription_IDs' attribute and a flag indicating if the attribute has a value.
Identifiers of the subscriptions that the user has permission to perform the action upon.
func (*ResourceReview) OrganizationIDs ¶
func (o *ResourceReview) OrganizationIDs() []string
OrganizationIDs returns the value of the 'organization_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers of the organizations that the user has permissions to perform the action upon.
func (*ResourceReview) ResourceType ¶
func (o *ResourceReview) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of resource.
func (*ResourceReview) SubscriptionIDs ¶
func (o *ResourceReview) SubscriptionIDs() []string
SubscriptionIDs returns the value of the 'subscription_IDs' attribute, or the zero value of the type if the attribute doesn't have a value.
Identifiers of the subscriptions that the user has permission to perform the action upon.
type ResourceReviewBuilder ¶
type ResourceReviewBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewBuilder contains the data and logic needed to build 'resource_review' objects.
Contains the result of performing a resource access review.
func NewResourceReview ¶
func NewResourceReview() *ResourceReviewBuilder
NewResourceReview creates a new builder of 'resource_review' objects.
func (*ResourceReviewBuilder) AccountUsername ¶
func (b *ResourceReviewBuilder) AccountUsername(value string) *ResourceReviewBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ResourceReviewBuilder) Action ¶
func (b *ResourceReviewBuilder) Action(value string) *ResourceReviewBuilder
Action sets the value of the 'action' attribute to the given value.
func (*ResourceReviewBuilder) Build ¶
func (b *ResourceReviewBuilder) Build() (object *ResourceReview, err error)
Build creates a 'resource_review' object using the configuration stored in the builder.
func (*ResourceReviewBuilder) ClusterIDs ¶
func (b *ResourceReviewBuilder) ClusterIDs(values ...string) *ResourceReviewBuilder
ClusterIDs sets the value of the 'cluster_IDs' attribute to the given values.
func (*ResourceReviewBuilder) ClusterUUIDs ¶
func (b *ResourceReviewBuilder) ClusterUUIDs(values ...string) *ResourceReviewBuilder
ClusterUUIDs sets the value of the 'cluster_UUIDs' attribute to the given values.
func (*ResourceReviewBuilder) Copy ¶
func (b *ResourceReviewBuilder) Copy(object *ResourceReview) *ResourceReviewBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceReviewBuilder) OrganizationIDs ¶
func (b *ResourceReviewBuilder) OrganizationIDs(values ...string) *ResourceReviewBuilder
OrganizationIDs sets the value of the 'organization_IDs' attribute to the given values.
func (*ResourceReviewBuilder) ResourceType ¶
func (b *ResourceReviewBuilder) ResourceType(value string) *ResourceReviewBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*ResourceReviewBuilder) SubscriptionIDs ¶
func (b *ResourceReviewBuilder) SubscriptionIDs(values ...string) *ResourceReviewBuilder
SubscriptionIDs sets the value of the 'subscription_IDs' attribute to the given values.
type ResourceReviewClient ¶
type ResourceReviewClient struct {
// contains filtered or unexported fields
}
ResourceReviewClient is the client of the 'resource_review' resource.
Manages resource review.
func NewResourceReviewClient ¶
func NewResourceReviewClient(transport http.RoundTripper, path string, metric string) *ResourceReviewClient
NewResourceReviewClient creates a new client for the 'resource_review' resource using the given transport to send the requests and receive the responses.
func (*ResourceReviewClient) Post ¶
func (c *ResourceReviewClient) Post() *ResourceReviewPostRequest
Post creates a request for the 'post' method.
Returns the list of identifiers of the resources that an account can perform the specified action upon.
type ResourceReviewList ¶
type ResourceReviewList struct {
// contains filtered or unexported fields
}
ResourceReviewList is a list of values of the 'resource_review' type.
func (*ResourceReviewList) Each ¶
func (l *ResourceReviewList) Each(f func(item *ResourceReview) 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 (*ResourceReviewList) Empty ¶
func (l *ResourceReviewList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceReviewList) Get ¶
func (l *ResourceReviewList) Get(i int) *ResourceReview
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceReviewList) Len ¶
func (l *ResourceReviewList) Len() int
Len returns the length of the list.
func (*ResourceReviewList) Range ¶
func (l *ResourceReviewList) Range(f func(index int, item *ResourceReview) 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 (*ResourceReviewList) Slice ¶
func (l *ResourceReviewList) Slice() []*ResourceReview
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 ResourceReviewListBuilder ¶
type ResourceReviewListBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewListBuilder contains the data and logic needed to build 'resource_review' objects.
func NewResourceReviewList ¶
func NewResourceReviewList() *ResourceReviewListBuilder
NewResourceReviewList creates a new builder of 'resource_review' objects.
func (*ResourceReviewListBuilder) Build ¶
func (b *ResourceReviewListBuilder) Build() (list *ResourceReviewList, err error)
Build creates a list of 'resource_review' objects using the configuration stored in the builder.
func (*ResourceReviewListBuilder) Copy ¶
func (b *ResourceReviewListBuilder) Copy(list *ResourceReviewList) *ResourceReviewListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceReviewListBuilder) Items ¶
func (b *ResourceReviewListBuilder) Items(values ...*ResourceReviewBuilder) *ResourceReviewListBuilder
Items sets the items of the list.
type ResourceReviewPostRequest ¶
type ResourceReviewPostRequest struct {
// contains filtered or unexported fields
}
ResourceReviewPostRequest is the request for the 'post' method.
func (*ResourceReviewPostRequest) Header ¶
func (r *ResourceReviewPostRequest) Header(name string, value interface{}) *ResourceReviewPostRequest
Header adds a request header.
func (*ResourceReviewPostRequest) Parameter ¶
func (r *ResourceReviewPostRequest) Parameter(name string, value interface{}) *ResourceReviewPostRequest
Parameter adds a query parameter.
func (*ResourceReviewPostRequest) Request ¶
func (r *ResourceReviewPostRequest) Request(value *ResourceReviewRequest) *ResourceReviewPostRequest
Request sets the value of the 'request' parameter.
func (*ResourceReviewPostRequest) Send ¶
func (r *ResourceReviewPostRequest) Send() (result *ResourceReviewPostResponse, 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 (*ResourceReviewPostRequest) SendContext ¶
func (r *ResourceReviewPostRequest) SendContext(ctx context.Context) (result *ResourceReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ResourceReviewPostResponse ¶
type ResourceReviewPostResponse struct {
// contains filtered or unexported fields
}
ResourceReviewPostResponse is the response for the 'post' method.
func (*ResourceReviewPostResponse) Error ¶
func (r *ResourceReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceReviewPostResponse) GetReview ¶
func (r *ResourceReviewPostResponse) GetReview() (value *ResourceReview, ok bool)
GetReview returns the value of the 'review' parameter and a flag indicating if the parameter has a value.
func (*ResourceReviewPostResponse) Header ¶
func (r *ResourceReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*ResourceReviewPostResponse) Review ¶
func (r *ResourceReviewPostResponse) Review() *ResourceReview
Review returns the value of the 'review' parameter.
func (*ResourceReviewPostResponse) Status ¶
func (r *ResourceReviewPostResponse) Status() int
Status returns the response status code.
type ResourceReviewPostServerRequest ¶
type ResourceReviewPostServerRequest struct {
// contains filtered or unexported fields
}
ResourceReviewPostServerRequest is the request for the 'post' method.
func (*ResourceReviewPostServerRequest) GetRequest ¶
func (r *ResourceReviewPostServerRequest) GetRequest() (value *ResourceReviewRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*ResourceReviewPostServerRequest) Request ¶
func (r *ResourceReviewPostServerRequest) Request() *ResourceReviewRequest
Request returns the value of the 'request' parameter.
type ResourceReviewPostServerResponse ¶
type ResourceReviewPostServerResponse struct {
// contains filtered or unexported fields
}
ResourceReviewPostServerResponse is the response for the 'post' method.
func (*ResourceReviewPostServerResponse) Review ¶
func (r *ResourceReviewPostServerResponse) Review(value *ResourceReview) *ResourceReviewPostServerResponse
Review sets the value of the 'review' parameter.
func (*ResourceReviewPostServerResponse) Status ¶
func (r *ResourceReviewPostServerResponse) Status(value int) *ResourceReviewPostServerResponse
Status sets the status code.
type ResourceReviewRequest ¶
type ResourceReviewRequest struct {
// contains filtered or unexported fields
}
ResourceReviewRequest represents the values of the 'resource_review_request' type.
Request to perform a resource access review.
func UnmarshalResourceReviewRequest ¶
func UnmarshalResourceReviewRequest(source interface{}) (object *ResourceReviewRequest, err error)
UnmarshalResourceReviewRequest reads a value of the 'resource_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceReviewRequestList ¶
func UnmarshalResourceReviewRequestList(source interface{}) (items []*ResourceReviewRequest, err error)
UnmarshalResourceReviewRequestList reads a list of values of the 'resource_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ResourceReviewRequest) AccountUsername ¶
func (o *ResourceReviewRequest) 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.
Name of the account that is trying to access the resource.
func (*ResourceReviewRequest) Action ¶
func (o *ResourceReviewRequest) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Action that will be performed on the resource.
func (*ResourceReviewRequest) Empty ¶
func (o *ResourceReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ResourceReviewRequest) GetAccountUsername ¶
func (o *ResourceReviewRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
Name of the account that is trying to access the resource.
func (*ResourceReviewRequest) GetAction ¶
func (o *ResourceReviewRequest) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Action that will be performed on the resource.
func (*ResourceReviewRequest) GetResourceType ¶
func (o *ResourceReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Type of resource.
func (*ResourceReviewRequest) ResourceType ¶
func (o *ResourceReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of resource.
type ResourceReviewRequestBuilder ¶
type ResourceReviewRequestBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewRequestBuilder contains the data and logic needed to build 'resource_review_request' objects.
Request to perform a resource access review.
func NewResourceReviewRequest ¶
func NewResourceReviewRequest() *ResourceReviewRequestBuilder
NewResourceReviewRequest creates a new builder of 'resource_review_request' objects.
func (*ResourceReviewRequestBuilder) AccountUsername ¶
func (b *ResourceReviewRequestBuilder) AccountUsername(value string) *ResourceReviewRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ResourceReviewRequestBuilder) Action ¶
func (b *ResourceReviewRequestBuilder) Action(value string) *ResourceReviewRequestBuilder
Action sets the value of the 'action' attribute to the given value.
func (*ResourceReviewRequestBuilder) Build ¶
func (b *ResourceReviewRequestBuilder) Build() (object *ResourceReviewRequest, err error)
Build creates a 'resource_review_request' object using the configuration stored in the builder.
func (*ResourceReviewRequestBuilder) Copy ¶
func (b *ResourceReviewRequestBuilder) Copy(object *ResourceReviewRequest) *ResourceReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceReviewRequestBuilder) ResourceType ¶
func (b *ResourceReviewRequestBuilder) ResourceType(value string) *ResourceReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
type ResourceReviewRequestList ¶
type ResourceReviewRequestList struct {
// contains filtered or unexported fields
}
ResourceReviewRequestList is a list of values of the 'resource_review_request' type.
func (*ResourceReviewRequestList) Each ¶
func (l *ResourceReviewRequestList) Each(f func(item *ResourceReviewRequest) 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 (*ResourceReviewRequestList) Empty ¶
func (l *ResourceReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceReviewRequestList) Get ¶
func (l *ResourceReviewRequestList) Get(i int) *ResourceReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceReviewRequestList) Len ¶
func (l *ResourceReviewRequestList) Len() int
Len returns the length of the list.
func (*ResourceReviewRequestList) Range ¶
func (l *ResourceReviewRequestList) Range(f func(index int, item *ResourceReviewRequest) 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 (*ResourceReviewRequestList) Slice ¶
func (l *ResourceReviewRequestList) Slice() []*ResourceReviewRequest
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 ResourceReviewRequestListBuilder ¶
type ResourceReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
ResourceReviewRequestListBuilder contains the data and logic needed to build 'resource_review_request' objects.
func NewResourceReviewRequestList ¶
func NewResourceReviewRequestList() *ResourceReviewRequestListBuilder
NewResourceReviewRequestList creates a new builder of 'resource_review_request' objects.
func (*ResourceReviewRequestListBuilder) Build ¶
func (b *ResourceReviewRequestListBuilder) Build() (list *ResourceReviewRequestList, err error)
Build creates a list of 'resource_review_request' objects using the configuration stored in the builder.
func (*ResourceReviewRequestListBuilder) Copy ¶
func (b *ResourceReviewRequestListBuilder) Copy(list *ResourceReviewRequestList) *ResourceReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceReviewRequestListBuilder) Items ¶
func (b *ResourceReviewRequestListBuilder) Items(values ...*ResourceReviewRequestBuilder) *ResourceReviewRequestListBuilder
Items sets the items of the list.
type ResourceReviewServer ¶
type ResourceReviewServer interface { // Post handles a request for the 'post' method. // // Returns the list of identifiers of the resources that an account can // perform the specified action upon. Post(ctx context.Context, request *ResourceReviewPostServerRequest, response *ResourceReviewPostServerResponse) error }
ResourceReviewServer represents the interface the manages the 'resource_review' resource.
type SelfAccessReviewClient ¶
type SelfAccessReviewClient struct {
// contains filtered or unexported fields
}
SelfAccessReviewClient is the client of the 'self_access_review' resource.
Manages access review.
func NewSelfAccessReviewClient ¶
func NewSelfAccessReviewClient(transport http.RoundTripper, path string, metric string) *SelfAccessReviewClient
NewSelfAccessReviewClient creates a new client for the 'self_access_review' resource using the given transport to send the requests and receive the responses.
func (*SelfAccessReviewClient) Post ¶
func (c *SelfAccessReviewClient) Post() *SelfAccessReviewPostRequest
Post creates a request for the 'post' method.
Reviews a user's access to a resource
type SelfAccessReviewPostRequest ¶
type SelfAccessReviewPostRequest struct {
// contains filtered or unexported fields
}
SelfAccessReviewPostRequest is the request for the 'post' method.
func (*SelfAccessReviewPostRequest) Header ¶
func (r *SelfAccessReviewPostRequest) Header(name string, value interface{}) *SelfAccessReviewPostRequest
Header adds a request header.
func (*SelfAccessReviewPostRequest) Parameter ¶
func (r *SelfAccessReviewPostRequest) Parameter(name string, value interface{}) *SelfAccessReviewPostRequest
Parameter adds a query parameter.
func (*SelfAccessReviewPostRequest) Request ¶
func (r *SelfAccessReviewPostRequest) Request(value *SelfAccessReviewRequest) *SelfAccessReviewPostRequest
Request sets the value of the 'request' parameter.
func (*SelfAccessReviewPostRequest) Send ¶
func (r *SelfAccessReviewPostRequest) Send() (result *SelfAccessReviewPostResponse, 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 (*SelfAccessReviewPostRequest) SendContext ¶
func (r *SelfAccessReviewPostRequest) SendContext(ctx context.Context) (result *SelfAccessReviewPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SelfAccessReviewPostResponse ¶
type SelfAccessReviewPostResponse struct {
// contains filtered or unexported fields
}
SelfAccessReviewPostResponse is the response for the 'post' method.
func (*SelfAccessReviewPostResponse) Error ¶
func (r *SelfAccessReviewPostResponse) Error() *errors.Error
Error returns the response error.
func (*SelfAccessReviewPostResponse) GetResponse ¶
func (r *SelfAccessReviewPostResponse) GetResponse() (value *SelfAccessReviewResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*SelfAccessReviewPostResponse) Header ¶
func (r *SelfAccessReviewPostResponse) Header() http.Header
Header returns header of the response.
func (*SelfAccessReviewPostResponse) Response ¶
func (r *SelfAccessReviewPostResponse) Response() *SelfAccessReviewResponse
Response returns the value of the 'response' parameter.
func (*SelfAccessReviewPostResponse) Status ¶
func (r *SelfAccessReviewPostResponse) Status() int
Status returns the response status code.
type SelfAccessReviewPostServerRequest ¶
type SelfAccessReviewPostServerRequest struct {
// contains filtered or unexported fields
}
SelfAccessReviewPostServerRequest is the request for the 'post' method.
func (*SelfAccessReviewPostServerRequest) GetRequest ¶
func (r *SelfAccessReviewPostServerRequest) GetRequest() (value *SelfAccessReviewRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*SelfAccessReviewPostServerRequest) Request ¶
func (r *SelfAccessReviewPostServerRequest) Request() *SelfAccessReviewRequest
Request returns the value of the 'request' parameter.
type SelfAccessReviewPostServerResponse ¶
type SelfAccessReviewPostServerResponse struct {
// contains filtered or unexported fields
}
SelfAccessReviewPostServerResponse is the response for the 'post' method.
func (*SelfAccessReviewPostServerResponse) Response ¶
func (r *SelfAccessReviewPostServerResponse) Response(value *SelfAccessReviewResponse) *SelfAccessReviewPostServerResponse
Response sets the value of the 'response' parameter.
func (*SelfAccessReviewPostServerResponse) Status ¶
func (r *SelfAccessReviewPostServerResponse) Status(value int) *SelfAccessReviewPostServerResponse
Status sets the status code.
type SelfAccessReviewRequest ¶
type SelfAccessReviewRequest struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequest represents the values of the 'self_access_review_request' type.
Representation of an access review performed against oneself
func UnmarshalSelfAccessReviewRequest ¶
func UnmarshalSelfAccessReviewRequest(source interface{}) (object *SelfAccessReviewRequest, err error)
UnmarshalSelfAccessReviewRequest reads a value of the 'self_access_review_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfAccessReviewRequestList ¶
func UnmarshalSelfAccessReviewRequestList(source interface{}) (items []*SelfAccessReviewRequest, err error)
UnmarshalSelfAccessReviewRequestList reads a list of values of the 'self_access_review_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfAccessReviewRequest) Action ¶
func (o *SelfAccessReviewRequest) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewRequest) ClusterID ¶
func (o *SelfAccessReviewRequest) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewRequest) ClusterUUID ¶
func (o *SelfAccessReviewRequest) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewRequest) Empty ¶
func (o *SelfAccessReviewRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfAccessReviewRequest) GetAction ¶
func (o *SelfAccessReviewRequest) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewRequest) GetClusterID ¶
func (o *SelfAccessReviewRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewRequest) GetClusterUUID ¶
func (o *SelfAccessReviewRequest) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewRequest) GetOrganizationID ¶
func (o *SelfAccessReviewRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewRequest) GetResourceType ¶
func (o *SelfAccessReviewRequest) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewRequest) GetSubscriptionID ¶
func (o *SelfAccessReviewRequest) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*SelfAccessReviewRequest) OrganizationID ¶
func (o *SelfAccessReviewRequest) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewRequest) ResourceType ¶
func (o *SelfAccessReviewRequest) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewRequest) SubscriptionID ¶
func (o *SelfAccessReviewRequest) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type SelfAccessReviewRequestBuilder ¶
type SelfAccessReviewRequestBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequestBuilder contains the data and logic needed to build 'self_access_review_request' objects.
Representation of an access review performed against oneself
func NewSelfAccessReviewRequest ¶
func NewSelfAccessReviewRequest() *SelfAccessReviewRequestBuilder
NewSelfAccessReviewRequest creates a new builder of 'self_access_review_request' objects.
func (*SelfAccessReviewRequestBuilder) Action ¶
func (b *SelfAccessReviewRequestBuilder) Action(value string) *SelfAccessReviewRequestBuilder
Action sets the value of the 'action' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) Build ¶
func (b *SelfAccessReviewRequestBuilder) Build() (object *SelfAccessReviewRequest, err error)
Build creates a 'self_access_review_request' object using the configuration stored in the builder.
func (*SelfAccessReviewRequestBuilder) ClusterID ¶
func (b *SelfAccessReviewRequestBuilder) ClusterID(value string) *SelfAccessReviewRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) ClusterUUID ¶
func (b *SelfAccessReviewRequestBuilder) ClusterUUID(value string) *SelfAccessReviewRequestBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) Copy ¶
func (b *SelfAccessReviewRequestBuilder) Copy(object *SelfAccessReviewRequest) *SelfAccessReviewRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfAccessReviewRequestBuilder) OrganizationID ¶
func (b *SelfAccessReviewRequestBuilder) OrganizationID(value string) *SelfAccessReviewRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) ResourceType ¶
func (b *SelfAccessReviewRequestBuilder) ResourceType(value string) *SelfAccessReviewRequestBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*SelfAccessReviewRequestBuilder) SubscriptionID ¶
func (b *SelfAccessReviewRequestBuilder) SubscriptionID(value string) *SelfAccessReviewRequestBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type SelfAccessReviewRequestList ¶
type SelfAccessReviewRequestList struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequestList is a list of values of the 'self_access_review_request' type.
func (*SelfAccessReviewRequestList) Each ¶
func (l *SelfAccessReviewRequestList) Each(f func(item *SelfAccessReviewRequest) 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 (*SelfAccessReviewRequestList) Empty ¶
func (l *SelfAccessReviewRequestList) Empty() bool
Empty returns true if the list is empty.
func (*SelfAccessReviewRequestList) Get ¶
func (l *SelfAccessReviewRequestList) Get(i int) *SelfAccessReviewRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfAccessReviewRequestList) Len ¶
func (l *SelfAccessReviewRequestList) Len() int
Len returns the length of the list.
func (*SelfAccessReviewRequestList) Range ¶
func (l *SelfAccessReviewRequestList) Range(f func(index int, item *SelfAccessReviewRequest) 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 (*SelfAccessReviewRequestList) Slice ¶
func (l *SelfAccessReviewRequestList) Slice() []*SelfAccessReviewRequest
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 SelfAccessReviewRequestListBuilder ¶
type SelfAccessReviewRequestListBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewRequestListBuilder contains the data and logic needed to build 'self_access_review_request' objects.
func NewSelfAccessReviewRequestList ¶
func NewSelfAccessReviewRequestList() *SelfAccessReviewRequestListBuilder
NewSelfAccessReviewRequestList creates a new builder of 'self_access_review_request' objects.
func (*SelfAccessReviewRequestListBuilder) Build ¶
func (b *SelfAccessReviewRequestListBuilder) Build() (list *SelfAccessReviewRequestList, err error)
Build creates a list of 'self_access_review_request' objects using the configuration stored in the builder.
func (*SelfAccessReviewRequestListBuilder) Copy ¶
func (b *SelfAccessReviewRequestListBuilder) Copy(list *SelfAccessReviewRequestList) *SelfAccessReviewRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfAccessReviewRequestListBuilder) Items ¶
func (b *SelfAccessReviewRequestListBuilder) Items(values ...*SelfAccessReviewRequestBuilder) *SelfAccessReviewRequestListBuilder
Items sets the items of the list.
type SelfAccessReviewResponse ¶
type SelfAccessReviewResponse struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponse represents the values of the 'self_access_review_response' type.
Representation of an access review response, performed against oneself
func UnmarshalSelfAccessReviewResponse ¶
func UnmarshalSelfAccessReviewResponse(source interface{}) (object *SelfAccessReviewResponse, err error)
UnmarshalSelfAccessReviewResponse reads a value of the 'self_access_review_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSelfAccessReviewResponseList ¶
func UnmarshalSelfAccessReviewResponseList(source interface{}) (items []*SelfAccessReviewResponse, err error)
UnmarshalSelfAccessReviewResponseList reads a list of values of the 'self_access_review_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SelfAccessReviewResponse) Action ¶
func (o *SelfAccessReviewResponse) Action() string
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewResponse) Allowed ¶
func (o *SelfAccessReviewResponse) Allowed() bool
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Defines whether the action on the specified resource type is allowed
func (*SelfAccessReviewResponse) ClusterID ¶
func (o *SelfAccessReviewResponse) ClusterID() string
ClusterID returns the value of the 'cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewResponse) ClusterUUID ¶
func (o *SelfAccessReviewResponse) ClusterUUID() string
ClusterUUID returns the value of the 'cluster_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewResponse) Empty ¶
func (o *SelfAccessReviewResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SelfAccessReviewResponse) GetAction ¶
func (o *SelfAccessReviewResponse) GetAction() (value string, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
Indicates the action, one of: [get,list,create,delete,update]
func (*SelfAccessReviewResponse) GetAllowed ¶
func (o *SelfAccessReviewResponse) GetAllowed() (value bool, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Defines whether the action on the specified resource type is allowed
func (*SelfAccessReviewResponse) GetClusterID ¶
func (o *SelfAccessReviewResponse) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (internal id) the resource type belongs to
func (*SelfAccessReviewResponse) GetClusterUUID ¶
func (o *SelfAccessReviewResponse) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
Indicates which Cluster (external id) the resource type belongs to
func (*SelfAccessReviewResponse) GetOrganizationID ¶
func (o *SelfAccessReviewResponse) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewResponse) GetResourceType ¶
func (o *SelfAccessReviewResponse) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewResponse) GetSubscriptionID ¶
func (o *SelfAccessReviewResponse) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
Indicates which Subscription the resource type belongs to
func (*SelfAccessReviewResponse) OrganizationID ¶
func (o *SelfAccessReviewResponse) OrganizationID() string
OrganizationID returns the value of the 'organization_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Organization the resource type belongs to
func (*SelfAccessReviewResponse) ResourceType ¶
func (o *SelfAccessReviewResponse) ResourceType() string
ResourceType returns the value of the 'resource_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates the type of the resource an action would be taken on. See uhc-account-manager/openapi/openapi.yaml for a list of possible values
func (*SelfAccessReviewResponse) SubscriptionID ¶
func (o *SelfAccessReviewResponse) SubscriptionID() string
SubscriptionID returns the value of the 'subscription_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Indicates which Subscription the resource type belongs to
type SelfAccessReviewResponseBuilder ¶
type SelfAccessReviewResponseBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponseBuilder contains the data and logic needed to build 'self_access_review_response' objects.
Representation of an access review response, performed against oneself
func NewSelfAccessReviewResponse ¶
func NewSelfAccessReviewResponse() *SelfAccessReviewResponseBuilder
NewSelfAccessReviewResponse creates a new builder of 'self_access_review_response' objects.
func (*SelfAccessReviewResponseBuilder) Action ¶
func (b *SelfAccessReviewResponseBuilder) Action(value string) *SelfAccessReviewResponseBuilder
Action sets the value of the 'action' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) Allowed ¶
func (b *SelfAccessReviewResponseBuilder) Allowed(value bool) *SelfAccessReviewResponseBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) Build ¶
func (b *SelfAccessReviewResponseBuilder) Build() (object *SelfAccessReviewResponse, err error)
Build creates a 'self_access_review_response' object using the configuration stored in the builder.
func (*SelfAccessReviewResponseBuilder) ClusterID ¶
func (b *SelfAccessReviewResponseBuilder) ClusterID(value string) *SelfAccessReviewResponseBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) ClusterUUID ¶
func (b *SelfAccessReviewResponseBuilder) ClusterUUID(value string) *SelfAccessReviewResponseBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) Copy ¶
func (b *SelfAccessReviewResponseBuilder) Copy(object *SelfAccessReviewResponse) *SelfAccessReviewResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SelfAccessReviewResponseBuilder) OrganizationID ¶
func (b *SelfAccessReviewResponseBuilder) OrganizationID(value string) *SelfAccessReviewResponseBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) ResourceType ¶
func (b *SelfAccessReviewResponseBuilder) ResourceType(value string) *SelfAccessReviewResponseBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*SelfAccessReviewResponseBuilder) SubscriptionID ¶
func (b *SelfAccessReviewResponseBuilder) SubscriptionID(value string) *SelfAccessReviewResponseBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
type SelfAccessReviewResponseList ¶
type SelfAccessReviewResponseList struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponseList is a list of values of the 'self_access_review_response' type.
func (*SelfAccessReviewResponseList) Each ¶
func (l *SelfAccessReviewResponseList) Each(f func(item *SelfAccessReviewResponse) 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 (*SelfAccessReviewResponseList) Empty ¶
func (l *SelfAccessReviewResponseList) Empty() bool
Empty returns true if the list is empty.
func (*SelfAccessReviewResponseList) Get ¶
func (l *SelfAccessReviewResponseList) Get(i int) *SelfAccessReviewResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SelfAccessReviewResponseList) Len ¶
func (l *SelfAccessReviewResponseList) Len() int
Len returns the length of the list.
func (*SelfAccessReviewResponseList) Range ¶
func (l *SelfAccessReviewResponseList) Range(f func(index int, item *SelfAccessReviewResponse) 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 (*SelfAccessReviewResponseList) Slice ¶
func (l *SelfAccessReviewResponseList) Slice() []*SelfAccessReviewResponse
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 SelfAccessReviewResponseListBuilder ¶
type SelfAccessReviewResponseListBuilder struct {
// contains filtered or unexported fields
}
SelfAccessReviewResponseListBuilder contains the data and logic needed to build 'self_access_review_response' objects.
func NewSelfAccessReviewResponseList ¶
func NewSelfAccessReviewResponseList() *SelfAccessReviewResponseListBuilder
NewSelfAccessReviewResponseList creates a new builder of 'self_access_review_response' objects.
func (*SelfAccessReviewResponseListBuilder) Build ¶
func (b *SelfAccessReviewResponseListBuilder) Build() (list *SelfAccessReviewResponseList, err error)
Build creates a list of 'self_access_review_response' objects using the configuration stored in the builder.
func (*SelfAccessReviewResponseListBuilder) Copy ¶
func (b *SelfAccessReviewResponseListBuilder) Copy(list *SelfAccessReviewResponseList) *SelfAccessReviewResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SelfAccessReviewResponseListBuilder) Items ¶
func (b *SelfAccessReviewResponseListBuilder) Items(values ...*SelfAccessReviewResponseBuilder) *SelfAccessReviewResponseListBuilder
Items sets the items of the list.
type SelfAccessReviewServer ¶
type SelfAccessReviewServer interface { // Post handles a request for the 'post' method. // // Reviews a user's access to a resource Post(ctx context.Context, request *SelfAccessReviewPostServerRequest, response *SelfAccessReviewPostServerResponse) error }
SelfAccessReviewServer represents the interface the manages the 'self_access_review' resource.
type Server ¶
type Server interface { // AccessReview returns the target 'access_review' resource. // // Reference to the resource that is used to submit access review requests. AccessReview() AccessReviewServer // ExportControlReview returns the target 'export_control_review' resource. // // Reference to the resource that is used to submit export control review requests. ExportControlReview() ExportControlReviewServer // ResourceReview returns the target 'resource_review' resource. // // Reference to the resource that is used to submit resource review requests. ResourceReview() ResourceReviewServer // SelfAccessReview returns the target 'self_access_review' resource. // // Reference to the resource that is used to submit self access review requests. SelfAccessReview() SelfAccessReviewServer }
Server represents the interface the manages the 'root' resource.
Source Files
¶
- access_review_client.go
- access_review_request_builder.go
- access_review_request_list_builder.go
- access_review_request_list_type_json.go
- access_review_request_type.go
- access_review_request_type_json.go
- access_review_resource_json.go
- access_review_response_builder.go
- access_review_response_list_builder.go
- access_review_response_list_type_json.go
- access_review_response_type.go
- access_review_response_type_json.go
- access_review_server.go
- boolean_list_type_json.go
- date_list_type_json.go
- 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_type_json.go
- export_control_review_request_type.go
- export_control_review_request_type_json.go
- export_control_review_resource_json.go
- export_control_review_response_builder.go
- export_control_review_response_list_builder.go
- export_control_review_response_list_type_json.go
- export_control_review_response_type.go
- export_control_review_response_type_json.go
- export_control_review_server.go
- float_list_type_json.go
- integer_list_type_json.go
- long_list_type_json.go
- metadata_client.go
- metadata_reader.go
- metadata_type.go
- openapi.go
- resource_review_builder.go
- resource_review_client.go
- resource_review_list_builder.go
- resource_review_list_type_json.go
- resource_review_request_builder.go
- resource_review_request_list_builder.go
- resource_review_request_list_type_json.go
- resource_review_request_type.go
- resource_review_request_type_json.go
- resource_review_resource_json.go
- resource_review_server.go
- resource_review_type.go
- resource_review_type_json.go
- root_client.go
- root_resource_json.go
- root_server.go
- self_access_review_client.go
- self_access_review_request_builder.go
- self_access_review_request_list_builder.go
- self_access_review_request_list_type_json.go
- self_access_review_request_type.go
- self_access_review_request_type_json.go
- self_access_review_resource_json.go
- self_access_review_response_builder.go
- self_access_review_response_list_builder.go
- self_access_review_response_list_type_json.go
- self_access_review_response_type.go
- self_access_review_response_type_json.go
- self_access_review_server.go
- string_list_type_json.go