Documentation ¶
Index ¶
- Constants
- Variables
- func Dispatch(w http.ResponseWriter, r *http.Request, server Server, segments []string)
- func MarshalAccessToken(object *AccessToken, writer io.Writer) error
- func MarshalAccessTokenAuth(object *AccessTokenAuth, writer io.Writer) error
- func MarshalAccessTokenAuthList(list []*AccessTokenAuth, writer io.Writer) error
- func MarshalAccessTokenList(list []*AccessToken, writer io.Writer) error
- func MarshalAccount(object *Account, writer io.Writer) error
- func MarshalAccountList(list []*Account, writer io.Writer) error
- func MarshalActionList(list []Action, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalClusterAuthorizationRequest(object *ClusterAuthorizationRequest, writer io.Writer) error
- func MarshalClusterAuthorizationRequestList(list []*ClusterAuthorizationRequest, writer io.Writer) error
- func MarshalClusterAuthorizationResponse(object *ClusterAuthorizationResponse, writer io.Writer) error
- func MarshalClusterAuthorizationResponseList(list []*ClusterAuthorizationResponse, writer io.Writer) error
- func MarshalClusterRegistrationRequest(object *ClusterRegistrationRequest, writer io.Writer) error
- func MarshalClusterRegistrationRequestList(list []*ClusterRegistrationRequest, writer io.Writer) error
- func MarshalClusterRegistrationResponse(object *ClusterRegistrationResponse, writer io.Writer) error
- func MarshalClusterRegistrationResponseList(list []*ClusterRegistrationResponse, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalFeatureToggle(object *FeatureToggle, writer io.Writer) error
- func MarshalFeatureToggleList(list []*FeatureToggle, writer io.Writer) error
- func MarshalFeatureToggleQueryRequest(object *FeatureToggleQueryRequest, writer io.Writer) error
- func MarshalFeatureToggleQueryRequestList(list []*FeatureToggleQueryRequest, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalLabel(object *Label, writer io.Writer) error
- func MarshalLabelList(list []*Label, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalOrganization(object *Organization, writer io.Writer) error
- func MarshalOrganizationList(list []*Organization, writer io.Writer) error
- func MarshalPermission(object *Permission, writer io.Writer) error
- func MarshalPermissionList(list []*Permission, writer io.Writer) error
- func MarshalPlan(object *Plan, writer io.Writer) error
- func MarshalPlanIDList(list []PlanID, writer io.Writer) error
- func MarshalPlanList(list []*Plan, writer io.Writer) error
- func MarshalProductBundleEnumList(list []ProductBundleEnum, writer io.Writer) error
- func MarshalPullSecretsRequest(object *PullSecretsRequest, writer io.Writer) error
- func MarshalPullSecretsRequestList(list []*PullSecretsRequest, writer io.Writer) error
- func MarshalQuotaSummary(object *QuotaSummary, writer io.Writer) error
- func MarshalQuotaSummaryList(list []*QuotaSummary, writer io.Writer) error
- func MarshalRegistry(object *Registry, writer io.Writer) error
- func MarshalRegistryCredential(object *RegistryCredential, writer io.Writer) error
- func MarshalRegistryCredentialList(list []*RegistryCredential, writer io.Writer) error
- func MarshalRegistryList(list []*Registry, writer io.Writer) error
- func MarshalReservedResource(object *ReservedResource, writer io.Writer) error
- func MarshalReservedResourceList(list []*ReservedResource, writer io.Writer) error
- func MarshalResource(object *Resource, writer io.Writer) error
- func MarshalResourceList(list []*Resource, writer io.Writer) error
- func MarshalResourceQuota(object *ResourceQuota, writer io.Writer) error
- func MarshalResourceQuotaList(list []*ResourceQuota, writer io.Writer) error
- func MarshalRole(object *Role, writer io.Writer) error
- func MarshalRoleBinding(object *RoleBinding, writer io.Writer) error
- func MarshalRoleBindingList(list []*RoleBinding, writer io.Writer) error
- func MarshalRoleList(list []*Role, writer io.Writer) error
- func MarshalSKU(object *SKU, writer io.Writer) error
- func MarshalSKUList(list []*SKU, writer io.Writer) error
- func MarshalServiceLevelEnumList(list []ServiceLevelEnum, writer io.Writer) error
- func MarshalSkuRule(object *SkuRule, writer io.Writer) error
- func MarshalSkuRuleList(list []*SkuRule, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func MarshalSubscription(object *Subscription, writer io.Writer) error
- func MarshalSubscriptionList(list []*Subscription, writer io.Writer) error
- func MarshalSubscriptionNotify(object *SubscriptionNotify, writer io.Writer) error
- func MarshalSubscriptionNotifyList(list []*SubscriptionNotify, writer io.Writer) error
- func MarshalSubscriptionRegistration(object *SubscriptionRegistration, writer io.Writer) error
- func MarshalSubscriptionRegistrationList(list []*SubscriptionRegistration, writer io.Writer) error
- func MarshalSummaryDashboard(object *SummaryDashboard, writer io.Writer) error
- func MarshalSummaryDashboardList(list []*SummaryDashboard, writer io.Writer) error
- func MarshalSummaryMetrics(object *SummaryMetrics, writer io.Writer) error
- func MarshalSummaryMetricsList(list []*SummaryMetrics, writer io.Writer) error
- func MarshalSummarySample(object *SummarySample, writer io.Writer) error
- func MarshalSummarySampleList(list []*SummarySample, writer io.Writer) error
- func MarshalSupportCaseRequest(object *SupportCaseRequest, writer io.Writer) error
- func MarshalSupportCaseRequestList(list []*SupportCaseRequest, writer io.Writer) error
- func MarshalSupportCaseResponse(object *SupportCaseResponse, writer io.Writer) error
- func MarshalSupportCaseResponseList(list []*SupportCaseResponse, writer io.Writer) error
- func MarshalSupportLevelEnumList(list []SupportLevelEnum, writer io.Writer) error
- func MarshalSystemUnitsEnumList(list []SystemUnitsEnum, writer io.Writer) error
- func MarshalTemplateParameter(object *TemplateParameter, writer io.Writer) error
- func MarshalTemplateParameterList(list []*TemplateParameter, writer io.Writer) error
- func MarshalTokenAuthorizationRequest(object *TokenAuthorizationRequest, writer io.Writer) error
- func MarshalTokenAuthorizationRequestList(list []*TokenAuthorizationRequest, writer io.Writer) error
- func MarshalTokenAuthorizationResponse(object *TokenAuthorizationResponse, writer io.Writer) error
- func MarshalTokenAuthorizationResponseList(list []*TokenAuthorizationResponse, writer io.Writer) error
- func MarshalUsageEnumList(list []UsageEnum, 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 UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- type AccessToken
- type AccessTokenAuth
- type AccessTokenAuthBuilder
- func (b *AccessTokenAuthBuilder) Auth(value string) *AccessTokenAuthBuilder
- func (b *AccessTokenAuthBuilder) Build() (object *AccessTokenAuth, err error)
- func (b *AccessTokenAuthBuilder) Copy(object *AccessTokenAuth) *AccessTokenAuthBuilder
- func (b *AccessTokenAuthBuilder) Email(value string) *AccessTokenAuthBuilder
- type AccessTokenAuthList
- func (l *AccessTokenAuthList) Each(f func(item *AccessTokenAuth) bool)
- func (l *AccessTokenAuthList) Empty() bool
- func (l *AccessTokenAuthList) Get(i int) *AccessTokenAuth
- func (l *AccessTokenAuthList) Len() int
- func (l *AccessTokenAuthList) Range(f func(index int, item *AccessTokenAuth) bool)
- func (l *AccessTokenAuthList) Slice() []*AccessTokenAuth
- type AccessTokenAuthListBuilder
- type AccessTokenBuilder
- type AccessTokenClient
- type AccessTokenList
- func (l *AccessTokenList) Each(f func(item *AccessToken) bool)
- func (l *AccessTokenList) Empty() bool
- func (l *AccessTokenList) Get(i int) *AccessToken
- func (l *AccessTokenList) Len() int
- func (l *AccessTokenList) Range(f func(index int, item *AccessToken) bool)
- func (l *AccessTokenList) Slice() []*AccessToken
- type AccessTokenListBuilder
- type AccessTokenPostRequest
- func (r *AccessTokenPostRequest) Header(name string, value interface{}) *AccessTokenPostRequest
- func (r *AccessTokenPostRequest) Parameter(name string, value interface{}) *AccessTokenPostRequest
- func (r *AccessTokenPostRequest) Send() (result *AccessTokenPostResponse, err error)
- func (r *AccessTokenPostRequest) SendContext(ctx context.Context) (result *AccessTokenPostResponse, err error)
- type AccessTokenPostResponse
- type AccessTokenPostServerRequest
- type AccessTokenPostServerResponse
- type AccessTokenServer
- type Account
- func (o *Account) BanCode() string
- func (o *Account) BanDescription() string
- func (o *Account) Banned() bool
- func (o *Account) CreatedAt() time.Time
- func (o *Account) Email() string
- func (o *Account) Empty() bool
- func (o *Account) FirstName() string
- func (o *Account) GetBanCode() (value string, ok bool)
- func (o *Account) GetBanDescription() (value string, ok bool)
- func (o *Account) GetBanned() (value bool, ok bool)
- func (o *Account) GetCreatedAt() (value time.Time, ok bool)
- func (o *Account) GetEmail() (value string, ok bool)
- func (o *Account) GetFirstName() (value string, ok bool)
- func (o *Account) GetHREF() (value string, ok bool)
- func (o *Account) GetID() (value string, ok bool)
- func (o *Account) GetLabels() (value []*Label, ok bool)
- func (o *Account) GetLastName() (value string, ok bool)
- func (o *Account) GetOrganization() (value *Organization, ok bool)
- func (o *Account) GetServiceAccount() (value bool, ok bool)
- func (o *Account) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Account) GetUsername() (value string, ok bool)
- func (o *Account) HREF() string
- func (o *Account) ID() string
- func (o *Account) Kind() string
- func (o *Account) Labels() []*Label
- func (o *Account) LastName() string
- func (o *Account) Link() bool
- func (o *Account) Organization() *Organization
- func (o *Account) ServiceAccount() bool
- func (o *Account) UpdatedAt() time.Time
- func (o *Account) Username() string
- type AccountBuilder
- func (b *AccountBuilder) BanCode(value string) *AccountBuilder
- func (b *AccountBuilder) BanDescription(value string) *AccountBuilder
- func (b *AccountBuilder) Banned(value bool) *AccountBuilder
- func (b *AccountBuilder) Build() (object *Account, err error)
- func (b *AccountBuilder) Copy(object *Account) *AccountBuilder
- func (b *AccountBuilder) CreatedAt(value time.Time) *AccountBuilder
- func (b *AccountBuilder) Email(value string) *AccountBuilder
- func (b *AccountBuilder) FirstName(value string) *AccountBuilder
- func (b *AccountBuilder) HREF(value string) *AccountBuilder
- func (b *AccountBuilder) ID(value string) *AccountBuilder
- func (b *AccountBuilder) Labels(values ...*LabelBuilder) *AccountBuilder
- func (b *AccountBuilder) LastName(value string) *AccountBuilder
- func (b *AccountBuilder) Link(value bool) *AccountBuilder
- func (b *AccountBuilder) Organization(value *OrganizationBuilder) *AccountBuilder
- func (b *AccountBuilder) ServiceAccount(value bool) *AccountBuilder
- func (b *AccountBuilder) UpdatedAt(value time.Time) *AccountBuilder
- func (b *AccountBuilder) Username(value string) *AccountBuilder
- type AccountClient
- type AccountGetRequest
- func (r *AccountGetRequest) Header(name string, value interface{}) *AccountGetRequest
- func (r *AccountGetRequest) Parameter(name string, value interface{}) *AccountGetRequest
- func (r *AccountGetRequest) Send() (result *AccountGetResponse, err error)
- func (r *AccountGetRequest) SendContext(ctx context.Context) (result *AccountGetResponse, err error)
- type AccountGetResponse
- type AccountGetServerRequest
- type AccountGetServerResponse
- type AccountList
- func (l *AccountList) Each(f func(item *Account) bool)
- func (l *AccountList) Empty() bool
- func (l *AccountList) Get(i int) *Account
- func (l *AccountList) GetHREF() (value string, ok bool)
- func (l *AccountList) HREF() string
- func (l *AccountList) Kind() string
- func (l *AccountList) Len() int
- func (l *AccountList) Link() bool
- func (l *AccountList) Range(f func(index int, item *Account) bool)
- func (l *AccountList) Slice() []*Account
- type AccountListBuilder
- type AccountPollRequest
- func (r *AccountPollRequest) Header(name string, value interface{}) *AccountPollRequest
- func (r *AccountPollRequest) Interval(value time.Duration) *AccountPollRequest
- func (r *AccountPollRequest) Parameter(name string, value interface{}) *AccountPollRequest
- func (r *AccountPollRequest) Predicate(value func(*AccountGetResponse) bool) *AccountPollRequest
- func (r *AccountPollRequest) StartContext(ctx context.Context) (response *AccountPollResponse, err error)
- func (r *AccountPollRequest) Status(value int) *AccountPollRequest
- type AccountPollResponse
- type AccountServer
- type AccountUpdateRequest
- func (r *AccountUpdateRequest) Body(value *Account) *AccountUpdateRequest
- func (r *AccountUpdateRequest) Header(name string, value interface{}) *AccountUpdateRequest
- func (r *AccountUpdateRequest) Parameter(name string, value interface{}) *AccountUpdateRequest
- func (r *AccountUpdateRequest) Send() (result *AccountUpdateResponse, err error)
- func (r *AccountUpdateRequest) SendContext(ctx context.Context) (result *AccountUpdateResponse, err error)
- type AccountUpdateResponse
- type AccountUpdateServerRequest
- type AccountUpdateServerResponse
- type AccountsAddRequest
- func (r *AccountsAddRequest) Body(value *Account) *AccountsAddRequest
- func (r *AccountsAddRequest) Header(name string, value interface{}) *AccountsAddRequest
- func (r *AccountsAddRequest) Parameter(name string, value interface{}) *AccountsAddRequest
- func (r *AccountsAddRequest) Send() (result *AccountsAddResponse, err error)
- func (r *AccountsAddRequest) SendContext(ctx context.Context) (result *AccountsAddResponse, err error)
- type AccountsAddResponse
- type AccountsAddServerRequest
- type AccountsAddServerResponse
- type AccountsClient
- type AccountsListRequest
- func (r *AccountsListRequest) FetchlabelsLabels(value bool) *AccountsListRequest
- func (r *AccountsListRequest) Fields(value string) *AccountsListRequest
- func (r *AccountsListRequest) Header(name string, value interface{}) *AccountsListRequest
- func (r *AccountsListRequest) Order(value string) *AccountsListRequest
- func (r *AccountsListRequest) Page(value int) *AccountsListRequest
- func (r *AccountsListRequest) Parameter(name string, value interface{}) *AccountsListRequest
- func (r *AccountsListRequest) Search(value string) *AccountsListRequest
- func (r *AccountsListRequest) Send() (result *AccountsListResponse, err error)
- func (r *AccountsListRequest) SendContext(ctx context.Context) (result *AccountsListResponse, err error)
- func (r *AccountsListRequest) Size(value int) *AccountsListRequest
- type AccountsListResponse
- func (r *AccountsListResponse) Error() *errors.Error
- func (r *AccountsListResponse) GetItems() (value *AccountList, ok bool)
- func (r *AccountsListResponse) GetPage() (value int, ok bool)
- func (r *AccountsListResponse) GetSize() (value int, ok bool)
- func (r *AccountsListResponse) GetTotal() (value int, ok bool)
- func (r *AccountsListResponse) Header() http.Header
- func (r *AccountsListResponse) Items() *AccountList
- func (r *AccountsListResponse) Page() int
- func (r *AccountsListResponse) Size() int
- func (r *AccountsListResponse) Status() int
- func (r *AccountsListResponse) Total() int
- type AccountsListServerRequest
- func (r *AccountsListServerRequest) FetchlabelsLabels() bool
- func (r *AccountsListServerRequest) Fields() string
- func (r *AccountsListServerRequest) GetFetchlabelsLabels() (value bool, ok bool)
- func (r *AccountsListServerRequest) GetFields() (value string, ok bool)
- func (r *AccountsListServerRequest) GetOrder() (value string, ok bool)
- func (r *AccountsListServerRequest) GetPage() (value int, ok bool)
- func (r *AccountsListServerRequest) GetSearch() (value string, ok bool)
- func (r *AccountsListServerRequest) GetSize() (value int, ok bool)
- func (r *AccountsListServerRequest) Order() string
- func (r *AccountsListServerRequest) Page() int
- func (r *AccountsListServerRequest) Search() string
- func (r *AccountsListServerRequest) Size() int
- type AccountsListServerResponse
- func (r *AccountsListServerResponse) Items(value *AccountList) *AccountsListServerResponse
- func (r *AccountsListServerResponse) Page(value int) *AccountsListServerResponse
- func (r *AccountsListServerResponse) Size(value int) *AccountsListServerResponse
- func (r *AccountsListServerResponse) Status(value int) *AccountsListServerResponse
- func (r *AccountsListServerResponse) Total(value int) *AccountsListServerResponse
- type AccountsServer
- type Action
- type Client
- func (c *Client) AccessToken() *AccessTokenClient
- func (c *Client) Accounts() *AccountsClient
- func (c *Client) ClusterAuthorizations() *ClusterAuthorizationsClient
- func (c *Client) ClusterRegistrations() *ClusterRegistrationsClient
- func (c *Client) CurrentAccess() *RolesClient
- func (c *Client) CurrentAccount() *CurrentAccountClient
- func (c *Client) FeatureToggles() *FeatureTogglesClient
- func (c *Client) Get() *MetadataRequest
- func (c *Client) Labels() *LabelsClient
- func (c *Client) Notify() *NotifyClient
- func (c *Client) Organizations() *OrganizationsClient
- func (c *Client) Permissions() *PermissionsClient
- func (c *Client) PullSecrets() *PullSecretsClient
- func (c *Client) Registries() *RegistriesClient
- func (c *Client) RegistryCredentials() *RegistryCredentialsClient
- func (c *Client) ResourceQuota() *ResourceQuotasClient
- func (c *Client) RoleBindings() *RoleBindingsClient
- func (c *Client) Roles() *RolesClient
- func (c *Client) SKUS() *SKUSClient
- func (c *Client) SkuRules() *SkuRulesClient
- func (c *Client) Subscriptions() *SubscriptionsClient
- func (c *Client) SupportCases() *SupportCasesClient
- func (c *Client) TokenAuthorization() *TokenAuthorizationClient
- type ClusterAuthorizationRequest
- func (o *ClusterAuthorizationRequest) AccountUsername() string
- func (o *ClusterAuthorizationRequest) AvailabilityZone() string
- func (o *ClusterAuthorizationRequest) BYOC() bool
- func (o *ClusterAuthorizationRequest) ClusterID() string
- func (o *ClusterAuthorizationRequest) Disconnected() bool
- func (o *ClusterAuthorizationRequest) DisplayName() string
- func (o *ClusterAuthorizationRequest) Empty() bool
- func (o *ClusterAuthorizationRequest) ExternalClusterID() string
- func (o *ClusterAuthorizationRequest) GetAccountUsername() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetAvailabilityZone() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetBYOC() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetClusterID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetDisconnected() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetDisplayName() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetExternalClusterID() (value string, ok bool)
- func (o *ClusterAuthorizationRequest) GetManaged() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetReserve() (value bool, ok bool)
- func (o *ClusterAuthorizationRequest) GetResources() (value []*ReservedResource, ok bool)
- func (o *ClusterAuthorizationRequest) Managed() bool
- func (o *ClusterAuthorizationRequest) Reserve() bool
- func (o *ClusterAuthorizationRequest) Resources() []*ReservedResource
- type ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) AccountUsername(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) AvailabilityZone(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) BYOC(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Build() (object *ClusterAuthorizationRequest, err error)
- func (b *ClusterAuthorizationRequestBuilder) ClusterID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Copy(object *ClusterAuthorizationRequest) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Disconnected(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) DisplayName(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) ExternalClusterID(value string) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Managed(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Reserve(value bool) *ClusterAuthorizationRequestBuilder
- func (b *ClusterAuthorizationRequestBuilder) Resources(values ...*ReservedResourceBuilder) *ClusterAuthorizationRequestBuilder
- type ClusterAuthorizationRequestList
- func (l *ClusterAuthorizationRequestList) Each(f func(item *ClusterAuthorizationRequest) bool)
- func (l *ClusterAuthorizationRequestList) Empty() bool
- func (l *ClusterAuthorizationRequestList) Get(i int) *ClusterAuthorizationRequest
- func (l *ClusterAuthorizationRequestList) Len() int
- func (l *ClusterAuthorizationRequestList) Range(f func(index int, item *ClusterAuthorizationRequest) bool)
- func (l *ClusterAuthorizationRequestList) Slice() []*ClusterAuthorizationRequest
- type ClusterAuthorizationRequestListBuilder
- func (b *ClusterAuthorizationRequestListBuilder) Build() (list *ClusterAuthorizationRequestList, err error)
- func (b *ClusterAuthorizationRequestListBuilder) Copy(list *ClusterAuthorizationRequestList) *ClusterAuthorizationRequestListBuilder
- func (b *ClusterAuthorizationRequestListBuilder) Items(values ...*ClusterAuthorizationRequestBuilder) *ClusterAuthorizationRequestListBuilder
- type ClusterAuthorizationResponse
- func (o *ClusterAuthorizationResponse) Allowed() bool
- func (o *ClusterAuthorizationResponse) Empty() bool
- func (o *ClusterAuthorizationResponse) ExcessResources() []*ReservedResource
- func (o *ClusterAuthorizationResponse) GetAllowed() (value bool, ok bool)
- func (o *ClusterAuthorizationResponse) GetExcessResources() (value []*ReservedResource, ok bool)
- func (o *ClusterAuthorizationResponse) GetSubscription() (value *Subscription, ok bool)
- func (o *ClusterAuthorizationResponse) Subscription() *Subscription
- type ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) Allowed(value bool) *ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) Build() (object *ClusterAuthorizationResponse, err error)
- func (b *ClusterAuthorizationResponseBuilder) Copy(object *ClusterAuthorizationResponse) *ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) ExcessResources(values ...*ReservedResourceBuilder) *ClusterAuthorizationResponseBuilder
- func (b *ClusterAuthorizationResponseBuilder) Subscription(value *SubscriptionBuilder) *ClusterAuthorizationResponseBuilder
- type ClusterAuthorizationResponseList
- func (l *ClusterAuthorizationResponseList) Each(f func(item *ClusterAuthorizationResponse) bool)
- func (l *ClusterAuthorizationResponseList) Empty() bool
- func (l *ClusterAuthorizationResponseList) Get(i int) *ClusterAuthorizationResponse
- func (l *ClusterAuthorizationResponseList) Len() int
- func (l *ClusterAuthorizationResponseList) Range(f func(index int, item *ClusterAuthorizationResponse) bool)
- func (l *ClusterAuthorizationResponseList) Slice() []*ClusterAuthorizationResponse
- type ClusterAuthorizationResponseListBuilder
- func (b *ClusterAuthorizationResponseListBuilder) Build() (list *ClusterAuthorizationResponseList, err error)
- func (b *ClusterAuthorizationResponseListBuilder) Copy(list *ClusterAuthorizationResponseList) *ClusterAuthorizationResponseListBuilder
- func (b *ClusterAuthorizationResponseListBuilder) Items(values ...*ClusterAuthorizationResponseBuilder) *ClusterAuthorizationResponseListBuilder
- type ClusterAuthorizationsClient
- type ClusterAuthorizationsPostRequest
- func (r *ClusterAuthorizationsPostRequest) Header(name string, value interface{}) *ClusterAuthorizationsPostRequest
- func (r *ClusterAuthorizationsPostRequest) Parameter(name string, value interface{}) *ClusterAuthorizationsPostRequest
- func (r *ClusterAuthorizationsPostRequest) Request(value *ClusterAuthorizationRequest) *ClusterAuthorizationsPostRequest
- func (r *ClusterAuthorizationsPostRequest) Send() (result *ClusterAuthorizationsPostResponse, err error)
- func (r *ClusterAuthorizationsPostRequest) SendContext(ctx context.Context) (result *ClusterAuthorizationsPostResponse, err error)
- type ClusterAuthorizationsPostResponse
- func (r *ClusterAuthorizationsPostResponse) Error() *errors.Error
- func (r *ClusterAuthorizationsPostResponse) GetResponse() (value *ClusterAuthorizationResponse, ok bool)
- func (r *ClusterAuthorizationsPostResponse) Header() http.Header
- func (r *ClusterAuthorizationsPostResponse) Response() *ClusterAuthorizationResponse
- func (r *ClusterAuthorizationsPostResponse) Status() int
- type ClusterAuthorizationsPostServerRequest
- type ClusterAuthorizationsPostServerResponse
- type ClusterAuthorizationsServer
- type ClusterRegistrationRequest
- func (o *ClusterRegistrationRequest) AuthorizationToken() string
- func (o *ClusterRegistrationRequest) ClusterID() string
- func (o *ClusterRegistrationRequest) Empty() bool
- func (o *ClusterRegistrationRequest) GetAuthorizationToken() (value string, ok bool)
- func (o *ClusterRegistrationRequest) GetClusterID() (value string, ok bool)
- type ClusterRegistrationRequestBuilder
- func (b *ClusterRegistrationRequestBuilder) AuthorizationToken(value string) *ClusterRegistrationRequestBuilder
- func (b *ClusterRegistrationRequestBuilder) Build() (object *ClusterRegistrationRequest, err error)
- func (b *ClusterRegistrationRequestBuilder) ClusterID(value string) *ClusterRegistrationRequestBuilder
- func (b *ClusterRegistrationRequestBuilder) Copy(object *ClusterRegistrationRequest) *ClusterRegistrationRequestBuilder
- type ClusterRegistrationRequestList
- func (l *ClusterRegistrationRequestList) Each(f func(item *ClusterRegistrationRequest) bool)
- func (l *ClusterRegistrationRequestList) Empty() bool
- func (l *ClusterRegistrationRequestList) Get(i int) *ClusterRegistrationRequest
- func (l *ClusterRegistrationRequestList) Len() int
- func (l *ClusterRegistrationRequestList) Range(f func(index int, item *ClusterRegistrationRequest) bool)
- func (l *ClusterRegistrationRequestList) Slice() []*ClusterRegistrationRequest
- type ClusterRegistrationRequestListBuilder
- func (b *ClusterRegistrationRequestListBuilder) Build() (list *ClusterRegistrationRequestList, err error)
- func (b *ClusterRegistrationRequestListBuilder) Copy(list *ClusterRegistrationRequestList) *ClusterRegistrationRequestListBuilder
- func (b *ClusterRegistrationRequestListBuilder) Items(values ...*ClusterRegistrationRequestBuilder) *ClusterRegistrationRequestListBuilder
- type ClusterRegistrationResponse
- func (o *ClusterRegistrationResponse) AccountID() string
- func (o *ClusterRegistrationResponse) AuthorizationToken() string
- func (o *ClusterRegistrationResponse) ClusterID() string
- func (o *ClusterRegistrationResponse) Empty() bool
- func (o *ClusterRegistrationResponse) ExpiresAt() string
- func (o *ClusterRegistrationResponse) GetAccountID() (value string, ok bool)
- func (o *ClusterRegistrationResponse) GetAuthorizationToken() (value string, ok bool)
- func (o *ClusterRegistrationResponse) GetClusterID() (value string, ok bool)
- func (o *ClusterRegistrationResponse) GetExpiresAt() (value string, ok bool)
- type ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) AccountID(value string) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) AuthorizationToken(value string) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) Build() (object *ClusterRegistrationResponse, err error)
- func (b *ClusterRegistrationResponseBuilder) ClusterID(value string) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) Copy(object *ClusterRegistrationResponse) *ClusterRegistrationResponseBuilder
- func (b *ClusterRegistrationResponseBuilder) ExpiresAt(value string) *ClusterRegistrationResponseBuilder
- type ClusterRegistrationResponseList
- func (l *ClusterRegistrationResponseList) Each(f func(item *ClusterRegistrationResponse) bool)
- func (l *ClusterRegistrationResponseList) Empty() bool
- func (l *ClusterRegistrationResponseList) Get(i int) *ClusterRegistrationResponse
- func (l *ClusterRegistrationResponseList) Len() int
- func (l *ClusterRegistrationResponseList) Range(f func(index int, item *ClusterRegistrationResponse) bool)
- func (l *ClusterRegistrationResponseList) Slice() []*ClusterRegistrationResponse
- type ClusterRegistrationResponseListBuilder
- func (b *ClusterRegistrationResponseListBuilder) Build() (list *ClusterRegistrationResponseList, err error)
- func (b *ClusterRegistrationResponseListBuilder) Copy(list *ClusterRegistrationResponseList) *ClusterRegistrationResponseListBuilder
- func (b *ClusterRegistrationResponseListBuilder) Items(values ...*ClusterRegistrationResponseBuilder) *ClusterRegistrationResponseListBuilder
- type ClusterRegistrationsClient
- type ClusterRegistrationsPostRequest
- func (r *ClusterRegistrationsPostRequest) Header(name string, value interface{}) *ClusterRegistrationsPostRequest
- func (r *ClusterRegistrationsPostRequest) Parameter(name string, value interface{}) *ClusterRegistrationsPostRequest
- func (r *ClusterRegistrationsPostRequest) Request(value *ClusterRegistrationRequest) *ClusterRegistrationsPostRequest
- func (r *ClusterRegistrationsPostRequest) Send() (result *ClusterRegistrationsPostResponse, err error)
- func (r *ClusterRegistrationsPostRequest) SendContext(ctx context.Context) (result *ClusterRegistrationsPostResponse, err error)
- type ClusterRegistrationsPostResponse
- func (r *ClusterRegistrationsPostResponse) Error() *errors.Error
- func (r *ClusterRegistrationsPostResponse) GetResponse() (value *ClusterRegistrationResponse, ok bool)
- func (r *ClusterRegistrationsPostResponse) Header() http.Header
- func (r *ClusterRegistrationsPostResponse) Response() *ClusterRegistrationResponse
- func (r *ClusterRegistrationsPostResponse) Status() int
- type ClusterRegistrationsPostServerRequest
- type ClusterRegistrationsPostServerResponse
- type ClusterRegistrationsServer
- type CurrentAccessClient
- type CurrentAccessListRequest
- func (r *CurrentAccessListRequest) Header(name string, value interface{}) *CurrentAccessListRequest
- func (r *CurrentAccessListRequest) Page(value int) *CurrentAccessListRequest
- func (r *CurrentAccessListRequest) Parameter(name string, value interface{}) *CurrentAccessListRequest
- func (r *CurrentAccessListRequest) Send() (result *CurrentAccessListResponse, err error)
- func (r *CurrentAccessListRequest) SendContext(ctx context.Context) (result *CurrentAccessListResponse, err error)
- func (r *CurrentAccessListRequest) Size(value int) *CurrentAccessListRequest
- type CurrentAccessListResponse
- func (r *CurrentAccessListResponse) Error() *errors.Error
- func (r *CurrentAccessListResponse) GetItems() (value *RoleList, ok bool)
- func (r *CurrentAccessListResponse) GetPage() (value int, ok bool)
- func (r *CurrentAccessListResponse) GetSize() (value int, ok bool)
- func (r *CurrentAccessListResponse) GetTotal() (value int, ok bool)
- func (r *CurrentAccessListResponse) Header() http.Header
- func (r *CurrentAccessListResponse) Items() *RoleList
- func (r *CurrentAccessListResponse) Page() int
- func (r *CurrentAccessListResponse) Size() int
- func (r *CurrentAccessListResponse) Status() int
- func (r *CurrentAccessListResponse) Total() int
- type CurrentAccessListServerRequest
- type CurrentAccessListServerResponse
- func (r *CurrentAccessListServerResponse) Items(value *RoleList) *CurrentAccessListServerResponse
- func (r *CurrentAccessListServerResponse) Page(value int) *CurrentAccessListServerResponse
- func (r *CurrentAccessListServerResponse) Size(value int) *CurrentAccessListServerResponse
- func (r *CurrentAccessListServerResponse) Status(value int) *CurrentAccessListServerResponse
- func (r *CurrentAccessListServerResponse) Total(value int) *CurrentAccessListServerResponse
- type CurrentAccessServer
- type CurrentAccountClient
- type CurrentAccountGetRequest
- func (r *CurrentAccountGetRequest) Header(name string, value interface{}) *CurrentAccountGetRequest
- func (r *CurrentAccountGetRequest) Parameter(name string, value interface{}) *CurrentAccountGetRequest
- func (r *CurrentAccountGetRequest) Send() (result *CurrentAccountGetResponse, err error)
- func (r *CurrentAccountGetRequest) SendContext(ctx context.Context) (result *CurrentAccountGetResponse, err error)
- type CurrentAccountGetResponse
- type CurrentAccountGetServerRequest
- type CurrentAccountGetServerResponse
- type CurrentAccountPollRequest
- func (r *CurrentAccountPollRequest) Header(name string, value interface{}) *CurrentAccountPollRequest
- func (r *CurrentAccountPollRequest) Interval(value time.Duration) *CurrentAccountPollRequest
- func (r *CurrentAccountPollRequest) Parameter(name string, value interface{}) *CurrentAccountPollRequest
- func (r *CurrentAccountPollRequest) Predicate(value func(*CurrentAccountGetResponse) bool) *CurrentAccountPollRequest
- func (r *CurrentAccountPollRequest) StartContext(ctx context.Context) (response *CurrentAccountPollResponse, err error)
- func (r *CurrentAccountPollRequest) Status(value int) *CurrentAccountPollRequest
- type CurrentAccountPollResponse
- type CurrentAccountServer
- type FeatureToggle
- func (o *FeatureToggle) Empty() bool
- func (o *FeatureToggle) Enabled() bool
- func (o *FeatureToggle) GetEnabled() (value bool, ok bool)
- func (o *FeatureToggle) GetHREF() (value string, ok bool)
- func (o *FeatureToggle) GetID() (value string, ok bool)
- func (o *FeatureToggle) HREF() string
- func (o *FeatureToggle) ID() string
- func (o *FeatureToggle) Kind() string
- func (o *FeatureToggle) Link() bool
- type FeatureToggleBuilder
- func (b *FeatureToggleBuilder) Build() (object *FeatureToggle, err error)
- func (b *FeatureToggleBuilder) Copy(object *FeatureToggle) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) Enabled(value bool) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) HREF(value string) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) ID(value string) *FeatureToggleBuilder
- func (b *FeatureToggleBuilder) Link(value bool) *FeatureToggleBuilder
- type FeatureToggleClient
- type FeatureToggleList
- func (l *FeatureToggleList) Each(f func(item *FeatureToggle) bool)
- func (l *FeatureToggleList) Empty() bool
- func (l *FeatureToggleList) Get(i int) *FeatureToggle
- func (l *FeatureToggleList) GetHREF() (value string, ok bool)
- func (l *FeatureToggleList) HREF() string
- func (l *FeatureToggleList) Kind() string
- func (l *FeatureToggleList) Len() int
- func (l *FeatureToggleList) Link() bool
- func (l *FeatureToggleList) Range(f func(index int, item *FeatureToggle) bool)
- func (l *FeatureToggleList) Slice() []*FeatureToggle
- type FeatureToggleListBuilder
- type FeatureToggleQueryClient
- type FeatureToggleQueryPostRequest
- func (r *FeatureToggleQueryPostRequest) Header(name string, value interface{}) *FeatureToggleQueryPostRequest
- func (r *FeatureToggleQueryPostRequest) Parameter(name string, value interface{}) *FeatureToggleQueryPostRequest
- func (r *FeatureToggleQueryPostRequest) Request(value *FeatureToggleQueryRequest) *FeatureToggleQueryPostRequest
- func (r *FeatureToggleQueryPostRequest) Send() (result *FeatureToggleQueryPostResponse, err error)
- func (r *FeatureToggleQueryPostRequest) SendContext(ctx context.Context) (result *FeatureToggleQueryPostResponse, err error)
- type FeatureToggleQueryPostResponse
- func (r *FeatureToggleQueryPostResponse) Error() *errors.Error
- func (r *FeatureToggleQueryPostResponse) GetResponse() (value *FeatureToggle, ok bool)
- func (r *FeatureToggleQueryPostResponse) Header() http.Header
- func (r *FeatureToggleQueryPostResponse) Response() *FeatureToggle
- func (r *FeatureToggleQueryPostResponse) Status() int
- type FeatureToggleQueryPostServerRequest
- type FeatureToggleQueryPostServerResponse
- type FeatureToggleQueryRequest
- type FeatureToggleQueryRequestBuilder
- func (b *FeatureToggleQueryRequestBuilder) Build() (object *FeatureToggleQueryRequest, err error)
- func (b *FeatureToggleQueryRequestBuilder) Copy(object *FeatureToggleQueryRequest) *FeatureToggleQueryRequestBuilder
- func (b *FeatureToggleQueryRequestBuilder) OrganizationID(value string) *FeatureToggleQueryRequestBuilder
- type FeatureToggleQueryRequestList
- func (l *FeatureToggleQueryRequestList) Each(f func(item *FeatureToggleQueryRequest) bool)
- func (l *FeatureToggleQueryRequestList) Empty() bool
- func (l *FeatureToggleQueryRequestList) Get(i int) *FeatureToggleQueryRequest
- func (l *FeatureToggleQueryRequestList) Len() int
- func (l *FeatureToggleQueryRequestList) Range(f func(index int, item *FeatureToggleQueryRequest) bool)
- func (l *FeatureToggleQueryRequestList) Slice() []*FeatureToggleQueryRequest
- type FeatureToggleQueryRequestListBuilder
- func (b *FeatureToggleQueryRequestListBuilder) Build() (list *FeatureToggleQueryRequestList, err error)
- func (b *FeatureToggleQueryRequestListBuilder) Copy(list *FeatureToggleQueryRequestList) *FeatureToggleQueryRequestListBuilder
- func (b *FeatureToggleQueryRequestListBuilder) Items(values ...*FeatureToggleQueryRequestBuilder) *FeatureToggleQueryRequestListBuilder
- type FeatureToggleQueryServer
- type FeatureToggleServer
- type FeatureTogglesClient
- type FeatureTogglesServer
- type GenericLabelClient
- type GenericLabelDeleteRequest
- func (r *GenericLabelDeleteRequest) Header(name string, value interface{}) *GenericLabelDeleteRequest
- func (r *GenericLabelDeleteRequest) Parameter(name string, value interface{}) *GenericLabelDeleteRequest
- func (r *GenericLabelDeleteRequest) Send() (result *GenericLabelDeleteResponse, err error)
- func (r *GenericLabelDeleteRequest) SendContext(ctx context.Context) (result *GenericLabelDeleteResponse, err error)
- type GenericLabelDeleteResponse
- type GenericLabelDeleteServerRequest
- type GenericLabelDeleteServerResponse
- type GenericLabelGetRequest
- func (r *GenericLabelGetRequest) Header(name string, value interface{}) *GenericLabelGetRequest
- func (r *GenericLabelGetRequest) Parameter(name string, value interface{}) *GenericLabelGetRequest
- func (r *GenericLabelGetRequest) Send() (result *GenericLabelGetResponse, err error)
- func (r *GenericLabelGetRequest) SendContext(ctx context.Context) (result *GenericLabelGetResponse, err error)
- type GenericLabelGetResponse
- type GenericLabelGetServerRequest
- type GenericLabelGetServerResponse
- type GenericLabelPollRequest
- func (r *GenericLabelPollRequest) Header(name string, value interface{}) *GenericLabelPollRequest
- func (r *GenericLabelPollRequest) Interval(value time.Duration) *GenericLabelPollRequest
- func (r *GenericLabelPollRequest) Parameter(name string, value interface{}) *GenericLabelPollRequest
- func (r *GenericLabelPollRequest) Predicate(value func(*GenericLabelGetResponse) bool) *GenericLabelPollRequest
- func (r *GenericLabelPollRequest) StartContext(ctx context.Context) (response *GenericLabelPollResponse, err error)
- func (r *GenericLabelPollRequest) Status(value int) *GenericLabelPollRequest
- type GenericLabelPollResponse
- type GenericLabelServer
- type GenericLabelUpdateRequest
- func (r *GenericLabelUpdateRequest) Body(value *Label) *GenericLabelUpdateRequest
- func (r *GenericLabelUpdateRequest) Header(name string, value interface{}) *GenericLabelUpdateRequest
- func (r *GenericLabelUpdateRequest) Parameter(name string, value interface{}) *GenericLabelUpdateRequest
- func (r *GenericLabelUpdateRequest) Send() (result *GenericLabelUpdateResponse, err error)
- func (r *GenericLabelUpdateRequest) SendContext(ctx context.Context) (result *GenericLabelUpdateResponse, err error)
- type GenericLabelUpdateResponse
- type GenericLabelUpdateServerRequest
- type GenericLabelUpdateServerResponse
- type GenericLabelsAddRequest
- func (r *GenericLabelsAddRequest) Body(value *Label) *GenericLabelsAddRequest
- func (r *GenericLabelsAddRequest) Header(name string, value interface{}) *GenericLabelsAddRequest
- func (r *GenericLabelsAddRequest) Parameter(name string, value interface{}) *GenericLabelsAddRequest
- func (r *GenericLabelsAddRequest) Send() (result *GenericLabelsAddResponse, err error)
- func (r *GenericLabelsAddRequest) SendContext(ctx context.Context) (result *GenericLabelsAddResponse, err error)
- type GenericLabelsAddResponse
- type GenericLabelsAddServerRequest
- type GenericLabelsAddServerResponse
- type GenericLabelsClient
- type GenericLabelsListRequest
- func (r *GenericLabelsListRequest) Header(name string, value interface{}) *GenericLabelsListRequest
- func (r *GenericLabelsListRequest) Page(value int) *GenericLabelsListRequest
- func (r *GenericLabelsListRequest) Parameter(name string, value interface{}) *GenericLabelsListRequest
- func (r *GenericLabelsListRequest) Send() (result *GenericLabelsListResponse, err error)
- func (r *GenericLabelsListRequest) SendContext(ctx context.Context) (result *GenericLabelsListResponse, err error)
- func (r *GenericLabelsListRequest) Size(value int) *GenericLabelsListRequest
- type GenericLabelsListResponse
- func (r *GenericLabelsListResponse) Error() *errors.Error
- func (r *GenericLabelsListResponse) GetItems() (value *LabelList, ok bool)
- func (r *GenericLabelsListResponse) GetPage() (value int, ok bool)
- func (r *GenericLabelsListResponse) GetSize() (value int, ok bool)
- func (r *GenericLabelsListResponse) GetTotal() (value int, ok bool)
- func (r *GenericLabelsListResponse) Header() http.Header
- func (r *GenericLabelsListResponse) Items() *LabelList
- func (r *GenericLabelsListResponse) Page() int
- func (r *GenericLabelsListResponse) Size() int
- func (r *GenericLabelsListResponse) Status() int
- func (r *GenericLabelsListResponse) Total() int
- type GenericLabelsListServerRequest
- type GenericLabelsListServerResponse
- func (r *GenericLabelsListServerResponse) Items(value *LabelList) *GenericLabelsListServerResponse
- func (r *GenericLabelsListServerResponse) Page(value int) *GenericLabelsListServerResponse
- func (r *GenericLabelsListServerResponse) Size(value int) *GenericLabelsListServerResponse
- func (r *GenericLabelsListServerResponse) Status(value int) *GenericLabelsListServerResponse
- func (r *GenericLabelsListServerResponse) Total(value int) *GenericLabelsListServerResponse
- type GenericLabelsServer
- type Label
- func (o *Label) CreatedAt() time.Time
- func (o *Label) Empty() bool
- func (o *Label) GetCreatedAt() (value time.Time, ok bool)
- func (o *Label) GetHREF() (value string, ok bool)
- func (o *Label) GetID() (value string, ok bool)
- func (o *Label) GetInternal() (value bool, ok bool)
- func (o *Label) GetKey() (value string, ok bool)
- func (o *Label) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Label) GetValue() (value string, ok bool)
- func (o *Label) HREF() string
- func (o *Label) ID() string
- func (o *Label) Internal() bool
- func (o *Label) Key() string
- func (o *Label) Kind() string
- func (o *Label) Link() bool
- func (o *Label) UpdatedAt() time.Time
- func (o *Label) Value() string
- type LabelBuilder
- func (b *LabelBuilder) Build() (object *Label, err error)
- func (b *LabelBuilder) Copy(object *Label) *LabelBuilder
- func (b *LabelBuilder) CreatedAt(value time.Time) *LabelBuilder
- func (b *LabelBuilder) HREF(value string) *LabelBuilder
- func (b *LabelBuilder) ID(value string) *LabelBuilder
- func (b *LabelBuilder) Internal(value bool) *LabelBuilder
- func (b *LabelBuilder) Key(value string) *LabelBuilder
- func (b *LabelBuilder) Link(value bool) *LabelBuilder
- func (b *LabelBuilder) UpdatedAt(value time.Time) *LabelBuilder
- func (b *LabelBuilder) Value(value string) *LabelBuilder
- type LabelList
- func (l *LabelList) Each(f func(item *Label) bool)
- func (l *LabelList) Empty() bool
- func (l *LabelList) Get(i int) *Label
- func (l *LabelList) GetHREF() (value string, ok bool)
- func (l *LabelList) HREF() string
- func (l *LabelList) Kind() string
- func (l *LabelList) Len() int
- func (l *LabelList) Link() bool
- func (l *LabelList) Range(f func(index int, item *Label) bool)
- func (l *LabelList) Slice() []*Label
- type LabelListBuilder
- type LabelsClient
- type LabelsListRequest
- func (r *LabelsListRequest) Header(name string, value interface{}) *LabelsListRequest
- func (r *LabelsListRequest) Page(value int) *LabelsListRequest
- func (r *LabelsListRequest) Parameter(name string, value interface{}) *LabelsListRequest
- func (r *LabelsListRequest) Search(value string) *LabelsListRequest
- func (r *LabelsListRequest) Send() (result *LabelsListResponse, err error)
- func (r *LabelsListRequest) SendContext(ctx context.Context) (result *LabelsListResponse, err error)
- func (r *LabelsListRequest) Size(value int) *LabelsListRequest
- type LabelsListResponse
- func (r *LabelsListResponse) Error() *errors.Error
- func (r *LabelsListResponse) GetItems() (value *LabelList, ok bool)
- func (r *LabelsListResponse) GetPage() (value int, ok bool)
- func (r *LabelsListResponse) GetSize() (value int, ok bool)
- func (r *LabelsListResponse) GetTotal() (value int, ok bool)
- func (r *LabelsListResponse) Header() http.Header
- func (r *LabelsListResponse) Items() *LabelList
- func (r *LabelsListResponse) Page() int
- func (r *LabelsListResponse) Size() int
- func (r *LabelsListResponse) Status() int
- func (r *LabelsListResponse) Total() int
- type LabelsListServerRequest
- func (r *LabelsListServerRequest) GetPage() (value int, ok bool)
- func (r *LabelsListServerRequest) GetSearch() (value string, ok bool)
- func (r *LabelsListServerRequest) GetSize() (value int, ok bool)
- func (r *LabelsListServerRequest) Page() int
- func (r *LabelsListServerRequest) Search() string
- func (r *LabelsListServerRequest) Size() int
- type LabelsListServerResponse
- func (r *LabelsListServerResponse) Items(value *LabelList) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Page(value int) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Size(value int) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Status(value int) *LabelsListServerResponse
- func (r *LabelsListServerResponse) Total(value int) *LabelsListServerResponse
- type LabelsServer
- 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 NotifyAddRequest
- func (r *NotifyAddRequest) Body(value *SubscriptionNotify) *NotifyAddRequest
- func (r *NotifyAddRequest) Header(name string, value interface{}) *NotifyAddRequest
- func (r *NotifyAddRequest) Parameter(name string, value interface{}) *NotifyAddRequest
- func (r *NotifyAddRequest) Send() (result *NotifyAddResponse, err error)
- func (r *NotifyAddRequest) SendContext(ctx context.Context) (result *NotifyAddResponse, err error)
- type NotifyAddResponse
- type NotifyAddServerRequest
- type NotifyAddServerResponse
- type NotifyClient
- type NotifyServer
- type Organization
- func (o *Organization) CreatedAt() time.Time
- func (o *Organization) EbsAccountID() string
- func (o *Organization) Empty() bool
- func (o *Organization) ExternalID() string
- func (o *Organization) GetCreatedAt() (value time.Time, ok bool)
- func (o *Organization) GetEbsAccountID() (value string, ok bool)
- func (o *Organization) GetExternalID() (value string, ok bool)
- func (o *Organization) GetHREF() (value string, ok bool)
- func (o *Organization) GetID() (value string, ok bool)
- func (o *Organization) GetLabels() (value []*Label, ok bool)
- func (o *Organization) GetName() (value string, ok bool)
- func (o *Organization) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Organization) HREF() string
- func (o *Organization) ID() string
- func (o *Organization) Kind() string
- func (o *Organization) Labels() []*Label
- func (o *Organization) Link() bool
- func (o *Organization) Name() string
- func (o *Organization) UpdatedAt() time.Time
- type OrganizationBuilder
- func (b *OrganizationBuilder) Build() (object *Organization, err error)
- func (b *OrganizationBuilder) Copy(object *Organization) *OrganizationBuilder
- func (b *OrganizationBuilder) CreatedAt(value time.Time) *OrganizationBuilder
- func (b *OrganizationBuilder) EbsAccountID(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) ExternalID(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) HREF(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) ID(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) Labels(values ...*LabelBuilder) *OrganizationBuilder
- func (b *OrganizationBuilder) Link(value bool) *OrganizationBuilder
- func (b *OrganizationBuilder) Name(value string) *OrganizationBuilder
- func (b *OrganizationBuilder) UpdatedAt(value time.Time) *OrganizationBuilder
- type OrganizationClient
- func (c *OrganizationClient) Get() *OrganizationGetRequest
- func (c *OrganizationClient) Labels() *GenericLabelsClient
- func (c *OrganizationClient) Poll() *OrganizationPollRequest
- func (c *OrganizationClient) QuotaSummary() *QuotaSummaryClient
- func (c *OrganizationClient) ResourceQuota() *ResourceQuotasClient
- func (c *OrganizationClient) SummaryDashboard() *SummaryDashboardClient
- func (c *OrganizationClient) Update() *OrganizationUpdateRequest
- type OrganizationGetRequest
- func (r *OrganizationGetRequest) Header(name string, value interface{}) *OrganizationGetRequest
- func (r *OrganizationGetRequest) Parameter(name string, value interface{}) *OrganizationGetRequest
- func (r *OrganizationGetRequest) Send() (result *OrganizationGetResponse, err error)
- func (r *OrganizationGetRequest) SendContext(ctx context.Context) (result *OrganizationGetResponse, err error)
- type OrganizationGetResponse
- type OrganizationGetServerRequest
- type OrganizationGetServerResponse
- type OrganizationList
- func (l *OrganizationList) Each(f func(item *Organization) bool)
- func (l *OrganizationList) Empty() bool
- func (l *OrganizationList) Get(i int) *Organization
- func (l *OrganizationList) GetHREF() (value string, ok bool)
- func (l *OrganizationList) HREF() string
- func (l *OrganizationList) Kind() string
- func (l *OrganizationList) Len() int
- func (l *OrganizationList) Link() bool
- func (l *OrganizationList) Range(f func(index int, item *Organization) bool)
- func (l *OrganizationList) Slice() []*Organization
- type OrganizationListBuilder
- type OrganizationPollRequest
- func (r *OrganizationPollRequest) Header(name string, value interface{}) *OrganizationPollRequest
- func (r *OrganizationPollRequest) Interval(value time.Duration) *OrganizationPollRequest
- func (r *OrganizationPollRequest) Parameter(name string, value interface{}) *OrganizationPollRequest
- func (r *OrganizationPollRequest) Predicate(value func(*OrganizationGetResponse) bool) *OrganizationPollRequest
- func (r *OrganizationPollRequest) StartContext(ctx context.Context) (response *OrganizationPollResponse, err error)
- func (r *OrganizationPollRequest) Status(value int) *OrganizationPollRequest
- type OrganizationPollResponse
- type OrganizationServer
- type OrganizationUpdateRequest
- func (r *OrganizationUpdateRequest) Body(value *Organization) *OrganizationUpdateRequest
- func (r *OrganizationUpdateRequest) Header(name string, value interface{}) *OrganizationUpdateRequest
- func (r *OrganizationUpdateRequest) Parameter(name string, value interface{}) *OrganizationUpdateRequest
- func (r *OrganizationUpdateRequest) Send() (result *OrganizationUpdateResponse, err error)
- func (r *OrganizationUpdateRequest) SendContext(ctx context.Context) (result *OrganizationUpdateResponse, err error)
- type OrganizationUpdateResponse
- func (r *OrganizationUpdateResponse) Body() *Organization
- func (r *OrganizationUpdateResponse) Error() *errors.Error
- func (r *OrganizationUpdateResponse) GetBody() (value *Organization, ok bool)
- func (r *OrganizationUpdateResponse) Header() http.Header
- func (r *OrganizationUpdateResponse) Status() int
- type OrganizationUpdateServerRequest
- type OrganizationUpdateServerResponse
- type OrganizationsAddRequest
- func (r *OrganizationsAddRequest) Body(value *Organization) *OrganizationsAddRequest
- func (r *OrganizationsAddRequest) Header(name string, value interface{}) *OrganizationsAddRequest
- func (r *OrganizationsAddRequest) Parameter(name string, value interface{}) *OrganizationsAddRequest
- func (r *OrganizationsAddRequest) Send() (result *OrganizationsAddResponse, err error)
- func (r *OrganizationsAddRequest) SendContext(ctx context.Context) (result *OrganizationsAddResponse, err error)
- type OrganizationsAddResponse
- type OrganizationsAddServerRequest
- type OrganizationsAddServerResponse
- type OrganizationsClient
- type OrganizationsListRequest
- func (r *OrganizationsListRequest) FetchlabelsLabels(value bool) *OrganizationsListRequest
- func (r *OrganizationsListRequest) Fields(value string) *OrganizationsListRequest
- func (r *OrganizationsListRequest) Header(name string, value interface{}) *OrganizationsListRequest
- func (r *OrganizationsListRequest) Page(value int) *OrganizationsListRequest
- func (r *OrganizationsListRequest) Parameter(name string, value interface{}) *OrganizationsListRequest
- func (r *OrganizationsListRequest) Search(value string) *OrganizationsListRequest
- func (r *OrganizationsListRequest) Send() (result *OrganizationsListResponse, err error)
- func (r *OrganizationsListRequest) SendContext(ctx context.Context) (result *OrganizationsListResponse, err error)
- func (r *OrganizationsListRequest) Size(value int) *OrganizationsListRequest
- type OrganizationsListResponse
- func (r *OrganizationsListResponse) Error() *errors.Error
- func (r *OrganizationsListResponse) GetItems() (value *OrganizationList, ok bool)
- func (r *OrganizationsListResponse) GetPage() (value int, ok bool)
- func (r *OrganizationsListResponse) GetSize() (value int, ok bool)
- func (r *OrganizationsListResponse) GetTotal() (value int, ok bool)
- func (r *OrganizationsListResponse) Header() http.Header
- func (r *OrganizationsListResponse) Items() *OrganizationList
- func (r *OrganizationsListResponse) Page() int
- func (r *OrganizationsListResponse) Size() int
- func (r *OrganizationsListResponse) Status() int
- func (r *OrganizationsListResponse) Total() int
- type OrganizationsListServerRequest
- func (r *OrganizationsListServerRequest) FetchlabelsLabels() bool
- func (r *OrganizationsListServerRequest) Fields() string
- func (r *OrganizationsListServerRequest) GetFetchlabelsLabels() (value bool, ok bool)
- func (r *OrganizationsListServerRequest) GetFields() (value string, ok bool)
- func (r *OrganizationsListServerRequest) GetPage() (value int, ok bool)
- func (r *OrganizationsListServerRequest) GetSearch() (value string, ok bool)
- func (r *OrganizationsListServerRequest) GetSize() (value int, ok bool)
- func (r *OrganizationsListServerRequest) Page() int
- func (r *OrganizationsListServerRequest) Search() string
- func (r *OrganizationsListServerRequest) Size() int
- type OrganizationsListServerResponse
- func (r *OrganizationsListServerResponse) Items(value *OrganizationList) *OrganizationsListServerResponse
- func (r *OrganizationsListServerResponse) Page(value int) *OrganizationsListServerResponse
- func (r *OrganizationsListServerResponse) Size(value int) *OrganizationsListServerResponse
- func (r *OrganizationsListServerResponse) Status(value int) *OrganizationsListServerResponse
- func (r *OrganizationsListServerResponse) Total(value int) *OrganizationsListServerResponse
- type OrganizationsServer
- type Permission
- func (o *Permission) Action() Action
- func (o *Permission) Empty() bool
- func (o *Permission) GetAction() (value Action, ok bool)
- func (o *Permission) GetHREF() (value string, ok bool)
- func (o *Permission) GetID() (value string, ok bool)
- func (o *Permission) GetResourceType() (value string, ok bool)
- func (o *Permission) HREF() string
- func (o *Permission) ID() string
- func (o *Permission) Kind() string
- func (o *Permission) Link() bool
- func (o *Permission) ResourceType() string
- type PermissionBuilder
- func (b *PermissionBuilder) Action(value Action) *PermissionBuilder
- func (b *PermissionBuilder) Build() (object *Permission, err error)
- func (b *PermissionBuilder) Copy(object *Permission) *PermissionBuilder
- func (b *PermissionBuilder) HREF(value string) *PermissionBuilder
- func (b *PermissionBuilder) ID(value string) *PermissionBuilder
- func (b *PermissionBuilder) Link(value bool) *PermissionBuilder
- func (b *PermissionBuilder) ResourceType(value string) *PermissionBuilder
- type PermissionClient
- type PermissionDeleteRequest
- func (r *PermissionDeleteRequest) Header(name string, value interface{}) *PermissionDeleteRequest
- func (r *PermissionDeleteRequest) Parameter(name string, value interface{}) *PermissionDeleteRequest
- func (r *PermissionDeleteRequest) Send() (result *PermissionDeleteResponse, err error)
- func (r *PermissionDeleteRequest) SendContext(ctx context.Context) (result *PermissionDeleteResponse, err error)
- type PermissionDeleteResponse
- type PermissionDeleteServerRequest
- type PermissionDeleteServerResponse
- type PermissionGetRequest
- func (r *PermissionGetRequest) Header(name string, value interface{}) *PermissionGetRequest
- func (r *PermissionGetRequest) Parameter(name string, value interface{}) *PermissionGetRequest
- func (r *PermissionGetRequest) Send() (result *PermissionGetResponse, err error)
- func (r *PermissionGetRequest) SendContext(ctx context.Context) (result *PermissionGetResponse, err error)
- type PermissionGetResponse
- type PermissionGetServerRequest
- type PermissionGetServerResponse
- type PermissionList
- func (l *PermissionList) Each(f func(item *Permission) bool)
- func (l *PermissionList) Empty() bool
- func (l *PermissionList) Get(i int) *Permission
- func (l *PermissionList) GetHREF() (value string, ok bool)
- func (l *PermissionList) HREF() string
- func (l *PermissionList) Kind() string
- func (l *PermissionList) Len() int
- func (l *PermissionList) Link() bool
- func (l *PermissionList) Range(f func(index int, item *Permission) bool)
- func (l *PermissionList) Slice() []*Permission
- type PermissionListBuilder
- type PermissionPollRequest
- func (r *PermissionPollRequest) Header(name string, value interface{}) *PermissionPollRequest
- func (r *PermissionPollRequest) Interval(value time.Duration) *PermissionPollRequest
- func (r *PermissionPollRequest) Parameter(name string, value interface{}) *PermissionPollRequest
- func (r *PermissionPollRequest) Predicate(value func(*PermissionGetResponse) bool) *PermissionPollRequest
- func (r *PermissionPollRequest) StartContext(ctx context.Context) (response *PermissionPollResponse, err error)
- func (r *PermissionPollRequest) Status(value int) *PermissionPollRequest
- type PermissionPollResponse
- type PermissionServer
- type PermissionsAddRequest
- func (r *PermissionsAddRequest) Body(value *Permission) *PermissionsAddRequest
- func (r *PermissionsAddRequest) Header(name string, value interface{}) *PermissionsAddRequest
- func (r *PermissionsAddRequest) Parameter(name string, value interface{}) *PermissionsAddRequest
- func (r *PermissionsAddRequest) Send() (result *PermissionsAddResponse, err error)
- func (r *PermissionsAddRequest) SendContext(ctx context.Context) (result *PermissionsAddResponse, err error)
- type PermissionsAddResponse
- type PermissionsAddServerRequest
- type PermissionsAddServerResponse
- type PermissionsClient
- type PermissionsListRequest
- func (r *PermissionsListRequest) Header(name string, value interface{}) *PermissionsListRequest
- func (r *PermissionsListRequest) Page(value int) *PermissionsListRequest
- func (r *PermissionsListRequest) Parameter(name string, value interface{}) *PermissionsListRequest
- func (r *PermissionsListRequest) Send() (result *PermissionsListResponse, err error)
- func (r *PermissionsListRequest) SendContext(ctx context.Context) (result *PermissionsListResponse, err error)
- func (r *PermissionsListRequest) Size(value int) *PermissionsListRequest
- type PermissionsListResponse
- func (r *PermissionsListResponse) Error() *errors.Error
- func (r *PermissionsListResponse) GetItems() (value *PermissionList, ok bool)
- func (r *PermissionsListResponse) GetPage() (value int, ok bool)
- func (r *PermissionsListResponse) GetSize() (value int, ok bool)
- func (r *PermissionsListResponse) GetTotal() (value int, ok bool)
- func (r *PermissionsListResponse) Header() http.Header
- func (r *PermissionsListResponse) Items() *PermissionList
- func (r *PermissionsListResponse) Page() int
- func (r *PermissionsListResponse) Size() int
- func (r *PermissionsListResponse) Status() int
- func (r *PermissionsListResponse) Total() int
- type PermissionsListServerRequest
- type PermissionsListServerResponse
- func (r *PermissionsListServerResponse) Items(value *PermissionList) *PermissionsListServerResponse
- func (r *PermissionsListServerResponse) Page(value int) *PermissionsListServerResponse
- func (r *PermissionsListServerResponse) Size(value int) *PermissionsListServerResponse
- func (r *PermissionsListServerResponse) Status(value int) *PermissionsListServerResponse
- func (r *PermissionsListServerResponse) Total(value int) *PermissionsListServerResponse
- type PermissionsServer
- type Plan
- func (o *Plan) Empty() bool
- func (o *Plan) GetHREF() (value string, ok bool)
- func (o *Plan) GetID() (value string, ok bool)
- func (o *Plan) GetName() (value string, ok bool)
- func (o *Plan) GetType() (value string, ok bool)
- func (o *Plan) HREF() string
- func (o *Plan) ID() string
- func (o *Plan) Kind() string
- func (o *Plan) Link() bool
- func (o *Plan) Name() string
- func (o *Plan) Type() string
- type PlanBuilder
- func (b *PlanBuilder) Build() (object *Plan, err error)
- func (b *PlanBuilder) Copy(object *Plan) *PlanBuilder
- func (b *PlanBuilder) HREF(value string) *PlanBuilder
- func (b *PlanBuilder) ID(value string) *PlanBuilder
- func (b *PlanBuilder) Link(value bool) *PlanBuilder
- func (b *PlanBuilder) Name(value string) *PlanBuilder
- func (b *PlanBuilder) Type(value string) *PlanBuilder
- type PlanID
- type PlanList
- func (l *PlanList) Each(f func(item *Plan) bool)
- func (l *PlanList) Empty() bool
- func (l *PlanList) Get(i int) *Plan
- func (l *PlanList) GetHREF() (value string, ok bool)
- func (l *PlanList) HREF() string
- func (l *PlanList) Kind() string
- func (l *PlanList) Len() int
- func (l *PlanList) Link() bool
- func (l *PlanList) Range(f func(index int, item *Plan) bool)
- func (l *PlanList) Slice() []*Plan
- type PlanListBuilder
- type ProductBundleEnum
- type PullSecretClient
- type PullSecretDeleteRequest
- func (r *PullSecretDeleteRequest) Header(name string, value interface{}) *PullSecretDeleteRequest
- func (r *PullSecretDeleteRequest) Parameter(name string, value interface{}) *PullSecretDeleteRequest
- func (r *PullSecretDeleteRequest) Send() (result *PullSecretDeleteResponse, err error)
- func (r *PullSecretDeleteRequest) SendContext(ctx context.Context) (result *PullSecretDeleteResponse, err error)
- type PullSecretDeleteResponse
- type PullSecretDeleteServerRequest
- type PullSecretDeleteServerResponse
- type PullSecretServer
- type PullSecretsClient
- type PullSecretsPostRequest
- func (r *PullSecretsPostRequest) Header(name string, value interface{}) *PullSecretsPostRequest
- func (r *PullSecretsPostRequest) Parameter(name string, value interface{}) *PullSecretsPostRequest
- func (r *PullSecretsPostRequest) Request(value *PullSecretsRequest) *PullSecretsPostRequest
- func (r *PullSecretsPostRequest) Send() (result *PullSecretsPostResponse, err error)
- func (r *PullSecretsPostRequest) SendContext(ctx context.Context) (result *PullSecretsPostResponse, err error)
- type PullSecretsPostResponse
- type PullSecretsPostServerRequest
- type PullSecretsPostServerResponse
- type PullSecretsRequest
- type PullSecretsRequestBuilder
- type PullSecretsRequestList
- func (l *PullSecretsRequestList) Each(f func(item *PullSecretsRequest) bool)
- func (l *PullSecretsRequestList) Empty() bool
- func (l *PullSecretsRequestList) Get(i int) *PullSecretsRequest
- func (l *PullSecretsRequestList) Len() int
- func (l *PullSecretsRequestList) Range(f func(index int, item *PullSecretsRequest) bool)
- func (l *PullSecretsRequestList) Slice() []*PullSecretsRequest
- type PullSecretsRequestListBuilder
- func (b *PullSecretsRequestListBuilder) Build() (list *PullSecretsRequestList, err error)
- func (b *PullSecretsRequestListBuilder) Copy(list *PullSecretsRequestList) *PullSecretsRequestListBuilder
- func (b *PullSecretsRequestListBuilder) Items(values ...*PullSecretsRequestBuilder) *PullSecretsRequestListBuilder
- type PullSecretsServer
- type QuotaSummary
- func (o *QuotaSummary) Allowed() int
- func (o *QuotaSummary) AvailabilityZoneType() string
- func (o *QuotaSummary) BYOC() bool
- func (o *QuotaSummary) Empty() bool
- func (o *QuotaSummary) GetAllowed() (value int, ok bool)
- func (o *QuotaSummary) GetAvailabilityZoneType() (value string, ok bool)
- func (o *QuotaSummary) GetBYOC() (value bool, ok bool)
- func (o *QuotaSummary) GetOrganizationID() (value string, ok bool)
- func (o *QuotaSummary) GetReserved() (value int, ok bool)
- func (o *QuotaSummary) GetResourceName() (value string, ok bool)
- func (o *QuotaSummary) GetResourceType() (value string, ok bool)
- func (o *QuotaSummary) OrganizationID() string
- func (o *QuotaSummary) Reserved() int
- func (o *QuotaSummary) ResourceName() string
- func (o *QuotaSummary) ResourceType() string
- type QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) Allowed(value int) *QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) AvailabilityZoneType(value string) *QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) BYOC(value bool) *QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) Build() (object *QuotaSummary, err error)
- func (b *QuotaSummaryBuilder) Copy(object *QuotaSummary) *QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) OrganizationID(value string) *QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) Reserved(value int) *QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) ResourceName(value string) *QuotaSummaryBuilder
- func (b *QuotaSummaryBuilder) ResourceType(value string) *QuotaSummaryBuilder
- type QuotaSummaryClient
- type QuotaSummaryList
- func (l *QuotaSummaryList) Each(f func(item *QuotaSummary) bool)
- func (l *QuotaSummaryList) Empty() bool
- func (l *QuotaSummaryList) Get(i int) *QuotaSummary
- func (l *QuotaSummaryList) Len() int
- func (l *QuotaSummaryList) Range(f func(index int, item *QuotaSummary) bool)
- func (l *QuotaSummaryList) Slice() []*QuotaSummary
- type QuotaSummaryListBuilder
- type QuotaSummaryListRequest
- func (r *QuotaSummaryListRequest) Header(name string, value interface{}) *QuotaSummaryListRequest
- func (r *QuotaSummaryListRequest) Page(value int) *QuotaSummaryListRequest
- func (r *QuotaSummaryListRequest) Parameter(name string, value interface{}) *QuotaSummaryListRequest
- func (r *QuotaSummaryListRequest) Search(value string) *QuotaSummaryListRequest
- func (r *QuotaSummaryListRequest) Send() (result *QuotaSummaryListResponse, err error)
- func (r *QuotaSummaryListRequest) SendContext(ctx context.Context) (result *QuotaSummaryListResponse, err error)
- func (r *QuotaSummaryListRequest) Size(value int) *QuotaSummaryListRequest
- type QuotaSummaryListResponse
- func (r *QuotaSummaryListResponse) Error() *errors.Error
- func (r *QuotaSummaryListResponse) GetItems() (value *QuotaSummaryList, ok bool)
- func (r *QuotaSummaryListResponse) GetPage() (value int, ok bool)
- func (r *QuotaSummaryListResponse) GetSize() (value int, ok bool)
- func (r *QuotaSummaryListResponse) GetTotal() (value int, ok bool)
- func (r *QuotaSummaryListResponse) Header() http.Header
- func (r *QuotaSummaryListResponse) Items() *QuotaSummaryList
- func (r *QuotaSummaryListResponse) Page() int
- func (r *QuotaSummaryListResponse) Size() int
- func (r *QuotaSummaryListResponse) Status() int
- func (r *QuotaSummaryListResponse) Total() int
- type QuotaSummaryListServerRequest
- func (r *QuotaSummaryListServerRequest) GetPage() (value int, ok bool)
- func (r *QuotaSummaryListServerRequest) GetSearch() (value string, ok bool)
- func (r *QuotaSummaryListServerRequest) GetSize() (value int, ok bool)
- func (r *QuotaSummaryListServerRequest) Page() int
- func (r *QuotaSummaryListServerRequest) Search() string
- func (r *QuotaSummaryListServerRequest) Size() int
- type QuotaSummaryListServerResponse
- func (r *QuotaSummaryListServerResponse) Items(value *QuotaSummaryList) *QuotaSummaryListServerResponse
- func (r *QuotaSummaryListServerResponse) Page(value int) *QuotaSummaryListServerResponse
- func (r *QuotaSummaryListServerResponse) Size(value int) *QuotaSummaryListServerResponse
- func (r *QuotaSummaryListServerResponse) Status(value int) *QuotaSummaryListServerResponse
- func (r *QuotaSummaryListServerResponse) Total(value int) *QuotaSummaryListServerResponse
- type QuotaSummaryServer
- type RegistriesClient
- type RegistriesListRequest
- func (r *RegistriesListRequest) Header(name string, value interface{}) *RegistriesListRequest
- func (r *RegistriesListRequest) Page(value int) *RegistriesListRequest
- func (r *RegistriesListRequest) Parameter(name string, value interface{}) *RegistriesListRequest
- func (r *RegistriesListRequest) Send() (result *RegistriesListResponse, err error)
- func (r *RegistriesListRequest) SendContext(ctx context.Context) (result *RegistriesListResponse, err error)
- func (r *RegistriesListRequest) Size(value int) *RegistriesListRequest
- type RegistriesListResponse
- func (r *RegistriesListResponse) Error() *errors.Error
- func (r *RegistriesListResponse) GetItems() (value *RegistryList, ok bool)
- func (r *RegistriesListResponse) GetPage() (value int, ok bool)
- func (r *RegistriesListResponse) GetSize() (value int, ok bool)
- func (r *RegistriesListResponse) GetTotal() (value int, ok bool)
- func (r *RegistriesListResponse) Header() http.Header
- func (r *RegistriesListResponse) Items() *RegistryList
- func (r *RegistriesListResponse) Page() int
- func (r *RegistriesListResponse) Size() int
- func (r *RegistriesListResponse) Status() int
- func (r *RegistriesListResponse) Total() int
- type RegistriesListServerRequest
- type RegistriesListServerResponse
- func (r *RegistriesListServerResponse) Items(value *RegistryList) *RegistriesListServerResponse
- func (r *RegistriesListServerResponse) Page(value int) *RegistriesListServerResponse
- func (r *RegistriesListServerResponse) Size(value int) *RegistriesListServerResponse
- func (r *RegistriesListServerResponse) Status(value int) *RegistriesListServerResponse
- func (r *RegistriesListServerResponse) Total(value int) *RegistriesListServerResponse
- type RegistriesServer
- type Registry
- func (o *Registry) CloudAlias() bool
- func (o *Registry) CreatedAt() time.Time
- func (o *Registry) Empty() bool
- func (o *Registry) GetCloudAlias() (value bool, ok bool)
- func (o *Registry) GetCreatedAt() (value time.Time, ok bool)
- func (o *Registry) GetHREF() (value string, ok bool)
- func (o *Registry) GetID() (value string, ok bool)
- func (o *Registry) GetName() (value string, ok bool)
- func (o *Registry) GetOrgName() (value string, ok bool)
- func (o *Registry) GetTeamName() (value string, ok bool)
- func (o *Registry) GetType() (value string, ok bool)
- func (o *Registry) GetURL() (value string, ok bool)
- func (o *Registry) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Registry) HREF() string
- func (o *Registry) ID() string
- func (o *Registry) Kind() string
- func (o *Registry) Link() bool
- func (o *Registry) Name() string
- func (o *Registry) OrgName() string
- func (o *Registry) TeamName() string
- func (o *Registry) Type() string
- func (o *Registry) URL() string
- func (o *Registry) UpdatedAt() time.Time
- type RegistryBuilder
- func (b *RegistryBuilder) Build() (object *Registry, err error)
- func (b *RegistryBuilder) CloudAlias(value bool) *RegistryBuilder
- func (b *RegistryBuilder) Copy(object *Registry) *RegistryBuilder
- func (b *RegistryBuilder) CreatedAt(value time.Time) *RegistryBuilder
- func (b *RegistryBuilder) HREF(value string) *RegistryBuilder
- func (b *RegistryBuilder) ID(value string) *RegistryBuilder
- func (b *RegistryBuilder) Link(value bool) *RegistryBuilder
- func (b *RegistryBuilder) Name(value string) *RegistryBuilder
- func (b *RegistryBuilder) OrgName(value string) *RegistryBuilder
- func (b *RegistryBuilder) TeamName(value string) *RegistryBuilder
- func (b *RegistryBuilder) Type(value string) *RegistryBuilder
- func (b *RegistryBuilder) URL(value string) *RegistryBuilder
- func (b *RegistryBuilder) UpdatedAt(value time.Time) *RegistryBuilder
- type RegistryClient
- type RegistryCredential
- func (o *RegistryCredential) Account() *Account
- func (o *RegistryCredential) CreatedAt() time.Time
- func (o *RegistryCredential) Empty() bool
- func (o *RegistryCredential) ExternalResourceID() string
- func (o *RegistryCredential) GetAccount() (value *Account, ok bool)
- func (o *RegistryCredential) GetCreatedAt() (value time.Time, ok bool)
- func (o *RegistryCredential) GetExternalResourceID() (value string, ok bool)
- func (o *RegistryCredential) GetHREF() (value string, ok bool)
- func (o *RegistryCredential) GetID() (value string, ok bool)
- func (o *RegistryCredential) GetRegistry() (value *Registry, ok bool)
- func (o *RegistryCredential) GetToken() (value string, ok bool)
- func (o *RegistryCredential) GetUpdatedAt() (value time.Time, ok bool)
- func (o *RegistryCredential) GetUsername() (value string, ok bool)
- func (o *RegistryCredential) HREF() string
- func (o *RegistryCredential) ID() string
- func (o *RegistryCredential) Kind() string
- func (o *RegistryCredential) Link() bool
- func (o *RegistryCredential) Registry() *Registry
- func (o *RegistryCredential) Token() string
- func (o *RegistryCredential) UpdatedAt() time.Time
- func (o *RegistryCredential) Username() string
- type RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Account(value *AccountBuilder) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Build() (object *RegistryCredential, err error)
- func (b *RegistryCredentialBuilder) Copy(object *RegistryCredential) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) CreatedAt(value time.Time) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) ExternalResourceID(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) HREF(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) ID(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Link(value bool) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Registry(value *RegistryBuilder) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Token(value string) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) UpdatedAt(value time.Time) *RegistryCredentialBuilder
- func (b *RegistryCredentialBuilder) Username(value string) *RegistryCredentialBuilder
- type RegistryCredentialClient
- type RegistryCredentialGetRequest
- func (r *RegistryCredentialGetRequest) Header(name string, value interface{}) *RegistryCredentialGetRequest
- func (r *RegistryCredentialGetRequest) Parameter(name string, value interface{}) *RegistryCredentialGetRequest
- func (r *RegistryCredentialGetRequest) Send() (result *RegistryCredentialGetResponse, err error)
- func (r *RegistryCredentialGetRequest) SendContext(ctx context.Context) (result *RegistryCredentialGetResponse, err error)
- type RegistryCredentialGetResponse
- func (r *RegistryCredentialGetResponse) Body() *RegistryCredential
- func (r *RegistryCredentialGetResponse) Error() *errors.Error
- func (r *RegistryCredentialGetResponse) GetBody() (value *RegistryCredential, ok bool)
- func (r *RegistryCredentialGetResponse) Header() http.Header
- func (r *RegistryCredentialGetResponse) Status() int
- type RegistryCredentialGetServerRequest
- type RegistryCredentialGetServerResponse
- type RegistryCredentialList
- func (l *RegistryCredentialList) Each(f func(item *RegistryCredential) bool)
- func (l *RegistryCredentialList) Empty() bool
- func (l *RegistryCredentialList) Get(i int) *RegistryCredential
- func (l *RegistryCredentialList) GetHREF() (value string, ok bool)
- func (l *RegistryCredentialList) HREF() string
- func (l *RegistryCredentialList) Kind() string
- func (l *RegistryCredentialList) Len() int
- func (l *RegistryCredentialList) Link() bool
- func (l *RegistryCredentialList) Range(f func(index int, item *RegistryCredential) bool)
- func (l *RegistryCredentialList) Slice() []*RegistryCredential
- type RegistryCredentialListBuilder
- func (b *RegistryCredentialListBuilder) Build() (list *RegistryCredentialList, err error)
- func (b *RegistryCredentialListBuilder) Copy(list *RegistryCredentialList) *RegistryCredentialListBuilder
- func (b *RegistryCredentialListBuilder) Items(values ...*RegistryCredentialBuilder) *RegistryCredentialListBuilder
- type RegistryCredentialPollRequest
- func (r *RegistryCredentialPollRequest) Header(name string, value interface{}) *RegistryCredentialPollRequest
- func (r *RegistryCredentialPollRequest) Interval(value time.Duration) *RegistryCredentialPollRequest
- func (r *RegistryCredentialPollRequest) Parameter(name string, value interface{}) *RegistryCredentialPollRequest
- func (r *RegistryCredentialPollRequest) Predicate(value func(*RegistryCredentialGetResponse) bool) *RegistryCredentialPollRequest
- func (r *RegistryCredentialPollRequest) StartContext(ctx context.Context) (response *RegistryCredentialPollResponse, err error)
- func (r *RegistryCredentialPollRequest) Status(value int) *RegistryCredentialPollRequest
- type RegistryCredentialPollResponse
- func (r *RegistryCredentialPollResponse) Body() *RegistryCredential
- func (r *RegistryCredentialPollResponse) Error() *errors.Error
- func (r *RegistryCredentialPollResponse) GetBody() (value *RegistryCredential, ok bool)
- func (r *RegistryCredentialPollResponse) Header() http.Header
- func (r *RegistryCredentialPollResponse) Status() int
- type RegistryCredentialServer
- type RegistryCredentialsAddRequest
- func (r *RegistryCredentialsAddRequest) Body(value *RegistryCredential) *RegistryCredentialsAddRequest
- func (r *RegistryCredentialsAddRequest) Header(name string, value interface{}) *RegistryCredentialsAddRequest
- func (r *RegistryCredentialsAddRequest) Parameter(name string, value interface{}) *RegistryCredentialsAddRequest
- func (r *RegistryCredentialsAddRequest) Send() (result *RegistryCredentialsAddResponse, err error)
- func (r *RegistryCredentialsAddRequest) SendContext(ctx context.Context) (result *RegistryCredentialsAddResponse, err error)
- type RegistryCredentialsAddResponse
- func (r *RegistryCredentialsAddResponse) Body() *RegistryCredential
- func (r *RegistryCredentialsAddResponse) Error() *errors.Error
- func (r *RegistryCredentialsAddResponse) GetBody() (value *RegistryCredential, ok bool)
- func (r *RegistryCredentialsAddResponse) Header() http.Header
- func (r *RegistryCredentialsAddResponse) Status() int
- type RegistryCredentialsAddServerRequest
- type RegistryCredentialsAddServerResponse
- type RegistryCredentialsClient
- type RegistryCredentialsListRequest
- func (r *RegistryCredentialsListRequest) Header(name string, value interface{}) *RegistryCredentialsListRequest
- func (r *RegistryCredentialsListRequest) Order(value string) *RegistryCredentialsListRequest
- func (r *RegistryCredentialsListRequest) Page(value int) *RegistryCredentialsListRequest
- func (r *RegistryCredentialsListRequest) Parameter(name string, value interface{}) *RegistryCredentialsListRequest
- func (r *RegistryCredentialsListRequest) Search(value string) *RegistryCredentialsListRequest
- func (r *RegistryCredentialsListRequest) Send() (result *RegistryCredentialsListResponse, err error)
- func (r *RegistryCredentialsListRequest) SendContext(ctx context.Context) (result *RegistryCredentialsListResponse, err error)
- func (r *RegistryCredentialsListRequest) Size(value int) *RegistryCredentialsListRequest
- type RegistryCredentialsListResponse
- func (r *RegistryCredentialsListResponse) Error() *errors.Error
- func (r *RegistryCredentialsListResponse) GetItems() (value *RegistryCredentialList, ok bool)
- func (r *RegistryCredentialsListResponse) GetPage() (value int, ok bool)
- func (r *RegistryCredentialsListResponse) GetSize() (value int, ok bool)
- func (r *RegistryCredentialsListResponse) GetTotal() (value int, ok bool)
- func (r *RegistryCredentialsListResponse) Header() http.Header
- func (r *RegistryCredentialsListResponse) Items() *RegistryCredentialList
- func (r *RegistryCredentialsListResponse) Page() int
- func (r *RegistryCredentialsListResponse) Size() int
- func (r *RegistryCredentialsListResponse) Status() int
- func (r *RegistryCredentialsListResponse) Total() int
- type RegistryCredentialsListServerRequest
- func (r *RegistryCredentialsListServerRequest) GetOrder() (value string, ok bool)
- func (r *RegistryCredentialsListServerRequest) GetPage() (value int, ok bool)
- func (r *RegistryCredentialsListServerRequest) GetSearch() (value string, ok bool)
- func (r *RegistryCredentialsListServerRequest) GetSize() (value int, ok bool)
- func (r *RegistryCredentialsListServerRequest) Order() string
- func (r *RegistryCredentialsListServerRequest) Page() int
- func (r *RegistryCredentialsListServerRequest) Search() string
- func (r *RegistryCredentialsListServerRequest) Size() int
- type RegistryCredentialsListServerResponse
- func (r *RegistryCredentialsListServerResponse) Items(value *RegistryCredentialList) *RegistryCredentialsListServerResponse
- func (r *RegistryCredentialsListServerResponse) Page(value int) *RegistryCredentialsListServerResponse
- func (r *RegistryCredentialsListServerResponse) Size(value int) *RegistryCredentialsListServerResponse
- func (r *RegistryCredentialsListServerResponse) Status(value int) *RegistryCredentialsListServerResponse
- func (r *RegistryCredentialsListServerResponse) Total(value int) *RegistryCredentialsListServerResponse
- type RegistryCredentialsServer
- type RegistryGetRequest
- func (r *RegistryGetRequest) Header(name string, value interface{}) *RegistryGetRequest
- func (r *RegistryGetRequest) Parameter(name string, value interface{}) *RegistryGetRequest
- func (r *RegistryGetRequest) Send() (result *RegistryGetResponse, err error)
- func (r *RegistryGetRequest) SendContext(ctx context.Context) (result *RegistryGetResponse, err error)
- type RegistryGetResponse
- type RegistryGetServerRequest
- type RegistryGetServerResponse
- type RegistryList
- func (l *RegistryList) Each(f func(item *Registry) bool)
- func (l *RegistryList) Empty() bool
- func (l *RegistryList) Get(i int) *Registry
- func (l *RegistryList) GetHREF() (value string, ok bool)
- func (l *RegistryList) HREF() string
- func (l *RegistryList) Kind() string
- func (l *RegistryList) Len() int
- func (l *RegistryList) Link() bool
- func (l *RegistryList) Range(f func(index int, item *Registry) bool)
- func (l *RegistryList) Slice() []*Registry
- type RegistryListBuilder
- type RegistryPollRequest
- func (r *RegistryPollRequest) Header(name string, value interface{}) *RegistryPollRequest
- func (r *RegistryPollRequest) Interval(value time.Duration) *RegistryPollRequest
- func (r *RegistryPollRequest) Parameter(name string, value interface{}) *RegistryPollRequest
- func (r *RegistryPollRequest) Predicate(value func(*RegistryGetResponse) bool) *RegistryPollRequest
- func (r *RegistryPollRequest) StartContext(ctx context.Context) (response *RegistryPollResponse, err error)
- func (r *RegistryPollRequest) Status(value int) *RegistryPollRequest
- type RegistryPollResponse
- type RegistryServer
- type ReservedResource
- func (o *ReservedResource) AvailabilityZoneType() string
- func (o *ReservedResource) BYOC() bool
- func (o *ReservedResource) Count() int
- func (o *ReservedResource) CreatedAt() time.Time
- func (o *ReservedResource) Empty() bool
- func (o *ReservedResource) GetAvailabilityZoneType() (value string, ok bool)
- func (o *ReservedResource) GetBYOC() (value bool, ok bool)
- func (o *ReservedResource) GetCount() (value int, ok bool)
- func (o *ReservedResource) GetCreatedAt() (value time.Time, ok bool)
- func (o *ReservedResource) GetResourceName() (value string, ok bool)
- func (o *ReservedResource) GetResourceType() (value string, ok bool)
- func (o *ReservedResource) GetUpdatedAt() (value time.Time, ok bool)
- func (o *ReservedResource) ResourceName() string
- func (o *ReservedResource) ResourceType() string
- func (o *ReservedResource) UpdatedAt() time.Time
- type ReservedResourceBuilder
- func (b *ReservedResourceBuilder) AvailabilityZoneType(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) BYOC(value bool) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) Build() (object *ReservedResource, err error)
- func (b *ReservedResourceBuilder) Copy(object *ReservedResource) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) Count(value int) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) CreatedAt(value time.Time) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) ResourceName(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) ResourceType(value string) *ReservedResourceBuilder
- func (b *ReservedResourceBuilder) UpdatedAt(value time.Time) *ReservedResourceBuilder
- type ReservedResourceList
- func (l *ReservedResourceList) Each(f func(item *ReservedResource) bool)
- func (l *ReservedResourceList) Empty() bool
- func (l *ReservedResourceList) Get(i int) *ReservedResource
- func (l *ReservedResourceList) Len() int
- func (l *ReservedResourceList) Range(f func(index int, item *ReservedResource) bool)
- func (l *ReservedResourceList) Slice() []*ReservedResource
- type ReservedResourceListBuilder
- type Resource
- func (o *Resource) Allowed() int
- func (o *Resource) AvailabilityZoneType() string
- func (o *Resource) BYOC() bool
- func (o *Resource) Empty() bool
- func (o *Resource) GetAllowed() (value int, ok bool)
- func (o *Resource) GetAvailabilityZoneType() (value string, ok bool)
- func (o *Resource) GetBYOC() (value bool, ok bool)
- func (o *Resource) GetHREF() (value string, ok bool)
- func (o *Resource) GetID() (value string, ok bool)
- func (o *Resource) GetResourceName() (value string, ok bool)
- func (o *Resource) GetResourceType() (value string, ok bool)
- func (o *Resource) GetSKU() (value string, ok bool)
- func (o *Resource) HREF() string
- func (o *Resource) ID() string
- func (o *Resource) Kind() string
- func (o *Resource) Link() bool
- func (o *Resource) ResourceName() string
- func (o *Resource) ResourceType() string
- func (o *Resource) SKU() string
- type ResourceBuilder
- func (b *ResourceBuilder) Allowed(value int) *ResourceBuilder
- func (b *ResourceBuilder) AvailabilityZoneType(value string) *ResourceBuilder
- func (b *ResourceBuilder) BYOC(value bool) *ResourceBuilder
- func (b *ResourceBuilder) Build() (object *Resource, err error)
- func (b *ResourceBuilder) Copy(object *Resource) *ResourceBuilder
- func (b *ResourceBuilder) HREF(value string) *ResourceBuilder
- func (b *ResourceBuilder) ID(value string) *ResourceBuilder
- func (b *ResourceBuilder) Link(value bool) *ResourceBuilder
- func (b *ResourceBuilder) ResourceName(value string) *ResourceBuilder
- func (b *ResourceBuilder) ResourceType(value string) *ResourceBuilder
- func (b *ResourceBuilder) SKU(value string) *ResourceBuilder
- type ResourceList
- func (l *ResourceList) Each(f func(item *Resource) bool)
- func (l *ResourceList) Empty() bool
- func (l *ResourceList) Get(i int) *Resource
- func (l *ResourceList) GetHREF() (value string, ok bool)
- func (l *ResourceList) HREF() string
- func (l *ResourceList) Kind() string
- func (l *ResourceList) Len() int
- func (l *ResourceList) Link() bool
- func (l *ResourceList) Range(f func(index int, item *Resource) bool)
- func (l *ResourceList) Slice() []*Resource
- type ResourceListBuilder
- type ResourceQuota
- func (o *ResourceQuota) Allowed() int
- func (o *ResourceQuota) AvailabilityZoneType() string
- func (o *ResourceQuota) BYOC() bool
- func (o *ResourceQuota) CreatedAt() time.Time
- func (o *ResourceQuota) Empty() bool
- func (o *ResourceQuota) GetAllowed() (value int, ok bool)
- func (o *ResourceQuota) GetAvailabilityZoneType() (value string, ok bool)
- func (o *ResourceQuota) GetBYOC() (value bool, ok bool)
- func (o *ResourceQuota) GetCreatedAt() (value time.Time, ok bool)
- func (o *ResourceQuota) GetHREF() (value string, ok bool)
- func (o *ResourceQuota) GetID() (value string, ok bool)
- func (o *ResourceQuota) GetOrganizationID() (value string, ok bool)
- func (o *ResourceQuota) GetResourceName() (value string, ok bool)
- func (o *ResourceQuota) GetResourceType() (value string, ok bool)
- func (o *ResourceQuota) GetSKU() (value string, ok bool)
- func (o *ResourceQuota) GetSkuCount() (value int, ok bool)
- func (o *ResourceQuota) GetType() (value string, ok bool)
- func (o *ResourceQuota) GetUpdatedAt() (value time.Time, ok bool)
- func (o *ResourceQuota) HREF() string
- func (o *ResourceQuota) ID() string
- func (o *ResourceQuota) Kind() string
- func (o *ResourceQuota) Link() bool
- func (o *ResourceQuota) OrganizationID() string
- func (o *ResourceQuota) ResourceName() string
- func (o *ResourceQuota) ResourceType() string
- func (o *ResourceQuota) SKU() string
- func (o *ResourceQuota) SkuCount() int
- func (o *ResourceQuota) Type() string
- func (o *ResourceQuota) UpdatedAt() time.Time
- type ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Allowed(value int) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) AvailabilityZoneType(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) BYOC(value bool) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Build() (object *ResourceQuota, err error)
- func (b *ResourceQuotaBuilder) Copy(object *ResourceQuota) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) CreatedAt(value time.Time) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) HREF(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) ID(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Link(value bool) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) OrganizationID(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) ResourceName(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) ResourceType(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) SKU(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) SkuCount(value int) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) Type(value string) *ResourceQuotaBuilder
- func (b *ResourceQuotaBuilder) UpdatedAt(value time.Time) *ResourceQuotaBuilder
- type ResourceQuotaClient
- type ResourceQuotaDeleteRequest
- func (r *ResourceQuotaDeleteRequest) Header(name string, value interface{}) *ResourceQuotaDeleteRequest
- func (r *ResourceQuotaDeleteRequest) Parameter(name string, value interface{}) *ResourceQuotaDeleteRequest
- func (r *ResourceQuotaDeleteRequest) Send() (result *ResourceQuotaDeleteResponse, err error)
- func (r *ResourceQuotaDeleteRequest) SendContext(ctx context.Context) (result *ResourceQuotaDeleteResponse, err error)
- type ResourceQuotaDeleteResponse
- type ResourceQuotaDeleteServerRequest
- type ResourceQuotaDeleteServerResponse
- type ResourceQuotaGetRequest
- func (r *ResourceQuotaGetRequest) Header(name string, value interface{}) *ResourceQuotaGetRequest
- func (r *ResourceQuotaGetRequest) Parameter(name string, value interface{}) *ResourceQuotaGetRequest
- func (r *ResourceQuotaGetRequest) Send() (result *ResourceQuotaGetResponse, err error)
- func (r *ResourceQuotaGetRequest) SendContext(ctx context.Context) (result *ResourceQuotaGetResponse, err error)
- type ResourceQuotaGetResponse
- type ResourceQuotaGetServerRequest
- type ResourceQuotaGetServerResponse
- type ResourceQuotaList
- func (l *ResourceQuotaList) Each(f func(item *ResourceQuota) bool)
- func (l *ResourceQuotaList) Empty() bool
- func (l *ResourceQuotaList) Get(i int) *ResourceQuota
- func (l *ResourceQuotaList) GetHREF() (value string, ok bool)
- func (l *ResourceQuotaList) HREF() string
- func (l *ResourceQuotaList) Kind() string
- func (l *ResourceQuotaList) Len() int
- func (l *ResourceQuotaList) Link() bool
- func (l *ResourceQuotaList) Range(f func(index int, item *ResourceQuota) bool)
- func (l *ResourceQuotaList) Slice() []*ResourceQuota
- type ResourceQuotaListBuilder
- type ResourceQuotaPollRequest
- func (r *ResourceQuotaPollRequest) Header(name string, value interface{}) *ResourceQuotaPollRequest
- func (r *ResourceQuotaPollRequest) Interval(value time.Duration) *ResourceQuotaPollRequest
- func (r *ResourceQuotaPollRequest) Parameter(name string, value interface{}) *ResourceQuotaPollRequest
- func (r *ResourceQuotaPollRequest) Predicate(value func(*ResourceQuotaGetResponse) bool) *ResourceQuotaPollRequest
- func (r *ResourceQuotaPollRequest) StartContext(ctx context.Context) (response *ResourceQuotaPollResponse, err error)
- func (r *ResourceQuotaPollRequest) Status(value int) *ResourceQuotaPollRequest
- type ResourceQuotaPollResponse
- type ResourceQuotaServer
- type ResourceQuotaUpdateRequest
- func (r *ResourceQuotaUpdateRequest) Body(value *ResourceQuota) *ResourceQuotaUpdateRequest
- func (r *ResourceQuotaUpdateRequest) Header(name string, value interface{}) *ResourceQuotaUpdateRequest
- func (r *ResourceQuotaUpdateRequest) Parameter(name string, value interface{}) *ResourceQuotaUpdateRequest
- func (r *ResourceQuotaUpdateRequest) Send() (result *ResourceQuotaUpdateResponse, err error)
- func (r *ResourceQuotaUpdateRequest) SendContext(ctx context.Context) (result *ResourceQuotaUpdateResponse, err error)
- type ResourceQuotaUpdateResponse
- func (r *ResourceQuotaUpdateResponse) Body() *ResourceQuota
- func (r *ResourceQuotaUpdateResponse) Error() *errors.Error
- func (r *ResourceQuotaUpdateResponse) GetBody() (value *ResourceQuota, ok bool)
- func (r *ResourceQuotaUpdateResponse) Header() http.Header
- func (r *ResourceQuotaUpdateResponse) Status() int
- type ResourceQuotaUpdateServerRequest
- type ResourceQuotaUpdateServerResponse
- type ResourceQuotasAddRequest
- func (r *ResourceQuotasAddRequest) Body(value *ResourceQuota) *ResourceQuotasAddRequest
- func (r *ResourceQuotasAddRequest) Header(name string, value interface{}) *ResourceQuotasAddRequest
- func (r *ResourceQuotasAddRequest) Parameter(name string, value interface{}) *ResourceQuotasAddRequest
- func (r *ResourceQuotasAddRequest) Send() (result *ResourceQuotasAddResponse, err error)
- func (r *ResourceQuotasAddRequest) SendContext(ctx context.Context) (result *ResourceQuotasAddResponse, err error)
- type ResourceQuotasAddResponse
- type ResourceQuotasAddServerRequest
- type ResourceQuotasAddServerResponse
- type ResourceQuotasClient
- type ResourceQuotasListRequest
- func (r *ResourceQuotasListRequest) Header(name string, value interface{}) *ResourceQuotasListRequest
- func (r *ResourceQuotasListRequest) Page(value int) *ResourceQuotasListRequest
- func (r *ResourceQuotasListRequest) Parameter(name string, value interface{}) *ResourceQuotasListRequest
- func (r *ResourceQuotasListRequest) Search(value string) *ResourceQuotasListRequest
- func (r *ResourceQuotasListRequest) Send() (result *ResourceQuotasListResponse, err error)
- func (r *ResourceQuotasListRequest) SendContext(ctx context.Context) (result *ResourceQuotasListResponse, err error)
- func (r *ResourceQuotasListRequest) Size(value int) *ResourceQuotasListRequest
- type ResourceQuotasListResponse
- func (r *ResourceQuotasListResponse) Error() *errors.Error
- func (r *ResourceQuotasListResponse) GetItems() (value *ResourceQuotaList, ok bool)
- func (r *ResourceQuotasListResponse) GetPage() (value int, ok bool)
- func (r *ResourceQuotasListResponse) GetSize() (value int, ok bool)
- func (r *ResourceQuotasListResponse) GetTotal() (value int, ok bool)
- func (r *ResourceQuotasListResponse) Header() http.Header
- func (r *ResourceQuotasListResponse) Items() *ResourceQuotaList
- func (r *ResourceQuotasListResponse) Page() int
- func (r *ResourceQuotasListResponse) Size() int
- func (r *ResourceQuotasListResponse) Status() int
- func (r *ResourceQuotasListResponse) Total() int
- type ResourceQuotasListServerRequest
- func (r *ResourceQuotasListServerRequest) GetPage() (value int, ok bool)
- func (r *ResourceQuotasListServerRequest) GetSearch() (value string, ok bool)
- func (r *ResourceQuotasListServerRequest) GetSize() (value int, ok bool)
- func (r *ResourceQuotasListServerRequest) Page() int
- func (r *ResourceQuotasListServerRequest) Search() string
- func (r *ResourceQuotasListServerRequest) Size() int
- type ResourceQuotasListServerResponse
- func (r *ResourceQuotasListServerResponse) Items(value *ResourceQuotaList) *ResourceQuotasListServerResponse
- func (r *ResourceQuotasListServerResponse) Page(value int) *ResourceQuotasListServerResponse
- func (r *ResourceQuotasListServerResponse) Size(value int) *ResourceQuotasListServerResponse
- func (r *ResourceQuotasListServerResponse) Status(value int) *ResourceQuotasListServerResponse
- func (r *ResourceQuotasListServerResponse) Total(value int) *ResourceQuotasListServerResponse
- type ResourceQuotasServer
- type Role
- func (o *Role) Empty() bool
- func (o *Role) GetHREF() (value string, ok bool)
- func (o *Role) GetID() (value string, ok bool)
- func (o *Role) GetName() (value string, ok bool)
- func (o *Role) GetPermissions() (value []*Permission, ok bool)
- func (o *Role) HREF() string
- func (o *Role) ID() string
- func (o *Role) Kind() string
- func (o *Role) Link() bool
- func (o *Role) Name() string
- func (o *Role) Permissions() []*Permission
- type RoleBinding
- func (o *RoleBinding) Account() *Account
- func (o *RoleBinding) AccountID() string
- func (o *RoleBinding) ConfigManaged() bool
- func (o *RoleBinding) CreatedAt() time.Time
- func (o *RoleBinding) Empty() bool
- func (o *RoleBinding) GetAccount() (value *Account, ok bool)
- func (o *RoleBinding) GetAccountID() (value string, ok bool)
- func (o *RoleBinding) GetConfigManaged() (value bool, ok bool)
- func (o *RoleBinding) GetCreatedAt() (value time.Time, ok bool)
- func (o *RoleBinding) GetHREF() (value string, ok bool)
- func (o *RoleBinding) GetID() (value string, ok bool)
- func (o *RoleBinding) GetOrganization() (value *Organization, ok bool)
- func (o *RoleBinding) GetOrganizationID() (value string, ok bool)
- func (o *RoleBinding) GetRole() (value *Role, ok bool)
- func (o *RoleBinding) GetRoleID() (value string, ok bool)
- func (o *RoleBinding) GetSubscription() (value *Subscription, ok bool)
- func (o *RoleBinding) GetSubscriptionID() (value string, ok bool)
- func (o *RoleBinding) GetType() (value string, ok bool)
- func (o *RoleBinding) GetUpdatedAt() (value time.Time, ok bool)
- func (o *RoleBinding) HREF() string
- func (o *RoleBinding) ID() string
- func (o *RoleBinding) Kind() string
- func (o *RoleBinding) Link() bool
- func (o *RoleBinding) Organization() *Organization
- func (o *RoleBinding) OrganizationID() string
- func (o *RoleBinding) Role() *Role
- func (o *RoleBinding) RoleID() string
- func (o *RoleBinding) Subscription() *Subscription
- func (o *RoleBinding) SubscriptionID() string
- func (o *RoleBinding) Type() string
- func (o *RoleBinding) UpdatedAt() time.Time
- type RoleBindingBuilder
- func (b *RoleBindingBuilder) Account(value *AccountBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) AccountID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Build() (object *RoleBinding, err error)
- func (b *RoleBindingBuilder) ConfigManaged(value bool) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Copy(object *RoleBinding) *RoleBindingBuilder
- func (b *RoleBindingBuilder) CreatedAt(value time.Time) *RoleBindingBuilder
- func (b *RoleBindingBuilder) HREF(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) ID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Link(value bool) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Organization(value *OrganizationBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) OrganizationID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Role(value *RoleBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) RoleID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Subscription(value *SubscriptionBuilder) *RoleBindingBuilder
- func (b *RoleBindingBuilder) SubscriptionID(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) Type(value string) *RoleBindingBuilder
- func (b *RoleBindingBuilder) UpdatedAt(value time.Time) *RoleBindingBuilder
- type RoleBindingClient
- type RoleBindingDeleteRequest
- func (r *RoleBindingDeleteRequest) Header(name string, value interface{}) *RoleBindingDeleteRequest
- func (r *RoleBindingDeleteRequest) Parameter(name string, value interface{}) *RoleBindingDeleteRequest
- func (r *RoleBindingDeleteRequest) Send() (result *RoleBindingDeleteResponse, err error)
- func (r *RoleBindingDeleteRequest) SendContext(ctx context.Context) (result *RoleBindingDeleteResponse, err error)
- type RoleBindingDeleteResponse
- type RoleBindingDeleteServerRequest
- type RoleBindingDeleteServerResponse
- type RoleBindingGetRequest
- func (r *RoleBindingGetRequest) Header(name string, value interface{}) *RoleBindingGetRequest
- func (r *RoleBindingGetRequest) Parameter(name string, value interface{}) *RoleBindingGetRequest
- func (r *RoleBindingGetRequest) Send() (result *RoleBindingGetResponse, err error)
- func (r *RoleBindingGetRequest) SendContext(ctx context.Context) (result *RoleBindingGetResponse, err error)
- type RoleBindingGetResponse
- type RoleBindingGetServerRequest
- type RoleBindingGetServerResponse
- type RoleBindingList
- func (l *RoleBindingList) Each(f func(item *RoleBinding) bool)
- func (l *RoleBindingList) Empty() bool
- func (l *RoleBindingList) Get(i int) *RoleBinding
- func (l *RoleBindingList) GetHREF() (value string, ok bool)
- func (l *RoleBindingList) HREF() string
- func (l *RoleBindingList) Kind() string
- func (l *RoleBindingList) Len() int
- func (l *RoleBindingList) Link() bool
- func (l *RoleBindingList) Range(f func(index int, item *RoleBinding) bool)
- func (l *RoleBindingList) Slice() []*RoleBinding
- type RoleBindingListBuilder
- type RoleBindingPollRequest
- func (r *RoleBindingPollRequest) Header(name string, value interface{}) *RoleBindingPollRequest
- func (r *RoleBindingPollRequest) Interval(value time.Duration) *RoleBindingPollRequest
- func (r *RoleBindingPollRequest) Parameter(name string, value interface{}) *RoleBindingPollRequest
- func (r *RoleBindingPollRequest) Predicate(value func(*RoleBindingGetResponse) bool) *RoleBindingPollRequest
- func (r *RoleBindingPollRequest) StartContext(ctx context.Context) (response *RoleBindingPollResponse, err error)
- func (r *RoleBindingPollRequest) Status(value int) *RoleBindingPollRequest
- type RoleBindingPollResponse
- type RoleBindingServer
- type RoleBindingUpdateRequest
- func (r *RoleBindingUpdateRequest) Body(value *RoleBinding) *RoleBindingUpdateRequest
- func (r *RoleBindingUpdateRequest) Header(name string, value interface{}) *RoleBindingUpdateRequest
- func (r *RoleBindingUpdateRequest) Parameter(name string, value interface{}) *RoleBindingUpdateRequest
- func (r *RoleBindingUpdateRequest) Send() (result *RoleBindingUpdateResponse, err error)
- func (r *RoleBindingUpdateRequest) SendContext(ctx context.Context) (result *RoleBindingUpdateResponse, err error)
- type RoleBindingUpdateResponse
- type RoleBindingUpdateServerRequest
- type RoleBindingUpdateServerResponse
- type RoleBindingsAddRequest
- func (r *RoleBindingsAddRequest) Body(value *RoleBinding) *RoleBindingsAddRequest
- func (r *RoleBindingsAddRequest) Header(name string, value interface{}) *RoleBindingsAddRequest
- func (r *RoleBindingsAddRequest) Parameter(name string, value interface{}) *RoleBindingsAddRequest
- func (r *RoleBindingsAddRequest) Send() (result *RoleBindingsAddResponse, err error)
- func (r *RoleBindingsAddRequest) SendContext(ctx context.Context) (result *RoleBindingsAddResponse, err error)
- type RoleBindingsAddResponse
- type RoleBindingsAddServerRequest
- type RoleBindingsAddServerResponse
- type RoleBindingsClient
- type RoleBindingsListRequest
- func (r *RoleBindingsListRequest) Header(name string, value interface{}) *RoleBindingsListRequest
- func (r *RoleBindingsListRequest) Page(value int) *RoleBindingsListRequest
- func (r *RoleBindingsListRequest) Parameter(name string, value interface{}) *RoleBindingsListRequest
- func (r *RoleBindingsListRequest) Search(value string) *RoleBindingsListRequest
- func (r *RoleBindingsListRequest) Send() (result *RoleBindingsListResponse, err error)
- func (r *RoleBindingsListRequest) SendContext(ctx context.Context) (result *RoleBindingsListResponse, err error)
- func (r *RoleBindingsListRequest) Size(value int) *RoleBindingsListRequest
- type RoleBindingsListResponse
- func (r *RoleBindingsListResponse) Error() *errors.Error
- func (r *RoleBindingsListResponse) GetItems() (value *RoleBindingList, ok bool)
- func (r *RoleBindingsListResponse) GetPage() (value int, ok bool)
- func (r *RoleBindingsListResponse) GetSize() (value int, ok bool)
- func (r *RoleBindingsListResponse) GetTotal() (value int, ok bool)
- func (r *RoleBindingsListResponse) Header() http.Header
- func (r *RoleBindingsListResponse) Items() *RoleBindingList
- func (r *RoleBindingsListResponse) Page() int
- func (r *RoleBindingsListResponse) Size() int
- func (r *RoleBindingsListResponse) Status() int
- func (r *RoleBindingsListResponse) Total() int
- type RoleBindingsListServerRequest
- func (r *RoleBindingsListServerRequest) GetPage() (value int, ok bool)
- func (r *RoleBindingsListServerRequest) GetSearch() (value string, ok bool)
- func (r *RoleBindingsListServerRequest) GetSize() (value int, ok bool)
- func (r *RoleBindingsListServerRequest) Page() int
- func (r *RoleBindingsListServerRequest) Search() string
- func (r *RoleBindingsListServerRequest) Size() int
- type RoleBindingsListServerResponse
- func (r *RoleBindingsListServerResponse) Items(value *RoleBindingList) *RoleBindingsListServerResponse
- func (r *RoleBindingsListServerResponse) Page(value int) *RoleBindingsListServerResponse
- func (r *RoleBindingsListServerResponse) Size(value int) *RoleBindingsListServerResponse
- func (r *RoleBindingsListServerResponse) Status(value int) *RoleBindingsListServerResponse
- func (r *RoleBindingsListServerResponse) Total(value int) *RoleBindingsListServerResponse
- type RoleBindingsServer
- type RoleBuilder
- func (b *RoleBuilder) Build() (object *Role, err error)
- func (b *RoleBuilder) Copy(object *Role) *RoleBuilder
- func (b *RoleBuilder) HREF(value string) *RoleBuilder
- func (b *RoleBuilder) ID(value string) *RoleBuilder
- func (b *RoleBuilder) Link(value bool) *RoleBuilder
- func (b *RoleBuilder) Name(value string) *RoleBuilder
- func (b *RoleBuilder) Permissions(values ...*PermissionBuilder) *RoleBuilder
- type RoleClient
- type RoleDeleteRequest
- func (r *RoleDeleteRequest) Header(name string, value interface{}) *RoleDeleteRequest
- func (r *RoleDeleteRequest) Parameter(name string, value interface{}) *RoleDeleteRequest
- func (r *RoleDeleteRequest) Send() (result *RoleDeleteResponse, err error)
- func (r *RoleDeleteRequest) SendContext(ctx context.Context) (result *RoleDeleteResponse, err error)
- type RoleDeleteResponse
- type RoleDeleteServerRequest
- type RoleDeleteServerResponse
- type RoleGetRequest
- func (r *RoleGetRequest) Header(name string, value interface{}) *RoleGetRequest
- func (r *RoleGetRequest) Parameter(name string, value interface{}) *RoleGetRequest
- func (r *RoleGetRequest) Send() (result *RoleGetResponse, err error)
- func (r *RoleGetRequest) SendContext(ctx context.Context) (result *RoleGetResponse, err error)
- type RoleGetResponse
- type RoleGetServerRequest
- type RoleGetServerResponse
- type RoleList
- func (l *RoleList) Each(f func(item *Role) bool)
- func (l *RoleList) Empty() bool
- func (l *RoleList) Get(i int) *Role
- func (l *RoleList) GetHREF() (value string, ok bool)
- func (l *RoleList) HREF() string
- func (l *RoleList) Kind() string
- func (l *RoleList) Len() int
- func (l *RoleList) Link() bool
- func (l *RoleList) Range(f func(index int, item *Role) bool)
- func (l *RoleList) Slice() []*Role
- type RoleListBuilder
- type RolePollRequest
- func (r *RolePollRequest) Header(name string, value interface{}) *RolePollRequest
- func (r *RolePollRequest) Interval(value time.Duration) *RolePollRequest
- func (r *RolePollRequest) Parameter(name string, value interface{}) *RolePollRequest
- func (r *RolePollRequest) Predicate(value func(*RoleGetResponse) bool) *RolePollRequest
- func (r *RolePollRequest) StartContext(ctx context.Context) (response *RolePollResponse, err error)
- func (r *RolePollRequest) Status(value int) *RolePollRequest
- type RolePollResponse
- type RoleServer
- type RoleUpdateRequest
- func (r *RoleUpdateRequest) Body(value *Role) *RoleUpdateRequest
- func (r *RoleUpdateRequest) Header(name string, value interface{}) *RoleUpdateRequest
- func (r *RoleUpdateRequest) Parameter(name string, value interface{}) *RoleUpdateRequest
- func (r *RoleUpdateRequest) Send() (result *RoleUpdateResponse, err error)
- func (r *RoleUpdateRequest) SendContext(ctx context.Context) (result *RoleUpdateResponse, err error)
- type RoleUpdateResponse
- type RoleUpdateServerRequest
- type RoleUpdateServerResponse
- type RolesAddRequest
- func (r *RolesAddRequest) Body(value *Role) *RolesAddRequest
- func (r *RolesAddRequest) Header(name string, value interface{}) *RolesAddRequest
- func (r *RolesAddRequest) Parameter(name string, value interface{}) *RolesAddRequest
- func (r *RolesAddRequest) Send() (result *RolesAddResponse, err error)
- func (r *RolesAddRequest) SendContext(ctx context.Context) (result *RolesAddResponse, err error)
- type RolesAddResponse
- type RolesAddServerRequest
- type RolesAddServerResponse
- type RolesClient
- type RolesListRequest
- func (r *RolesListRequest) Header(name string, value interface{}) *RolesListRequest
- func (r *RolesListRequest) Page(value int) *RolesListRequest
- func (r *RolesListRequest) Parameter(name string, value interface{}) *RolesListRequest
- func (r *RolesListRequest) Search(value string) *RolesListRequest
- func (r *RolesListRequest) Send() (result *RolesListResponse, err error)
- func (r *RolesListRequest) SendContext(ctx context.Context) (result *RolesListResponse, err error)
- func (r *RolesListRequest) Size(value int) *RolesListRequest
- type RolesListResponse
- func (r *RolesListResponse) Error() *errors.Error
- func (r *RolesListResponse) GetItems() (value *RoleList, ok bool)
- func (r *RolesListResponse) GetPage() (value int, ok bool)
- func (r *RolesListResponse) GetSize() (value int, ok bool)
- func (r *RolesListResponse) GetTotal() (value int, ok bool)
- func (r *RolesListResponse) Header() http.Header
- func (r *RolesListResponse) Items() *RoleList
- func (r *RolesListResponse) Page() int
- func (r *RolesListResponse) Size() int
- func (r *RolesListResponse) Status() int
- func (r *RolesListResponse) Total() int
- type RolesListServerRequest
- func (r *RolesListServerRequest) GetPage() (value int, ok bool)
- func (r *RolesListServerRequest) GetSearch() (value string, ok bool)
- func (r *RolesListServerRequest) GetSize() (value int, ok bool)
- func (r *RolesListServerRequest) Page() int
- func (r *RolesListServerRequest) Search() string
- func (r *RolesListServerRequest) Size() int
- type RolesListServerResponse
- func (r *RolesListServerResponse) Items(value *RoleList) *RolesListServerResponse
- func (r *RolesListServerResponse) Page(value int) *RolesListServerResponse
- func (r *RolesListServerResponse) Size(value int) *RolesListServerResponse
- func (r *RolesListServerResponse) Status(value int) *RolesListServerResponse
- func (r *RolesListServerResponse) Total(value int) *RolesListServerResponse
- type RolesServer
- type SKU
- func (o *SKU) AvailabilityZoneType() string
- func (o *SKU) BYOC() bool
- func (o *SKU) Empty() bool
- func (o *SKU) GetAvailabilityZoneType() (value string, ok bool)
- func (o *SKU) GetBYOC() (value bool, ok bool)
- func (o *SKU) GetHREF() (value string, ok bool)
- func (o *SKU) GetID() (value string, ok bool)
- func (o *SKU) GetResourceName() (value string, ok bool)
- func (o *SKU) GetResourceType() (value string, ok bool)
- func (o *SKU) GetResources() (value []*Resource, ok bool)
- func (o *SKU) HREF() string
- func (o *SKU) ID() string
- func (o *SKU) Kind() string
- func (o *SKU) Link() bool
- func (o *SKU) ResourceName() string
- func (o *SKU) ResourceType() string
- func (o *SKU) Resources() []*Resource
- type SKUBuilder
- func (b *SKUBuilder) AvailabilityZoneType(value string) *SKUBuilder
- func (b *SKUBuilder) BYOC(value bool) *SKUBuilder
- func (b *SKUBuilder) Build() (object *SKU, err error)
- func (b *SKUBuilder) Copy(object *SKU) *SKUBuilder
- func (b *SKUBuilder) HREF(value string) *SKUBuilder
- func (b *SKUBuilder) ID(value string) *SKUBuilder
- func (b *SKUBuilder) Link(value bool) *SKUBuilder
- func (b *SKUBuilder) ResourceName(value string) *SKUBuilder
- func (b *SKUBuilder) ResourceType(value string) *SKUBuilder
- func (b *SKUBuilder) Resources(values ...*ResourceBuilder) *SKUBuilder
- type SKUClient
- type SKUGetRequest
- func (r *SKUGetRequest) Header(name string, value interface{}) *SKUGetRequest
- func (r *SKUGetRequest) Parameter(name string, value interface{}) *SKUGetRequest
- func (r *SKUGetRequest) Send() (result *SKUGetResponse, err error)
- func (r *SKUGetRequest) SendContext(ctx context.Context) (result *SKUGetResponse, err error)
- type SKUGetResponse
- type SKUGetServerRequest
- type SKUGetServerResponse
- type SKUList
- func (l *SKUList) Each(f func(item *SKU) bool)
- func (l *SKUList) Empty() bool
- func (l *SKUList) Get(i int) *SKU
- func (l *SKUList) GetHREF() (value string, ok bool)
- func (l *SKUList) HREF() string
- func (l *SKUList) Kind() string
- func (l *SKUList) Len() int
- func (l *SKUList) Link() bool
- func (l *SKUList) Range(f func(index int, item *SKU) bool)
- func (l *SKUList) Slice() []*SKU
- type SKUListBuilder
- type SKUPollRequest
- func (r *SKUPollRequest) Header(name string, value interface{}) *SKUPollRequest
- func (r *SKUPollRequest) Interval(value time.Duration) *SKUPollRequest
- func (r *SKUPollRequest) Parameter(name string, value interface{}) *SKUPollRequest
- func (r *SKUPollRequest) Predicate(value func(*SKUGetResponse) bool) *SKUPollRequest
- func (r *SKUPollRequest) StartContext(ctx context.Context) (response *SKUPollResponse, err error)
- func (r *SKUPollRequest) Status(value int) *SKUPollRequest
- type SKUPollResponse
- type SKUSClient
- type SKUSListRequest
- func (r *SKUSListRequest) Header(name string, value interface{}) *SKUSListRequest
- func (r *SKUSListRequest) Page(value int) *SKUSListRequest
- func (r *SKUSListRequest) Parameter(name string, value interface{}) *SKUSListRequest
- func (r *SKUSListRequest) Search(value string) *SKUSListRequest
- func (r *SKUSListRequest) Send() (result *SKUSListResponse, err error)
- func (r *SKUSListRequest) SendContext(ctx context.Context) (result *SKUSListResponse, err error)
- func (r *SKUSListRequest) Size(value int) *SKUSListRequest
- type SKUSListResponse
- func (r *SKUSListResponse) Error() *errors.Error
- func (r *SKUSListResponse) GetItems() (value *SKUList, ok bool)
- func (r *SKUSListResponse) GetPage() (value int, ok bool)
- func (r *SKUSListResponse) GetSize() (value int, ok bool)
- func (r *SKUSListResponse) GetTotal() (value int, ok bool)
- func (r *SKUSListResponse) Header() http.Header
- func (r *SKUSListResponse) Items() *SKUList
- func (r *SKUSListResponse) Page() int
- func (r *SKUSListResponse) Size() int
- func (r *SKUSListResponse) Status() int
- func (r *SKUSListResponse) Total() int
- type SKUSListServerRequest
- func (r *SKUSListServerRequest) GetPage() (value int, ok bool)
- func (r *SKUSListServerRequest) GetSearch() (value string, ok bool)
- func (r *SKUSListServerRequest) GetSize() (value int, ok bool)
- func (r *SKUSListServerRequest) Page() int
- func (r *SKUSListServerRequest) Search() string
- func (r *SKUSListServerRequest) Size() int
- type SKUSListServerResponse
- func (r *SKUSListServerResponse) Items(value *SKUList) *SKUSListServerResponse
- func (r *SKUSListServerResponse) Page(value int) *SKUSListServerResponse
- func (r *SKUSListServerResponse) Size(value int) *SKUSListServerResponse
- func (r *SKUSListServerResponse) Status(value int) *SKUSListServerResponse
- func (r *SKUSListServerResponse) Total(value int) *SKUSListServerResponse
- type SKUSServer
- type SKUServer
- type Server
- type ServiceLevelEnum
- type SkuRule
- func (o *SkuRule) Allowed() int
- func (o *SkuRule) Empty() bool
- func (o *SkuRule) GetAllowed() (value int, ok bool)
- func (o *SkuRule) GetHREF() (value string, ok bool)
- func (o *SkuRule) GetID() (value string, ok bool)
- func (o *SkuRule) GetQuotaId() (value string, ok bool)
- func (o *SkuRule) GetSku() (value string, ok bool)
- func (o *SkuRule) HREF() string
- func (o *SkuRule) ID() string
- func (o *SkuRule) Kind() string
- func (o *SkuRule) Link() bool
- func (o *SkuRule) QuotaId() string
- func (o *SkuRule) Sku() string
- type SkuRuleBuilder
- func (b *SkuRuleBuilder) Allowed(value int) *SkuRuleBuilder
- func (b *SkuRuleBuilder) Build() (object *SkuRule, err error)
- func (b *SkuRuleBuilder) Copy(object *SkuRule) *SkuRuleBuilder
- func (b *SkuRuleBuilder) HREF(value string) *SkuRuleBuilder
- func (b *SkuRuleBuilder) ID(value string) *SkuRuleBuilder
- func (b *SkuRuleBuilder) Link(value bool) *SkuRuleBuilder
- func (b *SkuRuleBuilder) QuotaId(value string) *SkuRuleBuilder
- func (b *SkuRuleBuilder) Sku(value string) *SkuRuleBuilder
- type SkuRuleClient
- type SkuRuleGetRequest
- func (r *SkuRuleGetRequest) Header(name string, value interface{}) *SkuRuleGetRequest
- func (r *SkuRuleGetRequest) Parameter(name string, value interface{}) *SkuRuleGetRequest
- func (r *SkuRuleGetRequest) Send() (result *SkuRuleGetResponse, err error)
- func (r *SkuRuleGetRequest) SendContext(ctx context.Context) (result *SkuRuleGetResponse, err error)
- type SkuRuleGetResponse
- type SkuRuleGetServerRequest
- type SkuRuleGetServerResponse
- type SkuRuleList
- func (l *SkuRuleList) Each(f func(item *SkuRule) bool)
- func (l *SkuRuleList) Empty() bool
- func (l *SkuRuleList) Get(i int) *SkuRule
- func (l *SkuRuleList) GetHREF() (value string, ok bool)
- func (l *SkuRuleList) HREF() string
- func (l *SkuRuleList) Kind() string
- func (l *SkuRuleList) Len() int
- func (l *SkuRuleList) Link() bool
- func (l *SkuRuleList) Range(f func(index int, item *SkuRule) bool)
- func (l *SkuRuleList) Slice() []*SkuRule
- type SkuRuleListBuilder
- type SkuRulePollRequest
- func (r *SkuRulePollRequest) Header(name string, value interface{}) *SkuRulePollRequest
- func (r *SkuRulePollRequest) Interval(value time.Duration) *SkuRulePollRequest
- func (r *SkuRulePollRequest) Parameter(name string, value interface{}) *SkuRulePollRequest
- func (r *SkuRulePollRequest) Predicate(value func(*SkuRuleGetResponse) bool) *SkuRulePollRequest
- func (r *SkuRulePollRequest) StartContext(ctx context.Context) (response *SkuRulePollResponse, err error)
- func (r *SkuRulePollRequest) Status(value int) *SkuRulePollRequest
- type SkuRulePollResponse
- type SkuRuleServer
- type SkuRulesClient
- type SkuRulesListRequest
- func (r *SkuRulesListRequest) Header(name string, value interface{}) *SkuRulesListRequest
- func (r *SkuRulesListRequest) Page(value int) *SkuRulesListRequest
- func (r *SkuRulesListRequest) Parameter(name string, value interface{}) *SkuRulesListRequest
- func (r *SkuRulesListRequest) Search(value string) *SkuRulesListRequest
- func (r *SkuRulesListRequest) Send() (result *SkuRulesListResponse, err error)
- func (r *SkuRulesListRequest) SendContext(ctx context.Context) (result *SkuRulesListResponse, err error)
- func (r *SkuRulesListRequest) Size(value int) *SkuRulesListRequest
- type SkuRulesListResponse
- func (r *SkuRulesListResponse) Error() *errors.Error
- func (r *SkuRulesListResponse) GetItems() (value *SkuRuleList, ok bool)
- func (r *SkuRulesListResponse) GetPage() (value int, ok bool)
- func (r *SkuRulesListResponse) GetSize() (value int, ok bool)
- func (r *SkuRulesListResponse) GetTotal() (value int, ok bool)
- func (r *SkuRulesListResponse) Header() http.Header
- func (r *SkuRulesListResponse) Items() *SkuRuleList
- func (r *SkuRulesListResponse) Page() int
- func (r *SkuRulesListResponse) Size() int
- func (r *SkuRulesListResponse) Status() int
- func (r *SkuRulesListResponse) Total() int
- type SkuRulesListServerRequest
- func (r *SkuRulesListServerRequest) GetPage() (value int, ok bool)
- func (r *SkuRulesListServerRequest) GetSearch() (value string, ok bool)
- func (r *SkuRulesListServerRequest) GetSize() (value int, ok bool)
- func (r *SkuRulesListServerRequest) Page() int
- func (r *SkuRulesListServerRequest) Search() string
- func (r *SkuRulesListServerRequest) Size() int
- type SkuRulesListServerResponse
- func (r *SkuRulesListServerResponse) Items(value *SkuRuleList) *SkuRulesListServerResponse
- func (r *SkuRulesListServerResponse) Page(value int) *SkuRulesListServerResponse
- func (r *SkuRulesListServerResponse) Size(value int) *SkuRulesListServerResponse
- func (r *SkuRulesListServerResponse) Status(value int) *SkuRulesListServerResponse
- func (r *SkuRulesListServerResponse) Total(value int) *SkuRulesListServerResponse
- type SkuRulesServer
- type Subscription
- func (o *Subscription) ClusterID() string
- func (o *Subscription) ConsumerUUID() string
- func (o *Subscription) CpuTotal() int
- func (o *Subscription) CreatedAt() time.Time
- func (o *Subscription) Creator() *Account
- func (o *Subscription) DisplayName() string
- func (o *Subscription) Empty() bool
- func (o *Subscription) ExternalClusterID() string
- func (o *Subscription) GetClusterID() (value string, ok bool)
- func (o *Subscription) GetConsumerUUID() (value string, ok bool)
- func (o *Subscription) GetCpuTotal() (value int, ok bool)
- func (o *Subscription) GetCreatedAt() (value time.Time, ok bool)
- func (o *Subscription) GetCreator() (value *Account, ok bool)
- func (o *Subscription) GetDisplayName() (value string, ok bool)
- func (o *Subscription) GetExternalClusterID() (value string, ok bool)
- func (o *Subscription) GetHREF() (value string, ok bool)
- func (o *Subscription) GetID() (value string, ok bool)
- func (o *Subscription) GetLabels() (value []*Label, ok bool)
- func (o *Subscription) GetLastReconcileDate() (value time.Time, ok bool)
- func (o *Subscription) GetLastTelemetryDate() (value time.Time, ok bool)
- func (o *Subscription) GetManaged() (value bool, ok bool)
- func (o *Subscription) GetOrganizationID() (value string, ok bool)
- func (o *Subscription) GetPlan() (value *Plan, ok bool)
- func (o *Subscription) GetProductBundle() (value ProductBundleEnum, ok bool)
- func (o *Subscription) GetServiceLevel() (value ServiceLevelEnum, ok bool)
- func (o *Subscription) GetSocketTotal() (value int, ok bool)
- func (o *Subscription) GetStatus() (value string, ok bool)
- func (o *Subscription) GetSupportLevel() (value SupportLevelEnum, ok bool)
- func (o *Subscription) GetSystemUnits() (value SystemUnitsEnum, ok bool)
- func (o *Subscription) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Subscription) GetUsage() (value UsageEnum, ok bool)
- func (o *Subscription) HREF() string
- func (o *Subscription) ID() string
- func (o *Subscription) Kind() string
- func (o *Subscription) Labels() []*Label
- func (o *Subscription) LastReconcileDate() time.Time
- func (o *Subscription) LastTelemetryDate() time.Time
- func (o *Subscription) Link() bool
- func (o *Subscription) Managed() bool
- func (o *Subscription) OrganizationID() string
- func (o *Subscription) Plan() *Plan
- func (o *Subscription) ProductBundle() ProductBundleEnum
- func (o *Subscription) ServiceLevel() ServiceLevelEnum
- func (o *Subscription) SocketTotal() int
- func (o *Subscription) Status() string
- func (o *Subscription) SupportLevel() SupportLevelEnum
- func (o *Subscription) SystemUnits() SystemUnitsEnum
- func (o *Subscription) UpdatedAt() time.Time
- func (o *Subscription) Usage() UsageEnum
- type SubscriptionBuilder
- func (b *SubscriptionBuilder) Build() (object *Subscription, err error)
- func (b *SubscriptionBuilder) ClusterID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ConsumerUUID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Copy(object *Subscription) *SubscriptionBuilder
- func (b *SubscriptionBuilder) CpuTotal(value int) *SubscriptionBuilder
- func (b *SubscriptionBuilder) CreatedAt(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Creator(value *AccountBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) DisplayName(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ExternalClusterID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) HREF(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Labels(values ...*LabelBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) LastReconcileDate(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) LastTelemetryDate(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Link(value bool) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Managed(value bool) *SubscriptionBuilder
- func (b *SubscriptionBuilder) OrganizationID(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Plan(value *PlanBuilder) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ProductBundle(value ProductBundleEnum) *SubscriptionBuilder
- func (b *SubscriptionBuilder) ServiceLevel(value ServiceLevelEnum) *SubscriptionBuilder
- func (b *SubscriptionBuilder) SocketTotal(value int) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Status(value string) *SubscriptionBuilder
- func (b *SubscriptionBuilder) SupportLevel(value SupportLevelEnum) *SubscriptionBuilder
- func (b *SubscriptionBuilder) SystemUnits(value SystemUnitsEnum) *SubscriptionBuilder
- func (b *SubscriptionBuilder) UpdatedAt(value time.Time) *SubscriptionBuilder
- func (b *SubscriptionBuilder) Usage(value UsageEnum) *SubscriptionBuilder
- type SubscriptionClient
- func (c *SubscriptionClient) Delete() *SubscriptionDeleteRequest
- func (c *SubscriptionClient) Get() *SubscriptionGetRequest
- func (c *SubscriptionClient) Labels() *GenericLabelsClient
- func (c *SubscriptionClient) Notify() *SubscriptionNotifyClient
- func (c *SubscriptionClient) Poll() *SubscriptionPollRequest
- func (c *SubscriptionClient) ReservedResources() *SubscriptionReservedResourcesClient
- func (c *SubscriptionClient) Update() *SubscriptionUpdateRequest
- type SubscriptionDeleteRequest
- func (r *SubscriptionDeleteRequest) Header(name string, value interface{}) *SubscriptionDeleteRequest
- func (r *SubscriptionDeleteRequest) Parameter(name string, value interface{}) *SubscriptionDeleteRequest
- func (r *SubscriptionDeleteRequest) Send() (result *SubscriptionDeleteResponse, err error)
- func (r *SubscriptionDeleteRequest) SendContext(ctx context.Context) (result *SubscriptionDeleteResponse, err error)
- type SubscriptionDeleteResponse
- type SubscriptionDeleteServerRequest
- type SubscriptionDeleteServerResponse
- type SubscriptionGetRequest
- func (r *SubscriptionGetRequest) Header(name string, value interface{}) *SubscriptionGetRequest
- func (r *SubscriptionGetRequest) Parameter(name string, value interface{}) *SubscriptionGetRequest
- func (r *SubscriptionGetRequest) Send() (result *SubscriptionGetResponse, err error)
- func (r *SubscriptionGetRequest) SendContext(ctx context.Context) (result *SubscriptionGetResponse, err error)
- type SubscriptionGetResponse
- type SubscriptionGetServerRequest
- type SubscriptionGetServerResponse
- type SubscriptionList
- func (l *SubscriptionList) Each(f func(item *Subscription) bool)
- func (l *SubscriptionList) Empty() bool
- func (l *SubscriptionList) Get(i int) *Subscription
- func (l *SubscriptionList) GetHREF() (value string, ok bool)
- func (l *SubscriptionList) HREF() string
- func (l *SubscriptionList) Kind() string
- func (l *SubscriptionList) Len() int
- func (l *SubscriptionList) Link() bool
- func (l *SubscriptionList) Range(f func(index int, item *Subscription) bool)
- func (l *SubscriptionList) Slice() []*Subscription
- type SubscriptionListBuilder
- type SubscriptionNotify
- func (o *SubscriptionNotify) BccAddress() string
- func (o *SubscriptionNotify) ClusterID() string
- func (o *SubscriptionNotify) ClusterUUID() string
- func (o *SubscriptionNotify) Empty() bool
- func (o *SubscriptionNotify) GetBccAddress() (value string, ok bool)
- func (o *SubscriptionNotify) GetClusterID() (value string, ok bool)
- func (o *SubscriptionNotify) GetClusterUUID() (value string, ok bool)
- func (o *SubscriptionNotify) GetSubject() (value string, ok bool)
- func (o *SubscriptionNotify) GetSubscriptionID() (value string, ok bool)
- func (o *SubscriptionNotify) GetTemplateName() (value string, ok bool)
- func (o *SubscriptionNotify) GetTemplateParameters() (value []*TemplateParameter, ok bool)
- func (o *SubscriptionNotify) Subject() string
- func (o *SubscriptionNotify) SubscriptionID() string
- func (o *SubscriptionNotify) TemplateName() string
- func (o *SubscriptionNotify) TemplateParameters() []*TemplateParameter
- type SubscriptionNotifyAddRequest
- func (r *SubscriptionNotifyAddRequest) Body(value *SubscriptionNotify) *SubscriptionNotifyAddRequest
- func (r *SubscriptionNotifyAddRequest) Header(name string, value interface{}) *SubscriptionNotifyAddRequest
- func (r *SubscriptionNotifyAddRequest) Parameter(name string, value interface{}) *SubscriptionNotifyAddRequest
- func (r *SubscriptionNotifyAddRequest) Send() (result *SubscriptionNotifyAddResponse, err error)
- func (r *SubscriptionNotifyAddRequest) SendContext(ctx context.Context) (result *SubscriptionNotifyAddResponse, err error)
- type SubscriptionNotifyAddResponse
- func (r *SubscriptionNotifyAddResponse) Body() *SubscriptionNotify
- func (r *SubscriptionNotifyAddResponse) Error() *errors.Error
- func (r *SubscriptionNotifyAddResponse) GetBody() (value *SubscriptionNotify, ok bool)
- func (r *SubscriptionNotifyAddResponse) Header() http.Header
- func (r *SubscriptionNotifyAddResponse) Status() int
- type SubscriptionNotifyAddServerRequest
- type SubscriptionNotifyAddServerResponse
- type SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) BccAddress(value string) *SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) Build() (object *SubscriptionNotify, err error)
- func (b *SubscriptionNotifyBuilder) ClusterID(value string) *SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) ClusterUUID(value string) *SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) Copy(object *SubscriptionNotify) *SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) Subject(value string) *SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) SubscriptionID(value string) *SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) TemplateName(value string) *SubscriptionNotifyBuilder
- func (b *SubscriptionNotifyBuilder) TemplateParameters(values ...*TemplateParameterBuilder) *SubscriptionNotifyBuilder
- type SubscriptionNotifyClient
- type SubscriptionNotifyList
- func (l *SubscriptionNotifyList) Each(f func(item *SubscriptionNotify) bool)
- func (l *SubscriptionNotifyList) Empty() bool
- func (l *SubscriptionNotifyList) Get(i int) *SubscriptionNotify
- func (l *SubscriptionNotifyList) Len() int
- func (l *SubscriptionNotifyList) Range(f func(index int, item *SubscriptionNotify) bool)
- func (l *SubscriptionNotifyList) Slice() []*SubscriptionNotify
- type SubscriptionNotifyListBuilder
- func (b *SubscriptionNotifyListBuilder) Build() (list *SubscriptionNotifyList, err error)
- func (b *SubscriptionNotifyListBuilder) Copy(list *SubscriptionNotifyList) *SubscriptionNotifyListBuilder
- func (b *SubscriptionNotifyListBuilder) Items(values ...*SubscriptionNotifyBuilder) *SubscriptionNotifyListBuilder
- type SubscriptionNotifyServer
- type SubscriptionPollRequest
- func (r *SubscriptionPollRequest) Header(name string, value interface{}) *SubscriptionPollRequest
- func (r *SubscriptionPollRequest) Interval(value time.Duration) *SubscriptionPollRequest
- func (r *SubscriptionPollRequest) Parameter(name string, value interface{}) *SubscriptionPollRequest
- func (r *SubscriptionPollRequest) Predicate(value func(*SubscriptionGetResponse) bool) *SubscriptionPollRequest
- func (r *SubscriptionPollRequest) StartContext(ctx context.Context) (response *SubscriptionPollResponse, err error)
- func (r *SubscriptionPollRequest) Status(value int) *SubscriptionPollRequest
- type SubscriptionPollResponse
- type SubscriptionRegistration
- func (o *SubscriptionRegistration) ClusterUUID() string
- func (o *SubscriptionRegistration) ConsoleURL() string
- func (o *SubscriptionRegistration) DisplayName() string
- func (o *SubscriptionRegistration) Empty() bool
- func (o *SubscriptionRegistration) GetClusterUUID() (value string, ok bool)
- func (o *SubscriptionRegistration) GetConsoleURL() (value string, ok bool)
- func (o *SubscriptionRegistration) GetDisplayName() (value string, ok bool)
- func (o *SubscriptionRegistration) GetPlanID() (value PlanID, ok bool)
- func (o *SubscriptionRegistration) GetStatus() (value string, ok bool)
- func (o *SubscriptionRegistration) PlanID() PlanID
- func (o *SubscriptionRegistration) Status() string
- type SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) Build() (object *SubscriptionRegistration, err error)
- func (b *SubscriptionRegistrationBuilder) ClusterUUID(value string) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) ConsoleURL(value string) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) Copy(object *SubscriptionRegistration) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) DisplayName(value string) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) PlanID(value PlanID) *SubscriptionRegistrationBuilder
- func (b *SubscriptionRegistrationBuilder) Status(value string) *SubscriptionRegistrationBuilder
- type SubscriptionRegistrationList
- func (l *SubscriptionRegistrationList) Each(f func(item *SubscriptionRegistration) bool)
- func (l *SubscriptionRegistrationList) Empty() bool
- func (l *SubscriptionRegistrationList) Get(i int) *SubscriptionRegistration
- func (l *SubscriptionRegistrationList) Len() int
- func (l *SubscriptionRegistrationList) Range(f func(index int, item *SubscriptionRegistration) bool)
- func (l *SubscriptionRegistrationList) Slice() []*SubscriptionRegistration
- type SubscriptionRegistrationListBuilder
- func (b *SubscriptionRegistrationListBuilder) Build() (list *SubscriptionRegistrationList, err error)
- func (b *SubscriptionRegistrationListBuilder) Copy(list *SubscriptionRegistrationList) *SubscriptionRegistrationListBuilder
- func (b *SubscriptionRegistrationListBuilder) Items(values ...*SubscriptionRegistrationBuilder) *SubscriptionRegistrationListBuilder
- type SubscriptionReservedResourceClient
- type SubscriptionReservedResourceGetRequest
- func (r *SubscriptionReservedResourceGetRequest) Header(name string, value interface{}) *SubscriptionReservedResourceGetRequest
- func (r *SubscriptionReservedResourceGetRequest) Parameter(name string, value interface{}) *SubscriptionReservedResourceGetRequest
- func (r *SubscriptionReservedResourceGetRequest) Send() (result *SubscriptionReservedResourceGetResponse, err error)
- func (r *SubscriptionReservedResourceGetRequest) SendContext(ctx context.Context) (result *SubscriptionReservedResourceGetResponse, err error)
- type SubscriptionReservedResourceGetResponse
- func (r *SubscriptionReservedResourceGetResponse) Body() *ReservedResource
- func (r *SubscriptionReservedResourceGetResponse) Error() *errors.Error
- func (r *SubscriptionReservedResourceGetResponse) GetBody() (value *ReservedResource, ok bool)
- func (r *SubscriptionReservedResourceGetResponse) Header() http.Header
- func (r *SubscriptionReservedResourceGetResponse) Status() int
- type SubscriptionReservedResourceGetServerRequest
- type SubscriptionReservedResourceGetServerResponse
- type SubscriptionReservedResourcePollRequest
- func (r *SubscriptionReservedResourcePollRequest) Header(name string, value interface{}) *SubscriptionReservedResourcePollRequest
- func (r *SubscriptionReservedResourcePollRequest) Interval(value time.Duration) *SubscriptionReservedResourcePollRequest
- func (r *SubscriptionReservedResourcePollRequest) Parameter(name string, value interface{}) *SubscriptionReservedResourcePollRequest
- func (r *SubscriptionReservedResourcePollRequest) Predicate(value func(*SubscriptionReservedResourceGetResponse) bool) *SubscriptionReservedResourcePollRequest
- func (r *SubscriptionReservedResourcePollRequest) StartContext(ctx context.Context) (response *SubscriptionReservedResourcePollResponse, err error)
- func (r *SubscriptionReservedResourcePollRequest) Status(value int) *SubscriptionReservedResourcePollRequest
- type SubscriptionReservedResourcePollResponse
- func (r *SubscriptionReservedResourcePollResponse) Body() *ReservedResource
- func (r *SubscriptionReservedResourcePollResponse) Error() *errors.Error
- func (r *SubscriptionReservedResourcePollResponse) GetBody() (value *ReservedResource, ok bool)
- func (r *SubscriptionReservedResourcePollResponse) Header() http.Header
- func (r *SubscriptionReservedResourcePollResponse) Status() int
- type SubscriptionReservedResourceServer
- type SubscriptionReservedResourcesClient
- type SubscriptionReservedResourcesListRequest
- func (r *SubscriptionReservedResourcesListRequest) Header(name string, value interface{}) *SubscriptionReservedResourcesListRequest
- func (r *SubscriptionReservedResourcesListRequest) Page(value int) *SubscriptionReservedResourcesListRequest
- func (r *SubscriptionReservedResourcesListRequest) Parameter(name string, value interface{}) *SubscriptionReservedResourcesListRequest
- func (r *SubscriptionReservedResourcesListRequest) Send() (result *SubscriptionReservedResourcesListResponse, err error)
- func (r *SubscriptionReservedResourcesListRequest) SendContext(ctx context.Context) (result *SubscriptionReservedResourcesListResponse, err error)
- func (r *SubscriptionReservedResourcesListRequest) Size(value int) *SubscriptionReservedResourcesListRequest
- type SubscriptionReservedResourcesListResponse
- func (r *SubscriptionReservedResourcesListResponse) Error() *errors.Error
- func (r *SubscriptionReservedResourcesListResponse) GetItems() (value *ReservedResourceList, ok bool)
- func (r *SubscriptionReservedResourcesListResponse) GetPage() (value int, ok bool)
- func (r *SubscriptionReservedResourcesListResponse) GetSize() (value int, ok bool)
- func (r *SubscriptionReservedResourcesListResponse) GetTotal() (value int, ok bool)
- func (r *SubscriptionReservedResourcesListResponse) Header() http.Header
- func (r *SubscriptionReservedResourcesListResponse) Items() *ReservedResourceList
- func (r *SubscriptionReservedResourcesListResponse) Page() int
- func (r *SubscriptionReservedResourcesListResponse) Size() int
- func (r *SubscriptionReservedResourcesListResponse) Status() int
- func (r *SubscriptionReservedResourcesListResponse) Total() int
- type SubscriptionReservedResourcesListServerRequest
- func (r *SubscriptionReservedResourcesListServerRequest) GetPage() (value int, ok bool)
- func (r *SubscriptionReservedResourcesListServerRequest) GetSize() (value int, ok bool)
- func (r *SubscriptionReservedResourcesListServerRequest) Page() int
- func (r *SubscriptionReservedResourcesListServerRequest) Size() int
- type SubscriptionReservedResourcesListServerResponse
- func (r *SubscriptionReservedResourcesListServerResponse) Items(value *ReservedResourceList) *SubscriptionReservedResourcesListServerResponse
- func (r *SubscriptionReservedResourcesListServerResponse) Page(value int) *SubscriptionReservedResourcesListServerResponse
- func (r *SubscriptionReservedResourcesListServerResponse) Size(value int) *SubscriptionReservedResourcesListServerResponse
- func (r *SubscriptionReservedResourcesListServerResponse) Status(value int) *SubscriptionReservedResourcesListServerResponse
- func (r *SubscriptionReservedResourcesListServerResponse) Total(value int) *SubscriptionReservedResourcesListServerResponse
- type SubscriptionReservedResourcesServer
- type SubscriptionServer
- type SubscriptionUpdateRequest
- func (r *SubscriptionUpdateRequest) Body(value *Subscription) *SubscriptionUpdateRequest
- func (r *SubscriptionUpdateRequest) Header(name string, value interface{}) *SubscriptionUpdateRequest
- func (r *SubscriptionUpdateRequest) Parameter(name string, value interface{}) *SubscriptionUpdateRequest
- func (r *SubscriptionUpdateRequest) Send() (result *SubscriptionUpdateResponse, err error)
- func (r *SubscriptionUpdateRequest) SendContext(ctx context.Context) (result *SubscriptionUpdateResponse, err error)
- type SubscriptionUpdateResponse
- func (r *SubscriptionUpdateResponse) Body() *Subscription
- func (r *SubscriptionUpdateResponse) Error() *errors.Error
- func (r *SubscriptionUpdateResponse) GetBody() (value *Subscription, ok bool)
- func (r *SubscriptionUpdateResponse) Header() http.Header
- func (r *SubscriptionUpdateResponse) Status() int
- type SubscriptionUpdateServerRequest
- type SubscriptionUpdateServerResponse
- type SubscriptionsClient
- type SubscriptionsListRequest
- func (r *SubscriptionsListRequest) FetchaccountsAccounts(value bool) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) FetchlabelsLabels(value bool) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Fields(value string) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Header(name string, value interface{}) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Labels(value string) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Order(value string) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Page(value int) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Parameter(name string, value interface{}) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Search(value string) *SubscriptionsListRequest
- func (r *SubscriptionsListRequest) Send() (result *SubscriptionsListResponse, err error)
- func (r *SubscriptionsListRequest) SendContext(ctx context.Context) (result *SubscriptionsListResponse, err error)
- func (r *SubscriptionsListRequest) Size(value int) *SubscriptionsListRequest
- type SubscriptionsListResponse
- func (r *SubscriptionsListResponse) Error() *errors.Error
- func (r *SubscriptionsListResponse) GetItems() (value *SubscriptionList, ok bool)
- func (r *SubscriptionsListResponse) GetPage() (value int, ok bool)
- func (r *SubscriptionsListResponse) GetSize() (value int, ok bool)
- func (r *SubscriptionsListResponse) GetTotal() (value int, ok bool)
- func (r *SubscriptionsListResponse) Header() http.Header
- func (r *SubscriptionsListResponse) Items() *SubscriptionList
- func (r *SubscriptionsListResponse) Page() int
- func (r *SubscriptionsListResponse) Size() int
- func (r *SubscriptionsListResponse) Status() int
- func (r *SubscriptionsListResponse) Total() int
- type SubscriptionsListServerRequest
- func (r *SubscriptionsListServerRequest) FetchaccountsAccounts() bool
- func (r *SubscriptionsListServerRequest) FetchlabelsLabels() bool
- func (r *SubscriptionsListServerRequest) Fields() string
- func (r *SubscriptionsListServerRequest) GetFetchaccountsAccounts() (value bool, ok bool)
- func (r *SubscriptionsListServerRequest) GetFetchlabelsLabels() (value bool, ok bool)
- func (r *SubscriptionsListServerRequest) GetFields() (value string, ok bool)
- func (r *SubscriptionsListServerRequest) GetLabels() (value string, ok bool)
- func (r *SubscriptionsListServerRequest) GetOrder() (value string, ok bool)
- func (r *SubscriptionsListServerRequest) GetPage() (value int, ok bool)
- func (r *SubscriptionsListServerRequest) GetSearch() (value string, ok bool)
- func (r *SubscriptionsListServerRequest) GetSize() (value int, ok bool)
- func (r *SubscriptionsListServerRequest) Labels() string
- func (r *SubscriptionsListServerRequest) Order() string
- func (r *SubscriptionsListServerRequest) Page() int
- func (r *SubscriptionsListServerRequest) Search() string
- func (r *SubscriptionsListServerRequest) Size() int
- type SubscriptionsListServerResponse
- func (r *SubscriptionsListServerResponse) Items(value *SubscriptionList) *SubscriptionsListServerResponse
- func (r *SubscriptionsListServerResponse) Page(value int) *SubscriptionsListServerResponse
- func (r *SubscriptionsListServerResponse) Size(value int) *SubscriptionsListServerResponse
- func (r *SubscriptionsListServerResponse) Status(value int) *SubscriptionsListServerResponse
- func (r *SubscriptionsListServerResponse) Total(value int) *SubscriptionsListServerResponse
- type SubscriptionsPostRequest
- func (r *SubscriptionsPostRequest) Header(name string, value interface{}) *SubscriptionsPostRequest
- func (r *SubscriptionsPostRequest) Parameter(name string, value interface{}) *SubscriptionsPostRequest
- func (r *SubscriptionsPostRequest) Request(value *SubscriptionRegistration) *SubscriptionsPostRequest
- func (r *SubscriptionsPostRequest) Send() (result *SubscriptionsPostResponse, err error)
- func (r *SubscriptionsPostRequest) SendContext(ctx context.Context) (result *SubscriptionsPostResponse, err error)
- type SubscriptionsPostResponse
- func (r *SubscriptionsPostResponse) Error() *errors.Error
- func (r *SubscriptionsPostResponse) GetResponse() (value *Subscription, ok bool)
- func (r *SubscriptionsPostResponse) Header() http.Header
- func (r *SubscriptionsPostResponse) Response() *Subscription
- func (r *SubscriptionsPostResponse) Status() int
- type SubscriptionsPostServerRequest
- type SubscriptionsPostServerResponse
- type SubscriptionsServer
- type SummaryDashboard
- func (o *SummaryDashboard) Empty() bool
- func (o *SummaryDashboard) GetHREF() (value string, ok bool)
- func (o *SummaryDashboard) GetID() (value string, ok bool)
- func (o *SummaryDashboard) GetMetrics() (value []*SummaryMetrics, ok bool)
- func (o *SummaryDashboard) HREF() string
- func (o *SummaryDashboard) ID() string
- func (o *SummaryDashboard) Kind() string
- func (o *SummaryDashboard) Link() bool
- func (o *SummaryDashboard) Metrics() []*SummaryMetrics
- type SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) Build() (object *SummaryDashboard, err error)
- func (b *SummaryDashboardBuilder) Copy(object *SummaryDashboard) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) HREF(value string) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) ID(value string) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) Link(value bool) *SummaryDashboardBuilder
- func (b *SummaryDashboardBuilder) Metrics(values ...*SummaryMetricsBuilder) *SummaryDashboardBuilder
- type SummaryDashboardClient
- type SummaryDashboardGetRequest
- func (r *SummaryDashboardGetRequest) Header(name string, value interface{}) *SummaryDashboardGetRequest
- func (r *SummaryDashboardGetRequest) Parameter(name string, value interface{}) *SummaryDashboardGetRequest
- func (r *SummaryDashboardGetRequest) Send() (result *SummaryDashboardGetResponse, err error)
- func (r *SummaryDashboardGetRequest) SendContext(ctx context.Context) (result *SummaryDashboardGetResponse, err error)
- type SummaryDashboardGetResponse
- func (r *SummaryDashboardGetResponse) Body() *SummaryDashboard
- func (r *SummaryDashboardGetResponse) Error() *errors.Error
- func (r *SummaryDashboardGetResponse) GetBody() (value *SummaryDashboard, ok bool)
- func (r *SummaryDashboardGetResponse) Header() http.Header
- func (r *SummaryDashboardGetResponse) Status() int
- type SummaryDashboardGetServerRequest
- type SummaryDashboardGetServerResponse
- type SummaryDashboardList
- func (l *SummaryDashboardList) Each(f func(item *SummaryDashboard) bool)
- func (l *SummaryDashboardList) Empty() bool
- func (l *SummaryDashboardList) Get(i int) *SummaryDashboard
- func (l *SummaryDashboardList) GetHREF() (value string, ok bool)
- func (l *SummaryDashboardList) HREF() string
- func (l *SummaryDashboardList) Kind() string
- func (l *SummaryDashboardList) Len() int
- func (l *SummaryDashboardList) Link() bool
- func (l *SummaryDashboardList) Range(f func(index int, item *SummaryDashboard) bool)
- func (l *SummaryDashboardList) Slice() []*SummaryDashboard
- type SummaryDashboardListBuilder
- type SummaryDashboardPollRequest
- func (r *SummaryDashboardPollRequest) Header(name string, value interface{}) *SummaryDashboardPollRequest
- func (r *SummaryDashboardPollRequest) Interval(value time.Duration) *SummaryDashboardPollRequest
- func (r *SummaryDashboardPollRequest) Parameter(name string, value interface{}) *SummaryDashboardPollRequest
- func (r *SummaryDashboardPollRequest) Predicate(value func(*SummaryDashboardGetResponse) bool) *SummaryDashboardPollRequest
- func (r *SummaryDashboardPollRequest) StartContext(ctx context.Context) (response *SummaryDashboardPollResponse, err error)
- func (r *SummaryDashboardPollRequest) Status(value int) *SummaryDashboardPollRequest
- type SummaryDashboardPollResponse
- func (r *SummaryDashboardPollResponse) Body() *SummaryDashboard
- func (r *SummaryDashboardPollResponse) Error() *errors.Error
- func (r *SummaryDashboardPollResponse) GetBody() (value *SummaryDashboard, ok bool)
- func (r *SummaryDashboardPollResponse) Header() http.Header
- func (r *SummaryDashboardPollResponse) Status() int
- type SummaryDashboardServer
- type SummaryMetrics
- type SummaryMetricsBuilder
- func (b *SummaryMetricsBuilder) Build() (object *SummaryMetrics, err error)
- func (b *SummaryMetricsBuilder) Copy(object *SummaryMetrics) *SummaryMetricsBuilder
- func (b *SummaryMetricsBuilder) Name(value string) *SummaryMetricsBuilder
- func (b *SummaryMetricsBuilder) Vector(values ...*SummarySampleBuilder) *SummaryMetricsBuilder
- type SummaryMetricsList
- func (l *SummaryMetricsList) Each(f func(item *SummaryMetrics) bool)
- func (l *SummaryMetricsList) Empty() bool
- func (l *SummaryMetricsList) Get(i int) *SummaryMetrics
- func (l *SummaryMetricsList) Len() int
- func (l *SummaryMetricsList) Range(f func(index int, item *SummaryMetrics) bool)
- func (l *SummaryMetricsList) Slice() []*SummaryMetrics
- type SummaryMetricsListBuilder
- type SummarySample
- type SummarySampleBuilder
- func (b *SummarySampleBuilder) Build() (object *SummarySample, err error)
- func (b *SummarySampleBuilder) Copy(object *SummarySample) *SummarySampleBuilder
- func (b *SummarySampleBuilder) Time(value string) *SummarySampleBuilder
- func (b *SummarySampleBuilder) Value(value float64) *SummarySampleBuilder
- type SummarySampleList
- func (l *SummarySampleList) Each(f func(item *SummarySample) bool)
- func (l *SummarySampleList) Empty() bool
- func (l *SummarySampleList) Get(i int) *SummarySample
- func (l *SummarySampleList) Len() int
- func (l *SummarySampleList) Range(f func(index int, item *SummarySample) bool)
- func (l *SummarySampleList) Slice() []*SummarySample
- type SummarySampleListBuilder
- type SupportCaseClient
- type SupportCaseDeleteRequest
- func (r *SupportCaseDeleteRequest) Header(name string, value interface{}) *SupportCaseDeleteRequest
- func (r *SupportCaseDeleteRequest) Parameter(name string, value interface{}) *SupportCaseDeleteRequest
- func (r *SupportCaseDeleteRequest) Send() (result *SupportCaseDeleteResponse, err error)
- func (r *SupportCaseDeleteRequest) SendContext(ctx context.Context) (result *SupportCaseDeleteResponse, err error)
- type SupportCaseDeleteResponse
- type SupportCaseDeleteServerRequest
- type SupportCaseDeleteServerResponse
- type SupportCaseRequest
- func (o *SupportCaseRequest) ClusterId() string
- func (o *SupportCaseRequest) ClusterUuid() string
- func (o *SupportCaseRequest) Description() string
- func (o *SupportCaseRequest) Empty() bool
- func (o *SupportCaseRequest) EventStreamId() string
- func (o *SupportCaseRequest) GetClusterId() (value string, ok bool)
- func (o *SupportCaseRequest) GetClusterUuid() (value string, ok bool)
- func (o *SupportCaseRequest) GetDescription() (value string, ok bool)
- func (o *SupportCaseRequest) GetEventStreamId() (value string, ok bool)
- func (o *SupportCaseRequest) GetHREF() (value string, ok bool)
- func (o *SupportCaseRequest) GetID() (value string, ok bool)
- func (o *SupportCaseRequest) GetSeverity() (value string, ok bool)
- func (o *SupportCaseRequest) GetSubscriptionId() (value string, ok bool)
- func (o *SupportCaseRequest) GetSummary() (value string, ok bool)
- func (o *SupportCaseRequest) HREF() string
- func (o *SupportCaseRequest) ID() string
- func (o *SupportCaseRequest) Kind() string
- func (o *SupportCaseRequest) Link() bool
- func (o *SupportCaseRequest) Severity() string
- func (o *SupportCaseRequest) SubscriptionId() string
- func (o *SupportCaseRequest) Summary() string
- type SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Build() (object *SupportCaseRequest, err error)
- func (b *SupportCaseRequestBuilder) ClusterId(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) ClusterUuid(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Copy(object *SupportCaseRequest) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Description(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) EventStreamId(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) HREF(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) ID(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Link(value bool) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Severity(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) SubscriptionId(value string) *SupportCaseRequestBuilder
- func (b *SupportCaseRequestBuilder) Summary(value string) *SupportCaseRequestBuilder
- type SupportCaseRequestList
- func (l *SupportCaseRequestList) Each(f func(item *SupportCaseRequest) bool)
- func (l *SupportCaseRequestList) Empty() bool
- func (l *SupportCaseRequestList) Get(i int) *SupportCaseRequest
- func (l *SupportCaseRequestList) GetHREF() (value string, ok bool)
- func (l *SupportCaseRequestList) HREF() string
- func (l *SupportCaseRequestList) Kind() string
- func (l *SupportCaseRequestList) Len() int
- func (l *SupportCaseRequestList) Link() bool
- func (l *SupportCaseRequestList) Range(f func(index int, item *SupportCaseRequest) bool)
- func (l *SupportCaseRequestList) Slice() []*SupportCaseRequest
- type SupportCaseRequestListBuilder
- func (b *SupportCaseRequestListBuilder) Build() (list *SupportCaseRequestList, err error)
- func (b *SupportCaseRequestListBuilder) Copy(list *SupportCaseRequestList) *SupportCaseRequestListBuilder
- func (b *SupportCaseRequestListBuilder) Items(values ...*SupportCaseRequestBuilder) *SupportCaseRequestListBuilder
- type SupportCaseResponse
- func (o *SupportCaseResponse) CaseNumber() string
- func (o *SupportCaseResponse) ClusterId() string
- func (o *SupportCaseResponse) ClusterUuid() string
- func (o *SupportCaseResponse) Description() string
- func (o *SupportCaseResponse) Empty() bool
- func (o *SupportCaseResponse) GetCaseNumber() (value string, ok bool)
- func (o *SupportCaseResponse) GetClusterId() (value string, ok bool)
- func (o *SupportCaseResponse) GetClusterUuid() (value string, ok bool)
- func (o *SupportCaseResponse) GetDescription() (value string, ok bool)
- func (o *SupportCaseResponse) GetHREF() (value string, ok bool)
- func (o *SupportCaseResponse) GetID() (value string, ok bool)
- func (o *SupportCaseResponse) GetSeverity() (value string, ok bool)
- func (o *SupportCaseResponse) GetStatus() (value string, ok bool)
- func (o *SupportCaseResponse) GetSubscriptionId() (value string, ok bool)
- func (o *SupportCaseResponse) GetSummary() (value string, ok bool)
- func (o *SupportCaseResponse) GetURI() (value string, ok bool)
- func (o *SupportCaseResponse) HREF() string
- func (o *SupportCaseResponse) ID() string
- func (o *SupportCaseResponse) Kind() string
- func (o *SupportCaseResponse) Link() bool
- func (o *SupportCaseResponse) Severity() string
- func (o *SupportCaseResponse) Status() string
- func (o *SupportCaseResponse) SubscriptionId() string
- func (o *SupportCaseResponse) Summary() string
- func (o *SupportCaseResponse) URI() string
- type SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Build() (object *SupportCaseResponse, err error)
- func (b *SupportCaseResponseBuilder) CaseNumber(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) ClusterId(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) ClusterUuid(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Copy(object *SupportCaseResponse) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Description(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) HREF(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) ID(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Link(value bool) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Severity(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Status(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) SubscriptionId(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) Summary(value string) *SupportCaseResponseBuilder
- func (b *SupportCaseResponseBuilder) URI(value string) *SupportCaseResponseBuilder
- type SupportCaseResponseList
- func (l *SupportCaseResponseList) Each(f func(item *SupportCaseResponse) bool)
- func (l *SupportCaseResponseList) Empty() bool
- func (l *SupportCaseResponseList) Get(i int) *SupportCaseResponse
- func (l *SupportCaseResponseList) GetHREF() (value string, ok bool)
- func (l *SupportCaseResponseList) HREF() string
- func (l *SupportCaseResponseList) Kind() string
- func (l *SupportCaseResponseList) Len() int
- func (l *SupportCaseResponseList) Link() bool
- func (l *SupportCaseResponseList) Range(f func(index int, item *SupportCaseResponse) bool)
- func (l *SupportCaseResponseList) Slice() []*SupportCaseResponse
- type SupportCaseResponseListBuilder
- func (b *SupportCaseResponseListBuilder) Build() (list *SupportCaseResponseList, err error)
- func (b *SupportCaseResponseListBuilder) Copy(list *SupportCaseResponseList) *SupportCaseResponseListBuilder
- func (b *SupportCaseResponseListBuilder) Items(values ...*SupportCaseResponseBuilder) *SupportCaseResponseListBuilder
- type SupportCaseServer
- type SupportCasesClient
- type SupportCasesPostRequest
- func (r *SupportCasesPostRequest) Header(name string, value interface{}) *SupportCasesPostRequest
- func (r *SupportCasesPostRequest) Parameter(name string, value interface{}) *SupportCasesPostRequest
- func (r *SupportCasesPostRequest) Request(value *SupportCaseRequest) *SupportCasesPostRequest
- func (r *SupportCasesPostRequest) Send() (result *SupportCasesPostResponse, err error)
- func (r *SupportCasesPostRequest) SendContext(ctx context.Context) (result *SupportCasesPostResponse, err error)
- type SupportCasesPostResponse
- func (r *SupportCasesPostResponse) Error() *errors.Error
- func (r *SupportCasesPostResponse) GetResponse() (value *SupportCaseResponse, ok bool)
- func (r *SupportCasesPostResponse) Header() http.Header
- func (r *SupportCasesPostResponse) Response() *SupportCaseResponse
- func (r *SupportCasesPostResponse) Status() int
- type SupportCasesPostServerRequest
- type SupportCasesPostServerResponse
- type SupportCasesServer
- type SupportLevelEnum
- type SystemUnitsEnum
- type TemplateParameter
- type TemplateParameterBuilder
- func (b *TemplateParameterBuilder) Build() (object *TemplateParameter, err error)
- func (b *TemplateParameterBuilder) Content(value string) *TemplateParameterBuilder
- func (b *TemplateParameterBuilder) Copy(object *TemplateParameter) *TemplateParameterBuilder
- func (b *TemplateParameterBuilder) Name(value string) *TemplateParameterBuilder
- type TemplateParameterList
- func (l *TemplateParameterList) Each(f func(item *TemplateParameter) bool)
- func (l *TemplateParameterList) Empty() bool
- func (l *TemplateParameterList) Get(i int) *TemplateParameter
- func (l *TemplateParameterList) Len() int
- func (l *TemplateParameterList) Range(f func(index int, item *TemplateParameter) bool)
- func (l *TemplateParameterList) Slice() []*TemplateParameter
- type TemplateParameterListBuilder
- func (b *TemplateParameterListBuilder) Build() (list *TemplateParameterList, err error)
- func (b *TemplateParameterListBuilder) Copy(list *TemplateParameterList) *TemplateParameterListBuilder
- func (b *TemplateParameterListBuilder) Items(values ...*TemplateParameterBuilder) *TemplateParameterListBuilder
- type TokenAuthorizationClient
- type TokenAuthorizationPostRequest
- func (r *TokenAuthorizationPostRequest) Header(name string, value interface{}) *TokenAuthorizationPostRequest
- func (r *TokenAuthorizationPostRequest) Parameter(name string, value interface{}) *TokenAuthorizationPostRequest
- func (r *TokenAuthorizationPostRequest) Request(value *TokenAuthorizationRequest) *TokenAuthorizationPostRequest
- func (r *TokenAuthorizationPostRequest) Send() (result *TokenAuthorizationPostResponse, err error)
- func (r *TokenAuthorizationPostRequest) SendContext(ctx context.Context) (result *TokenAuthorizationPostResponse, err error)
- type TokenAuthorizationPostResponse
- func (r *TokenAuthorizationPostResponse) Error() *errors.Error
- func (r *TokenAuthorizationPostResponse) GetResponse() (value *TokenAuthorizationResponse, ok bool)
- func (r *TokenAuthorizationPostResponse) Header() http.Header
- func (r *TokenAuthorizationPostResponse) Response() *TokenAuthorizationResponse
- func (r *TokenAuthorizationPostResponse) Status() int
- type TokenAuthorizationPostServerRequest
- type TokenAuthorizationPostServerResponse
- type TokenAuthorizationRequest
- type TokenAuthorizationRequestBuilder
- func (b *TokenAuthorizationRequestBuilder) AuthorizationToken(value string) *TokenAuthorizationRequestBuilder
- func (b *TokenAuthorizationRequestBuilder) Build() (object *TokenAuthorizationRequest, err error)
- func (b *TokenAuthorizationRequestBuilder) Copy(object *TokenAuthorizationRequest) *TokenAuthorizationRequestBuilder
- type TokenAuthorizationRequestList
- func (l *TokenAuthorizationRequestList) Each(f func(item *TokenAuthorizationRequest) bool)
- func (l *TokenAuthorizationRequestList) Empty() bool
- func (l *TokenAuthorizationRequestList) Get(i int) *TokenAuthorizationRequest
- func (l *TokenAuthorizationRequestList) Len() int
- func (l *TokenAuthorizationRequestList) Range(f func(index int, item *TokenAuthorizationRequest) bool)
- func (l *TokenAuthorizationRequestList) Slice() []*TokenAuthorizationRequest
- type TokenAuthorizationRequestListBuilder
- func (b *TokenAuthorizationRequestListBuilder) Build() (list *TokenAuthorizationRequestList, err error)
- func (b *TokenAuthorizationRequestListBuilder) Copy(list *TokenAuthorizationRequestList) *TokenAuthorizationRequestListBuilder
- func (b *TokenAuthorizationRequestListBuilder) Items(values ...*TokenAuthorizationRequestBuilder) *TokenAuthorizationRequestListBuilder
- type TokenAuthorizationResponse
- type TokenAuthorizationResponseBuilder
- func (b *TokenAuthorizationResponseBuilder) Account(value *AccountBuilder) *TokenAuthorizationResponseBuilder
- func (b *TokenAuthorizationResponseBuilder) Build() (object *TokenAuthorizationResponse, err error)
- func (b *TokenAuthorizationResponseBuilder) Copy(object *TokenAuthorizationResponse) *TokenAuthorizationResponseBuilder
- type TokenAuthorizationResponseList
- func (l *TokenAuthorizationResponseList) Each(f func(item *TokenAuthorizationResponse) bool)
- func (l *TokenAuthorizationResponseList) Empty() bool
- func (l *TokenAuthorizationResponseList) Get(i int) *TokenAuthorizationResponse
- func (l *TokenAuthorizationResponseList) Len() int
- func (l *TokenAuthorizationResponseList) Range(f func(index int, item *TokenAuthorizationResponse) bool)
- func (l *TokenAuthorizationResponseList) Slice() []*TokenAuthorizationResponse
- type TokenAuthorizationResponseListBuilder
- func (b *TokenAuthorizationResponseListBuilder) Build() (list *TokenAuthorizationResponseList, err error)
- func (b *TokenAuthorizationResponseListBuilder) Copy(list *TokenAuthorizationResponseList) *TokenAuthorizationResponseListBuilder
- func (b *TokenAuthorizationResponseListBuilder) Items(values ...*TokenAuthorizationResponseBuilder) *TokenAuthorizationResponseListBuilder
- type TokenAuthorizationServer
- type UsageEnum
Constants ¶
const AccessTokenAuthListKind = "AccessTokenAuthList"
AccessTokenAuthListKind is the name of the type used to represent list of objects of type 'access_token_auth'.
const AccessTokenAuthListLinkKind = "AccessTokenAuthListLink"
AccessTokenAuthListLinkKind is the name of the type used to represent links to list of objects of type 'access_token_auth'.
const AccessTokenAuthListNilKind = "AccessTokenAuthListNil"
AccessTokenAuthNilKind is the name of the type used to nil lists of objects of type 'access_token_auth'.
const AccessTokenListKind = "AccessTokenList"
AccessTokenListKind is the name of the type used to represent list of objects of type 'access_token'.
const AccessTokenListLinkKind = "AccessTokenListLink"
AccessTokenListLinkKind is the name of the type used to represent links to list of objects of type 'access_token'.
const AccessTokenListNilKind = "AccessTokenListNil"
AccessTokenNilKind is the name of the type used to nil lists of objects of type 'access_token'.
const AccountKind = "Account"
AccountKind is the name of the type used to represent objects of type 'account'.
const AccountLinkKind = "AccountLink"
AccountLinkKind is the name of the type used to represent links to objects of type 'account'.
const AccountListKind = "AccountList"
AccountListKind is the name of the type used to represent list of objects of type 'account'.
const AccountListLinkKind = "AccountListLink"
AccountListLinkKind is the name of the type used to represent links to list of objects of type 'account'.
const AccountListNilKind = "AccountListNil"
AccountNilKind is the name of the type used to nil lists of objects of type 'account'.
const AccountNilKind = "AccountNil"
AccountNilKind is the name of the type used to nil references to objects of type 'account'.
const ClusterAuthorizationRequestListKind = "ClusterAuthorizationRequestList"
ClusterAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'cluster_authorization_request'.
const ClusterAuthorizationRequestListLinkKind = "ClusterAuthorizationRequestListLink"
ClusterAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_authorization_request'.
const ClusterAuthorizationRequestListNilKind = "ClusterAuthorizationRequestListNil"
ClusterAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'cluster_authorization_request'.
const ClusterAuthorizationResponseListKind = "ClusterAuthorizationResponseList"
ClusterAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'cluster_authorization_response'.
const ClusterAuthorizationResponseListLinkKind = "ClusterAuthorizationResponseListLink"
ClusterAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_authorization_response'.
const ClusterAuthorizationResponseListNilKind = "ClusterAuthorizationResponseListNil"
ClusterAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'cluster_authorization_response'.
const ClusterRegistrationRequestListKind = "ClusterRegistrationRequestList"
ClusterRegistrationRequestListKind is the name of the type used to represent list of objects of type 'cluster_registration_request'.
const ClusterRegistrationRequestListLinkKind = "ClusterRegistrationRequestListLink"
ClusterRegistrationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration_request'.
const ClusterRegistrationRequestListNilKind = "ClusterRegistrationRequestListNil"
ClusterRegistrationRequestNilKind is the name of the type used to nil lists of objects of type 'cluster_registration_request'.
const ClusterRegistrationResponseListKind = "ClusterRegistrationResponseList"
ClusterRegistrationResponseListKind is the name of the type used to represent list of objects of type 'cluster_registration_response'.
const ClusterRegistrationResponseListLinkKind = "ClusterRegistrationResponseListLink"
ClusterRegistrationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_registration_response'.
const ClusterRegistrationResponseListNilKind = "ClusterRegistrationResponseListNil"
ClusterRegistrationResponseNilKind is the name of the type used to nil lists of objects of type 'cluster_registration_response'.
const FeatureToggleKind = "FeatureToggle"
FeatureToggleKind is the name of the type used to represent objects of type 'feature_toggle'.
const FeatureToggleLinkKind = "FeatureToggleLink"
FeatureToggleLinkKind is the name of the type used to represent links to objects of type 'feature_toggle'.
const FeatureToggleListKind = "FeatureToggleList"
FeatureToggleListKind is the name of the type used to represent list of objects of type 'feature_toggle'.
const FeatureToggleListLinkKind = "FeatureToggleListLink"
FeatureToggleListLinkKind is the name of the type used to represent links to list of objects of type 'feature_toggle'.
const FeatureToggleListNilKind = "FeatureToggleListNil"
FeatureToggleNilKind is the name of the type used to nil lists of objects of type 'feature_toggle'.
const FeatureToggleNilKind = "FeatureToggleNil"
FeatureToggleNilKind is the name of the type used to nil references to objects of type 'feature_toggle'.
const FeatureToggleQueryRequestListKind = "FeatureToggleQueryRequestList"
FeatureToggleQueryRequestListKind is the name of the type used to represent list of objects of type 'feature_toggle_query_request'.
const FeatureToggleQueryRequestListLinkKind = "FeatureToggleQueryRequestListLink"
FeatureToggleQueryRequestListLinkKind is the name of the type used to represent links to list of objects of type 'feature_toggle_query_request'.
const FeatureToggleQueryRequestListNilKind = "FeatureToggleQueryRequestListNil"
FeatureToggleQueryRequestNilKind is the name of the type used to nil lists of objects of type 'feature_toggle_query_request'.
const LabelKind = "Label"
LabelKind is the name of the type used to represent objects of type 'label'.
const LabelLinkKind = "LabelLink"
LabelLinkKind is the name of the type used to represent links to objects of type 'label'.
const LabelListKind = "LabelList"
LabelListKind is the name of the type used to represent list of objects of type 'label'.
const LabelListLinkKind = "LabelListLink"
LabelListLinkKind is the name of the type used to represent links to list of objects of type 'label'.
const LabelListNilKind = "LabelListNil"
LabelNilKind is the name of the type used to nil lists of objects of type 'label'.
const LabelNilKind = "LabelNil"
LabelNilKind is the name of the type used to nil references to objects of type 'label'.
const OrganizationKind = "Organization"
OrganizationKind is the name of the type used to represent objects of type 'organization'.
const OrganizationLinkKind = "OrganizationLink"
OrganizationLinkKind is the name of the type used to represent links to objects of type 'organization'.
const OrganizationListKind = "OrganizationList"
OrganizationListKind is the name of the type used to represent list of objects of type 'organization'.
const OrganizationListLinkKind = "OrganizationListLink"
OrganizationListLinkKind is the name of the type used to represent links to list of objects of type 'organization'.
const OrganizationListNilKind = "OrganizationListNil"
OrganizationNilKind is the name of the type used to nil lists of objects of type 'organization'.
const OrganizationNilKind = "OrganizationNil"
OrganizationNilKind is the name of the type used to nil references to objects of type 'organization'.
const PermissionKind = "Permission"
PermissionKind is the name of the type used to represent objects of type 'permission'.
const PermissionLinkKind = "PermissionLink"
PermissionLinkKind is the name of the type used to represent links to objects of type 'permission'.
const PermissionListKind = "PermissionList"
PermissionListKind is the name of the type used to represent list of objects of type 'permission'.
const PermissionListLinkKind = "PermissionListLink"
PermissionListLinkKind is the name of the type used to represent links to list of objects of type 'permission'.
const PermissionListNilKind = "PermissionListNil"
PermissionNilKind is the name of the type used to nil lists of objects of type 'permission'.
const PermissionNilKind = "PermissionNil"
PermissionNilKind is the name of the type used to nil references to objects of type 'permission'.
const PlanKind = "Plan"
PlanKind is the name of the type used to represent objects of type 'plan'.
const PlanLinkKind = "PlanLink"
PlanLinkKind is the name of the type used to represent links to objects of type 'plan'.
const PlanListKind = "PlanList"
PlanListKind is the name of the type used to represent list of objects of type 'plan'.
const PlanListLinkKind = "PlanListLink"
PlanListLinkKind is the name of the type used to represent links to list of objects of type 'plan'.
const PlanListNilKind = "PlanListNil"
PlanNilKind is the name of the type used to nil lists of objects of type 'plan'.
const PlanNilKind = "PlanNil"
PlanNilKind is the name of the type used to nil references to objects of type 'plan'.
const PullSecretsRequestListKind = "PullSecretsRequestList"
PullSecretsRequestListKind is the name of the type used to represent list of objects of type 'pull_secrets_request'.
const PullSecretsRequestListLinkKind = "PullSecretsRequestListLink"
PullSecretsRequestListLinkKind is the name of the type used to represent links to list of objects of type 'pull_secrets_request'.
const PullSecretsRequestListNilKind = "PullSecretsRequestListNil"
PullSecretsRequestNilKind is the name of the type used to nil lists of objects of type 'pull_secrets_request'.
const QuotaSummaryListKind = "QuotaSummaryList"
QuotaSummaryListKind is the name of the type used to represent list of objects of type 'quota_summary'.
const QuotaSummaryListLinkKind = "QuotaSummaryListLink"
QuotaSummaryListLinkKind is the name of the type used to represent links to list of objects of type 'quota_summary'.
const QuotaSummaryListNilKind = "QuotaSummaryListNil"
QuotaSummaryNilKind is the name of the type used to nil lists of objects of type 'quota_summary'.
const RegistryCredentialKind = "RegistryCredential"
RegistryCredentialKind is the name of the type used to represent objects of type 'registry_credential'.
const RegistryCredentialLinkKind = "RegistryCredentialLink"
RegistryCredentialLinkKind is the name of the type used to represent links to objects of type 'registry_credential'.
const RegistryCredentialListKind = "RegistryCredentialList"
RegistryCredentialListKind is the name of the type used to represent list of objects of type 'registry_credential'.
const RegistryCredentialListLinkKind = "RegistryCredentialListLink"
RegistryCredentialListLinkKind is the name of the type used to represent links to list of objects of type 'registry_credential'.
const RegistryCredentialListNilKind = "RegistryCredentialListNil"
RegistryCredentialNilKind is the name of the type used to nil lists of objects of type 'registry_credential'.
const RegistryCredentialNilKind = "RegistryCredentialNil"
RegistryCredentialNilKind is the name of the type used to nil references to objects of type 'registry_credential'.
const RegistryKind = "Registry"
RegistryKind is the name of the type used to represent objects of type 'registry'.
const RegistryLinkKind = "RegistryLink"
RegistryLinkKind is the name of the type used to represent links to objects of type 'registry'.
const RegistryListKind = "RegistryList"
RegistryListKind is the name of the type used to represent list of objects of type 'registry'.
const RegistryListLinkKind = "RegistryListLink"
RegistryListLinkKind is the name of the type used to represent links to list of objects of type 'registry'.
const RegistryListNilKind = "RegistryListNil"
RegistryNilKind is the name of the type used to nil lists of objects of type 'registry'.
const RegistryNilKind = "RegistryNil"
RegistryNilKind is the name of the type used to nil references to objects of type 'registry'.
const ReservedResourceListKind = "ReservedResourceList"
ReservedResourceListKind is the name of the type used to represent list of objects of type 'reserved_resource'.
const ReservedResourceListLinkKind = "ReservedResourceListLink"
ReservedResourceListLinkKind is the name of the type used to represent links to list of objects of type 'reserved_resource'.
const ReservedResourceListNilKind = "ReservedResourceListNil"
ReservedResourceNilKind is the name of the type used to nil lists of objects of type 'reserved_resource'.
const ResourceKind = "Resource"
ResourceKind is the name of the type used to represent objects of type 'resource'.
const ResourceLinkKind = "ResourceLink"
ResourceLinkKind is the name of the type used to represent links to objects of type 'resource'.
const ResourceListKind = "ResourceList"
ResourceListKind is the name of the type used to represent list of objects of type 'resource'.
const ResourceListLinkKind = "ResourceListLink"
ResourceListLinkKind is the name of the type used to represent links to list of objects of type 'resource'.
const ResourceListNilKind = "ResourceListNil"
ResourceNilKind is the name of the type used to nil lists of objects of type 'resource'.
const ResourceNilKind = "ResourceNil"
ResourceNilKind is the name of the type used to nil references to objects of type 'resource'.
const ResourceQuotaKind = "ResourceQuota"
ResourceQuotaKind is the name of the type used to represent objects of type 'resource_quota'.
const ResourceQuotaLinkKind = "ResourceQuotaLink"
ResourceQuotaLinkKind is the name of the type used to represent links to objects of type 'resource_quota'.
const ResourceQuotaListKind = "ResourceQuotaList"
ResourceQuotaListKind is the name of the type used to represent list of objects of type 'resource_quota'.
const ResourceQuotaListLinkKind = "ResourceQuotaListLink"
ResourceQuotaListLinkKind is the name of the type used to represent links to list of objects of type 'resource_quota'.
const ResourceQuotaListNilKind = "ResourceQuotaListNil"
ResourceQuotaNilKind is the name of the type used to nil lists of objects of type 'resource_quota'.
const ResourceQuotaNilKind = "ResourceQuotaNil"
ResourceQuotaNilKind is the name of the type used to nil references to objects of type 'resource_quota'.
const RoleBindingKind = "RoleBinding"
RoleBindingKind is the name of the type used to represent objects of type 'role_binding'.
const RoleBindingLinkKind = "RoleBindingLink"
RoleBindingLinkKind is the name of the type used to represent links to objects of type 'role_binding'.
const RoleBindingListKind = "RoleBindingList"
RoleBindingListKind is the name of the type used to represent list of objects of type 'role_binding'.
const RoleBindingListLinkKind = "RoleBindingListLink"
RoleBindingListLinkKind is the name of the type used to represent links to list of objects of type 'role_binding'.
const RoleBindingListNilKind = "RoleBindingListNil"
RoleBindingNilKind is the name of the type used to nil lists of objects of type 'role_binding'.
const RoleBindingNilKind = "RoleBindingNil"
RoleBindingNilKind is the name of the type used to nil references to objects of type 'role_binding'.
const RoleKind = "Role"
RoleKind is the name of the type used to represent objects of type 'role'.
const RoleLinkKind = "RoleLink"
RoleLinkKind is the name of the type used to represent links to objects of type 'role'.
const RoleListKind = "RoleList"
RoleListKind is the name of the type used to represent list of objects of type 'role'.
const RoleListLinkKind = "RoleListLink"
RoleListLinkKind is the name of the type used to represent links to list of objects of type 'role'.
const RoleListNilKind = "RoleListNil"
RoleNilKind is the name of the type used to nil lists of objects of type 'role'.
const RoleNilKind = "RoleNil"
RoleNilKind is the name of the type used to nil references to objects of type 'role'.
const SKUKind = "SKU"
SKUKind is the name of the type used to represent objects of type 'SKU'.
const SKULinkKind = "SKULink"
SKULinkKind is the name of the type used to represent links to objects of type 'SKU'.
const SKUListKind = "SKUList"
SKUListKind is the name of the type used to represent list of objects of type 'SKU'.
const SKUListLinkKind = "SKUListLink"
SKUListLinkKind is the name of the type used to represent links to list of objects of type 'SKU'.
const SKUListNilKind = "SKUListNil"
SKUNilKind is the name of the type used to nil lists of objects of type 'SKU'.
const SKUNilKind = "SKUNil"
SKUNilKind is the name of the type used to nil references to objects of type 'SKU'.
const SkuRuleKind = "SkuRule"
SkuRuleKind is the name of the type used to represent objects of type 'sku_rule'.
const SkuRuleLinkKind = "SkuRuleLink"
SkuRuleLinkKind is the name of the type used to represent links to objects of type 'sku_rule'.
const SkuRuleListKind = "SkuRuleList"
SkuRuleListKind is the name of the type used to represent list of objects of type 'sku_rule'.
const SkuRuleListLinkKind = "SkuRuleListLink"
SkuRuleListLinkKind is the name of the type used to represent links to list of objects of type 'sku_rule'.
const SkuRuleListNilKind = "SkuRuleListNil"
SkuRuleNilKind is the name of the type used to nil lists of objects of type 'sku_rule'.
const SkuRuleNilKind = "SkuRuleNil"
SkuRuleNilKind is the name of the type used to nil references to objects of type 'sku_rule'.
const SubscriptionKind = "Subscription"
SubscriptionKind is the name of the type used to represent objects of type 'subscription'.
const SubscriptionLinkKind = "SubscriptionLink"
SubscriptionLinkKind is the name of the type used to represent links to objects of type 'subscription'.
const SubscriptionListKind = "SubscriptionList"
SubscriptionListKind is the name of the type used to represent list of objects of type 'subscription'.
const SubscriptionListLinkKind = "SubscriptionListLink"
SubscriptionListLinkKind is the name of the type used to represent links to list of objects of type 'subscription'.
const SubscriptionListNilKind = "SubscriptionListNil"
SubscriptionNilKind is the name of the type used to nil lists of objects of type 'subscription'.
const SubscriptionNilKind = "SubscriptionNil"
SubscriptionNilKind is the name of the type used to nil references to objects of type 'subscription'.
const SubscriptionNotifyListKind = "SubscriptionNotifyList"
SubscriptionNotifyListKind is the name of the type used to represent list of objects of type 'subscription_notify'.
const SubscriptionNotifyListLinkKind = "SubscriptionNotifyListLink"
SubscriptionNotifyListLinkKind is the name of the type used to represent links to list of objects of type 'subscription_notify'.
const SubscriptionNotifyListNilKind = "SubscriptionNotifyListNil"
SubscriptionNotifyNilKind is the name of the type used to nil lists of objects of type 'subscription_notify'.
const SubscriptionRegistrationListKind = "SubscriptionRegistrationList"
SubscriptionRegistrationListKind is the name of the type used to represent list of objects of type 'subscription_registration'.
const SubscriptionRegistrationListLinkKind = "SubscriptionRegistrationListLink"
SubscriptionRegistrationListLinkKind is the name of the type used to represent links to list of objects of type 'subscription_registration'.
const SubscriptionRegistrationListNilKind = "SubscriptionRegistrationListNil"
SubscriptionRegistrationNilKind is the name of the type used to nil lists of objects of type 'subscription_registration'.
const SummaryDashboardKind = "SummaryDashboard"
SummaryDashboardKind is the name of the type used to represent objects of type 'summary_dashboard'.
const SummaryDashboardLinkKind = "SummaryDashboardLink"
SummaryDashboardLinkKind is the name of the type used to represent links to objects of type 'summary_dashboard'.
const SummaryDashboardListKind = "SummaryDashboardList"
SummaryDashboardListKind is the name of the type used to represent list of objects of type 'summary_dashboard'.
const SummaryDashboardListLinkKind = "SummaryDashboardListLink"
SummaryDashboardListLinkKind is the name of the type used to represent links to list of objects of type 'summary_dashboard'.
const SummaryDashboardListNilKind = "SummaryDashboardListNil"
SummaryDashboardNilKind is the name of the type used to nil lists of objects of type 'summary_dashboard'.
const SummaryDashboardNilKind = "SummaryDashboardNil"
SummaryDashboardNilKind is the name of the type used to nil references to objects of type 'summary_dashboard'.
const SummaryMetricsListKind = "SummaryMetricsList"
SummaryMetricsListKind is the name of the type used to represent list of objects of type 'summary_metrics'.
const SummaryMetricsListLinkKind = "SummaryMetricsListLink"
SummaryMetricsListLinkKind is the name of the type used to represent links to list of objects of type 'summary_metrics'.
const SummaryMetricsListNilKind = "SummaryMetricsListNil"
SummaryMetricsNilKind is the name of the type used to nil lists of objects of type 'summary_metrics'.
const SummarySampleListKind = "SummarySampleList"
SummarySampleListKind is the name of the type used to represent list of objects of type 'summary_sample'.
const SummarySampleListLinkKind = "SummarySampleListLink"
SummarySampleListLinkKind is the name of the type used to represent links to list of objects of type 'summary_sample'.
const SummarySampleListNilKind = "SummarySampleListNil"
SummarySampleNilKind is the name of the type used to nil lists of objects of type 'summary_sample'.
const SupportCaseRequestKind = "SupportCaseRequest"
SupportCaseRequestKind is the name of the type used to represent objects of type 'support_case_request'.
const SupportCaseRequestLinkKind = "SupportCaseRequestLink"
SupportCaseRequestLinkKind is the name of the type used to represent links to objects of type 'support_case_request'.
const SupportCaseRequestListKind = "SupportCaseRequestList"
SupportCaseRequestListKind is the name of the type used to represent list of objects of type 'support_case_request'.
const SupportCaseRequestListLinkKind = "SupportCaseRequestListLink"
SupportCaseRequestListLinkKind is the name of the type used to represent links to list of objects of type 'support_case_request'.
const SupportCaseRequestListNilKind = "SupportCaseRequestListNil"
SupportCaseRequestNilKind is the name of the type used to nil lists of objects of type 'support_case_request'.
const SupportCaseRequestNilKind = "SupportCaseRequestNil"
SupportCaseRequestNilKind is the name of the type used to nil references to objects of type 'support_case_request'.
const SupportCaseResponseKind = "SupportCaseResponse"
SupportCaseResponseKind is the name of the type used to represent objects of type 'support_case_response'.
const SupportCaseResponseLinkKind = "SupportCaseResponseLink"
SupportCaseResponseLinkKind is the name of the type used to represent links to objects of type 'support_case_response'.
const SupportCaseResponseListKind = "SupportCaseResponseList"
SupportCaseResponseListKind is the name of the type used to represent list of objects of type 'support_case_response'.
const SupportCaseResponseListLinkKind = "SupportCaseResponseListLink"
SupportCaseResponseListLinkKind is the name of the type used to represent links to list of objects of type 'support_case_response'.
const SupportCaseResponseListNilKind = "SupportCaseResponseListNil"
SupportCaseResponseNilKind is the name of the type used to nil lists of objects of type 'support_case_response'.
const SupportCaseResponseNilKind = "SupportCaseResponseNil"
SupportCaseResponseNilKind is the name of the type used to nil references to objects of type 'support_case_response'.
const TemplateParameterListKind = "TemplateParameterList"
TemplateParameterListKind is the name of the type used to represent list of objects of type 'template_parameter'.
const TemplateParameterListLinkKind = "TemplateParameterListLink"
TemplateParameterListLinkKind is the name of the type used to represent links to list of objects of type 'template_parameter'.
const TemplateParameterListNilKind = "TemplateParameterListNil"
TemplateParameterNilKind is the name of the type used to nil lists of objects of type 'template_parameter'.
const TokenAuthorizationRequestListKind = "TokenAuthorizationRequestList"
TokenAuthorizationRequestListKind is the name of the type used to represent list of objects of type 'token_authorization_request'.
const TokenAuthorizationRequestListLinkKind = "TokenAuthorizationRequestListLink"
TokenAuthorizationRequestListLinkKind is the name of the type used to represent links to list of objects of type 'token_authorization_request'.
const TokenAuthorizationRequestListNilKind = "TokenAuthorizationRequestListNil"
TokenAuthorizationRequestNilKind is the name of the type used to nil lists of objects of type 'token_authorization_request'.
const TokenAuthorizationResponseListKind = "TokenAuthorizationResponseList"
TokenAuthorizationResponseListKind is the name of the type used to represent list of objects of type 'token_authorization_response'.
const TokenAuthorizationResponseListLinkKind = "TokenAuthorizationResponseListLink"
TokenAuthorizationResponseListLinkKind is the name of the type used to represent links to list of objects of type 'token_authorization_response'.
const TokenAuthorizationResponseListNilKind = "TokenAuthorizationResponseListNil"
TokenAuthorizationResponseNilKind is the name of the type used to nil lists of objects of type 'token_authorization_response'.
Variables ¶
var OpenAPI = []byte{}/* 155384 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 MarshalAccessToken ¶
func MarshalAccessToken(object *AccessToken, writer io.Writer) error
MarshalAccessToken writes a value of the 'access_token' type to the given writer.
func MarshalAccessTokenAuth ¶
func MarshalAccessTokenAuth(object *AccessTokenAuth, writer io.Writer) error
MarshalAccessTokenAuth writes a value of the 'access_token_auth' type to the given writer.
func MarshalAccessTokenAuthList ¶
func MarshalAccessTokenAuthList(list []*AccessTokenAuth, writer io.Writer) error
MarshalAccessTokenAuthList writes a list of values of the 'access_token_auth' type to the given writer.
func MarshalAccessTokenList ¶
func MarshalAccessTokenList(list []*AccessToken, writer io.Writer) error
MarshalAccessTokenList writes a list of values of the 'access_token' type to the given writer.
func MarshalAccount ¶
MarshalAccount writes a value of the 'account' type to the given writer.
func MarshalAccountList ¶
MarshalAccountList writes a list of values of the 'account' type to the given writer.
func MarshalActionList ¶
MarshalActionList writes a list of values of the 'action' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalClusterAuthorizationRequest ¶
func MarshalClusterAuthorizationRequest(object *ClusterAuthorizationRequest, writer io.Writer) error
MarshalClusterAuthorizationRequest writes a value of the 'cluster_authorization_request' type to the given writer.
func MarshalClusterAuthorizationRequestList ¶
func MarshalClusterAuthorizationRequestList(list []*ClusterAuthorizationRequest, writer io.Writer) error
MarshalClusterAuthorizationRequestList writes a list of values of the 'cluster_authorization_request' type to the given writer.
func MarshalClusterAuthorizationResponse ¶
func MarshalClusterAuthorizationResponse(object *ClusterAuthorizationResponse, writer io.Writer) error
MarshalClusterAuthorizationResponse writes a value of the 'cluster_authorization_response' type to the given writer.
func MarshalClusterAuthorizationResponseList ¶
func MarshalClusterAuthorizationResponseList(list []*ClusterAuthorizationResponse, writer io.Writer) error
MarshalClusterAuthorizationResponseList writes a list of values of the 'cluster_authorization_response' type to the given writer.
func MarshalClusterRegistrationRequest ¶
func MarshalClusterRegistrationRequest(object *ClusterRegistrationRequest, writer io.Writer) error
MarshalClusterRegistrationRequest writes a value of the 'cluster_registration_request' type to the given writer.
func MarshalClusterRegistrationRequestList ¶
func MarshalClusterRegistrationRequestList(list []*ClusterRegistrationRequest, writer io.Writer) error
MarshalClusterRegistrationRequestList writes a list of values of the 'cluster_registration_request' type to the given writer.
func MarshalClusterRegistrationResponse ¶
func MarshalClusterRegistrationResponse(object *ClusterRegistrationResponse, writer io.Writer) error
MarshalClusterRegistrationResponse writes a value of the 'cluster_registration_response' type to the given writer.
func MarshalClusterRegistrationResponseList ¶
func MarshalClusterRegistrationResponseList(list []*ClusterRegistrationResponse, writer io.Writer) error
MarshalClusterRegistrationResponseList writes a list of values of the 'cluster_registration_response' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalFeatureToggle ¶
func MarshalFeatureToggle(object *FeatureToggle, writer io.Writer) error
MarshalFeatureToggle writes a value of the 'feature_toggle' type to the given writer.
func MarshalFeatureToggleList ¶
func MarshalFeatureToggleList(list []*FeatureToggle, writer io.Writer) error
MarshalFeatureToggleList writes a list of values of the 'feature_toggle' type to the given writer.
func MarshalFeatureToggleQueryRequest ¶
func MarshalFeatureToggleQueryRequest(object *FeatureToggleQueryRequest, writer io.Writer) error
MarshalFeatureToggleQueryRequest writes a value of the 'feature_toggle_query_request' type to the given writer.
func MarshalFeatureToggleQueryRequestList ¶
func MarshalFeatureToggleQueryRequestList(list []*FeatureToggleQueryRequest, writer io.Writer) error
MarshalFeatureToggleQueryRequestList writes a list of values of the 'feature_toggle_query_request' 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 MarshalInterfaceList ¶
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
func MarshalLabel ¶
MarshalLabel writes a value of the 'label' type to the given writer.
func MarshalLabelList ¶
MarshalLabelList writes a list of values of the 'label' 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 MarshalOrganization ¶
func MarshalOrganization(object *Organization, writer io.Writer) error
MarshalOrganization writes a value of the 'organization' type to the given writer.
func MarshalOrganizationList ¶
func MarshalOrganizationList(list []*Organization, writer io.Writer) error
MarshalOrganizationList writes a list of values of the 'organization' type to the given writer.
func MarshalPermission ¶
func MarshalPermission(object *Permission, writer io.Writer) error
MarshalPermission writes a value of the 'permission' type to the given writer.
func MarshalPermissionList ¶
func MarshalPermissionList(list []*Permission, writer io.Writer) error
MarshalPermissionList writes a list of values of the 'permission' type to the given writer.
func MarshalPlan ¶
MarshalPlan writes a value of the 'plan' type to the given writer.
func MarshalPlanIDList ¶
MarshalPlanIDList writes a list of values of the 'plan_ID' type to the given writer.
func MarshalPlanList ¶
MarshalPlanList writes a list of values of the 'plan' type to the given writer.
func MarshalProductBundleEnumList ¶
func MarshalProductBundleEnumList(list []ProductBundleEnum, writer io.Writer) error
MarshalProductBundleEnumList writes a list of values of the 'product_bundle_enum' type to the given writer.
func MarshalPullSecretsRequest ¶
func MarshalPullSecretsRequest(object *PullSecretsRequest, writer io.Writer) error
MarshalPullSecretsRequest writes a value of the 'pull_secrets_request' type to the given writer.
func MarshalPullSecretsRequestList ¶
func MarshalPullSecretsRequestList(list []*PullSecretsRequest, writer io.Writer) error
MarshalPullSecretsRequestList writes a list of values of the 'pull_secrets_request' type to the given writer.
func MarshalQuotaSummary ¶
func MarshalQuotaSummary(object *QuotaSummary, writer io.Writer) error
MarshalQuotaSummary writes a value of the 'quota_summary' type to the given writer.
func MarshalQuotaSummaryList ¶
func MarshalQuotaSummaryList(list []*QuotaSummary, writer io.Writer) error
MarshalQuotaSummaryList writes a list of values of the 'quota_summary' type to the given writer.
func MarshalRegistry ¶
MarshalRegistry writes a value of the 'registry' type to the given writer.
func MarshalRegistryCredential ¶
func MarshalRegistryCredential(object *RegistryCredential, writer io.Writer) error
MarshalRegistryCredential writes a value of the 'registry_credential' type to the given writer.
func MarshalRegistryCredentialList ¶
func MarshalRegistryCredentialList(list []*RegistryCredential, writer io.Writer) error
MarshalRegistryCredentialList writes a list of values of the 'registry_credential' type to the given writer.
func MarshalRegistryList ¶
MarshalRegistryList writes a list of values of the 'registry' type to the given writer.
func MarshalReservedResource ¶
func MarshalReservedResource(object *ReservedResource, writer io.Writer) error
MarshalReservedResource writes a value of the 'reserved_resource' type to the given writer.
func MarshalReservedResourceList ¶
func MarshalReservedResourceList(list []*ReservedResource, writer io.Writer) error
MarshalReservedResourceList writes a list of values of the 'reserved_resource' type to the given writer.
func MarshalResource ¶
MarshalResource writes a value of the 'resource' type to the given writer.
func MarshalResourceList ¶
MarshalResourceList writes a list of values of the 'resource' type to the given writer.
func MarshalResourceQuota ¶
func MarshalResourceQuota(object *ResourceQuota, writer io.Writer) error
MarshalResourceQuota writes a value of the 'resource_quota' type to the given writer.
func MarshalResourceQuotaList ¶
func MarshalResourceQuotaList(list []*ResourceQuota, writer io.Writer) error
MarshalResourceQuotaList writes a list of values of the 'resource_quota' type to the given writer.
func MarshalRole ¶
MarshalRole writes a value of the 'role' type to the given writer.
func MarshalRoleBinding ¶
func MarshalRoleBinding(object *RoleBinding, writer io.Writer) error
MarshalRoleBinding writes a value of the 'role_binding' type to the given writer.
func MarshalRoleBindingList ¶
func MarshalRoleBindingList(list []*RoleBinding, writer io.Writer) error
MarshalRoleBindingList writes a list of values of the 'role_binding' type to the given writer.
func MarshalRoleList ¶
MarshalRoleList writes a list of values of the 'role' type to the given writer.
func MarshalSKU ¶
MarshalSKU writes a value of the 'SKU' type to the given writer.
func MarshalSKUList ¶
MarshalSKUList writes a list of values of the 'SKU' type to the given writer.
func MarshalServiceLevelEnumList ¶
func MarshalServiceLevelEnumList(list []ServiceLevelEnum, writer io.Writer) error
MarshalServiceLevelEnumList writes a list of values of the 'service_level_enum' type to the given writer.
func MarshalSkuRule ¶
MarshalSkuRule writes a value of the 'sku_rule' type to the given writer.
func MarshalSkuRuleList ¶
MarshalSkuRuleList writes a list of values of the 'sku_rule' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func MarshalSubscription ¶
func MarshalSubscription(object *Subscription, writer io.Writer) error
MarshalSubscription writes a value of the 'subscription' type to the given writer.
func MarshalSubscriptionList ¶
func MarshalSubscriptionList(list []*Subscription, writer io.Writer) error
MarshalSubscriptionList writes a list of values of the 'subscription' type to the given writer.
func MarshalSubscriptionNotify ¶
func MarshalSubscriptionNotify(object *SubscriptionNotify, writer io.Writer) error
MarshalSubscriptionNotify writes a value of the 'subscription_notify' type to the given writer.
func MarshalSubscriptionNotifyList ¶
func MarshalSubscriptionNotifyList(list []*SubscriptionNotify, writer io.Writer) error
MarshalSubscriptionNotifyList writes a list of values of the 'subscription_notify' type to the given writer.
func MarshalSubscriptionRegistration ¶
func MarshalSubscriptionRegistration(object *SubscriptionRegistration, writer io.Writer) error
MarshalSubscriptionRegistration writes a value of the 'subscription_registration' type to the given writer.
func MarshalSubscriptionRegistrationList ¶
func MarshalSubscriptionRegistrationList(list []*SubscriptionRegistration, writer io.Writer) error
MarshalSubscriptionRegistrationList writes a list of values of the 'subscription_registration' type to the given writer.
func MarshalSummaryDashboard ¶ added in v0.0.329
func MarshalSummaryDashboard(object *SummaryDashboard, writer io.Writer) error
MarshalSummaryDashboard writes a value of the 'summary_dashboard' type to the given writer.
func MarshalSummaryDashboardList ¶ added in v0.0.329
func MarshalSummaryDashboardList(list []*SummaryDashboard, writer io.Writer) error
MarshalSummaryDashboardList writes a list of values of the 'summary_dashboard' type to the given writer.
func MarshalSummaryMetrics ¶ added in v0.0.329
func MarshalSummaryMetrics(object *SummaryMetrics, writer io.Writer) error
MarshalSummaryMetrics writes a value of the 'summary_metrics' type to the given writer.
func MarshalSummaryMetricsList ¶ added in v0.0.329
func MarshalSummaryMetricsList(list []*SummaryMetrics, writer io.Writer) error
MarshalSummaryMetricsList writes a list of values of the 'summary_metrics' type to the given writer.
func MarshalSummarySample ¶ added in v0.0.329
func MarshalSummarySample(object *SummarySample, writer io.Writer) error
MarshalSummarySample writes a value of the 'summary_sample' type to the given writer.
func MarshalSummarySampleList ¶ added in v0.0.329
func MarshalSummarySampleList(list []*SummarySample, writer io.Writer) error
MarshalSummarySampleList writes a list of values of the 'summary_sample' type to the given writer.
func MarshalSupportCaseRequest ¶
func MarshalSupportCaseRequest(object *SupportCaseRequest, writer io.Writer) error
MarshalSupportCaseRequest writes a value of the 'support_case_request' type to the given writer.
func MarshalSupportCaseRequestList ¶
func MarshalSupportCaseRequestList(list []*SupportCaseRequest, writer io.Writer) error
MarshalSupportCaseRequestList writes a list of values of the 'support_case_request' type to the given writer.
func MarshalSupportCaseResponse ¶
func MarshalSupportCaseResponse(object *SupportCaseResponse, writer io.Writer) error
MarshalSupportCaseResponse writes a value of the 'support_case_response' type to the given writer.
func MarshalSupportCaseResponseList ¶
func MarshalSupportCaseResponseList(list []*SupportCaseResponse, writer io.Writer) error
MarshalSupportCaseResponseList writes a list of values of the 'support_case_response' type to the given writer.
func MarshalSupportLevelEnumList ¶
func MarshalSupportLevelEnumList(list []SupportLevelEnum, writer io.Writer) error
MarshalSupportLevelEnumList writes a list of values of the 'support_level_enum' type to the given writer.
func MarshalSystemUnitsEnumList ¶
func MarshalSystemUnitsEnumList(list []SystemUnitsEnum, writer io.Writer) error
MarshalSystemUnitsEnumList writes a list of values of the 'system_units_enum' type to the given writer.
func MarshalTemplateParameter ¶
func MarshalTemplateParameter(object *TemplateParameter, writer io.Writer) error
MarshalTemplateParameter writes a value of the 'template_parameter' type to the given writer.
func MarshalTemplateParameterList ¶
func MarshalTemplateParameterList(list []*TemplateParameter, writer io.Writer) error
MarshalTemplateParameterList writes a list of values of the 'template_parameter' type to the given writer.
func MarshalTokenAuthorizationRequest ¶
func MarshalTokenAuthorizationRequest(object *TokenAuthorizationRequest, writer io.Writer) error
MarshalTokenAuthorizationRequest writes a value of the 'token_authorization_request' type to the given writer.
func MarshalTokenAuthorizationRequestList ¶
func MarshalTokenAuthorizationRequestList(list []*TokenAuthorizationRequest, writer io.Writer) error
MarshalTokenAuthorizationRequestList writes a list of values of the 'token_authorization_request' type to the given writer.
func MarshalTokenAuthorizationResponse ¶
func MarshalTokenAuthorizationResponse(object *TokenAuthorizationResponse, writer io.Writer) error
MarshalTokenAuthorizationResponse writes a value of the 'token_authorization_response' type to the given writer.
func MarshalTokenAuthorizationResponseList ¶
func MarshalTokenAuthorizationResponseList(list []*TokenAuthorizationResponse, writer io.Writer) error
MarshalTokenAuthorizationResponseList writes a list of values of the 'token_authorization_response' type to the given writer.
func MarshalUsageEnumList ¶
MarshalUsageEnumList writes a list of values of the 'usage_enum' 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 UnmarshalInterfaceList ¶
func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.
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 AccessToken ¶
type AccessToken struct {
// contains filtered or unexported fields
}
AccessToken represents the values of the 'access_token' type.
func UnmarshalAccessToken ¶
func UnmarshalAccessToken(source interface{}) (object *AccessToken, err error)
UnmarshalAccessToken reads a value of the 'access_token' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessTokenList ¶
func UnmarshalAccessTokenList(source interface{}) (items []*AccessToken, err error)
UnmarshalAccessTokenList reads a list of values of the 'access_token' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessToken) Auths ¶
func (o *AccessToken) Auths() map[string]*AccessTokenAuth
Auths returns the value of the 'auths' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*AccessToken) Empty ¶
func (o *AccessToken) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessToken) GetAuths ¶
func (o *AccessToken) GetAuths() (value map[string]*AccessTokenAuth, ok bool)
GetAuths returns the value of the 'auths' attribute and a flag indicating if the attribute has a value.
type AccessTokenAuth ¶
type AccessTokenAuth struct {
// contains filtered or unexported fields
}
AccessTokenAuth represents the values of the 'access_token_auth' type.
func UnmarshalAccessTokenAuth ¶
func UnmarshalAccessTokenAuth(source interface{}) (object *AccessTokenAuth, err error)
UnmarshalAccessTokenAuth reads a value of the 'access_token_auth' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccessTokenAuthList ¶
func UnmarshalAccessTokenAuthList(source interface{}) (items []*AccessTokenAuth, err error)
UnmarshalAccessTokenAuthList reads a list of values of the 'access_token_auth' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AccessTokenAuth) Auth ¶
func (o *AccessTokenAuth) Auth() string
Auth returns the value of the 'auth' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*AccessTokenAuth) Email ¶
func (o *AccessTokenAuth) Email() string
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*AccessTokenAuth) Empty ¶
func (o *AccessTokenAuth) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*AccessTokenAuth) GetAuth ¶
func (o *AccessTokenAuth) GetAuth() (value string, ok bool)
GetAuth returns the value of the 'auth' attribute and a flag indicating if the attribute has a value.
func (*AccessTokenAuth) GetEmail ¶
func (o *AccessTokenAuth) GetEmail() (value string, ok bool)
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
type AccessTokenAuthBuilder ¶
type AccessTokenAuthBuilder struct {
// contains filtered or unexported fields
}
AccessTokenAuthBuilder contains the data and logic needed to build 'access_token_auth' objects.
func NewAccessTokenAuth ¶
func NewAccessTokenAuth() *AccessTokenAuthBuilder
NewAccessTokenAuth creates a new builder of 'access_token_auth' objects.
func (*AccessTokenAuthBuilder) Auth ¶
func (b *AccessTokenAuthBuilder) Auth(value string) *AccessTokenAuthBuilder
Auth sets the value of the 'auth' attribute to the given value.
func (*AccessTokenAuthBuilder) Build ¶
func (b *AccessTokenAuthBuilder) Build() (object *AccessTokenAuth, err error)
Build creates a 'access_token_auth' object using the configuration stored in the builder.
func (*AccessTokenAuthBuilder) Copy ¶
func (b *AccessTokenAuthBuilder) Copy(object *AccessTokenAuth) *AccessTokenAuthBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccessTokenAuthBuilder) Email ¶
func (b *AccessTokenAuthBuilder) Email(value string) *AccessTokenAuthBuilder
Email sets the value of the 'email' attribute to the given value.
type AccessTokenAuthList ¶
type AccessTokenAuthList struct {
// contains filtered or unexported fields
}
AccessTokenAuthList is a list of values of the 'access_token_auth' type.
func (*AccessTokenAuthList) Each ¶
func (l *AccessTokenAuthList) Each(f func(item *AccessTokenAuth) 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 (*AccessTokenAuthList) Empty ¶
func (l *AccessTokenAuthList) Empty() bool
Empty returns true if the list is empty.
func (*AccessTokenAuthList) Get ¶
func (l *AccessTokenAuthList) Get(i int) *AccessTokenAuth
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessTokenAuthList) Len ¶
func (l *AccessTokenAuthList) Len() int
Len returns the length of the list.
func (*AccessTokenAuthList) Range ¶
func (l *AccessTokenAuthList) Range(f func(index int, item *AccessTokenAuth) 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 (*AccessTokenAuthList) Slice ¶
func (l *AccessTokenAuthList) Slice() []*AccessTokenAuth
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 AccessTokenAuthListBuilder ¶
type AccessTokenAuthListBuilder struct {
// contains filtered or unexported fields
}
AccessTokenAuthListBuilder contains the data and logic needed to build 'access_token_auth' objects.
func NewAccessTokenAuthList ¶
func NewAccessTokenAuthList() *AccessTokenAuthListBuilder
NewAccessTokenAuthList creates a new builder of 'access_token_auth' objects.
func (*AccessTokenAuthListBuilder) Build ¶
func (b *AccessTokenAuthListBuilder) Build() (list *AccessTokenAuthList, err error)
Build creates a list of 'access_token_auth' objects using the configuration stored in the builder.
func (*AccessTokenAuthListBuilder) Copy ¶
func (b *AccessTokenAuthListBuilder) Copy(list *AccessTokenAuthList) *AccessTokenAuthListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessTokenAuthListBuilder) Items ¶
func (b *AccessTokenAuthListBuilder) Items(values ...*AccessTokenAuthBuilder) *AccessTokenAuthListBuilder
Items sets the items of the list.
type AccessTokenBuilder ¶
type AccessTokenBuilder struct {
// contains filtered or unexported fields
}
AccessTokenBuilder contains the data and logic needed to build 'access_token' objects.
func NewAccessToken ¶
func NewAccessToken() *AccessTokenBuilder
NewAccessToken creates a new builder of 'access_token' objects.
func (*AccessTokenBuilder) Auths ¶
func (b *AccessTokenBuilder) Auths(value map[string]*AccessTokenAuthBuilder) *AccessTokenBuilder
Auths sets the value of the 'auths' attribute to the given value.
func (*AccessTokenBuilder) Build ¶
func (b *AccessTokenBuilder) Build() (object *AccessToken, err error)
Build creates a 'access_token' object using the configuration stored in the builder.
func (*AccessTokenBuilder) Copy ¶
func (b *AccessTokenBuilder) Copy(object *AccessToken) *AccessTokenBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type AccessTokenClient ¶
type AccessTokenClient struct {
// contains filtered or unexported fields
}
AccessTokenClient is the client of the 'access_token' resource.
Manages access tokens.
func NewAccessTokenClient ¶
func NewAccessTokenClient(transport http.RoundTripper, path string, metric string) *AccessTokenClient
NewAccessTokenClient creates a new client for the 'access_token' resource using the given transport to send the requests and receive the responses.
func (*AccessTokenClient) Post ¶
func (c *AccessTokenClient) Post() *AccessTokenPostRequest
Post creates a request for the 'post' method.
Returns access token generated from registries in docker format.
type AccessTokenList ¶
type AccessTokenList struct {
// contains filtered or unexported fields
}
AccessTokenList is a list of values of the 'access_token' type.
func (*AccessTokenList) Each ¶
func (l *AccessTokenList) Each(f func(item *AccessToken) 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 (*AccessTokenList) Empty ¶
func (l *AccessTokenList) Empty() bool
Empty returns true if the list is empty.
func (*AccessTokenList) Get ¶
func (l *AccessTokenList) Get(i int) *AccessToken
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccessTokenList) Len ¶
func (l *AccessTokenList) Len() int
Len returns the length of the list.
func (*AccessTokenList) Range ¶
func (l *AccessTokenList) Range(f func(index int, item *AccessToken) 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 (*AccessTokenList) Slice ¶
func (l *AccessTokenList) Slice() []*AccessToken
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 AccessTokenListBuilder ¶
type AccessTokenListBuilder struct {
// contains filtered or unexported fields
}
AccessTokenListBuilder contains the data and logic needed to build 'access_token' objects.
func NewAccessTokenList ¶
func NewAccessTokenList() *AccessTokenListBuilder
NewAccessTokenList creates a new builder of 'access_token' objects.
func (*AccessTokenListBuilder) Build ¶
func (b *AccessTokenListBuilder) Build() (list *AccessTokenList, err error)
Build creates a list of 'access_token' objects using the configuration stored in the builder.
func (*AccessTokenListBuilder) Copy ¶
func (b *AccessTokenListBuilder) Copy(list *AccessTokenList) *AccessTokenListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccessTokenListBuilder) Items ¶
func (b *AccessTokenListBuilder) Items(values ...*AccessTokenBuilder) *AccessTokenListBuilder
Items sets the items of the list.
type AccessTokenPostRequest ¶
type AccessTokenPostRequest struct {
// contains filtered or unexported fields
}
AccessTokenPostRequest is the request for the 'post' method.
func (*AccessTokenPostRequest) Header ¶
func (r *AccessTokenPostRequest) Header(name string, value interface{}) *AccessTokenPostRequest
Header adds a request header.
func (*AccessTokenPostRequest) Parameter ¶
func (r *AccessTokenPostRequest) Parameter(name string, value interface{}) *AccessTokenPostRequest
Parameter adds a query parameter.
func (*AccessTokenPostRequest) Send ¶
func (r *AccessTokenPostRequest) Send() (result *AccessTokenPostResponse, 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 (*AccessTokenPostRequest) SendContext ¶
func (r *AccessTokenPostRequest) SendContext(ctx context.Context) (result *AccessTokenPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccessTokenPostResponse ¶
type AccessTokenPostResponse struct {
// contains filtered or unexported fields
}
AccessTokenPostResponse is the response for the 'post' method.
func (*AccessTokenPostResponse) Body ¶
func (r *AccessTokenPostResponse) Body() *AccessToken
Body returns the value of the 'body' parameter.
func (*AccessTokenPostResponse) Error ¶
func (r *AccessTokenPostResponse) Error() *errors.Error
Error returns the response error.
func (*AccessTokenPostResponse) GetBody ¶
func (r *AccessTokenPostResponse) GetBody() (value *AccessToken, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AccessTokenPostResponse) Header ¶
func (r *AccessTokenPostResponse) Header() http.Header
Header returns header of the response.
func (*AccessTokenPostResponse) Status ¶
func (r *AccessTokenPostResponse) Status() int
Status returns the response status code.
type AccessTokenPostServerRequest ¶
type AccessTokenPostServerRequest struct { }
AccessTokenPostServerRequest is the request for the 'post' method.
type AccessTokenPostServerResponse ¶
type AccessTokenPostServerResponse struct {
// contains filtered or unexported fields
}
AccessTokenPostServerResponse is the response for the 'post' method.
func (*AccessTokenPostServerResponse) Body ¶
func (r *AccessTokenPostServerResponse) Body(value *AccessToken) *AccessTokenPostServerResponse
Body sets the value of the 'body' parameter.
func (*AccessTokenPostServerResponse) Status ¶
func (r *AccessTokenPostServerResponse) Status(value int) *AccessTokenPostServerResponse
Status sets the status code.
type AccessTokenServer ¶
type AccessTokenServer interface { // Post handles a request for the 'post' method. // // Returns access token generated from registries in docker format. Post(ctx context.Context, request *AccessTokenPostServerRequest, response *AccessTokenPostServerResponse) error }
AccessTokenServer represents the interface the manages the 'access_token' resource.
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Account represents the values of the 'account' type.
func UnmarshalAccount ¶
UnmarshalAccount reads a value of the 'account' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAccountList ¶
UnmarshalAccountList reads a list of values of the 'account' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Account) BanCode ¶
BanCode returns the value of the 'ban_code' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) BanDescription ¶
BanDescription returns the value of the 'ban_description' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) Banned ¶
Banned returns the value of the 'banned' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) Email ¶
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) FirstName ¶
FirstName returns the value of the 'first_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) GetBanCode ¶
GetBanCode returns the value of the 'ban_code' attribute and a flag indicating if the attribute has a value.
func (*Account) GetBanDescription ¶
GetBanDescription returns the value of the 'ban_description' attribute and a flag indicating if the attribute has a value.
func (*Account) GetBanned ¶
GetBanned returns the value of the 'banned' attribute and a flag indicating if the attribute has a value.
func (*Account) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Account) GetEmail ¶
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
func (*Account) GetFirstName ¶
GetFirstName returns the value of the 'first_name' attribute and a flag indicating if the attribute has a value.
func (*Account) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Account) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Account) GetLabels ¶
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
func (*Account) GetLastName ¶
GetLastName returns the value of the 'last_name' attribute and a flag indicating if the attribute has a value.
func (*Account) GetOrganization ¶
func (o *Account) GetOrganization() (value *Organization, ok bool)
GetOrganization returns the value of the 'organization' attribute and a flag indicating if the attribute has a value.
func (*Account) GetServiceAccount ¶
GetServiceAccount returns the value of the 'service_account' attribute and a flag indicating if the attribute has a value.
func (*Account) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Account) GetUsername ¶
GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.
func (*Account) Labels ¶
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) LastName ¶
LastName returns the value of the 'last_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) Organization ¶
func (o *Account) Organization() *Organization
Organization returns the value of the 'organization' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Account) ServiceAccount ¶
ServiceAccount returns the value of the 'service_account' attribute, or the zero value of the type if the attribute doesn't have a value.
type AccountBuilder ¶
type AccountBuilder struct {
// contains filtered or unexported fields
}
AccountBuilder contains the data and logic needed to build 'account' objects.
func NewAccount ¶
func NewAccount() *AccountBuilder
NewAccount creates a new builder of 'account' objects.
func (*AccountBuilder) BanCode ¶
func (b *AccountBuilder) BanCode(value string) *AccountBuilder
BanCode sets the value of the 'ban_code' attribute to the given value.
func (*AccountBuilder) BanDescription ¶
func (b *AccountBuilder) BanDescription(value string) *AccountBuilder
BanDescription sets the value of the 'ban_description' attribute to the given value.
func (*AccountBuilder) Banned ¶
func (b *AccountBuilder) Banned(value bool) *AccountBuilder
Banned sets the value of the 'banned' attribute to the given value.
func (*AccountBuilder) Build ¶
func (b *AccountBuilder) Build() (object *Account, err error)
Build creates a 'account' object using the configuration stored in the builder.
func (*AccountBuilder) Copy ¶
func (b *AccountBuilder) Copy(object *Account) *AccountBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AccountBuilder) CreatedAt ¶
func (b *AccountBuilder) CreatedAt(value time.Time) *AccountBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*AccountBuilder) Email ¶
func (b *AccountBuilder) Email(value string) *AccountBuilder
Email sets the value of the 'email' attribute to the given value.
func (*AccountBuilder) FirstName ¶
func (b *AccountBuilder) FirstName(value string) *AccountBuilder
FirstName sets the value of the 'first_name' attribute to the given value.
func (*AccountBuilder) HREF ¶
func (b *AccountBuilder) HREF(value string) *AccountBuilder
HREF sets the link to the object.
func (*AccountBuilder) ID ¶
func (b *AccountBuilder) ID(value string) *AccountBuilder
ID sets the identifier of the object.
func (*AccountBuilder) Labels ¶
func (b *AccountBuilder) Labels(values ...*LabelBuilder) *AccountBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*AccountBuilder) LastName ¶
func (b *AccountBuilder) LastName(value string) *AccountBuilder
LastName sets the value of the 'last_name' attribute to the given value.
func (*AccountBuilder) Link ¶
func (b *AccountBuilder) Link(value bool) *AccountBuilder
Link sets the flag that indicates if this is a link.
func (*AccountBuilder) Organization ¶
func (b *AccountBuilder) Organization(value *OrganizationBuilder) *AccountBuilder
Organization sets the value of the 'organization' attribute to the given value.
func (*AccountBuilder) ServiceAccount ¶
func (b *AccountBuilder) ServiceAccount(value bool) *AccountBuilder
ServiceAccount sets the value of the 'service_account' attribute to the given value.
func (*AccountBuilder) UpdatedAt ¶
func (b *AccountBuilder) UpdatedAt(value time.Time) *AccountBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*AccountBuilder) Username ¶
func (b *AccountBuilder) Username(value string) *AccountBuilder
Username sets the value of the 'username' attribute to the given value.
type AccountClient ¶
type AccountClient struct {
// contains filtered or unexported fields
}
AccountClient is the client of the 'account' resource.
Manages a specific account.
func NewAccountClient ¶
func NewAccountClient(transport http.RoundTripper, path string, metric string) *AccountClient
NewAccountClient creates a new client for the 'account' resource using the given transport to send the requests and receive the responses.
func (*AccountClient) Get ¶
func (c *AccountClient) Get() *AccountGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the account.
func (*AccountClient) Labels ¶
func (c *AccountClient) Labels() *GenericLabelsClient
Labels returns the target 'generic_labels' resource.
Reference to the list of labels of a specific account.
func (*AccountClient) Poll ¶
func (c *AccountClient) Poll() *AccountPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*AccountClient) Update ¶
func (c *AccountClient) Update() *AccountUpdateRequest
Update creates a request for the 'update' method.
Updates the account.
type AccountGetRequest ¶
type AccountGetRequest struct {
// contains filtered or unexported fields
}
AccountGetRequest is the request for the 'get' method.
func (*AccountGetRequest) Header ¶
func (r *AccountGetRequest) Header(name string, value interface{}) *AccountGetRequest
Header adds a request header.
func (*AccountGetRequest) Parameter ¶
func (r *AccountGetRequest) Parameter(name string, value interface{}) *AccountGetRequest
Parameter adds a query parameter.
func (*AccountGetRequest) Send ¶
func (r *AccountGetRequest) Send() (result *AccountGetResponse, 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 (*AccountGetRequest) SendContext ¶
func (r *AccountGetRequest) SendContext(ctx context.Context) (result *AccountGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccountGetResponse ¶
type AccountGetResponse struct {
// contains filtered or unexported fields
}
AccountGetResponse is the response for the 'get' method.
func (*AccountGetResponse) Body ¶
func (r *AccountGetResponse) Body() *Account
Body returns the value of the 'body' parameter.
func (*AccountGetResponse) Error ¶
func (r *AccountGetResponse) Error() *errors.Error
Error returns the response error.
func (*AccountGetResponse) GetBody ¶
func (r *AccountGetResponse) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AccountGetResponse) Header ¶
func (r *AccountGetResponse) Header() http.Header
Header returns header of the response.
func (*AccountGetResponse) Status ¶
func (r *AccountGetResponse) Status() int
Status returns the response status code.
type AccountGetServerRequest ¶
type AccountGetServerRequest struct { }
AccountGetServerRequest is the request for the 'get' method.
type AccountGetServerResponse ¶
type AccountGetServerResponse struct {
// contains filtered or unexported fields
}
AccountGetServerResponse is the response for the 'get' method.
func (*AccountGetServerResponse) Body ¶
func (r *AccountGetServerResponse) Body(value *Account) *AccountGetServerResponse
Body sets the value of the 'body' parameter.
func (*AccountGetServerResponse) Status ¶
func (r *AccountGetServerResponse) Status(value int) *AccountGetServerResponse
Status sets the status code.
type AccountList ¶
type AccountList struct {
// contains filtered or unexported fields
}
AccountList is a list of values of the 'account' type.
func (*AccountList) Each ¶
func (l *AccountList) Each(f func(item *Account) 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 (*AccountList) Empty ¶
func (l *AccountList) Empty() bool
Empty returns true if the list is empty.
func (*AccountList) Get ¶
func (l *AccountList) Get(i int) *Account
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AccountList) GetHREF ¶
func (l *AccountList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AccountList) Kind ¶
func (l *AccountList) Kind() string
Kind returns the name of the type of the object.
func (*AccountList) Range ¶
func (l *AccountList) Range(f func(index int, item *Account) 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 (*AccountList) Slice ¶
func (l *AccountList) Slice() []*Account
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 AccountListBuilder ¶
type AccountListBuilder struct {
// contains filtered or unexported fields
}
AccountListBuilder contains the data and logic needed to build 'account' objects.
func NewAccountList ¶
func NewAccountList() *AccountListBuilder
NewAccountList creates a new builder of 'account' objects.
func (*AccountListBuilder) Build ¶
func (b *AccountListBuilder) Build() (list *AccountList, err error)
Build creates a list of 'account' objects using the configuration stored in the builder.
func (*AccountListBuilder) Copy ¶
func (b *AccountListBuilder) Copy(list *AccountList) *AccountListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AccountListBuilder) Items ¶
func (b *AccountListBuilder) Items(values ...*AccountBuilder) *AccountListBuilder
Items sets the items of the list.
type AccountPollRequest ¶
type AccountPollRequest struct {
// contains filtered or unexported fields
}
AccountPollRequest is the request for the Poll method.
func (*AccountPollRequest) Header ¶
func (r *AccountPollRequest) Header(name string, value interface{}) *AccountPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*AccountPollRequest) Interval ¶
func (r *AccountPollRequest) Interval(value time.Duration) *AccountPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*AccountPollRequest) Parameter ¶
func (r *AccountPollRequest) Parameter(name string, value interface{}) *AccountPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*AccountPollRequest) Predicate ¶
func (r *AccountPollRequest) Predicate(value func(*AccountGetResponse) bool) *AccountPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*AccountPollRequest) StartContext ¶
func (r *AccountPollRequest) StartContext(ctx context.Context) (response *AccountPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*AccountPollRequest) Status ¶
func (r *AccountPollRequest) Status(value int) *AccountPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type AccountPollResponse ¶
type AccountPollResponse struct {
// contains filtered or unexported fields
}
AccountPollResponse is the response for the Poll method.
func (*AccountPollResponse) Body ¶
func (r *AccountPollResponse) Body() *Account
Body returns the value of the 'body' parameter.
func (*AccountPollResponse) Error ¶
func (r *AccountPollResponse) Error() *errors.Error
Error returns the response error.
func (*AccountPollResponse) GetBody ¶
func (r *AccountPollResponse) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AccountPollResponse) Header ¶
func (r *AccountPollResponse) Header() http.Header
Header returns header of the response.
func (*AccountPollResponse) Status ¶
func (r *AccountPollResponse) Status() int
Status returns the response status code.
type AccountServer ¶
type AccountServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the account. Get(ctx context.Context, request *AccountGetServerRequest, response *AccountGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the account. Update(ctx context.Context, request *AccountUpdateServerRequest, response *AccountUpdateServerResponse) error // Labels returns the target 'generic_labels' resource. // // Reference to the list of labels of a specific account. Labels() GenericLabelsServer }
AccountServer represents the interface the manages the 'account' resource.
type AccountUpdateRequest ¶
type AccountUpdateRequest struct {
// contains filtered or unexported fields
}
AccountUpdateRequest is the request for the 'update' method.
func (*AccountUpdateRequest) Body ¶
func (r *AccountUpdateRequest) Body(value *Account) *AccountUpdateRequest
Body sets the value of the 'body' parameter.
func (*AccountUpdateRequest) Header ¶
func (r *AccountUpdateRequest) Header(name string, value interface{}) *AccountUpdateRequest
Header adds a request header.
func (*AccountUpdateRequest) Parameter ¶
func (r *AccountUpdateRequest) Parameter(name string, value interface{}) *AccountUpdateRequest
Parameter adds a query parameter.
func (*AccountUpdateRequest) Send ¶
func (r *AccountUpdateRequest) Send() (result *AccountUpdateResponse, 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 (*AccountUpdateRequest) SendContext ¶
func (r *AccountUpdateRequest) SendContext(ctx context.Context) (result *AccountUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccountUpdateResponse ¶
type AccountUpdateResponse struct {
// contains filtered or unexported fields
}
AccountUpdateResponse is the response for the 'update' method.
func (*AccountUpdateResponse) Body ¶
func (r *AccountUpdateResponse) Body() *Account
Body returns the value of the 'body' parameter.
func (*AccountUpdateResponse) Error ¶
func (r *AccountUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*AccountUpdateResponse) GetBody ¶
func (r *AccountUpdateResponse) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*AccountUpdateResponse) Header ¶
func (r *AccountUpdateResponse) Header() http.Header
Header returns header of the response.
func (*AccountUpdateResponse) Status ¶
func (r *AccountUpdateResponse) Status() int
Status returns the response status code.
type AccountUpdateServerRequest ¶
type AccountUpdateServerRequest struct {
// contains filtered or unexported fields
}
AccountUpdateServerRequest is the request for the 'update' method.
func (*AccountUpdateServerRequest) Body ¶
func (r *AccountUpdateServerRequest) Body() *Account
Body returns the value of the 'body' parameter.
func (*AccountUpdateServerRequest) GetBody ¶
func (r *AccountUpdateServerRequest) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type AccountUpdateServerResponse ¶
type AccountUpdateServerResponse struct {
// contains filtered or unexported fields
}
AccountUpdateServerResponse is the response for the 'update' method.
func (*AccountUpdateServerResponse) Body ¶
func (r *AccountUpdateServerResponse) Body(value *Account) *AccountUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*AccountUpdateServerResponse) Status ¶
func (r *AccountUpdateServerResponse) Status(value int) *AccountUpdateServerResponse
Status sets the status code.
type AccountsAddRequest ¶
type AccountsAddRequest struct {
// contains filtered or unexported fields
}
AccountsAddRequest is the request for the 'add' method.
func (*AccountsAddRequest) Body ¶
func (r *AccountsAddRequest) Body(value *Account) *AccountsAddRequest
Body sets the value of the 'body' parameter.
Account data.
func (*AccountsAddRequest) Header ¶
func (r *AccountsAddRequest) Header(name string, value interface{}) *AccountsAddRequest
Header adds a request header.
func (*AccountsAddRequest) Parameter ¶
func (r *AccountsAddRequest) Parameter(name string, value interface{}) *AccountsAddRequest
Parameter adds a query parameter.
func (*AccountsAddRequest) Send ¶
func (r *AccountsAddRequest) Send() (result *AccountsAddResponse, 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 (*AccountsAddRequest) SendContext ¶
func (r *AccountsAddRequest) SendContext(ctx context.Context) (result *AccountsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type AccountsAddResponse ¶
type AccountsAddResponse struct {
// contains filtered or unexported fields
}
AccountsAddResponse is the response for the 'add' method.
func (*AccountsAddResponse) Body ¶
func (r *AccountsAddResponse) Body() *Account
Body returns the value of the 'body' parameter.
Account data.
func (*AccountsAddResponse) Error ¶
func (r *AccountsAddResponse) Error() *errors.Error
Error returns the response error.
func (*AccountsAddResponse) GetBody ¶
func (r *AccountsAddResponse) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Account data.
func (*AccountsAddResponse) Header ¶
func (r *AccountsAddResponse) Header() http.Header
Header returns header of the response.
func (*AccountsAddResponse) Status ¶
func (r *AccountsAddResponse) Status() int
Status returns the response status code.
type AccountsAddServerRequest ¶
type AccountsAddServerRequest struct {
// contains filtered or unexported fields
}
AccountsAddServerRequest is the request for the 'add' method.
func (*AccountsAddServerRequest) Body ¶
func (r *AccountsAddServerRequest) Body() *Account
Body returns the value of the 'body' parameter.
Account data.
func (*AccountsAddServerRequest) GetBody ¶
func (r *AccountsAddServerRequest) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Account data.
type AccountsAddServerResponse ¶
type AccountsAddServerResponse struct {
// contains filtered or unexported fields
}
AccountsAddServerResponse is the response for the 'add' method.
func (*AccountsAddServerResponse) Body ¶
func (r *AccountsAddServerResponse) Body(value *Account) *AccountsAddServerResponse
Body sets the value of the 'body' parameter.
Account data.
func (*AccountsAddServerResponse) Status ¶
func (r *AccountsAddServerResponse) Status(value int) *AccountsAddServerResponse
Status sets the status code.
type AccountsClient ¶
type AccountsClient struct {
// contains filtered or unexported fields
}
AccountsClient is the client of the 'accounts' resource.
Manages the collection of accounts.
func NewAccountsClient ¶
func NewAccountsClient(transport http.RoundTripper, path string, metric string) *AccountsClient
NewAccountsClient creates a new client for the 'accounts' resource using the given transport to send the requests and receive the responses.
func (*AccountsClient) Account ¶
func (c *AccountsClient) Account(id string) *AccountClient
Account returns the target 'account' resource for the given identifier.
Reference to the service that manages an specific account.
func (*AccountsClient) Add ¶
func (c *AccountsClient) Add() *AccountsAddRequest
Add creates a request for the 'add' method.
Creates a new account.
func (*AccountsClient) List ¶
func (c *AccountsClient) List() *AccountsListRequest
List creates a request for the 'list' method.
Retrieves the list of accounts.
type AccountsListRequest ¶
type AccountsListRequest struct {
// contains filtered or unexported fields
}
AccountsListRequest is the request for the 'list' method.
func (*AccountsListRequest) FetchlabelsLabels ¶
func (r *AccountsListRequest) FetchlabelsLabels(value bool) *AccountsListRequest
FetchlabelsLabels sets the value of the 'fetchlabels_labels' parameter.
If true, includes the labels on an account in the output. Could slow request response time.
func (*AccountsListRequest) Fields ¶
func (r *AccountsListRequest) Fields(value string) *AccountsListRequest
Fields sets the value of the 'fields' parameter.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*AccountsListRequest) Header ¶
func (r *AccountsListRequest) Header(name string, value interface{}) *AccountsListRequest
Header adds a request header.
func (*AccountsListRequest) Order ¶
func (r *AccountsListRequest) Order(value string) *AccountsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the accounts descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AccountsListRequest) Page ¶
func (r *AccountsListRequest) Page(value int) *AccountsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AccountsListRequest) Parameter ¶
func (r *AccountsListRequest) Parameter(name string, value interface{}) *AccountsListRequest
Parameter adds a query parameter.
func (*AccountsListRequest) Search ¶
func (r *AccountsListRequest) Search(value string) *AccountsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the account instead of the names of the columns of a table. For example, in order to retrieve accounts with username starting with my:
[source,sql] ---- username like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*AccountsListRequest) Send ¶
func (r *AccountsListRequest) Send() (result *AccountsListResponse, 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 (*AccountsListRequest) SendContext ¶
func (r *AccountsListRequest) SendContext(ctx context.Context) (result *AccountsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*AccountsListRequest) Size ¶
func (r *AccountsListRequest) Size(value int) *AccountsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AccountsListResponse ¶
type AccountsListResponse struct {
// contains filtered or unexported fields
}
AccountsListResponse is the response for the 'list' method.
func (*AccountsListResponse) Error ¶
func (r *AccountsListResponse) Error() *errors.Error
Error returns the response error.
func (*AccountsListResponse) GetItems ¶
func (r *AccountsListResponse) GetItems() (value *AccountList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of accounts.
func (*AccountsListResponse) GetPage ¶
func (r *AccountsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*AccountsListResponse) GetSize ¶
func (r *AccountsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*AccountsListResponse) GetTotal ¶
func (r *AccountsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*AccountsListResponse) Header ¶
func (r *AccountsListResponse) Header() http.Header
Header returns header of the response.
func (*AccountsListResponse) Items ¶
func (r *AccountsListResponse) Items() *AccountList
Items returns the value of the 'items' parameter.
Retrieved list of accounts.
func (*AccountsListResponse) Page ¶
func (r *AccountsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AccountsListResponse) Size ¶
func (r *AccountsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AccountsListResponse) Status ¶
func (r *AccountsListResponse) Status() int
Status returns the response status code.
func (*AccountsListResponse) Total ¶
func (r *AccountsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type AccountsListServerRequest ¶
type AccountsListServerRequest struct {
// contains filtered or unexported fields
}
AccountsListServerRequest is the request for the 'list' method.
func (*AccountsListServerRequest) FetchlabelsLabels ¶
func (r *AccountsListServerRequest) FetchlabelsLabels() bool
FetchlabelsLabels returns the value of the 'fetchlabels_labels' parameter.
If true, includes the labels on an account in the output. Could slow request response time.
func (*AccountsListServerRequest) Fields ¶
func (r *AccountsListServerRequest) Fields() string
Fields returns the value of the 'fields' parameter.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*AccountsListServerRequest) GetFetchlabelsLabels ¶
func (r *AccountsListServerRequest) GetFetchlabelsLabels() (value bool, ok bool)
GetFetchlabelsLabels returns the value of the 'fetchlabels_labels' parameter and a flag indicating if the parameter has a value.
If true, includes the labels on an account in the output. Could slow request response time.
func (*AccountsListServerRequest) GetFields ¶
func (r *AccountsListServerRequest) GetFields() (value string, ok bool)
GetFields returns the value of the 'fields' parameter and a flag indicating if the parameter has a value.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*AccountsListServerRequest) GetOrder ¶
func (r *AccountsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the accounts descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AccountsListServerRequest) GetPage ¶
func (r *AccountsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*AccountsListServerRequest) GetSearch ¶
func (r *AccountsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the account instead of the names of the columns of a table. For example, in order to retrieve accounts with username starting with my:
[source,sql] ---- username like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*AccountsListServerRequest) GetSize ¶
func (r *AccountsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*AccountsListServerRequest) Order ¶
func (r *AccountsListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the accounts descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*AccountsListServerRequest) Page ¶
func (r *AccountsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AccountsListServerRequest) Search ¶
func (r *AccountsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the account instead of the names of the columns of a table. For example, in order to retrieve accounts with username starting with my:
[source,sql] ---- username like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*AccountsListServerRequest) Size ¶
func (r *AccountsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type AccountsListServerResponse ¶
type AccountsListServerResponse struct {
// contains filtered or unexported fields
}
AccountsListServerResponse is the response for the 'list' method.
func (*AccountsListServerResponse) Items ¶
func (r *AccountsListServerResponse) Items(value *AccountList) *AccountsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of accounts.
func (*AccountsListServerResponse) Page ¶
func (r *AccountsListServerResponse) Page(value int) *AccountsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*AccountsListServerResponse) Size ¶
func (r *AccountsListServerResponse) Size(value int) *AccountsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*AccountsListServerResponse) Status ¶
func (r *AccountsListServerResponse) Status(value int) *AccountsListServerResponse
Status sets the status code.
func (*AccountsListServerResponse) Total ¶
func (r *AccountsListServerResponse) Total(value int) *AccountsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type AccountsServer ¶
type AccountsServer interface { // Add handles a request for the 'add' method. // // Creates a new account. Add(ctx context.Context, request *AccountsAddServerRequest, response *AccountsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of accounts. List(ctx context.Context, request *AccountsListServerRequest, response *AccountsListServerResponse) error // Account returns the target 'account' server for the given identifier. // // Reference to the service that manages an specific account. Account(id string) AccountServer }
AccountsServer represents the interface the manages the 'accounts' resource.
type Action ¶
type Action string
Action represents the values of the 'action' enumerated type.
func UnmarshalActionList ¶
UnmarshalActionList reads a list of values of the 'action' type from the given source, which can be a slice of bytes, a string or a reader.
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 clusters management 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) AccessToken ¶
func (c *Client) AccessToken() *AccessTokenClient
AccessToken returns the target 'access_token' resource.
Reference to the resource that manages generates access tokens.
func (*Client) Accounts ¶
func (c *Client) Accounts() *AccountsClient
Accounts returns the target 'accounts' resource.
Reference to the resource that manages the collection of accounts.
func (*Client) ClusterAuthorizations ¶
func (c *Client) ClusterAuthorizations() *ClusterAuthorizationsClient
ClusterAuthorizations returns the target 'cluster_authorizations' resource.
Reference to the resource that manages cluster authorizations.
func (*Client) ClusterRegistrations ¶
func (c *Client) ClusterRegistrations() *ClusterRegistrationsClient
ClusterRegistrations returns the target 'cluster_registrations' resource.
Reference to the resource that manages cluster registrations.
func (*Client) CurrentAccess ¶
func (c *Client) CurrentAccess() *RolesClient
CurrentAccess returns the target 'roles' resource.
Reference to the resource that manages the current authenticated account.
func (*Client) CurrentAccount ¶
func (c *Client) CurrentAccount() *CurrentAccountClient
CurrentAccount returns the target 'current_account' resource.
Reference to the resource that manages the current authenticated account.
func (*Client) FeatureToggles ¶
func (c *Client) FeatureToggles() *FeatureTogglesClient
FeatureToggles returns the target 'feature_toggles' resource.
Reference to the resource that manages feature toggles.
func (*Client) Get ¶
func (c *Client) Get() *MetadataRequest
Creates a new request for the method that retrieves the metadata.
func (*Client) Labels ¶
func (c *Client) Labels() *LabelsClient
Labels returns the target 'labels' resource.
Reference to the resource that manages the collection of labels.
func (*Client) Notify ¶
func (c *Client) Notify() *NotifyClient
Notify returns the target 'notify' resource.
Reference to the resource that manages the notifications.
func (*Client) Organizations ¶
func (c *Client) Organizations() *OrganizationsClient
Organizations returns the target 'organizations' resource.
Reference to the resource that manages the collection of organizations.
func (*Client) Permissions ¶
func (c *Client) Permissions() *PermissionsClient
Permissions returns the target 'permissions' resource.
Reference to the resource that manages the collection of permissions.
func (*Client) PullSecrets ¶
func (c *Client) PullSecrets() *PullSecretsClient
PullSecrets returns the target 'pull_secrets' resource.
Reference to the resource that manages generates access tokens.
func (*Client) Registries ¶
func (c *Client) Registries() *RegistriesClient
Registries returns the target 'registries' resource.
Reference to the resource that manages the collection of registries.
func (*Client) RegistryCredentials ¶
func (c *Client) RegistryCredentials() *RegistryCredentialsClient
RegistryCredentials returns the target 'registry_credentials' resource.
Reference to the resource that manages the collection of registry credentials.
func (*Client) ResourceQuota ¶
func (c *Client) ResourceQuota() *ResourceQuotasClient
ResourceQuota returns the target 'resource_quotas' resource.
Reference to the resource that manages the collection of resource quota.
func (*Client) RoleBindings ¶
func (c *Client) RoleBindings() *RoleBindingsClient
RoleBindings returns the target 'role_bindings' resource.
Reference to the resource that manages the collection of role bindings.
func (*Client) Roles ¶
func (c *Client) Roles() *RolesClient
Roles returns the target 'roles' resource.
Reference to the resource that manages the collection of roles.
func (*Client) SKUS ¶
func (c *Client) SKUS() *SKUSClient
SKUS returns the target 'SKUS' resource.
Reference to the resource that manages the collection of SKUS
func (*Client) SkuRules ¶
func (c *Client) SkuRules() *SkuRulesClient
SkuRules returns the target 'sku_rules' resource.
Reference to the resource that manages the collection of Sku Rules
func (*Client) Subscriptions ¶
func (c *Client) Subscriptions() *SubscriptionsClient
Subscriptions returns the target 'subscriptions' resource.
Reference to the resource that manages the collection of subscriptions.
func (*Client) SupportCases ¶
func (c *Client) SupportCases() *SupportCasesClient
SupportCases returns the target 'support_cases' resource.
Reference to the resource that manages the support cases.
func (*Client) TokenAuthorization ¶
func (c *Client) TokenAuthorization() *TokenAuthorizationClient
TokenAuthorization returns the target 'token_authorization' resource.
Reference to the resource that manages token authorization.
type ClusterAuthorizationRequest ¶
type ClusterAuthorizationRequest struct {
// contains filtered or unexported fields
}
ClusterAuthorizationRequest represents the values of the 'cluster_authorization_request' type.
func UnmarshalClusterAuthorizationRequest ¶
func UnmarshalClusterAuthorizationRequest(source interface{}) (object *ClusterAuthorizationRequest, err error)
UnmarshalClusterAuthorizationRequest reads a value of the 'cluster_authorization_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterAuthorizationRequestList ¶
func UnmarshalClusterAuthorizationRequestList(source interface{}) (items []*ClusterAuthorizationRequest, err error)
UnmarshalClusterAuthorizationRequestList reads a list of values of the 'cluster_authorization_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterAuthorizationRequest) AccountUsername ¶
func (o *ClusterAuthorizationRequest) 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 (*ClusterAuthorizationRequest) AvailabilityZone ¶
func (o *ClusterAuthorizationRequest) AvailabilityZone() string
AvailabilityZone returns the value of the 'availability_zone' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) BYOC ¶
func (o *ClusterAuthorizationRequest) BYOC() bool
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) ClusterID ¶
func (o *ClusterAuthorizationRequest) 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.
func (*ClusterAuthorizationRequest) Disconnected ¶
func (o *ClusterAuthorizationRequest) Disconnected() bool
Disconnected returns the value of the 'disconnected' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) DisplayName ¶
func (o *ClusterAuthorizationRequest) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Empty ¶
func (o *ClusterAuthorizationRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterAuthorizationRequest) ExternalClusterID ¶
func (o *ClusterAuthorizationRequest) ExternalClusterID() string
ExternalClusterID returns the value of the 'external_cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) GetAccountUsername ¶
func (o *ClusterAuthorizationRequest) GetAccountUsername() (value string, ok bool)
GetAccountUsername returns the value of the 'account_username' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetAvailabilityZone ¶
func (o *ClusterAuthorizationRequest) GetAvailabilityZone() (value string, ok bool)
GetAvailabilityZone returns the value of the 'availability_zone' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetBYOC ¶
func (o *ClusterAuthorizationRequest) GetBYOC() (value bool, ok bool)
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetClusterID ¶
func (o *ClusterAuthorizationRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetDisconnected ¶
func (o *ClusterAuthorizationRequest) GetDisconnected() (value bool, ok bool)
GetDisconnected returns the value of the 'disconnected' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetDisplayName ¶
func (o *ClusterAuthorizationRequest) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetExternalClusterID ¶
func (o *ClusterAuthorizationRequest) GetExternalClusterID() (value string, ok bool)
GetExternalClusterID returns the value of the 'external_cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetManaged ¶
func (o *ClusterAuthorizationRequest) GetManaged() (value bool, ok bool)
GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetReserve ¶
func (o *ClusterAuthorizationRequest) GetReserve() (value bool, ok bool)
GetReserve returns the value of the 'reserve' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) GetResources ¶
func (o *ClusterAuthorizationRequest) GetResources() (value []*ReservedResource, ok bool)
GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationRequest) Managed ¶
func (o *ClusterAuthorizationRequest) Managed() bool
Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Reserve ¶
func (o *ClusterAuthorizationRequest) Reserve() bool
Reserve returns the value of the 'reserve' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationRequest) Resources ¶
func (o *ClusterAuthorizationRequest) Resources() []*ReservedResource
Resources returns the value of the 'resources' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterAuthorizationRequestBuilder ¶
type ClusterAuthorizationRequestBuilder struct {
// contains filtered or unexported fields
}
ClusterAuthorizationRequestBuilder contains the data and logic needed to build 'cluster_authorization_request' objects.
func NewClusterAuthorizationRequest ¶
func NewClusterAuthorizationRequest() *ClusterAuthorizationRequestBuilder
NewClusterAuthorizationRequest creates a new builder of 'cluster_authorization_request' objects.
func (*ClusterAuthorizationRequestBuilder) AccountUsername ¶
func (b *ClusterAuthorizationRequestBuilder) AccountUsername(value string) *ClusterAuthorizationRequestBuilder
AccountUsername sets the value of the 'account_username' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) AvailabilityZone ¶
func (b *ClusterAuthorizationRequestBuilder) AvailabilityZone(value string) *ClusterAuthorizationRequestBuilder
AvailabilityZone sets the value of the 'availability_zone' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) BYOC ¶
func (b *ClusterAuthorizationRequestBuilder) BYOC(value bool) *ClusterAuthorizationRequestBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Build ¶
func (b *ClusterAuthorizationRequestBuilder) Build() (object *ClusterAuthorizationRequest, err error)
Build creates a 'cluster_authorization_request' object using the configuration stored in the builder.
func (*ClusterAuthorizationRequestBuilder) ClusterID ¶
func (b *ClusterAuthorizationRequestBuilder) ClusterID(value string) *ClusterAuthorizationRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Copy ¶
func (b *ClusterAuthorizationRequestBuilder) Copy(object *ClusterAuthorizationRequest) *ClusterAuthorizationRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterAuthorizationRequestBuilder) Disconnected ¶
func (b *ClusterAuthorizationRequestBuilder) Disconnected(value bool) *ClusterAuthorizationRequestBuilder
Disconnected sets the value of the 'disconnected' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) DisplayName ¶
func (b *ClusterAuthorizationRequestBuilder) DisplayName(value string) *ClusterAuthorizationRequestBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) ExternalClusterID ¶
func (b *ClusterAuthorizationRequestBuilder) ExternalClusterID(value string) *ClusterAuthorizationRequestBuilder
ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Managed ¶
func (b *ClusterAuthorizationRequestBuilder) Managed(value bool) *ClusterAuthorizationRequestBuilder
Managed sets the value of the 'managed' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Reserve ¶
func (b *ClusterAuthorizationRequestBuilder) Reserve(value bool) *ClusterAuthorizationRequestBuilder
Reserve sets the value of the 'reserve' attribute to the given value.
func (*ClusterAuthorizationRequestBuilder) Resources ¶
func (b *ClusterAuthorizationRequestBuilder) Resources(values ...*ReservedResourceBuilder) *ClusterAuthorizationRequestBuilder
Resources sets the value of the 'resources' attribute to the given values.
type ClusterAuthorizationRequestList ¶
type ClusterAuthorizationRequestList struct {
// contains filtered or unexported fields
}
ClusterAuthorizationRequestList is a list of values of the 'cluster_authorization_request' type.
func (*ClusterAuthorizationRequestList) Each ¶
func (l *ClusterAuthorizationRequestList) Each(f func(item *ClusterAuthorizationRequest) 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 (*ClusterAuthorizationRequestList) Empty ¶
func (l *ClusterAuthorizationRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterAuthorizationRequestList) Get ¶
func (l *ClusterAuthorizationRequestList) Get(i int) *ClusterAuthorizationRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterAuthorizationRequestList) Len ¶
func (l *ClusterAuthorizationRequestList) Len() int
Len returns the length of the list.
func (*ClusterAuthorizationRequestList) Range ¶
func (l *ClusterAuthorizationRequestList) Range(f func(index int, item *ClusterAuthorizationRequest) 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 (*ClusterAuthorizationRequestList) Slice ¶
func (l *ClusterAuthorizationRequestList) Slice() []*ClusterAuthorizationRequest
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 ClusterAuthorizationRequestListBuilder ¶
type ClusterAuthorizationRequestListBuilder struct {
// contains filtered or unexported fields
}
ClusterAuthorizationRequestListBuilder contains the data and logic needed to build 'cluster_authorization_request' objects.
func NewClusterAuthorizationRequestList ¶
func NewClusterAuthorizationRequestList() *ClusterAuthorizationRequestListBuilder
NewClusterAuthorizationRequestList creates a new builder of 'cluster_authorization_request' objects.
func (*ClusterAuthorizationRequestListBuilder) Build ¶
func (b *ClusterAuthorizationRequestListBuilder) Build() (list *ClusterAuthorizationRequestList, err error)
Build creates a list of 'cluster_authorization_request' objects using the configuration stored in the builder.
func (*ClusterAuthorizationRequestListBuilder) Copy ¶
func (b *ClusterAuthorizationRequestListBuilder) Copy(list *ClusterAuthorizationRequestList) *ClusterAuthorizationRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterAuthorizationRequestListBuilder) Items ¶
func (b *ClusterAuthorizationRequestListBuilder) Items(values ...*ClusterAuthorizationRequestBuilder) *ClusterAuthorizationRequestListBuilder
Items sets the items of the list.
type ClusterAuthorizationResponse ¶
type ClusterAuthorizationResponse struct {
// contains filtered or unexported fields
}
ClusterAuthorizationResponse represents the values of the 'cluster_authorization_response' type.
func UnmarshalClusterAuthorizationResponse ¶
func UnmarshalClusterAuthorizationResponse(source interface{}) (object *ClusterAuthorizationResponse, err error)
UnmarshalClusterAuthorizationResponse reads a value of the 'cluster_authorization_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterAuthorizationResponseList ¶
func UnmarshalClusterAuthorizationResponseList(source interface{}) (items []*ClusterAuthorizationResponse, err error)
UnmarshalClusterAuthorizationResponseList reads a list of values of the 'cluster_authorization_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterAuthorizationResponse) Allowed ¶
func (o *ClusterAuthorizationResponse) 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.
func (*ClusterAuthorizationResponse) Empty ¶
func (o *ClusterAuthorizationResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterAuthorizationResponse) ExcessResources ¶
func (o *ClusterAuthorizationResponse) ExcessResources() []*ReservedResource
ExcessResources returns the value of the 'excess_resources' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterAuthorizationResponse) GetAllowed ¶
func (o *ClusterAuthorizationResponse) GetAllowed() (value bool, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationResponse) GetExcessResources ¶
func (o *ClusterAuthorizationResponse) GetExcessResources() (value []*ReservedResource, ok bool)
GetExcessResources returns the value of the 'excess_resources' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationResponse) GetSubscription ¶
func (o *ClusterAuthorizationResponse) GetSubscription() (value *Subscription, ok bool)
GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.
func (*ClusterAuthorizationResponse) Subscription ¶
func (o *ClusterAuthorizationResponse) Subscription() *Subscription
Subscription returns the value of the 'subscription' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterAuthorizationResponseBuilder ¶
type ClusterAuthorizationResponseBuilder struct {
// contains filtered or unexported fields
}
ClusterAuthorizationResponseBuilder contains the data and logic needed to build 'cluster_authorization_response' objects.
func NewClusterAuthorizationResponse ¶
func NewClusterAuthorizationResponse() *ClusterAuthorizationResponseBuilder
NewClusterAuthorizationResponse creates a new builder of 'cluster_authorization_response' objects.
func (*ClusterAuthorizationResponseBuilder) Allowed ¶
func (b *ClusterAuthorizationResponseBuilder) Allowed(value bool) *ClusterAuthorizationResponseBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*ClusterAuthorizationResponseBuilder) Build ¶
func (b *ClusterAuthorizationResponseBuilder) Build() (object *ClusterAuthorizationResponse, err error)
Build creates a 'cluster_authorization_response' object using the configuration stored in the builder.
func (*ClusterAuthorizationResponseBuilder) Copy ¶
func (b *ClusterAuthorizationResponseBuilder) Copy(object *ClusterAuthorizationResponse) *ClusterAuthorizationResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterAuthorizationResponseBuilder) ExcessResources ¶
func (b *ClusterAuthorizationResponseBuilder) ExcessResources(values ...*ReservedResourceBuilder) *ClusterAuthorizationResponseBuilder
ExcessResources sets the value of the 'excess_resources' attribute to the given values.
func (*ClusterAuthorizationResponseBuilder) Subscription ¶
func (b *ClusterAuthorizationResponseBuilder) Subscription(value *SubscriptionBuilder) *ClusterAuthorizationResponseBuilder
Subscription sets the value of the 'subscription' attribute to the given value.
type ClusterAuthorizationResponseList ¶
type ClusterAuthorizationResponseList struct {
// contains filtered or unexported fields
}
ClusterAuthorizationResponseList is a list of values of the 'cluster_authorization_response' type.
func (*ClusterAuthorizationResponseList) Each ¶
func (l *ClusterAuthorizationResponseList) Each(f func(item *ClusterAuthorizationResponse) 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 (*ClusterAuthorizationResponseList) Empty ¶
func (l *ClusterAuthorizationResponseList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterAuthorizationResponseList) Get ¶
func (l *ClusterAuthorizationResponseList) Get(i int) *ClusterAuthorizationResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterAuthorizationResponseList) Len ¶
func (l *ClusterAuthorizationResponseList) Len() int
Len returns the length of the list.
func (*ClusterAuthorizationResponseList) Range ¶
func (l *ClusterAuthorizationResponseList) Range(f func(index int, item *ClusterAuthorizationResponse) 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 (*ClusterAuthorizationResponseList) Slice ¶
func (l *ClusterAuthorizationResponseList) Slice() []*ClusterAuthorizationResponse
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 ClusterAuthorizationResponseListBuilder ¶
type ClusterAuthorizationResponseListBuilder struct {
// contains filtered or unexported fields
}
ClusterAuthorizationResponseListBuilder contains the data and logic needed to build 'cluster_authorization_response' objects.
func NewClusterAuthorizationResponseList ¶
func NewClusterAuthorizationResponseList() *ClusterAuthorizationResponseListBuilder
NewClusterAuthorizationResponseList creates a new builder of 'cluster_authorization_response' objects.
func (*ClusterAuthorizationResponseListBuilder) Build ¶
func (b *ClusterAuthorizationResponseListBuilder) Build() (list *ClusterAuthorizationResponseList, err error)
Build creates a list of 'cluster_authorization_response' objects using the configuration stored in the builder.
func (*ClusterAuthorizationResponseListBuilder) Copy ¶
func (b *ClusterAuthorizationResponseListBuilder) Copy(list *ClusterAuthorizationResponseList) *ClusterAuthorizationResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterAuthorizationResponseListBuilder) Items ¶
func (b *ClusterAuthorizationResponseListBuilder) Items(values ...*ClusterAuthorizationResponseBuilder) *ClusterAuthorizationResponseListBuilder
Items sets the items of the list.
type ClusterAuthorizationsClient ¶
type ClusterAuthorizationsClient struct {
// contains filtered or unexported fields
}
ClusterAuthorizationsClient is the client of the 'cluster_authorizations' resource.
Manages cluster authorizations.
func NewClusterAuthorizationsClient ¶
func NewClusterAuthorizationsClient(transport http.RoundTripper, path string, metric string) *ClusterAuthorizationsClient
NewClusterAuthorizationsClient creates a new client for the 'cluster_authorizations' resource using the given transport to send the requests and receive the responses.
func (*ClusterAuthorizationsClient) Post ¶
func (c *ClusterAuthorizationsClient) Post() *ClusterAuthorizationsPostRequest
Post creates a request for the 'post' method.
Authorizes new cluster creation against an existing subscription.
type ClusterAuthorizationsPostRequest ¶
type ClusterAuthorizationsPostRequest struct {
// contains filtered or unexported fields
}
ClusterAuthorizationsPostRequest is the request for the 'post' method.
func (*ClusterAuthorizationsPostRequest) Header ¶
func (r *ClusterAuthorizationsPostRequest) Header(name string, value interface{}) *ClusterAuthorizationsPostRequest
Header adds a request header.
func (*ClusterAuthorizationsPostRequest) Parameter ¶
func (r *ClusterAuthorizationsPostRequest) Parameter(name string, value interface{}) *ClusterAuthorizationsPostRequest
Parameter adds a query parameter.
func (*ClusterAuthorizationsPostRequest) Request ¶
func (r *ClusterAuthorizationsPostRequest) Request(value *ClusterAuthorizationRequest) *ClusterAuthorizationsPostRequest
Request sets the value of the 'request' parameter.
func (*ClusterAuthorizationsPostRequest) Send ¶
func (r *ClusterAuthorizationsPostRequest) Send() (result *ClusterAuthorizationsPostResponse, 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 (*ClusterAuthorizationsPostRequest) SendContext ¶
func (r *ClusterAuthorizationsPostRequest) SendContext(ctx context.Context) (result *ClusterAuthorizationsPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterAuthorizationsPostResponse ¶
type ClusterAuthorizationsPostResponse struct {
// contains filtered or unexported fields
}
ClusterAuthorizationsPostResponse is the response for the 'post' method.
func (*ClusterAuthorizationsPostResponse) Error ¶
func (r *ClusterAuthorizationsPostResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterAuthorizationsPostResponse) GetResponse ¶
func (r *ClusterAuthorizationsPostResponse) GetResponse() (value *ClusterAuthorizationResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*ClusterAuthorizationsPostResponse) Header ¶
func (r *ClusterAuthorizationsPostResponse) Header() http.Header
Header returns header of the response.
func (*ClusterAuthorizationsPostResponse) Response ¶
func (r *ClusterAuthorizationsPostResponse) Response() *ClusterAuthorizationResponse
Response returns the value of the 'response' parameter.
func (*ClusterAuthorizationsPostResponse) Status ¶
func (r *ClusterAuthorizationsPostResponse) Status() int
Status returns the response status code.
type ClusterAuthorizationsPostServerRequest ¶
type ClusterAuthorizationsPostServerRequest struct {
// contains filtered or unexported fields
}
ClusterAuthorizationsPostServerRequest is the request for the 'post' method.
func (*ClusterAuthorizationsPostServerRequest) GetRequest ¶
func (r *ClusterAuthorizationsPostServerRequest) GetRequest() (value *ClusterAuthorizationRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*ClusterAuthorizationsPostServerRequest) Request ¶
func (r *ClusterAuthorizationsPostServerRequest) Request() *ClusterAuthorizationRequest
Request returns the value of the 'request' parameter.
type ClusterAuthorizationsPostServerResponse ¶
type ClusterAuthorizationsPostServerResponse struct {
// contains filtered or unexported fields
}
ClusterAuthorizationsPostServerResponse is the response for the 'post' method.
func (*ClusterAuthorizationsPostServerResponse) Response ¶
func (r *ClusterAuthorizationsPostServerResponse) Response(value *ClusterAuthorizationResponse) *ClusterAuthorizationsPostServerResponse
Response sets the value of the 'response' parameter.
func (*ClusterAuthorizationsPostServerResponse) Status ¶
func (r *ClusterAuthorizationsPostServerResponse) Status(value int) *ClusterAuthorizationsPostServerResponse
Status sets the status code.
type ClusterAuthorizationsServer ¶
type ClusterAuthorizationsServer interface { // Post handles a request for the 'post' method. // // Authorizes new cluster creation against an existing subscription. Post(ctx context.Context, request *ClusterAuthorizationsPostServerRequest, response *ClusterAuthorizationsPostServerResponse) error }
ClusterAuthorizationsServer represents the interface the manages the 'cluster_authorizations' resource.
type ClusterRegistrationRequest ¶
type ClusterRegistrationRequest struct {
// contains filtered or unexported fields
}
ClusterRegistrationRequest represents the values of the 'cluster_registration_request' type.
func UnmarshalClusterRegistrationRequest ¶
func UnmarshalClusterRegistrationRequest(source interface{}) (object *ClusterRegistrationRequest, err error)
UnmarshalClusterRegistrationRequest reads a value of the 'cluster_registration_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterRegistrationRequestList ¶
func UnmarshalClusterRegistrationRequestList(source interface{}) (items []*ClusterRegistrationRequest, err error)
UnmarshalClusterRegistrationRequestList reads a list of values of the 'cluster_registration_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterRegistrationRequest) AuthorizationToken ¶
func (o *ClusterRegistrationRequest) AuthorizationToken() string
AuthorizationToken returns the value of the 'authorization_token' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationRequest) ClusterID ¶
func (o *ClusterRegistrationRequest) 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.
func (*ClusterRegistrationRequest) Empty ¶
func (o *ClusterRegistrationRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterRegistrationRequest) GetAuthorizationToken ¶
func (o *ClusterRegistrationRequest) GetAuthorizationToken() (value string, ok bool)
GetAuthorizationToken returns the value of the 'authorization_token' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationRequest) GetClusterID ¶
func (o *ClusterRegistrationRequest) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
type ClusterRegistrationRequestBuilder ¶
type ClusterRegistrationRequestBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationRequestBuilder contains the data and logic needed to build 'cluster_registration_request' objects.
func NewClusterRegistrationRequest ¶
func NewClusterRegistrationRequest() *ClusterRegistrationRequestBuilder
NewClusterRegistrationRequest creates a new builder of 'cluster_registration_request' objects.
func (*ClusterRegistrationRequestBuilder) AuthorizationToken ¶
func (b *ClusterRegistrationRequestBuilder) AuthorizationToken(value string) *ClusterRegistrationRequestBuilder
AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.
func (*ClusterRegistrationRequestBuilder) Build ¶
func (b *ClusterRegistrationRequestBuilder) Build() (object *ClusterRegistrationRequest, err error)
Build creates a 'cluster_registration_request' object using the configuration stored in the builder.
func (*ClusterRegistrationRequestBuilder) ClusterID ¶
func (b *ClusterRegistrationRequestBuilder) ClusterID(value string) *ClusterRegistrationRequestBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*ClusterRegistrationRequestBuilder) Copy ¶
func (b *ClusterRegistrationRequestBuilder) Copy(object *ClusterRegistrationRequest) *ClusterRegistrationRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type ClusterRegistrationRequestList ¶
type ClusterRegistrationRequestList struct {
// contains filtered or unexported fields
}
ClusterRegistrationRequestList is a list of values of the 'cluster_registration_request' type.
func (*ClusterRegistrationRequestList) Each ¶
func (l *ClusterRegistrationRequestList) Each(f func(item *ClusterRegistrationRequest) 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 (*ClusterRegistrationRequestList) Empty ¶
func (l *ClusterRegistrationRequestList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterRegistrationRequestList) Get ¶
func (l *ClusterRegistrationRequestList) Get(i int) *ClusterRegistrationRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterRegistrationRequestList) Len ¶
func (l *ClusterRegistrationRequestList) Len() int
Len returns the length of the list.
func (*ClusterRegistrationRequestList) Range ¶
func (l *ClusterRegistrationRequestList) Range(f func(index int, item *ClusterRegistrationRequest) 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 (*ClusterRegistrationRequestList) Slice ¶
func (l *ClusterRegistrationRequestList) Slice() []*ClusterRegistrationRequest
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 ClusterRegistrationRequestListBuilder ¶
type ClusterRegistrationRequestListBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationRequestListBuilder contains the data and logic needed to build 'cluster_registration_request' objects.
func NewClusterRegistrationRequestList ¶
func NewClusterRegistrationRequestList() *ClusterRegistrationRequestListBuilder
NewClusterRegistrationRequestList creates a new builder of 'cluster_registration_request' objects.
func (*ClusterRegistrationRequestListBuilder) Build ¶
func (b *ClusterRegistrationRequestListBuilder) Build() (list *ClusterRegistrationRequestList, err error)
Build creates a list of 'cluster_registration_request' objects using the configuration stored in the builder.
func (*ClusterRegistrationRequestListBuilder) Copy ¶
func (b *ClusterRegistrationRequestListBuilder) Copy(list *ClusterRegistrationRequestList) *ClusterRegistrationRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterRegistrationRequestListBuilder) Items ¶
func (b *ClusterRegistrationRequestListBuilder) Items(values ...*ClusterRegistrationRequestBuilder) *ClusterRegistrationRequestListBuilder
Items sets the items of the list.
type ClusterRegistrationResponse ¶
type ClusterRegistrationResponse struct {
// contains filtered or unexported fields
}
ClusterRegistrationResponse represents the values of the 'cluster_registration_response' type.
func UnmarshalClusterRegistrationResponse ¶
func UnmarshalClusterRegistrationResponse(source interface{}) (object *ClusterRegistrationResponse, err error)
UnmarshalClusterRegistrationResponse reads a value of the 'cluster_registration_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterRegistrationResponseList ¶
func UnmarshalClusterRegistrationResponseList(source interface{}) (items []*ClusterRegistrationResponse, err error)
UnmarshalClusterRegistrationResponseList reads a list of values of the 'cluster_registration_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterRegistrationResponse) AccountID ¶
func (o *ClusterRegistrationResponse) AccountID() string
AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationResponse) AuthorizationToken ¶
func (o *ClusterRegistrationResponse) AuthorizationToken() string
AuthorizationToken returns the value of the 'authorization_token' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ClusterRegistrationResponse) ClusterID ¶
func (o *ClusterRegistrationResponse) 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.
func (*ClusterRegistrationResponse) Empty ¶
func (o *ClusterRegistrationResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterRegistrationResponse) ExpiresAt ¶
func (o *ClusterRegistrationResponse) ExpiresAt() string
ExpiresAt returns the value of the 'expires_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster registration expiration.
func (*ClusterRegistrationResponse) GetAccountID ¶
func (o *ClusterRegistrationResponse) GetAccountID() (value string, ok bool)
GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationResponse) GetAuthorizationToken ¶
func (o *ClusterRegistrationResponse) GetAuthorizationToken() (value string, ok bool)
GetAuthorizationToken returns the value of the 'authorization_token' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationResponse) GetClusterID ¶
func (o *ClusterRegistrationResponse) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*ClusterRegistrationResponse) GetExpiresAt ¶
func (o *ClusterRegistrationResponse) GetExpiresAt() (value string, ok bool)
GetExpiresAt returns the value of the 'expires_at' attribute and a flag indicating if the attribute has a value.
Cluster registration expiration.
type ClusterRegistrationResponseBuilder ¶
type ClusterRegistrationResponseBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationResponseBuilder contains the data and logic needed to build 'cluster_registration_response' objects.
func NewClusterRegistrationResponse ¶
func NewClusterRegistrationResponse() *ClusterRegistrationResponseBuilder
NewClusterRegistrationResponse creates a new builder of 'cluster_registration_response' objects.
func (*ClusterRegistrationResponseBuilder) AccountID ¶
func (b *ClusterRegistrationResponseBuilder) AccountID(value string) *ClusterRegistrationResponseBuilder
AccountID sets the value of the 'account_ID' attribute to the given value.
func (*ClusterRegistrationResponseBuilder) AuthorizationToken ¶
func (b *ClusterRegistrationResponseBuilder) AuthorizationToken(value string) *ClusterRegistrationResponseBuilder
AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.
func (*ClusterRegistrationResponseBuilder) Build ¶
func (b *ClusterRegistrationResponseBuilder) Build() (object *ClusterRegistrationResponse, err error)
Build creates a 'cluster_registration_response' object using the configuration stored in the builder.
func (*ClusterRegistrationResponseBuilder) ClusterID ¶
func (b *ClusterRegistrationResponseBuilder) ClusterID(value string) *ClusterRegistrationResponseBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*ClusterRegistrationResponseBuilder) Copy ¶
func (b *ClusterRegistrationResponseBuilder) Copy(object *ClusterRegistrationResponse) *ClusterRegistrationResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterRegistrationResponseBuilder) ExpiresAt ¶
func (b *ClusterRegistrationResponseBuilder) ExpiresAt(value string) *ClusterRegistrationResponseBuilder
ExpiresAt sets the value of the 'expires_at' attribute to the given value.
type ClusterRegistrationResponseList ¶
type ClusterRegistrationResponseList struct {
// contains filtered or unexported fields
}
ClusterRegistrationResponseList is a list of values of the 'cluster_registration_response' type.
func (*ClusterRegistrationResponseList) Each ¶
func (l *ClusterRegistrationResponseList) Each(f func(item *ClusterRegistrationResponse) 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 (*ClusterRegistrationResponseList) Empty ¶
func (l *ClusterRegistrationResponseList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterRegistrationResponseList) Get ¶
func (l *ClusterRegistrationResponseList) Get(i int) *ClusterRegistrationResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterRegistrationResponseList) Len ¶
func (l *ClusterRegistrationResponseList) Len() int
Len returns the length of the list.
func (*ClusterRegistrationResponseList) Range ¶
func (l *ClusterRegistrationResponseList) Range(f func(index int, item *ClusterRegistrationResponse) 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 (*ClusterRegistrationResponseList) Slice ¶
func (l *ClusterRegistrationResponseList) Slice() []*ClusterRegistrationResponse
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 ClusterRegistrationResponseListBuilder ¶
type ClusterRegistrationResponseListBuilder struct {
// contains filtered or unexported fields
}
ClusterRegistrationResponseListBuilder contains the data and logic needed to build 'cluster_registration_response' objects.
func NewClusterRegistrationResponseList ¶
func NewClusterRegistrationResponseList() *ClusterRegistrationResponseListBuilder
NewClusterRegistrationResponseList creates a new builder of 'cluster_registration_response' objects.
func (*ClusterRegistrationResponseListBuilder) Build ¶
func (b *ClusterRegistrationResponseListBuilder) Build() (list *ClusterRegistrationResponseList, err error)
Build creates a list of 'cluster_registration_response' objects using the configuration stored in the builder.
func (*ClusterRegistrationResponseListBuilder) Copy ¶
func (b *ClusterRegistrationResponseListBuilder) Copy(list *ClusterRegistrationResponseList) *ClusterRegistrationResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterRegistrationResponseListBuilder) Items ¶
func (b *ClusterRegistrationResponseListBuilder) Items(values ...*ClusterRegistrationResponseBuilder) *ClusterRegistrationResponseListBuilder
Items sets the items of the list.
type ClusterRegistrationsClient ¶
type ClusterRegistrationsClient struct {
// contains filtered or unexported fields
}
ClusterRegistrationsClient is the client of the 'cluster_registrations' resource.
Manages cluster registrations.
func NewClusterRegistrationsClient ¶
func NewClusterRegistrationsClient(transport http.RoundTripper, path string, metric string) *ClusterRegistrationsClient
NewClusterRegistrationsClient creates a new client for the 'cluster_registrations' resource using the given transport to send the requests and receive the responses.
func (*ClusterRegistrationsClient) Post ¶
func (c *ClusterRegistrationsClient) Post() *ClusterRegistrationsPostRequest
Post creates a request for the 'post' method.
Finds or creates a cluster registration with a registry credential token and cluster identifier.
type ClusterRegistrationsPostRequest ¶
type ClusterRegistrationsPostRequest struct {
// contains filtered or unexported fields
}
ClusterRegistrationsPostRequest is the request for the 'post' method.
func (*ClusterRegistrationsPostRequest) Header ¶
func (r *ClusterRegistrationsPostRequest) Header(name string, value interface{}) *ClusterRegistrationsPostRequest
Header adds a request header.
func (*ClusterRegistrationsPostRequest) Parameter ¶
func (r *ClusterRegistrationsPostRequest) Parameter(name string, value interface{}) *ClusterRegistrationsPostRequest
Parameter adds a query parameter.
func (*ClusterRegistrationsPostRequest) Request ¶
func (r *ClusterRegistrationsPostRequest) Request(value *ClusterRegistrationRequest) *ClusterRegistrationsPostRequest
Request sets the value of the 'request' parameter.
func (*ClusterRegistrationsPostRequest) Send ¶
func (r *ClusterRegistrationsPostRequest) Send() (result *ClusterRegistrationsPostResponse, 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 (*ClusterRegistrationsPostRequest) SendContext ¶
func (r *ClusterRegistrationsPostRequest) SendContext(ctx context.Context) (result *ClusterRegistrationsPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ClusterRegistrationsPostResponse ¶
type ClusterRegistrationsPostResponse struct {
// contains filtered or unexported fields
}
ClusterRegistrationsPostResponse is the response for the 'post' method.
func (*ClusterRegistrationsPostResponse) Error ¶
func (r *ClusterRegistrationsPostResponse) Error() *errors.Error
Error returns the response error.
func (*ClusterRegistrationsPostResponse) GetResponse ¶
func (r *ClusterRegistrationsPostResponse) GetResponse() (value *ClusterRegistrationResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*ClusterRegistrationsPostResponse) Header ¶
func (r *ClusterRegistrationsPostResponse) Header() http.Header
Header returns header of the response.
func (*ClusterRegistrationsPostResponse) Response ¶
func (r *ClusterRegistrationsPostResponse) Response() *ClusterRegistrationResponse
Response returns the value of the 'response' parameter.
func (*ClusterRegistrationsPostResponse) Status ¶
func (r *ClusterRegistrationsPostResponse) Status() int
Status returns the response status code.
type ClusterRegistrationsPostServerRequest ¶
type ClusterRegistrationsPostServerRequest struct {
// contains filtered or unexported fields
}
ClusterRegistrationsPostServerRequest is the request for the 'post' method.
func (*ClusterRegistrationsPostServerRequest) GetRequest ¶
func (r *ClusterRegistrationsPostServerRequest) GetRequest() (value *ClusterRegistrationRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*ClusterRegistrationsPostServerRequest) Request ¶
func (r *ClusterRegistrationsPostServerRequest) Request() *ClusterRegistrationRequest
Request returns the value of the 'request' parameter.
type ClusterRegistrationsPostServerResponse ¶
type ClusterRegistrationsPostServerResponse struct {
// contains filtered or unexported fields
}
ClusterRegistrationsPostServerResponse is the response for the 'post' method.
func (*ClusterRegistrationsPostServerResponse) Response ¶
func (r *ClusterRegistrationsPostServerResponse) Response(value *ClusterRegistrationResponse) *ClusterRegistrationsPostServerResponse
Response sets the value of the 'response' parameter.
func (*ClusterRegistrationsPostServerResponse) Status ¶
func (r *ClusterRegistrationsPostServerResponse) Status(value int) *ClusterRegistrationsPostServerResponse
Status sets the status code.
type ClusterRegistrationsServer ¶
type ClusterRegistrationsServer interface { // Post handles a request for the 'post' method. // // Finds or creates a cluster registration with a registry credential // token and cluster identifier. Post(ctx context.Context, request *ClusterRegistrationsPostServerRequest, response *ClusterRegistrationsPostServerResponse) error }
ClusterRegistrationsServer represents the interface the manages the 'cluster_registrations' resource.
type CurrentAccessClient ¶
type CurrentAccessClient struct {
// contains filtered or unexported fields
}
CurrentAccessClient is the client of the 'current_access' resource.
Manages roles/permissions of the current authenticated account.
func NewCurrentAccessClient ¶
func NewCurrentAccessClient(transport http.RoundTripper, path string, metric string) *CurrentAccessClient
NewCurrentAccessClient creates a new client for the 'current_access' resource using the given transport to send the requests and receive the responses.
func (*CurrentAccessClient) List ¶
func (c *CurrentAccessClient) List() *CurrentAccessListRequest
List creates a request for the 'list' method.
Retrieves the details of the account.
type CurrentAccessListRequest ¶
type CurrentAccessListRequest struct {
// contains filtered or unexported fields
}
CurrentAccessListRequest is the request for the 'list' method.
func (*CurrentAccessListRequest) Header ¶
func (r *CurrentAccessListRequest) Header(name string, value interface{}) *CurrentAccessListRequest
Header adds a request header.
func (*CurrentAccessListRequest) Page ¶
func (r *CurrentAccessListRequest) Page(value int) *CurrentAccessListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CurrentAccessListRequest) Parameter ¶
func (r *CurrentAccessListRequest) Parameter(name string, value interface{}) *CurrentAccessListRequest
Parameter adds a query parameter.
func (*CurrentAccessListRequest) Send ¶
func (r *CurrentAccessListRequest) Send() (result *CurrentAccessListResponse, 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 (*CurrentAccessListRequest) SendContext ¶
func (r *CurrentAccessListRequest) SendContext(ctx context.Context) (result *CurrentAccessListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*CurrentAccessListRequest) Size ¶
func (r *CurrentAccessListRequest) Size(value int) *CurrentAccessListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type CurrentAccessListResponse ¶
type CurrentAccessListResponse struct {
// contains filtered or unexported fields
}
CurrentAccessListResponse is the response for the 'list' method.
func (*CurrentAccessListResponse) Error ¶
func (r *CurrentAccessListResponse) Error() *errors.Error
Error returns the response error.
func (*CurrentAccessListResponse) GetItems ¶
func (r *CurrentAccessListResponse) GetItems() (value *RoleList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*CurrentAccessListResponse) GetPage ¶
func (r *CurrentAccessListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*CurrentAccessListResponse) GetSize ¶
func (r *CurrentAccessListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*CurrentAccessListResponse) GetTotal ¶
func (r *CurrentAccessListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*CurrentAccessListResponse) Header ¶
func (r *CurrentAccessListResponse) Header() http.Header
Header returns header of the response.
func (*CurrentAccessListResponse) Items ¶
func (r *CurrentAccessListResponse) Items() *RoleList
Items returns the value of the 'items' parameter.
func (*CurrentAccessListResponse) Page ¶
func (r *CurrentAccessListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CurrentAccessListResponse) Size ¶
func (r *CurrentAccessListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*CurrentAccessListResponse) Status ¶
func (r *CurrentAccessListResponse) Status() int
Status returns the response status code.
func (*CurrentAccessListResponse) Total ¶
func (r *CurrentAccessListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type CurrentAccessListServerRequest ¶
type CurrentAccessListServerRequest struct {
// contains filtered or unexported fields
}
CurrentAccessListServerRequest is the request for the 'list' method.
func (*CurrentAccessListServerRequest) GetPage ¶
func (r *CurrentAccessListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*CurrentAccessListServerRequest) GetSize ¶
func (r *CurrentAccessListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*CurrentAccessListServerRequest) Page ¶
func (r *CurrentAccessListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CurrentAccessListServerRequest) Size ¶
func (r *CurrentAccessListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type CurrentAccessListServerResponse ¶
type CurrentAccessListServerResponse struct {
// contains filtered or unexported fields
}
CurrentAccessListServerResponse is the response for the 'list' method.
func (*CurrentAccessListServerResponse) Items ¶
func (r *CurrentAccessListServerResponse) Items(value *RoleList) *CurrentAccessListServerResponse
Items sets the value of the 'items' parameter.
func (*CurrentAccessListServerResponse) Page ¶
func (r *CurrentAccessListServerResponse) Page(value int) *CurrentAccessListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*CurrentAccessListServerResponse) Size ¶
func (r *CurrentAccessListServerResponse) Size(value int) *CurrentAccessListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*CurrentAccessListServerResponse) Status ¶
func (r *CurrentAccessListServerResponse) Status(value int) *CurrentAccessListServerResponse
Status sets the status code.
func (*CurrentAccessListServerResponse) Total ¶
func (r *CurrentAccessListServerResponse) Total(value int) *CurrentAccessListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type CurrentAccessServer ¶
type CurrentAccessServer interface { // List handles a request for the 'list' method. // // Retrieves the details of the account. List(ctx context.Context, request *CurrentAccessListServerRequest, response *CurrentAccessListServerResponse) error }
CurrentAccessServer represents the interface the manages the 'current_access' resource.
type CurrentAccountClient ¶
type CurrentAccountClient struct {
// contains filtered or unexported fields
}
CurrentAccountClient is the client of the 'current_account' resource.
Manages the current authenticated account.
func NewCurrentAccountClient ¶
func NewCurrentAccountClient(transport http.RoundTripper, path string, metric string) *CurrentAccountClient
NewCurrentAccountClient creates a new client for the 'current_account' resource using the given transport to send the requests and receive the responses.
func (*CurrentAccountClient) Get ¶
func (c *CurrentAccountClient) Get() *CurrentAccountGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the account.
func (*CurrentAccountClient) Poll ¶
func (c *CurrentAccountClient) Poll() *CurrentAccountPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type CurrentAccountGetRequest ¶
type CurrentAccountGetRequest struct {
// contains filtered or unexported fields
}
CurrentAccountGetRequest is the request for the 'get' method.
func (*CurrentAccountGetRequest) Header ¶
func (r *CurrentAccountGetRequest) Header(name string, value interface{}) *CurrentAccountGetRequest
Header adds a request header.
func (*CurrentAccountGetRequest) Parameter ¶
func (r *CurrentAccountGetRequest) Parameter(name string, value interface{}) *CurrentAccountGetRequest
Parameter adds a query parameter.
func (*CurrentAccountGetRequest) Send ¶
func (r *CurrentAccountGetRequest) Send() (result *CurrentAccountGetResponse, 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 (*CurrentAccountGetRequest) SendContext ¶
func (r *CurrentAccountGetRequest) SendContext(ctx context.Context) (result *CurrentAccountGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type CurrentAccountGetResponse ¶
type CurrentAccountGetResponse struct {
// contains filtered or unexported fields
}
CurrentAccountGetResponse is the response for the 'get' method.
func (*CurrentAccountGetResponse) Body ¶
func (r *CurrentAccountGetResponse) Body() *Account
Body returns the value of the 'body' parameter.
func (*CurrentAccountGetResponse) Error ¶
func (r *CurrentAccountGetResponse) Error() *errors.Error
Error returns the response error.
func (*CurrentAccountGetResponse) GetBody ¶
func (r *CurrentAccountGetResponse) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CurrentAccountGetResponse) Header ¶
func (r *CurrentAccountGetResponse) Header() http.Header
Header returns header of the response.
func (*CurrentAccountGetResponse) Status ¶
func (r *CurrentAccountGetResponse) Status() int
Status returns the response status code.
type CurrentAccountGetServerRequest ¶
type CurrentAccountGetServerRequest struct { }
CurrentAccountGetServerRequest is the request for the 'get' method.
type CurrentAccountGetServerResponse ¶
type CurrentAccountGetServerResponse struct {
// contains filtered or unexported fields
}
CurrentAccountGetServerResponse is the response for the 'get' method.
func (*CurrentAccountGetServerResponse) Body ¶
func (r *CurrentAccountGetServerResponse) Body(value *Account) *CurrentAccountGetServerResponse
Body sets the value of the 'body' parameter.
func (*CurrentAccountGetServerResponse) Status ¶
func (r *CurrentAccountGetServerResponse) Status(value int) *CurrentAccountGetServerResponse
Status sets the status code.
type CurrentAccountPollRequest ¶
type CurrentAccountPollRequest struct {
// contains filtered or unexported fields
}
CurrentAccountPollRequest is the request for the Poll method.
func (*CurrentAccountPollRequest) Header ¶
func (r *CurrentAccountPollRequest) Header(name string, value interface{}) *CurrentAccountPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*CurrentAccountPollRequest) Interval ¶
func (r *CurrentAccountPollRequest) Interval(value time.Duration) *CurrentAccountPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*CurrentAccountPollRequest) Parameter ¶
func (r *CurrentAccountPollRequest) Parameter(name string, value interface{}) *CurrentAccountPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*CurrentAccountPollRequest) Predicate ¶
func (r *CurrentAccountPollRequest) Predicate(value func(*CurrentAccountGetResponse) bool) *CurrentAccountPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*CurrentAccountPollRequest) StartContext ¶
func (r *CurrentAccountPollRequest) StartContext(ctx context.Context) (response *CurrentAccountPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*CurrentAccountPollRequest) Status ¶
func (r *CurrentAccountPollRequest) Status(value int) *CurrentAccountPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type CurrentAccountPollResponse ¶
type CurrentAccountPollResponse struct {
// contains filtered or unexported fields
}
CurrentAccountPollResponse is the response for the Poll method.
func (*CurrentAccountPollResponse) Body ¶
func (r *CurrentAccountPollResponse) Body() *Account
Body returns the value of the 'body' parameter.
func (*CurrentAccountPollResponse) Error ¶
func (r *CurrentAccountPollResponse) Error() *errors.Error
Error returns the response error.
func (*CurrentAccountPollResponse) GetBody ¶
func (r *CurrentAccountPollResponse) GetBody() (value *Account, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*CurrentAccountPollResponse) Header ¶
func (r *CurrentAccountPollResponse) Header() http.Header
Header returns header of the response.
func (*CurrentAccountPollResponse) Status ¶
func (r *CurrentAccountPollResponse) Status() int
Status returns the response status code.
type CurrentAccountServer ¶
type CurrentAccountServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the account. Get(ctx context.Context, request *CurrentAccountGetServerRequest, response *CurrentAccountGetServerResponse) error }
CurrentAccountServer represents the interface the manages the 'current_account' resource.
type FeatureToggle ¶
type FeatureToggle struct {
// contains filtered or unexported fields
}
FeatureToggle represents the values of the 'feature_toggle' type.
func UnmarshalFeatureToggle ¶
func UnmarshalFeatureToggle(source interface{}) (object *FeatureToggle, err error)
UnmarshalFeatureToggle reads a value of the 'feature_toggle' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFeatureToggleList ¶
func UnmarshalFeatureToggleList(source interface{}) (items []*FeatureToggle, err error)
UnmarshalFeatureToggleList reads a list of values of the 'feature_toggle' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FeatureToggle) Empty ¶
func (o *FeatureToggle) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FeatureToggle) Enabled ¶
func (o *FeatureToggle) Enabled() bool
Enabled returns the value of the 'enabled' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FeatureToggle) GetEnabled ¶
func (o *FeatureToggle) GetEnabled() (value bool, ok bool)
GetEnabled returns the value of the 'enabled' attribute and a flag indicating if the attribute has a value.
func (*FeatureToggle) GetHREF ¶
func (o *FeatureToggle) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*FeatureToggle) GetID ¶
func (o *FeatureToggle) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*FeatureToggle) HREF ¶
func (o *FeatureToggle) HREF() string
HREF returns the link to the object.
func (*FeatureToggle) ID ¶
func (o *FeatureToggle) ID() string
ID returns the identifier of the object.
func (*FeatureToggle) Kind ¶
func (o *FeatureToggle) Kind() string
Kind returns the name of the type of the object.
func (*FeatureToggle) Link ¶
func (o *FeatureToggle) Link() bool
Link returns true iif this is a link.
type FeatureToggleBuilder ¶
type FeatureToggleBuilder struct {
// contains filtered or unexported fields
}
FeatureToggleBuilder contains the data and logic needed to build 'feature_toggle' objects.
func NewFeatureToggle ¶
func NewFeatureToggle() *FeatureToggleBuilder
NewFeatureToggle creates a new builder of 'feature_toggle' objects.
func (*FeatureToggleBuilder) Build ¶
func (b *FeatureToggleBuilder) Build() (object *FeatureToggle, err error)
Build creates a 'feature_toggle' object using the configuration stored in the builder.
func (*FeatureToggleBuilder) Copy ¶
func (b *FeatureToggleBuilder) Copy(object *FeatureToggle) *FeatureToggleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FeatureToggleBuilder) Enabled ¶
func (b *FeatureToggleBuilder) Enabled(value bool) *FeatureToggleBuilder
Enabled sets the value of the 'enabled' attribute to the given value.
func (*FeatureToggleBuilder) HREF ¶
func (b *FeatureToggleBuilder) HREF(value string) *FeatureToggleBuilder
HREF sets the link to the object.
func (*FeatureToggleBuilder) ID ¶
func (b *FeatureToggleBuilder) ID(value string) *FeatureToggleBuilder
ID sets the identifier of the object.
func (*FeatureToggleBuilder) Link ¶
func (b *FeatureToggleBuilder) Link(value bool) *FeatureToggleBuilder
Link sets the flag that indicates if this is a link.
type FeatureToggleClient ¶
type FeatureToggleClient struct {
// contains filtered or unexported fields
}
FeatureToggleClient is the client of the 'feature_toggle' resource.
Manages feature toggle.
func NewFeatureToggleClient ¶
func NewFeatureToggleClient(transport http.RoundTripper, path string, metric string) *FeatureToggleClient
NewFeatureToggleClient creates a new client for the 'feature_toggle' resource using the given transport to send the requests and receive the responses.
func (*FeatureToggleClient) Query ¶
func (c *FeatureToggleClient) Query() *FeatureToggleQueryClient
Query returns the target 'feature_toggle_query' resource.
type FeatureToggleList ¶
type FeatureToggleList struct {
// contains filtered or unexported fields
}
FeatureToggleList is a list of values of the 'feature_toggle' type.
func (*FeatureToggleList) Each ¶
func (l *FeatureToggleList) Each(f func(item *FeatureToggle) 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 (*FeatureToggleList) Empty ¶
func (l *FeatureToggleList) Empty() bool
Empty returns true if the list is empty.
func (*FeatureToggleList) Get ¶
func (l *FeatureToggleList) Get(i int) *FeatureToggle
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FeatureToggleList) GetHREF ¶
func (l *FeatureToggleList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*FeatureToggleList) HREF ¶
func (l *FeatureToggleList) HREF() string
HREF returns the link to the list.
func (*FeatureToggleList) Kind ¶
func (l *FeatureToggleList) Kind() string
Kind returns the name of the type of the object.
func (*FeatureToggleList) Len ¶
func (l *FeatureToggleList) Len() int
Len returns the length of the list.
func (*FeatureToggleList) Link ¶
func (l *FeatureToggleList) Link() bool
Link returns true iif this is a link.
func (*FeatureToggleList) Range ¶
func (l *FeatureToggleList) Range(f func(index int, item *FeatureToggle) 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 (*FeatureToggleList) Slice ¶
func (l *FeatureToggleList) Slice() []*FeatureToggle
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 FeatureToggleListBuilder ¶
type FeatureToggleListBuilder struct {
// contains filtered or unexported fields
}
FeatureToggleListBuilder contains the data and logic needed to build 'feature_toggle' objects.
func NewFeatureToggleList ¶
func NewFeatureToggleList() *FeatureToggleListBuilder
NewFeatureToggleList creates a new builder of 'feature_toggle' objects.
func (*FeatureToggleListBuilder) Build ¶
func (b *FeatureToggleListBuilder) Build() (list *FeatureToggleList, err error)
Build creates a list of 'feature_toggle' objects using the configuration stored in the builder.
func (*FeatureToggleListBuilder) Copy ¶
func (b *FeatureToggleListBuilder) Copy(list *FeatureToggleList) *FeatureToggleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FeatureToggleListBuilder) Items ¶
func (b *FeatureToggleListBuilder) Items(values ...*FeatureToggleBuilder) *FeatureToggleListBuilder
Items sets the items of the list.
type FeatureToggleQueryClient ¶
type FeatureToggleQueryClient struct {
// contains filtered or unexported fields
}
FeatureToggleQueryClient is the client of the 'feature_toggle_query' resource.
Manages feature toggle query.
func NewFeatureToggleQueryClient ¶
func NewFeatureToggleQueryClient(transport http.RoundTripper, path string, metric string) *FeatureToggleQueryClient
NewFeatureToggleQueryClient creates a new client for the 'feature_toggle_query' resource using the given transport to send the requests and receive the responses.
func (*FeatureToggleQueryClient) Post ¶
func (c *FeatureToggleQueryClient) Post() *FeatureToggleQueryPostRequest
Post creates a request for the 'post' method.
Retrieves the details of the feature toggle by providing query context
type FeatureToggleQueryPostRequest ¶
type FeatureToggleQueryPostRequest struct {
// contains filtered or unexported fields
}
FeatureToggleQueryPostRequest is the request for the 'post' method.
func (*FeatureToggleQueryPostRequest) Header ¶
func (r *FeatureToggleQueryPostRequest) Header(name string, value interface{}) *FeatureToggleQueryPostRequest
Header adds a request header.
func (*FeatureToggleQueryPostRequest) Parameter ¶
func (r *FeatureToggleQueryPostRequest) Parameter(name string, value interface{}) *FeatureToggleQueryPostRequest
Parameter adds a query parameter.
func (*FeatureToggleQueryPostRequest) Request ¶
func (r *FeatureToggleQueryPostRequest) Request(value *FeatureToggleQueryRequest) *FeatureToggleQueryPostRequest
Request sets the value of the 'request' parameter.
func (*FeatureToggleQueryPostRequest) Send ¶
func (r *FeatureToggleQueryPostRequest) Send() (result *FeatureToggleQueryPostResponse, 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 (*FeatureToggleQueryPostRequest) SendContext ¶
func (r *FeatureToggleQueryPostRequest) SendContext(ctx context.Context) (result *FeatureToggleQueryPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type FeatureToggleQueryPostResponse ¶
type FeatureToggleQueryPostResponse struct {
// contains filtered or unexported fields
}
FeatureToggleQueryPostResponse is the response for the 'post' method.
func (*FeatureToggleQueryPostResponse) Error ¶
func (r *FeatureToggleQueryPostResponse) Error() *errors.Error
Error returns the response error.
func (*FeatureToggleQueryPostResponse) GetResponse ¶
func (r *FeatureToggleQueryPostResponse) GetResponse() (value *FeatureToggle, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*FeatureToggleQueryPostResponse) Header ¶
func (r *FeatureToggleQueryPostResponse) Header() http.Header
Header returns header of the response.
func (*FeatureToggleQueryPostResponse) Response ¶
func (r *FeatureToggleQueryPostResponse) Response() *FeatureToggle
Response returns the value of the 'response' parameter.
func (*FeatureToggleQueryPostResponse) Status ¶
func (r *FeatureToggleQueryPostResponse) Status() int
Status returns the response status code.
type FeatureToggleQueryPostServerRequest ¶
type FeatureToggleQueryPostServerRequest struct {
// contains filtered or unexported fields
}
FeatureToggleQueryPostServerRequest is the request for the 'post' method.
func (*FeatureToggleQueryPostServerRequest) GetRequest ¶
func (r *FeatureToggleQueryPostServerRequest) GetRequest() (value *FeatureToggleQueryRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*FeatureToggleQueryPostServerRequest) Request ¶
func (r *FeatureToggleQueryPostServerRequest) Request() *FeatureToggleQueryRequest
Request returns the value of the 'request' parameter.
type FeatureToggleQueryPostServerResponse ¶
type FeatureToggleQueryPostServerResponse struct {
// contains filtered or unexported fields
}
FeatureToggleQueryPostServerResponse is the response for the 'post' method.
func (*FeatureToggleQueryPostServerResponse) Response ¶
func (r *FeatureToggleQueryPostServerResponse) Response(value *FeatureToggle) *FeatureToggleQueryPostServerResponse
Response sets the value of the 'response' parameter.
func (*FeatureToggleQueryPostServerResponse) Status ¶
func (r *FeatureToggleQueryPostServerResponse) Status(value int) *FeatureToggleQueryPostServerResponse
Status sets the status code.
type FeatureToggleQueryRequest ¶
type FeatureToggleQueryRequest struct {
// contains filtered or unexported fields
}
FeatureToggleQueryRequest represents the values of the 'feature_toggle_query_request' type.
func UnmarshalFeatureToggleQueryRequest ¶
func UnmarshalFeatureToggleQueryRequest(source interface{}) (object *FeatureToggleQueryRequest, err error)
UnmarshalFeatureToggleQueryRequest reads a value of the 'feature_toggle_query_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFeatureToggleQueryRequestList ¶
func UnmarshalFeatureToggleQueryRequestList(source interface{}) (items []*FeatureToggleQueryRequest, err error)
UnmarshalFeatureToggleQueryRequestList reads a list of values of the 'feature_toggle_query_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FeatureToggleQueryRequest) Empty ¶
func (o *FeatureToggleQueryRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FeatureToggleQueryRequest) GetOrganizationID ¶
func (o *FeatureToggleQueryRequest) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*FeatureToggleQueryRequest) OrganizationID ¶
func (o *FeatureToggleQueryRequest) 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.
type FeatureToggleQueryRequestBuilder ¶
type FeatureToggleQueryRequestBuilder struct {
// contains filtered or unexported fields
}
FeatureToggleQueryRequestBuilder contains the data and logic needed to build 'feature_toggle_query_request' objects.
func NewFeatureToggleQueryRequest ¶
func NewFeatureToggleQueryRequest() *FeatureToggleQueryRequestBuilder
NewFeatureToggleQueryRequest creates a new builder of 'feature_toggle_query_request' objects.
func (*FeatureToggleQueryRequestBuilder) Build ¶
func (b *FeatureToggleQueryRequestBuilder) Build() (object *FeatureToggleQueryRequest, err error)
Build creates a 'feature_toggle_query_request' object using the configuration stored in the builder.
func (*FeatureToggleQueryRequestBuilder) Copy ¶
func (b *FeatureToggleQueryRequestBuilder) Copy(object *FeatureToggleQueryRequest) *FeatureToggleQueryRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FeatureToggleQueryRequestBuilder) OrganizationID ¶
func (b *FeatureToggleQueryRequestBuilder) OrganizationID(value string) *FeatureToggleQueryRequestBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
type FeatureToggleQueryRequestList ¶
type FeatureToggleQueryRequestList struct {
// contains filtered or unexported fields
}
FeatureToggleQueryRequestList is a list of values of the 'feature_toggle_query_request' type.
func (*FeatureToggleQueryRequestList) Each ¶
func (l *FeatureToggleQueryRequestList) Each(f func(item *FeatureToggleQueryRequest) 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 (*FeatureToggleQueryRequestList) Empty ¶
func (l *FeatureToggleQueryRequestList) Empty() bool
Empty returns true if the list is empty.
func (*FeatureToggleQueryRequestList) Get ¶
func (l *FeatureToggleQueryRequestList) Get(i int) *FeatureToggleQueryRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FeatureToggleQueryRequestList) Len ¶
func (l *FeatureToggleQueryRequestList) Len() int
Len returns the length of the list.
func (*FeatureToggleQueryRequestList) Range ¶
func (l *FeatureToggleQueryRequestList) Range(f func(index int, item *FeatureToggleQueryRequest) 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 (*FeatureToggleQueryRequestList) Slice ¶
func (l *FeatureToggleQueryRequestList) Slice() []*FeatureToggleQueryRequest
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 FeatureToggleQueryRequestListBuilder ¶
type FeatureToggleQueryRequestListBuilder struct {
// contains filtered or unexported fields
}
FeatureToggleQueryRequestListBuilder contains the data and logic needed to build 'feature_toggle_query_request' objects.
func NewFeatureToggleQueryRequestList ¶
func NewFeatureToggleQueryRequestList() *FeatureToggleQueryRequestListBuilder
NewFeatureToggleQueryRequestList creates a new builder of 'feature_toggle_query_request' objects.
func (*FeatureToggleQueryRequestListBuilder) Build ¶
func (b *FeatureToggleQueryRequestListBuilder) Build() (list *FeatureToggleQueryRequestList, err error)
Build creates a list of 'feature_toggle_query_request' objects using the configuration stored in the builder.
func (*FeatureToggleQueryRequestListBuilder) Copy ¶
func (b *FeatureToggleQueryRequestListBuilder) Copy(list *FeatureToggleQueryRequestList) *FeatureToggleQueryRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FeatureToggleQueryRequestListBuilder) Items ¶
func (b *FeatureToggleQueryRequestListBuilder) Items(values ...*FeatureToggleQueryRequestBuilder) *FeatureToggleQueryRequestListBuilder
Items sets the items of the list.
type FeatureToggleQueryServer ¶
type FeatureToggleQueryServer interface { // Post handles a request for the 'post' method. // // Retrieves the details of the feature toggle by providing query context Post(ctx context.Context, request *FeatureToggleQueryPostServerRequest, response *FeatureToggleQueryPostServerResponse) error }
FeatureToggleQueryServer represents the interface the manages the 'feature_toggle_query' resource.
type FeatureToggleServer ¶
type FeatureToggleServer interface { // Query returns the target 'feature_toggle_query' resource. // // Query() FeatureToggleQueryServer }
FeatureToggleServer represents the interface the manages the 'feature_toggle' resource.
type FeatureTogglesClient ¶
type FeatureTogglesClient struct {
// contains filtered or unexported fields
}
FeatureTogglesClient is the client of the 'feature_toggles' resource.
Manages feature toggles.
func NewFeatureTogglesClient ¶
func NewFeatureTogglesClient(transport http.RoundTripper, path string, metric string) *FeatureTogglesClient
NewFeatureTogglesClient creates a new client for the 'feature_toggles' resource using the given transport to send the requests and receive the responses.
func (*FeatureTogglesClient) FeatureToggle ¶
func (c *FeatureTogglesClient) FeatureToggle(id string) *FeatureToggleClient
FeatureToggle returns the target 'feature_toggle' resource for the given identifier.
type FeatureTogglesServer ¶
type FeatureTogglesServer interface { // FeatureToggle returns the target 'feature_toggle' server for the given identifier. // // FeatureToggle(id string) FeatureToggleServer }
FeatureTogglesServer represents the interface the manages the 'feature_toggles' resource.
type GenericLabelClient ¶
type GenericLabelClient struct {
// contains filtered or unexported fields
}
GenericLabelClient is the client of the 'generic_label' resource.
Manages a specific account label.
func NewGenericLabelClient ¶
func NewGenericLabelClient(transport http.RoundTripper, path string, metric string) *GenericLabelClient
NewGenericLabelClient creates a new client for the 'generic_label' resource using the given transport to send the requests and receive the responses.
func (*GenericLabelClient) Delete ¶
func (c *GenericLabelClient) Delete() *GenericLabelDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the account label.
func (*GenericLabelClient) Get ¶
func (c *GenericLabelClient) Get() *GenericLabelGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the label.
func (*GenericLabelClient) Poll ¶
func (c *GenericLabelClient) Poll() *GenericLabelPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*GenericLabelClient) Update ¶
func (c *GenericLabelClient) Update() *GenericLabelUpdateRequest
Update creates a request for the 'update' method.
Updates the account label.
type GenericLabelDeleteRequest ¶
type GenericLabelDeleteRequest struct {
// contains filtered or unexported fields
}
GenericLabelDeleteRequest is the request for the 'delete' method.
func (*GenericLabelDeleteRequest) Header ¶
func (r *GenericLabelDeleteRequest) Header(name string, value interface{}) *GenericLabelDeleteRequest
Header adds a request header.
func (*GenericLabelDeleteRequest) Parameter ¶
func (r *GenericLabelDeleteRequest) Parameter(name string, value interface{}) *GenericLabelDeleteRequest
Parameter adds a query parameter.
func (*GenericLabelDeleteRequest) Send ¶
func (r *GenericLabelDeleteRequest) Send() (result *GenericLabelDeleteResponse, 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 (*GenericLabelDeleteRequest) SendContext ¶
func (r *GenericLabelDeleteRequest) SendContext(ctx context.Context) (result *GenericLabelDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type GenericLabelDeleteResponse ¶
type GenericLabelDeleteResponse struct {
// contains filtered or unexported fields
}
GenericLabelDeleteResponse is the response for the 'delete' method.
func (*GenericLabelDeleteResponse) Error ¶
func (r *GenericLabelDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*GenericLabelDeleteResponse) Header ¶
func (r *GenericLabelDeleteResponse) Header() http.Header
Header returns header of the response.
func (*GenericLabelDeleteResponse) Status ¶
func (r *GenericLabelDeleteResponse) Status() int
Status returns the response status code.
type GenericLabelDeleteServerRequest ¶
type GenericLabelDeleteServerRequest struct { }
GenericLabelDeleteServerRequest is the request for the 'delete' method.
type GenericLabelDeleteServerResponse ¶
type GenericLabelDeleteServerResponse struct {
// contains filtered or unexported fields
}
GenericLabelDeleteServerResponse is the response for the 'delete' method.
func (*GenericLabelDeleteServerResponse) Status ¶
func (r *GenericLabelDeleteServerResponse) Status(value int) *GenericLabelDeleteServerResponse
Status sets the status code.
type GenericLabelGetRequest ¶
type GenericLabelGetRequest struct {
// contains filtered or unexported fields
}
GenericLabelGetRequest is the request for the 'get' method.
func (*GenericLabelGetRequest) Header ¶
func (r *GenericLabelGetRequest) Header(name string, value interface{}) *GenericLabelGetRequest
Header adds a request header.
func (*GenericLabelGetRequest) Parameter ¶
func (r *GenericLabelGetRequest) Parameter(name string, value interface{}) *GenericLabelGetRequest
Parameter adds a query parameter.
func (*GenericLabelGetRequest) Send ¶
func (r *GenericLabelGetRequest) Send() (result *GenericLabelGetResponse, 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 (*GenericLabelGetRequest) SendContext ¶
func (r *GenericLabelGetRequest) SendContext(ctx context.Context) (result *GenericLabelGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type GenericLabelGetResponse ¶
type GenericLabelGetResponse struct {
// contains filtered or unexported fields
}
GenericLabelGetResponse is the response for the 'get' method.
func (*GenericLabelGetResponse) Body ¶
func (r *GenericLabelGetResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*GenericLabelGetResponse) Error ¶
func (r *GenericLabelGetResponse) Error() *errors.Error
Error returns the response error.
func (*GenericLabelGetResponse) GetBody ¶
func (r *GenericLabelGetResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*GenericLabelGetResponse) Header ¶
func (r *GenericLabelGetResponse) Header() http.Header
Header returns header of the response.
func (*GenericLabelGetResponse) Status ¶
func (r *GenericLabelGetResponse) Status() int
Status returns the response status code.
type GenericLabelGetServerRequest ¶
type GenericLabelGetServerRequest struct { }
GenericLabelGetServerRequest is the request for the 'get' method.
type GenericLabelGetServerResponse ¶
type GenericLabelGetServerResponse struct {
// contains filtered or unexported fields
}
GenericLabelGetServerResponse is the response for the 'get' method.
func (*GenericLabelGetServerResponse) Body ¶
func (r *GenericLabelGetServerResponse) Body(value *Label) *GenericLabelGetServerResponse
Body sets the value of the 'body' parameter.
func (*GenericLabelGetServerResponse) Status ¶
func (r *GenericLabelGetServerResponse) Status(value int) *GenericLabelGetServerResponse
Status sets the status code.
type GenericLabelPollRequest ¶
type GenericLabelPollRequest struct {
// contains filtered or unexported fields
}
GenericLabelPollRequest is the request for the Poll method.
func (*GenericLabelPollRequest) Header ¶
func (r *GenericLabelPollRequest) Header(name string, value interface{}) *GenericLabelPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*GenericLabelPollRequest) Interval ¶
func (r *GenericLabelPollRequest) Interval(value time.Duration) *GenericLabelPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*GenericLabelPollRequest) Parameter ¶
func (r *GenericLabelPollRequest) Parameter(name string, value interface{}) *GenericLabelPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*GenericLabelPollRequest) Predicate ¶
func (r *GenericLabelPollRequest) Predicate(value func(*GenericLabelGetResponse) bool) *GenericLabelPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*GenericLabelPollRequest) StartContext ¶
func (r *GenericLabelPollRequest) StartContext(ctx context.Context) (response *GenericLabelPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*GenericLabelPollRequest) Status ¶
func (r *GenericLabelPollRequest) Status(value int) *GenericLabelPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type GenericLabelPollResponse ¶
type GenericLabelPollResponse struct {
// contains filtered or unexported fields
}
GenericLabelPollResponse is the response for the Poll method.
func (*GenericLabelPollResponse) Body ¶
func (r *GenericLabelPollResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*GenericLabelPollResponse) Error ¶
func (r *GenericLabelPollResponse) Error() *errors.Error
Error returns the response error.
func (*GenericLabelPollResponse) GetBody ¶
func (r *GenericLabelPollResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*GenericLabelPollResponse) Header ¶
func (r *GenericLabelPollResponse) Header() http.Header
Header returns header of the response.
func (*GenericLabelPollResponse) Status ¶
func (r *GenericLabelPollResponse) Status() int
Status returns the response status code.
type GenericLabelServer ¶
type GenericLabelServer interface { // Delete handles a request for the 'delete' method. // // Deletes the account label. Delete(ctx context.Context, request *GenericLabelDeleteServerRequest, response *GenericLabelDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the label. Get(ctx context.Context, request *GenericLabelGetServerRequest, response *GenericLabelGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the account label. Update(ctx context.Context, request *GenericLabelUpdateServerRequest, response *GenericLabelUpdateServerResponse) error }
GenericLabelServer represents the interface the manages the 'generic_label' resource.
type GenericLabelUpdateRequest ¶
type GenericLabelUpdateRequest struct {
// contains filtered or unexported fields
}
GenericLabelUpdateRequest is the request for the 'update' method.
func (*GenericLabelUpdateRequest) Body ¶
func (r *GenericLabelUpdateRequest) Body(value *Label) *GenericLabelUpdateRequest
Body sets the value of the 'body' parameter.
func (*GenericLabelUpdateRequest) Header ¶
func (r *GenericLabelUpdateRequest) Header(name string, value interface{}) *GenericLabelUpdateRequest
Header adds a request header.
func (*GenericLabelUpdateRequest) Parameter ¶
func (r *GenericLabelUpdateRequest) Parameter(name string, value interface{}) *GenericLabelUpdateRequest
Parameter adds a query parameter.
func (*GenericLabelUpdateRequest) Send ¶
func (r *GenericLabelUpdateRequest) Send() (result *GenericLabelUpdateResponse, 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 (*GenericLabelUpdateRequest) SendContext ¶
func (r *GenericLabelUpdateRequest) SendContext(ctx context.Context) (result *GenericLabelUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type GenericLabelUpdateResponse ¶
type GenericLabelUpdateResponse struct {
// contains filtered or unexported fields
}
GenericLabelUpdateResponse is the response for the 'update' method.
func (*GenericLabelUpdateResponse) Body ¶
func (r *GenericLabelUpdateResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*GenericLabelUpdateResponse) Error ¶
func (r *GenericLabelUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*GenericLabelUpdateResponse) GetBody ¶
func (r *GenericLabelUpdateResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*GenericLabelUpdateResponse) Header ¶
func (r *GenericLabelUpdateResponse) Header() http.Header
Header returns header of the response.
func (*GenericLabelUpdateResponse) Status ¶
func (r *GenericLabelUpdateResponse) Status() int
Status returns the response status code.
type GenericLabelUpdateServerRequest ¶
type GenericLabelUpdateServerRequest struct {
// contains filtered or unexported fields
}
GenericLabelUpdateServerRequest is the request for the 'update' method.
func (*GenericLabelUpdateServerRequest) Body ¶
func (r *GenericLabelUpdateServerRequest) Body() *Label
Body returns the value of the 'body' parameter.
func (*GenericLabelUpdateServerRequest) GetBody ¶
func (r *GenericLabelUpdateServerRequest) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type GenericLabelUpdateServerResponse ¶
type GenericLabelUpdateServerResponse struct {
// contains filtered or unexported fields
}
GenericLabelUpdateServerResponse is the response for the 'update' method.
func (*GenericLabelUpdateServerResponse) Body ¶
func (r *GenericLabelUpdateServerResponse) Body(value *Label) *GenericLabelUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*GenericLabelUpdateServerResponse) Status ¶
func (r *GenericLabelUpdateServerResponse) Status(value int) *GenericLabelUpdateServerResponse
Status sets the status code.
type GenericLabelsAddRequest ¶
type GenericLabelsAddRequest struct {
// contains filtered or unexported fields
}
GenericLabelsAddRequest is the request for the 'add' method.
func (*GenericLabelsAddRequest) Body ¶
func (r *GenericLabelsAddRequest) Body(value *Label) *GenericLabelsAddRequest
Body sets the value of the 'body' parameter.
Label
func (*GenericLabelsAddRequest) Header ¶
func (r *GenericLabelsAddRequest) Header(name string, value interface{}) *GenericLabelsAddRequest
Header adds a request header.
func (*GenericLabelsAddRequest) Parameter ¶
func (r *GenericLabelsAddRequest) Parameter(name string, value interface{}) *GenericLabelsAddRequest
Parameter adds a query parameter.
func (*GenericLabelsAddRequest) Send ¶
func (r *GenericLabelsAddRequest) Send() (result *GenericLabelsAddResponse, 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 (*GenericLabelsAddRequest) SendContext ¶
func (r *GenericLabelsAddRequest) SendContext(ctx context.Context) (result *GenericLabelsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type GenericLabelsAddResponse ¶
type GenericLabelsAddResponse struct {
// contains filtered or unexported fields
}
GenericLabelsAddResponse is the response for the 'add' method.
func (*GenericLabelsAddResponse) Body ¶
func (r *GenericLabelsAddResponse) Body() *Label
Body returns the value of the 'body' parameter.
Label
func (*GenericLabelsAddResponse) Error ¶
func (r *GenericLabelsAddResponse) Error() *errors.Error
Error returns the response error.
func (*GenericLabelsAddResponse) GetBody ¶
func (r *GenericLabelsAddResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Label
func (*GenericLabelsAddResponse) Header ¶
func (r *GenericLabelsAddResponse) Header() http.Header
Header returns header of the response.
func (*GenericLabelsAddResponse) Status ¶
func (r *GenericLabelsAddResponse) Status() int
Status returns the response status code.
type GenericLabelsAddServerRequest ¶
type GenericLabelsAddServerRequest struct {
// contains filtered or unexported fields
}
GenericLabelsAddServerRequest is the request for the 'add' method.
func (*GenericLabelsAddServerRequest) Body ¶
func (r *GenericLabelsAddServerRequest) Body() *Label
Body returns the value of the 'body' parameter.
Label
func (*GenericLabelsAddServerRequest) GetBody ¶
func (r *GenericLabelsAddServerRequest) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Label
type GenericLabelsAddServerResponse ¶
type GenericLabelsAddServerResponse struct {
// contains filtered or unexported fields
}
GenericLabelsAddServerResponse is the response for the 'add' method.
func (*GenericLabelsAddServerResponse) Body ¶
func (r *GenericLabelsAddServerResponse) Body(value *Label) *GenericLabelsAddServerResponse
Body sets the value of the 'body' parameter.
Label
func (*GenericLabelsAddServerResponse) Status ¶
func (r *GenericLabelsAddServerResponse) Status(value int) *GenericLabelsAddServerResponse
Status sets the status code.
type GenericLabelsClient ¶
type GenericLabelsClient struct {
// contains filtered or unexported fields
}
GenericLabelsClient is the client of the 'generic_labels' resource.
Manages the collection of labels of an account/organization/subscription.
func NewGenericLabelsClient ¶
func NewGenericLabelsClient(transport http.RoundTripper, path string, metric string) *GenericLabelsClient
NewGenericLabelsClient creates a new client for the 'generic_labels' resource using the given transport to send the requests and receive the responses.
func (*GenericLabelsClient) Add ¶
func (c *GenericLabelsClient) Add() *GenericLabelsAddRequest
Add creates a request for the 'add' method.
Create a new account/organization/subscription label.
func (*GenericLabelsClient) Labels ¶
func (c *GenericLabelsClient) Labels(id string) *GenericLabelClient
Labels returns the target 'generic_label' resource for the given identifier.
Reference to the labels of a specific account/organization/subscription.
func (*GenericLabelsClient) List ¶
func (c *GenericLabelsClient) List() *GenericLabelsListRequest
List creates a request for the 'list' method.
Retrieves the list of labels of the account/organization/subscription.
IMPORTANT: This collection doesn't currently support paging or searching, so the returned `page` will always be 1 and `size` and `total` will always be the total number of labels of the account/organization/subscription.
type GenericLabelsListRequest ¶
type GenericLabelsListRequest struct {
// contains filtered or unexported fields
}
GenericLabelsListRequest is the request for the 'list' method.
func (*GenericLabelsListRequest) Header ¶
func (r *GenericLabelsListRequest) Header(name string, value interface{}) *GenericLabelsListRequest
Header adds a request header.
func (*GenericLabelsListRequest) Page ¶
func (r *GenericLabelsListRequest) Page(value int) *GenericLabelsListRequest
Page sets the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*GenericLabelsListRequest) Parameter ¶
func (r *GenericLabelsListRequest) Parameter(name string, value interface{}) *GenericLabelsListRequest
Parameter adds a query parameter.
func (*GenericLabelsListRequest) Send ¶
func (r *GenericLabelsListRequest) Send() (result *GenericLabelsListResponse, 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 (*GenericLabelsListRequest) SendContext ¶
func (r *GenericLabelsListRequest) SendContext(ctx context.Context) (result *GenericLabelsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*GenericLabelsListRequest) Size ¶
func (r *GenericLabelsListRequest) Size(value int) *GenericLabelsListRequest
Size sets the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
type GenericLabelsListResponse ¶
type GenericLabelsListResponse struct {
// contains filtered or unexported fields
}
GenericLabelsListResponse is the response for the 'list' method.
func (*GenericLabelsListResponse) Error ¶
func (r *GenericLabelsListResponse) Error() *errors.Error
Error returns the response error.
func (*GenericLabelsListResponse) GetItems ¶
func (r *GenericLabelsListResponse) GetItems() (value *LabelList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of cloud providers.
func (*GenericLabelsListResponse) GetPage ¶
func (r *GenericLabelsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*GenericLabelsListResponse) GetSize ¶
func (r *GenericLabelsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
func (*GenericLabelsListResponse) GetTotal ¶
func (r *GenericLabelsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
func (*GenericLabelsListResponse) Header ¶
func (r *GenericLabelsListResponse) Header() http.Header
Header returns header of the response.
func (*GenericLabelsListResponse) Items ¶
func (r *GenericLabelsListResponse) Items() *LabelList
Items returns the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*GenericLabelsListResponse) Page ¶
func (r *GenericLabelsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*GenericLabelsListResponse) Size ¶
func (r *GenericLabelsListResponse) Size() int
Size returns the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
func (*GenericLabelsListResponse) Status ¶
func (r *GenericLabelsListResponse) Status() int
Status returns the response status code.
func (*GenericLabelsListResponse) Total ¶
func (r *GenericLabelsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
type GenericLabelsListServerRequest ¶
type GenericLabelsListServerRequest struct {
// contains filtered or unexported fields
}
GenericLabelsListServerRequest is the request for the 'list' method.
func (*GenericLabelsListServerRequest) GetPage ¶
func (r *GenericLabelsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*GenericLabelsListServerRequest) GetSize ¶
func (r *GenericLabelsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
func (*GenericLabelsListServerRequest) Page ¶
func (r *GenericLabelsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*GenericLabelsListServerRequest) Size ¶
func (r *GenericLabelsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
type GenericLabelsListServerResponse ¶
type GenericLabelsListServerResponse struct {
// contains filtered or unexported fields
}
GenericLabelsListServerResponse is the response for the 'list' method.
func (*GenericLabelsListServerResponse) Items ¶
func (r *GenericLabelsListServerResponse) Items(value *LabelList) *GenericLabelsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of cloud providers.
func (*GenericLabelsListServerResponse) Page ¶
func (r *GenericLabelsListServerResponse) Page(value int) *GenericLabelsListServerResponse
Page sets the value of the 'page' parameter.
Index of the returned page, where one corresponds to the first page. As this collection doesn't support paging the result will always be `1`.
func (*GenericLabelsListServerResponse) Size ¶
func (r *GenericLabelsListServerResponse) Size(value int) *GenericLabelsListServerResponse
Size sets the value of the 'size' parameter.
Number of items that will be contained in the returned page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
func (*GenericLabelsListServerResponse) Status ¶
func (r *GenericLabelsListServerResponse) Status(value int) *GenericLabelsListServerResponse
Status sets the status code.
func (*GenericLabelsListServerResponse) Total ¶
func (r *GenericLabelsListServerResponse) Total(value int) *GenericLabelsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page. As this collection doesn't support paging or searching the result will always be the total number of labels of the account/organization/subscription.
type GenericLabelsServer ¶
type GenericLabelsServer interface { // Add handles a request for the 'add' method. // // Create a new account/organization/subscription label. Add(ctx context.Context, request *GenericLabelsAddServerRequest, response *GenericLabelsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of labels of the account/organization/subscription. // // IMPORTANT: This collection doesn't currently support paging or searching, so the returned // `page` will always be 1 and `size` and `total` will always be the total number of labels // of the account/organization/subscription. List(ctx context.Context, request *GenericLabelsListServerRequest, response *GenericLabelsListServerResponse) error // Labels returns the target 'generic_label' server for the given identifier. // // Reference to the labels of a specific account/organization/subscription. Labels(id string) GenericLabelServer }
GenericLabelsServer represents the interface the manages the 'generic_labels' resource.
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
Label represents the values of the 'label' type.
func UnmarshalLabel ¶
UnmarshalLabel reads a value of the 'label' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLabelList ¶
UnmarshalLabelList reads a list of values of the 'label' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Label) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Label) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Label) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Label) GetInternal ¶
GetInternal returns the value of the 'internal' attribute and a flag indicating if the attribute has a value.
func (*Label) GetKey ¶
GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.
func (*Label) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Label) GetValue ¶
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
func (*Label) Internal ¶
Internal returns the value of the 'internal' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Label) Key ¶
Key returns the value of the 'key' attribute, or the zero value of the type if the attribute doesn't have a value.
type LabelBuilder ¶
type LabelBuilder struct {
// contains filtered or unexported fields
}
LabelBuilder contains the data and logic needed to build 'label' objects.
func (*LabelBuilder) Build ¶
func (b *LabelBuilder) Build() (object *Label, err error)
Build creates a 'label' object using the configuration stored in the builder.
func (*LabelBuilder) Copy ¶
func (b *LabelBuilder) Copy(object *Label) *LabelBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LabelBuilder) CreatedAt ¶
func (b *LabelBuilder) CreatedAt(value time.Time) *LabelBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*LabelBuilder) HREF ¶
func (b *LabelBuilder) HREF(value string) *LabelBuilder
HREF sets the link to the object.
func (*LabelBuilder) ID ¶
func (b *LabelBuilder) ID(value string) *LabelBuilder
ID sets the identifier of the object.
func (*LabelBuilder) Internal ¶
func (b *LabelBuilder) Internal(value bool) *LabelBuilder
Internal sets the value of the 'internal' attribute to the given value.
func (*LabelBuilder) Key ¶
func (b *LabelBuilder) Key(value string) *LabelBuilder
Key sets the value of the 'key' attribute to the given value.
func (*LabelBuilder) Link ¶
func (b *LabelBuilder) Link(value bool) *LabelBuilder
Link sets the flag that indicates if this is a link.
func (*LabelBuilder) UpdatedAt ¶
func (b *LabelBuilder) UpdatedAt(value time.Time) *LabelBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*LabelBuilder) Value ¶
func (b *LabelBuilder) Value(value string) *LabelBuilder
Value sets the value of the 'value' attribute to the given value.
type LabelList ¶
type LabelList struct {
// contains filtered or unexported fields
}
LabelList is a list of values of the 'label' type.
func (*LabelList) Each ¶
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 (*LabelList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LabelList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*LabelList) Range ¶
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 (*LabelList) Slice ¶
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 LabelListBuilder ¶
type LabelListBuilder struct {
// contains filtered or unexported fields
}
LabelListBuilder contains the data and logic needed to build 'label' objects.
func NewLabelList ¶
func NewLabelList() *LabelListBuilder
NewLabelList creates a new builder of 'label' objects.
func (*LabelListBuilder) Build ¶
func (b *LabelListBuilder) Build() (list *LabelList, err error)
Build creates a list of 'label' objects using the configuration stored in the builder.
func (*LabelListBuilder) Copy ¶
func (b *LabelListBuilder) Copy(list *LabelList) *LabelListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LabelListBuilder) Items ¶
func (b *LabelListBuilder) Items(values ...*LabelBuilder) *LabelListBuilder
Items sets the items of the list.
type LabelsClient ¶
type LabelsClient struct {
// contains filtered or unexported fields
}
LabelsClient is the client of the 'labels' resource.
Manages the collection of labels.
func NewLabelsClient ¶
func NewLabelsClient(transport http.RoundTripper, path string, metric string) *LabelsClient
NewLabelsClient creates a new client for the 'labels' resource using the given transport to send the requests and receive the responses.
func (*LabelsClient) List ¶
func (c *LabelsClient) List() *LabelsListRequest
List creates a request for the 'list' method.
Retrieves a list of labels.
type LabelsListRequest ¶
type LabelsListRequest struct {
// contains filtered or unexported fields
}
LabelsListRequest is the request for the 'list' method.
func (*LabelsListRequest) Header ¶
func (r *LabelsListRequest) Header(name string, value interface{}) *LabelsListRequest
Header adds a request header.
func (*LabelsListRequest) Page ¶
func (r *LabelsListRequest) Page(value int) *LabelsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListRequest) Parameter ¶
func (r *LabelsListRequest) Parameter(name string, value interface{}) *LabelsListRequest
Parameter adds a query parameter.
func (*LabelsListRequest) Search ¶
func (r *LabelsListRequest) Search(value string) *LabelsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the organization instead of the names of the columns of a table. For example, in order to retrieve labels with name starting with my:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*LabelsListRequest) Send ¶
func (r *LabelsListRequest) Send() (result *LabelsListResponse, 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 (*LabelsListRequest) SendContext ¶
func (r *LabelsListRequest) SendContext(ctx context.Context) (result *LabelsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*LabelsListRequest) Size ¶
func (r *LabelsListRequest) Size(value int) *LabelsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type LabelsListResponse ¶
type LabelsListResponse struct {
// contains filtered or unexported fields
}
LabelsListResponse is the response for the 'list' method.
func (*LabelsListResponse) Error ¶
func (r *LabelsListResponse) Error() *errors.Error
Error returns the response error.
func (*LabelsListResponse) GetItems ¶
func (r *LabelsListResponse) GetItems() (value *LabelList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of labels.
func (*LabelsListResponse) GetPage ¶
func (r *LabelsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListResponse) GetSize ¶
func (r *LabelsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*LabelsListResponse) GetTotal ¶
func (r *LabelsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*LabelsListResponse) Header ¶
func (r *LabelsListResponse) Header() http.Header
Header returns header of the response.
func (*LabelsListResponse) Items ¶
func (r *LabelsListResponse) Items() *LabelList
Items returns the value of the 'items' parameter.
Retrieved list of labels.
func (*LabelsListResponse) Page ¶
func (r *LabelsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListResponse) Size ¶
func (r *LabelsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*LabelsListResponse) Status ¶
func (r *LabelsListResponse) Status() int
Status returns the response status code.
func (*LabelsListResponse) Total ¶
func (r *LabelsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type LabelsListServerRequest ¶
type LabelsListServerRequest struct {
// contains filtered or unexported fields
}
LabelsListServerRequest is the request for the 'list' method.
func (*LabelsListServerRequest) GetPage ¶
func (r *LabelsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListServerRequest) GetSearch ¶
func (r *LabelsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the organization instead of the names of the columns of a table. For example, in order to retrieve labels with name starting with my:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*LabelsListServerRequest) GetSize ¶
func (r *LabelsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*LabelsListServerRequest) Page ¶
func (r *LabelsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListServerRequest) Search ¶
func (r *LabelsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the organization instead of the names of the columns of a table. For example, in order to retrieve labels with name starting with my:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*LabelsListServerRequest) Size ¶
func (r *LabelsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type LabelsListServerResponse ¶
type LabelsListServerResponse struct {
// contains filtered or unexported fields
}
LabelsListServerResponse is the response for the 'list' method.
func (*LabelsListServerResponse) Items ¶
func (r *LabelsListServerResponse) Items(value *LabelList) *LabelsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of labels.
func (*LabelsListServerResponse) Page ¶
func (r *LabelsListServerResponse) Page(value int) *LabelsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*LabelsListServerResponse) Size ¶
func (r *LabelsListServerResponse) Size(value int) *LabelsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*LabelsListServerResponse) Status ¶
func (r *LabelsListServerResponse) Status(value int) *LabelsListServerResponse
Status sets the status code.
func (*LabelsListServerResponse) Total ¶
func (r *LabelsListServerResponse) Total(value int) *LabelsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type LabelsServer ¶
type LabelsServer interface { // List handles a request for the 'list' method. // // Retrieves a list of labels. List(ctx context.Context, request *LabelsListServerRequest, response *LabelsListServerResponse) error }
LabelsServer represents the interface the manages the 'labels' 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 NotifyAddRequest ¶
type NotifyAddRequest struct {
// contains filtered or unexported fields
}
NotifyAddRequest is the request for the 'add' method.
func (*NotifyAddRequest) Body ¶
func (r *NotifyAddRequest) Body(value *SubscriptionNotify) *NotifyAddRequest
Body sets the value of the 'body' parameter.
func (*NotifyAddRequest) Header ¶
func (r *NotifyAddRequest) Header(name string, value interface{}) *NotifyAddRequest
Header adds a request header.
func (*NotifyAddRequest) Parameter ¶
func (r *NotifyAddRequest) Parameter(name string, value interface{}) *NotifyAddRequest
Parameter adds a query parameter.
func (*NotifyAddRequest) Send ¶
func (r *NotifyAddRequest) Send() (result *NotifyAddResponse, 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 (*NotifyAddRequest) SendContext ¶
func (r *NotifyAddRequest) SendContext(ctx context.Context) (result *NotifyAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type NotifyAddResponse ¶
type NotifyAddResponse struct {
// contains filtered or unexported fields
}
NotifyAddResponse is the response for the 'add' method.
func (*NotifyAddResponse) Body ¶
func (r *NotifyAddResponse) Body() *SubscriptionNotify
Body returns the value of the 'body' parameter.
func (*NotifyAddResponse) Error ¶
func (r *NotifyAddResponse) Error() *errors.Error
Error returns the response error.
func (*NotifyAddResponse) GetBody ¶
func (r *NotifyAddResponse) GetBody() (value *SubscriptionNotify, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*NotifyAddResponse) Header ¶
func (r *NotifyAddResponse) Header() http.Header
Header returns header of the response.
func (*NotifyAddResponse) Status ¶
func (r *NotifyAddResponse) Status() int
Status returns the response status code.
type NotifyAddServerRequest ¶
type NotifyAddServerRequest struct {
// contains filtered or unexported fields
}
NotifyAddServerRequest is the request for the 'add' method.
func (*NotifyAddServerRequest) Body ¶
func (r *NotifyAddServerRequest) Body() *SubscriptionNotify
Body returns the value of the 'body' parameter.
func (*NotifyAddServerRequest) GetBody ¶
func (r *NotifyAddServerRequest) GetBody() (value *SubscriptionNotify, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type NotifyAddServerResponse ¶
type NotifyAddServerResponse struct {
// contains filtered or unexported fields
}
NotifyAddServerResponse is the response for the 'add' method.
func (*NotifyAddServerResponse) Body ¶
func (r *NotifyAddServerResponse) Body(value *SubscriptionNotify) *NotifyAddServerResponse
Body sets the value of the 'body' parameter.
func (*NotifyAddServerResponse) Status ¶
func (r *NotifyAddServerResponse) Status(value int) *NotifyAddServerResponse
Status sets the status code.
type NotifyClient ¶
type NotifyClient struct {
// contains filtered or unexported fields
}
NotifyClient is the client of the 'notify' resource.
Manages the notify endpoint
func NewNotifyClient ¶
func NewNotifyClient(transport http.RoundTripper, path string, metric string) *NotifyClient
NewNotifyClient creates a new client for the 'notify' resource using the given transport to send the requests and receive the responses.
func (*NotifyClient) Add ¶
func (c *NotifyClient) Add() *NotifyAddRequest
Add creates a request for the 'add' method.
Notify user related to subscription/cluster via email
type NotifyServer ¶
type NotifyServer interface { // Add handles a request for the 'add' method. // // Notify user related to subscription/cluster via email Add(ctx context.Context, request *NotifyAddServerRequest, response *NotifyAddServerResponse) error }
NotifyServer represents the interface the manages the 'notify' resource.
type Organization ¶
type Organization struct {
// contains filtered or unexported fields
}
Organization represents the values of the 'organization' type.
func UnmarshalOrganization ¶
func UnmarshalOrganization(source interface{}) (object *Organization, err error)
UnmarshalOrganization reads a value of the 'organization' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalOrganizationList ¶
func UnmarshalOrganizationList(source interface{}) (items []*Organization, err error)
UnmarshalOrganizationList reads a list of values of the 'organization' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Organization) CreatedAt ¶
func (o *Organization) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) EbsAccountID ¶
func (o *Organization) EbsAccountID() string
EbsAccountID returns the value of the 'ebs_account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) Empty ¶
func (o *Organization) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Organization) ExternalID ¶
func (o *Organization) ExternalID() string
ExternalID returns the value of the 'external_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) GetCreatedAt ¶
func (o *Organization) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetEbsAccountID ¶
func (o *Organization) GetEbsAccountID() (value string, ok bool)
GetEbsAccountID returns the value of the 'ebs_account_ID' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetExternalID ¶
func (o *Organization) GetExternalID() (value string, ok bool)
GetExternalID returns the value of the 'external_ID' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetHREF ¶
func (o *Organization) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Organization) GetID ¶
func (o *Organization) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Organization) GetLabels ¶
func (o *Organization) GetLabels() (value []*Label, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetName ¶
func (o *Organization) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Organization) GetUpdatedAt ¶
func (o *Organization) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Organization) HREF ¶
func (o *Organization) HREF() string
HREF returns the link to the object.
func (*Organization) ID ¶
func (o *Organization) ID() string
ID returns the identifier of the object.
func (*Organization) Kind ¶
func (o *Organization) Kind() string
Kind returns the name of the type of the object.
func (*Organization) Labels ¶
func (o *Organization) Labels() []*Label
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) Link ¶
func (o *Organization) Link() bool
Link returns true iif this is a link.
func (*Organization) Name ¶
func (o *Organization) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Organization) UpdatedAt ¶
func (o *Organization) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type OrganizationBuilder ¶
type OrganizationBuilder struct {
// contains filtered or unexported fields
}
OrganizationBuilder contains the data and logic needed to build 'organization' objects.
func NewOrganization ¶
func NewOrganization() *OrganizationBuilder
NewOrganization creates a new builder of 'organization' objects.
func (*OrganizationBuilder) Build ¶
func (b *OrganizationBuilder) Build() (object *Organization, err error)
Build creates a 'organization' object using the configuration stored in the builder.
func (*OrganizationBuilder) Copy ¶
func (b *OrganizationBuilder) Copy(object *Organization) *OrganizationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*OrganizationBuilder) CreatedAt ¶
func (b *OrganizationBuilder) CreatedAt(value time.Time) *OrganizationBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*OrganizationBuilder) EbsAccountID ¶
func (b *OrganizationBuilder) EbsAccountID(value string) *OrganizationBuilder
EbsAccountID sets the value of the 'ebs_account_ID' attribute to the given value.
func (*OrganizationBuilder) ExternalID ¶
func (b *OrganizationBuilder) ExternalID(value string) *OrganizationBuilder
ExternalID sets the value of the 'external_ID' attribute to the given value.
func (*OrganizationBuilder) HREF ¶
func (b *OrganizationBuilder) HREF(value string) *OrganizationBuilder
HREF sets the link to the object.
func (*OrganizationBuilder) ID ¶
func (b *OrganizationBuilder) ID(value string) *OrganizationBuilder
ID sets the identifier of the object.
func (*OrganizationBuilder) Labels ¶
func (b *OrganizationBuilder) Labels(values ...*LabelBuilder) *OrganizationBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*OrganizationBuilder) Link ¶
func (b *OrganizationBuilder) Link(value bool) *OrganizationBuilder
Link sets the flag that indicates if this is a link.
func (*OrganizationBuilder) Name ¶
func (b *OrganizationBuilder) Name(value string) *OrganizationBuilder
Name sets the value of the 'name' attribute to the given value.
func (*OrganizationBuilder) UpdatedAt ¶
func (b *OrganizationBuilder) UpdatedAt(value time.Time) *OrganizationBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type OrganizationClient ¶
type OrganizationClient struct {
// contains filtered or unexported fields
}
OrganizationClient is the client of the 'organization' resource.
Manages a specific organization.
func NewOrganizationClient ¶
func NewOrganizationClient(transport http.RoundTripper, path string, metric string) *OrganizationClient
NewOrganizationClient creates a new client for the 'organization' resource using the given transport to send the requests and receive the responses.
func (*OrganizationClient) Get ¶
func (c *OrganizationClient) Get() *OrganizationGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the organization.
func (*OrganizationClient) Labels ¶
func (c *OrganizationClient) Labels() *GenericLabelsClient
Labels returns the target 'generic_labels' resource.
Reference to the list of labels of a specific organization.
func (*OrganizationClient) Poll ¶
func (c *OrganizationClient) Poll() *OrganizationPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*OrganizationClient) QuotaSummary ¶
func (c *OrganizationClient) QuotaSummary() *QuotaSummaryClient
QuotaSummary returns the target 'quota_summary' resource.
Reference to the service that returns the summary of the resource quota for this organization.
func (*OrganizationClient) ResourceQuota ¶
func (c *OrganizationClient) ResourceQuota() *ResourceQuotasClient
ResourceQuota returns the target 'resource_quotas' resource.
Reference to the service that manages the resource quotas for this organization.
func (*OrganizationClient) SummaryDashboard ¶ added in v0.0.329
func (c *OrganizationClient) SummaryDashboard() *SummaryDashboardClient
SummaryDashboard returns the target 'summary_dashboard' resource.
Reference to the service that manages the resource quotas for this organization.
func (*OrganizationClient) Update ¶
func (c *OrganizationClient) Update() *OrganizationUpdateRequest
Update creates a request for the 'update' method.
Updates the organization.
type OrganizationGetRequest ¶
type OrganizationGetRequest struct {
// contains filtered or unexported fields
}
OrganizationGetRequest is the request for the 'get' method.
func (*OrganizationGetRequest) Header ¶
func (r *OrganizationGetRequest) Header(name string, value interface{}) *OrganizationGetRequest
Header adds a request header.
func (*OrganizationGetRequest) Parameter ¶
func (r *OrganizationGetRequest) Parameter(name string, value interface{}) *OrganizationGetRequest
Parameter adds a query parameter.
func (*OrganizationGetRequest) Send ¶
func (r *OrganizationGetRequest) Send() (result *OrganizationGetResponse, 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 (*OrganizationGetRequest) SendContext ¶
func (r *OrganizationGetRequest) SendContext(ctx context.Context) (result *OrganizationGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type OrganizationGetResponse ¶
type OrganizationGetResponse struct {
// contains filtered or unexported fields
}
OrganizationGetResponse is the response for the 'get' method.
func (*OrganizationGetResponse) Body ¶
func (r *OrganizationGetResponse) Body() *Organization
Body returns the value of the 'body' parameter.
func (*OrganizationGetResponse) Error ¶
func (r *OrganizationGetResponse) Error() *errors.Error
Error returns the response error.
func (*OrganizationGetResponse) GetBody ¶
func (r *OrganizationGetResponse) GetBody() (value *Organization, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*OrganizationGetResponse) Header ¶
func (r *OrganizationGetResponse) Header() http.Header
Header returns header of the response.
func (*OrganizationGetResponse) Status ¶
func (r *OrganizationGetResponse) Status() int
Status returns the response status code.
type OrganizationGetServerRequest ¶
type OrganizationGetServerRequest struct { }
OrganizationGetServerRequest is the request for the 'get' method.
type OrganizationGetServerResponse ¶
type OrganizationGetServerResponse struct {
// contains filtered or unexported fields
}
OrganizationGetServerResponse is the response for the 'get' method.
func (*OrganizationGetServerResponse) Body ¶
func (r *OrganizationGetServerResponse) Body(value *Organization) *OrganizationGetServerResponse
Body sets the value of the 'body' parameter.
func (*OrganizationGetServerResponse) Status ¶
func (r *OrganizationGetServerResponse) Status(value int) *OrganizationGetServerResponse
Status sets the status code.
type OrganizationList ¶
type OrganizationList struct {
// contains filtered or unexported fields
}
OrganizationList is a list of values of the 'organization' type.
func (*OrganizationList) Each ¶
func (l *OrganizationList) Each(f func(item *Organization) 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 (*OrganizationList) Empty ¶
func (l *OrganizationList) Empty() bool
Empty returns true if the list is empty.
func (*OrganizationList) Get ¶
func (l *OrganizationList) Get(i int) *Organization
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*OrganizationList) GetHREF ¶
func (l *OrganizationList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*OrganizationList) HREF ¶
func (l *OrganizationList) HREF() string
HREF returns the link to the list.
func (*OrganizationList) Kind ¶
func (l *OrganizationList) Kind() string
Kind returns the name of the type of the object.
func (*OrganizationList) Len ¶
func (l *OrganizationList) Len() int
Len returns the length of the list.
func (*OrganizationList) Link ¶
func (l *OrganizationList) Link() bool
Link returns true iif this is a link.
func (*OrganizationList) Range ¶
func (l *OrganizationList) Range(f func(index int, item *Organization) 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 (*OrganizationList) Slice ¶
func (l *OrganizationList) Slice() []*Organization
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 OrganizationListBuilder ¶
type OrganizationListBuilder struct {
// contains filtered or unexported fields
}
OrganizationListBuilder contains the data and logic needed to build 'organization' objects.
func NewOrganizationList ¶
func NewOrganizationList() *OrganizationListBuilder
NewOrganizationList creates a new builder of 'organization' objects.
func (*OrganizationListBuilder) Build ¶
func (b *OrganizationListBuilder) Build() (list *OrganizationList, err error)
Build creates a list of 'organization' objects using the configuration stored in the builder.
func (*OrganizationListBuilder) Copy ¶
func (b *OrganizationListBuilder) Copy(list *OrganizationList) *OrganizationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*OrganizationListBuilder) Items ¶
func (b *OrganizationListBuilder) Items(values ...*OrganizationBuilder) *OrganizationListBuilder
Items sets the items of the list.
type OrganizationPollRequest ¶
type OrganizationPollRequest struct {
// contains filtered or unexported fields
}
OrganizationPollRequest is the request for the Poll method.
func (*OrganizationPollRequest) Header ¶
func (r *OrganizationPollRequest) Header(name string, value interface{}) *OrganizationPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*OrganizationPollRequest) Interval ¶
func (r *OrganizationPollRequest) Interval(value time.Duration) *OrganizationPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*OrganizationPollRequest) Parameter ¶
func (r *OrganizationPollRequest) Parameter(name string, value interface{}) *OrganizationPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*OrganizationPollRequest) Predicate ¶
func (r *OrganizationPollRequest) Predicate(value func(*OrganizationGetResponse) bool) *OrganizationPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*OrganizationPollRequest) StartContext ¶
func (r *OrganizationPollRequest) StartContext(ctx context.Context) (response *OrganizationPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*OrganizationPollRequest) Status ¶
func (r *OrganizationPollRequest) Status(value int) *OrganizationPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type OrganizationPollResponse ¶
type OrganizationPollResponse struct {
// contains filtered or unexported fields
}
OrganizationPollResponse is the response for the Poll method.
func (*OrganizationPollResponse) Body ¶
func (r *OrganizationPollResponse) Body() *Organization
Body returns the value of the 'body' parameter.
func (*OrganizationPollResponse) Error ¶
func (r *OrganizationPollResponse) Error() *errors.Error
Error returns the response error.
func (*OrganizationPollResponse) GetBody ¶
func (r *OrganizationPollResponse) GetBody() (value *Organization, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*OrganizationPollResponse) Header ¶
func (r *OrganizationPollResponse) Header() http.Header
Header returns header of the response.
func (*OrganizationPollResponse) Status ¶
func (r *OrganizationPollResponse) Status() int
Status returns the response status code.
type OrganizationServer ¶
type OrganizationServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the organization. Get(ctx context.Context, request *OrganizationGetServerRequest, response *OrganizationGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the organization. Update(ctx context.Context, request *OrganizationUpdateServerRequest, response *OrganizationUpdateServerResponse) error // Labels returns the target 'generic_labels' resource. // // Reference to the list of labels of a specific organization. Labels() GenericLabelsServer // QuotaSummary returns the target 'quota_summary' resource. // // Reference to the service that returns the summary of the resource quota for this // organization. QuotaSummary() QuotaSummaryServer // ResourceQuota returns the target 'resource_quotas' resource. // // Reference to the service that manages the resource quotas for this // organization. ResourceQuota() ResourceQuotasServer // SummaryDashboard returns the target 'summary_dashboard' resource. // // Reference to the service that manages the resource quotas for this // organization. SummaryDashboard() SummaryDashboardServer }
OrganizationServer represents the interface the manages the 'organization' resource.
type OrganizationUpdateRequest ¶
type OrganizationUpdateRequest struct {
// contains filtered or unexported fields
}
OrganizationUpdateRequest is the request for the 'update' method.
func (*OrganizationUpdateRequest) Body ¶
func (r *OrganizationUpdateRequest) Body(value *Organization) *OrganizationUpdateRequest
Body sets the value of the 'body' parameter.
func (*OrganizationUpdateRequest) Header ¶
func (r *OrganizationUpdateRequest) Header(name string, value interface{}) *OrganizationUpdateRequest
Header adds a request header.
func (*OrganizationUpdateRequest) Parameter ¶
func (r *OrganizationUpdateRequest) Parameter(name string, value interface{}) *OrganizationUpdateRequest
Parameter adds a query parameter.
func (*OrganizationUpdateRequest) Send ¶
func (r *OrganizationUpdateRequest) Send() (result *OrganizationUpdateResponse, 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 (*OrganizationUpdateRequest) SendContext ¶
func (r *OrganizationUpdateRequest) SendContext(ctx context.Context) (result *OrganizationUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type OrganizationUpdateResponse ¶
type OrganizationUpdateResponse struct {
// contains filtered or unexported fields
}
OrganizationUpdateResponse is the response for the 'update' method.
func (*OrganizationUpdateResponse) Body ¶
func (r *OrganizationUpdateResponse) Body() *Organization
Body returns the value of the 'body' parameter.
func (*OrganizationUpdateResponse) Error ¶
func (r *OrganizationUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*OrganizationUpdateResponse) GetBody ¶
func (r *OrganizationUpdateResponse) GetBody() (value *Organization, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*OrganizationUpdateResponse) Header ¶
func (r *OrganizationUpdateResponse) Header() http.Header
Header returns header of the response.
func (*OrganizationUpdateResponse) Status ¶
func (r *OrganizationUpdateResponse) Status() int
Status returns the response status code.
type OrganizationUpdateServerRequest ¶
type OrganizationUpdateServerRequest struct {
// contains filtered or unexported fields
}
OrganizationUpdateServerRequest is the request for the 'update' method.
func (*OrganizationUpdateServerRequest) Body ¶
func (r *OrganizationUpdateServerRequest) Body() *Organization
Body returns the value of the 'body' parameter.
func (*OrganizationUpdateServerRequest) GetBody ¶
func (r *OrganizationUpdateServerRequest) GetBody() (value *Organization, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type OrganizationUpdateServerResponse ¶
type OrganizationUpdateServerResponse struct {
// contains filtered or unexported fields
}
OrganizationUpdateServerResponse is the response for the 'update' method.
func (*OrganizationUpdateServerResponse) Body ¶
func (r *OrganizationUpdateServerResponse) Body(value *Organization) *OrganizationUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*OrganizationUpdateServerResponse) Status ¶
func (r *OrganizationUpdateServerResponse) Status(value int) *OrganizationUpdateServerResponse
Status sets the status code.
type OrganizationsAddRequest ¶
type OrganizationsAddRequest struct {
// contains filtered or unexported fields
}
OrganizationsAddRequest is the request for the 'add' method.
func (*OrganizationsAddRequest) Body ¶
func (r *OrganizationsAddRequest) Body(value *Organization) *OrganizationsAddRequest
Body sets the value of the 'body' parameter.
Organization data.
func (*OrganizationsAddRequest) Header ¶
func (r *OrganizationsAddRequest) Header(name string, value interface{}) *OrganizationsAddRequest
Header adds a request header.
func (*OrganizationsAddRequest) Parameter ¶
func (r *OrganizationsAddRequest) Parameter(name string, value interface{}) *OrganizationsAddRequest
Parameter adds a query parameter.
func (*OrganizationsAddRequest) Send ¶
func (r *OrganizationsAddRequest) Send() (result *OrganizationsAddResponse, 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 (*OrganizationsAddRequest) SendContext ¶
func (r *OrganizationsAddRequest) SendContext(ctx context.Context) (result *OrganizationsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type OrganizationsAddResponse ¶
type OrganizationsAddResponse struct {
// contains filtered or unexported fields
}
OrganizationsAddResponse is the response for the 'add' method.
func (*OrganizationsAddResponse) Body ¶
func (r *OrganizationsAddResponse) Body() *Organization
Body returns the value of the 'body' parameter.
Organization data.
func (*OrganizationsAddResponse) Error ¶
func (r *OrganizationsAddResponse) Error() *errors.Error
Error returns the response error.
func (*OrganizationsAddResponse) GetBody ¶
func (r *OrganizationsAddResponse) GetBody() (value *Organization, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Organization data.
func (*OrganizationsAddResponse) Header ¶
func (r *OrganizationsAddResponse) Header() http.Header
Header returns header of the response.
func (*OrganizationsAddResponse) Status ¶
func (r *OrganizationsAddResponse) Status() int
Status returns the response status code.
type OrganizationsAddServerRequest ¶
type OrganizationsAddServerRequest struct {
// contains filtered or unexported fields
}
OrganizationsAddServerRequest is the request for the 'add' method.
func (*OrganizationsAddServerRequest) Body ¶
func (r *OrganizationsAddServerRequest) Body() *Organization
Body returns the value of the 'body' parameter.
Organization data.
func (*OrganizationsAddServerRequest) GetBody ¶
func (r *OrganizationsAddServerRequest) GetBody() (value *Organization, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Organization data.
type OrganizationsAddServerResponse ¶
type OrganizationsAddServerResponse struct {
// contains filtered or unexported fields
}
OrganizationsAddServerResponse is the response for the 'add' method.
func (*OrganizationsAddServerResponse) Body ¶
func (r *OrganizationsAddServerResponse) Body(value *Organization) *OrganizationsAddServerResponse
Body sets the value of the 'body' parameter.
Organization data.
func (*OrganizationsAddServerResponse) Status ¶
func (r *OrganizationsAddServerResponse) Status(value int) *OrganizationsAddServerResponse
Status sets the status code.
type OrganizationsClient ¶
type OrganizationsClient struct {
// contains filtered or unexported fields
}
OrganizationsClient is the client of the 'organizations' resource.
Manages the collection of organizations.
func NewOrganizationsClient ¶
func NewOrganizationsClient(transport http.RoundTripper, path string, metric string) *OrganizationsClient
NewOrganizationsClient creates a new client for the 'organizations' resource using the given transport to send the requests and receive the responses.
func (*OrganizationsClient) Add ¶
func (c *OrganizationsClient) Add() *OrganizationsAddRequest
Add creates a request for the 'add' method.
Creates a new organization.
func (*OrganizationsClient) List ¶
func (c *OrganizationsClient) List() *OrganizationsListRequest
List creates a request for the 'list' method.
Retrieves a list of organizations.
func (*OrganizationsClient) Organization ¶
func (c *OrganizationsClient) Organization(id string) *OrganizationClient
Organization returns the target 'organization' resource for the given identifier.
Reference to the service that manages a specific organization.
type OrganizationsListRequest ¶
type OrganizationsListRequest struct {
// contains filtered or unexported fields
}
OrganizationsListRequest is the request for the 'list' method.
func (*OrganizationsListRequest) FetchlabelsLabels ¶
func (r *OrganizationsListRequest) FetchlabelsLabels(value bool) *OrganizationsListRequest
FetchlabelsLabels sets the value of the 'fetchlabels_labels' parameter.
If true, includes the labels on an organization in the output. Could slow request response time.
func (*OrganizationsListRequest) Fields ¶
func (r *OrganizationsListRequest) Fields(value string) *OrganizationsListRequest
Fields sets the value of the 'fields' parameter.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*OrganizationsListRequest) Header ¶
func (r *OrganizationsListRequest) Header(name string, value interface{}) *OrganizationsListRequest
Header adds a request header.
func (*OrganizationsListRequest) Page ¶
func (r *OrganizationsListRequest) Page(value int) *OrganizationsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*OrganizationsListRequest) Parameter ¶
func (r *OrganizationsListRequest) Parameter(name string, value interface{}) *OrganizationsListRequest
Parameter adds a query parameter.
func (*OrganizationsListRequest) Search ¶
func (r *OrganizationsListRequest) Search(value string) *OrganizationsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the organization instead of the names of the columns of a table. For example, in order to retrieve organizations with name starting with my:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*OrganizationsListRequest) Send ¶
func (r *OrganizationsListRequest) Send() (result *OrganizationsListResponse, 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 (*OrganizationsListRequest) SendContext ¶
func (r *OrganizationsListRequest) SendContext(ctx context.Context) (result *OrganizationsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*OrganizationsListRequest) Size ¶
func (r *OrganizationsListRequest) Size(value int) *OrganizationsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type OrganizationsListResponse ¶
type OrganizationsListResponse struct {
// contains filtered or unexported fields
}
OrganizationsListResponse is the response for the 'list' method.
func (*OrganizationsListResponse) Error ¶
func (r *OrganizationsListResponse) Error() *errors.Error
Error returns the response error.
func (*OrganizationsListResponse) GetItems ¶
func (r *OrganizationsListResponse) GetItems() (value *OrganizationList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of organizations.
func (*OrganizationsListResponse) GetPage ¶
func (r *OrganizationsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*OrganizationsListResponse) GetSize ¶
func (r *OrganizationsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*OrganizationsListResponse) GetTotal ¶
func (r *OrganizationsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*OrganizationsListResponse) Header ¶
func (r *OrganizationsListResponse) Header() http.Header
Header returns header of the response.
func (*OrganizationsListResponse) Items ¶
func (r *OrganizationsListResponse) Items() *OrganizationList
Items returns the value of the 'items' parameter.
Retrieved list of organizations.
func (*OrganizationsListResponse) Page ¶
func (r *OrganizationsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*OrganizationsListResponse) Size ¶
func (r *OrganizationsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*OrganizationsListResponse) Status ¶
func (r *OrganizationsListResponse) Status() int
Status returns the response status code.
func (*OrganizationsListResponse) Total ¶
func (r *OrganizationsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type OrganizationsListServerRequest ¶
type OrganizationsListServerRequest struct {
// contains filtered or unexported fields
}
OrganizationsListServerRequest is the request for the 'list' method.
func (*OrganizationsListServerRequest) FetchlabelsLabels ¶
func (r *OrganizationsListServerRequest) FetchlabelsLabels() bool
FetchlabelsLabels returns the value of the 'fetchlabels_labels' parameter.
If true, includes the labels on an organization in the output. Could slow request response time.
func (*OrganizationsListServerRequest) Fields ¶
func (r *OrganizationsListServerRequest) Fields() string
Fields returns the value of the 'fields' parameter.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*OrganizationsListServerRequest) GetFetchlabelsLabels ¶
func (r *OrganizationsListServerRequest) GetFetchlabelsLabels() (value bool, ok bool)
GetFetchlabelsLabels returns the value of the 'fetchlabels_labels' parameter and a flag indicating if the parameter has a value.
If true, includes the labels on an organization in the output. Could slow request response time.
func (*OrganizationsListServerRequest) GetFields ¶
func (r *OrganizationsListServerRequest) GetFields() (value string, ok bool)
GetFields returns the value of the 'fields' parameter and a flag indicating if the parameter has a value.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*OrganizationsListServerRequest) GetPage ¶
func (r *OrganizationsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*OrganizationsListServerRequest) GetSearch ¶
func (r *OrganizationsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the organization instead of the names of the columns of a table. For example, in order to retrieve organizations with name starting with my:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*OrganizationsListServerRequest) GetSize ¶
func (r *OrganizationsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*OrganizationsListServerRequest) Page ¶
func (r *OrganizationsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*OrganizationsListServerRequest) Search ¶
func (r *OrganizationsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the organization instead of the names of the columns of a table. For example, in order to retrieve organizations with name starting with my:
[source,sql] ---- name like 'my%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*OrganizationsListServerRequest) Size ¶
func (r *OrganizationsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type OrganizationsListServerResponse ¶
type OrganizationsListServerResponse struct {
// contains filtered or unexported fields
}
OrganizationsListServerResponse is the response for the 'list' method.
func (*OrganizationsListServerResponse) Items ¶
func (r *OrganizationsListServerResponse) Items(value *OrganizationList) *OrganizationsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of organizations.
func (*OrganizationsListServerResponse) Page ¶
func (r *OrganizationsListServerResponse) Page(value int) *OrganizationsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*OrganizationsListServerResponse) Size ¶
func (r *OrganizationsListServerResponse) Size(value int) *OrganizationsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*OrganizationsListServerResponse) Status ¶
func (r *OrganizationsListServerResponse) Status(value int) *OrganizationsListServerResponse
Status sets the status code.
func (*OrganizationsListServerResponse) Total ¶
func (r *OrganizationsListServerResponse) Total(value int) *OrganizationsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type OrganizationsServer ¶
type OrganizationsServer interface { // Add handles a request for the 'add' method. // // Creates a new organization. Add(ctx context.Context, request *OrganizationsAddServerRequest, response *OrganizationsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves a list of organizations. List(ctx context.Context, request *OrganizationsListServerRequest, response *OrganizationsListServerResponse) error // Organization returns the target 'organization' server for the given identifier. // // Reference to the service that manages a specific organization. Organization(id string) OrganizationServer }
OrganizationsServer represents the interface the manages the 'organizations' resource.
type Permission ¶
type Permission struct {
// contains filtered or unexported fields
}
Permission represents the values of the 'permission' type.
func UnmarshalPermission ¶
func UnmarshalPermission(source interface{}) (object *Permission, err error)
UnmarshalPermission reads a value of the 'permission' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalPermissionList ¶
func UnmarshalPermissionList(source interface{}) (items []*Permission, err error)
UnmarshalPermissionList reads a list of values of the 'permission' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Permission) Action ¶
func (o *Permission) Action() Action
Action returns the value of the 'action' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Permission) Empty ¶
func (o *Permission) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Permission) GetAction ¶
func (o *Permission) GetAction() (value Action, ok bool)
GetAction returns the value of the 'action' attribute and a flag indicating if the attribute has a value.
func (*Permission) GetHREF ¶
func (o *Permission) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Permission) GetID ¶
func (o *Permission) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Permission) GetResourceType ¶
func (o *Permission) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*Permission) Kind ¶
func (o *Permission) Kind() string
Kind returns the name of the type of the object.
func (*Permission) ResourceType ¶
func (o *Permission) 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 PermissionBuilder ¶
type PermissionBuilder struct {
// contains filtered or unexported fields
}
PermissionBuilder contains the data and logic needed to build 'permission' objects.
func NewPermission ¶
func NewPermission() *PermissionBuilder
NewPermission creates a new builder of 'permission' objects.
func (*PermissionBuilder) Action ¶
func (b *PermissionBuilder) Action(value Action) *PermissionBuilder
Action sets the value of the 'action' attribute to the given value.
Possible actions for a permission.
func (*PermissionBuilder) Build ¶
func (b *PermissionBuilder) Build() (object *Permission, err error)
Build creates a 'permission' object using the configuration stored in the builder.
func (*PermissionBuilder) Copy ¶
func (b *PermissionBuilder) Copy(object *Permission) *PermissionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*PermissionBuilder) HREF ¶
func (b *PermissionBuilder) HREF(value string) *PermissionBuilder
HREF sets the link to the object.
func (*PermissionBuilder) ID ¶
func (b *PermissionBuilder) ID(value string) *PermissionBuilder
ID sets the identifier of the object.
func (*PermissionBuilder) Link ¶
func (b *PermissionBuilder) Link(value bool) *PermissionBuilder
Link sets the flag that indicates if this is a link.
func (*PermissionBuilder) ResourceType ¶
func (b *PermissionBuilder) ResourceType(value string) *PermissionBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
type PermissionClient ¶
type PermissionClient struct {
// contains filtered or unexported fields
}
PermissionClient is the client of the 'permission' resource.
Manages a specific permission.
func NewPermissionClient ¶
func NewPermissionClient(transport http.RoundTripper, path string, metric string) *PermissionClient
NewPermissionClient creates a new client for the 'permission' resource using the given transport to send the requests and receive the responses.
func (*PermissionClient) Delete ¶
func (c *PermissionClient) Delete() *PermissionDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the permission.
func (*PermissionClient) Get ¶
func (c *PermissionClient) Get() *PermissionGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the permission.
func (*PermissionClient) Poll ¶
func (c *PermissionClient) Poll() *PermissionPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type PermissionDeleteRequest ¶
type PermissionDeleteRequest struct {
// contains filtered or unexported fields
}
PermissionDeleteRequest is the request for the 'delete' method.
func (*PermissionDeleteRequest) Header ¶
func (r *PermissionDeleteRequest) Header(name string, value interface{}) *PermissionDeleteRequest
Header adds a request header.
func (*PermissionDeleteRequest) Parameter ¶
func (r *PermissionDeleteRequest) Parameter(name string, value interface{}) *PermissionDeleteRequest
Parameter adds a query parameter.
func (*PermissionDeleteRequest) Send ¶
func (r *PermissionDeleteRequest) Send() (result *PermissionDeleteResponse, 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 (*PermissionDeleteRequest) SendContext ¶
func (r *PermissionDeleteRequest) SendContext(ctx context.Context) (result *PermissionDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PermissionDeleteResponse ¶
type PermissionDeleteResponse struct {
// contains filtered or unexported fields
}
PermissionDeleteResponse is the response for the 'delete' method.
func (*PermissionDeleteResponse) Error ¶
func (r *PermissionDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*PermissionDeleteResponse) Header ¶
func (r *PermissionDeleteResponse) Header() http.Header
Header returns header of the response.
func (*PermissionDeleteResponse) Status ¶
func (r *PermissionDeleteResponse) Status() int
Status returns the response status code.
type PermissionDeleteServerRequest ¶
type PermissionDeleteServerRequest struct { }
PermissionDeleteServerRequest is the request for the 'delete' method.
type PermissionDeleteServerResponse ¶
type PermissionDeleteServerResponse struct {
// contains filtered or unexported fields
}
PermissionDeleteServerResponse is the response for the 'delete' method.
func (*PermissionDeleteServerResponse) Status ¶
func (r *PermissionDeleteServerResponse) Status(value int) *PermissionDeleteServerResponse
Status sets the status code.
type PermissionGetRequest ¶
type PermissionGetRequest struct {
// contains filtered or unexported fields
}
PermissionGetRequest is the request for the 'get' method.
func (*PermissionGetRequest) Header ¶
func (r *PermissionGetRequest) Header(name string, value interface{}) *PermissionGetRequest
Header adds a request header.
func (*PermissionGetRequest) Parameter ¶
func (r *PermissionGetRequest) Parameter(name string, value interface{}) *PermissionGetRequest
Parameter adds a query parameter.
func (*PermissionGetRequest) Send ¶
func (r *PermissionGetRequest) Send() (result *PermissionGetResponse, 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 (*PermissionGetRequest) SendContext ¶
func (r *PermissionGetRequest) SendContext(ctx context.Context) (result *PermissionGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PermissionGetResponse ¶
type PermissionGetResponse struct {
// contains filtered or unexported fields
}
PermissionGetResponse is the response for the 'get' method.
func (*PermissionGetResponse) Body ¶
func (r *PermissionGetResponse) Body() *Permission
Body returns the value of the 'body' parameter.
func (*PermissionGetResponse) Error ¶
func (r *PermissionGetResponse) Error() *errors.Error
Error returns the response error.
func (*PermissionGetResponse) GetBody ¶
func (r *PermissionGetResponse) GetBody() (value *Permission, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*PermissionGetResponse) Header ¶
func (r *PermissionGetResponse) Header() http.Header
Header returns header of the response.
func (*PermissionGetResponse) Status ¶
func (r *PermissionGetResponse) Status() int
Status returns the response status code.
type PermissionGetServerRequest ¶
type PermissionGetServerRequest struct { }
PermissionGetServerRequest is the request for the 'get' method.
type PermissionGetServerResponse ¶
type PermissionGetServerResponse struct {
// contains filtered or unexported fields
}
PermissionGetServerResponse is the response for the 'get' method.
func (*PermissionGetServerResponse) Body ¶
func (r *PermissionGetServerResponse) Body(value *Permission) *PermissionGetServerResponse
Body sets the value of the 'body' parameter.
func (*PermissionGetServerResponse) Status ¶
func (r *PermissionGetServerResponse) Status(value int) *PermissionGetServerResponse
Status sets the status code.
type PermissionList ¶
type PermissionList struct {
// contains filtered or unexported fields
}
PermissionList is a list of values of the 'permission' type.
func (*PermissionList) Each ¶
func (l *PermissionList) Each(f func(item *Permission) 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 (*PermissionList) Empty ¶
func (l *PermissionList) Empty() bool
Empty returns true if the list is empty.
func (*PermissionList) Get ¶
func (l *PermissionList) Get(i int) *Permission
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*PermissionList) GetHREF ¶
func (l *PermissionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*PermissionList) HREF ¶
func (l *PermissionList) HREF() string
HREF returns the link to the list.
func (*PermissionList) Kind ¶
func (l *PermissionList) Kind() string
Kind returns the name of the type of the object.
func (*PermissionList) Len ¶
func (l *PermissionList) Len() int
Len returns the length of the list.
func (*PermissionList) Link ¶
func (l *PermissionList) Link() bool
Link returns true iif this is a link.
func (*PermissionList) Range ¶
func (l *PermissionList) Range(f func(index int, item *Permission) 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 (*PermissionList) Slice ¶
func (l *PermissionList) Slice() []*Permission
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 PermissionListBuilder ¶
type PermissionListBuilder struct {
// contains filtered or unexported fields
}
PermissionListBuilder contains the data and logic needed to build 'permission' objects.
func NewPermissionList ¶
func NewPermissionList() *PermissionListBuilder
NewPermissionList creates a new builder of 'permission' objects.
func (*PermissionListBuilder) Build ¶
func (b *PermissionListBuilder) Build() (list *PermissionList, err error)
Build creates a list of 'permission' objects using the configuration stored in the builder.
func (*PermissionListBuilder) Copy ¶
func (b *PermissionListBuilder) Copy(list *PermissionList) *PermissionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*PermissionListBuilder) Items ¶
func (b *PermissionListBuilder) Items(values ...*PermissionBuilder) *PermissionListBuilder
Items sets the items of the list.
type PermissionPollRequest ¶
type PermissionPollRequest struct {
// contains filtered or unexported fields
}
PermissionPollRequest is the request for the Poll method.
func (*PermissionPollRequest) Header ¶
func (r *PermissionPollRequest) Header(name string, value interface{}) *PermissionPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*PermissionPollRequest) Interval ¶
func (r *PermissionPollRequest) Interval(value time.Duration) *PermissionPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*PermissionPollRequest) Parameter ¶
func (r *PermissionPollRequest) Parameter(name string, value interface{}) *PermissionPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*PermissionPollRequest) Predicate ¶
func (r *PermissionPollRequest) Predicate(value func(*PermissionGetResponse) bool) *PermissionPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*PermissionPollRequest) StartContext ¶
func (r *PermissionPollRequest) StartContext(ctx context.Context) (response *PermissionPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*PermissionPollRequest) Status ¶
func (r *PermissionPollRequest) Status(value int) *PermissionPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type PermissionPollResponse ¶
type PermissionPollResponse struct {
// contains filtered or unexported fields
}
PermissionPollResponse is the response for the Poll method.
func (*PermissionPollResponse) Body ¶
func (r *PermissionPollResponse) Body() *Permission
Body returns the value of the 'body' parameter.
func (*PermissionPollResponse) Error ¶
func (r *PermissionPollResponse) Error() *errors.Error
Error returns the response error.
func (*PermissionPollResponse) GetBody ¶
func (r *PermissionPollResponse) GetBody() (value *Permission, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*PermissionPollResponse) Header ¶
func (r *PermissionPollResponse) Header() http.Header
Header returns header of the response.
func (*PermissionPollResponse) Status ¶
func (r *PermissionPollResponse) Status() int
Status returns the response status code.
type PermissionServer ¶
type PermissionServer interface { // Delete handles a request for the 'delete' method. // // Deletes the permission. Delete(ctx context.Context, request *PermissionDeleteServerRequest, response *PermissionDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the permission. Get(ctx context.Context, request *PermissionGetServerRequest, response *PermissionGetServerResponse) error }
PermissionServer represents the interface the manages the 'permission' resource.
type PermissionsAddRequest ¶
type PermissionsAddRequest struct {
// contains filtered or unexported fields
}
PermissionsAddRequest is the request for the 'add' method.
func (*PermissionsAddRequest) Body ¶
func (r *PermissionsAddRequest) Body(value *Permission) *PermissionsAddRequest
Body sets the value of the 'body' parameter.
Permission data.
func (*PermissionsAddRequest) Header ¶
func (r *PermissionsAddRequest) Header(name string, value interface{}) *PermissionsAddRequest
Header adds a request header.
func (*PermissionsAddRequest) Parameter ¶
func (r *PermissionsAddRequest) Parameter(name string, value interface{}) *PermissionsAddRequest
Parameter adds a query parameter.
func (*PermissionsAddRequest) Send ¶
func (r *PermissionsAddRequest) Send() (result *PermissionsAddResponse, 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 (*PermissionsAddRequest) SendContext ¶
func (r *PermissionsAddRequest) SendContext(ctx context.Context) (result *PermissionsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PermissionsAddResponse ¶
type PermissionsAddResponse struct {
// contains filtered or unexported fields
}
PermissionsAddResponse is the response for the 'add' method.
func (*PermissionsAddResponse) Body ¶
func (r *PermissionsAddResponse) Body() *Permission
Body returns the value of the 'body' parameter.
Permission data.
func (*PermissionsAddResponse) Error ¶
func (r *PermissionsAddResponse) Error() *errors.Error
Error returns the response error.
func (*PermissionsAddResponse) GetBody ¶
func (r *PermissionsAddResponse) GetBody() (value *Permission, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Permission data.
func (*PermissionsAddResponse) Header ¶
func (r *PermissionsAddResponse) Header() http.Header
Header returns header of the response.
func (*PermissionsAddResponse) Status ¶
func (r *PermissionsAddResponse) Status() int
Status returns the response status code.
type PermissionsAddServerRequest ¶
type PermissionsAddServerRequest struct {
// contains filtered or unexported fields
}
PermissionsAddServerRequest is the request for the 'add' method.
func (*PermissionsAddServerRequest) Body ¶
func (r *PermissionsAddServerRequest) Body() *Permission
Body returns the value of the 'body' parameter.
Permission data.
func (*PermissionsAddServerRequest) GetBody ¶
func (r *PermissionsAddServerRequest) GetBody() (value *Permission, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Permission data.
type PermissionsAddServerResponse ¶
type PermissionsAddServerResponse struct {
// contains filtered or unexported fields
}
PermissionsAddServerResponse is the response for the 'add' method.
func (*PermissionsAddServerResponse) Body ¶
func (r *PermissionsAddServerResponse) Body(value *Permission) *PermissionsAddServerResponse
Body sets the value of the 'body' parameter.
Permission data.
func (*PermissionsAddServerResponse) Status ¶
func (r *PermissionsAddServerResponse) Status(value int) *PermissionsAddServerResponse
Status sets the status code.
type PermissionsClient ¶
type PermissionsClient struct {
// contains filtered or unexported fields
}
PermissionsClient is the client of the 'permissions' resource.
Manages the collection of permissions.
func NewPermissionsClient ¶
func NewPermissionsClient(transport http.RoundTripper, path string, metric string) *PermissionsClient
NewPermissionsClient creates a new client for the 'permissions' resource using the given transport to send the requests and receive the responses.
func (*PermissionsClient) Add ¶
func (c *PermissionsClient) Add() *PermissionsAddRequest
Add creates a request for the 'add' method.
Creates a new permission.
func (*PermissionsClient) List ¶
func (c *PermissionsClient) List() *PermissionsListRequest
List creates a request for the 'list' method.
Retrieves a list of permissions.
func (*PermissionsClient) Permission ¶
func (c *PermissionsClient) Permission(id string) *PermissionClient
Permission returns the target 'permission' resource for the given identifier.
Reference to the service that manages an specific permission.
type PermissionsListRequest ¶
type PermissionsListRequest struct {
// contains filtered or unexported fields
}
PermissionsListRequest is the request for the 'list' method.
func (*PermissionsListRequest) Header ¶
func (r *PermissionsListRequest) Header(name string, value interface{}) *PermissionsListRequest
Header adds a request header.
func (*PermissionsListRequest) Page ¶
func (r *PermissionsListRequest) Page(value int) *PermissionsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*PermissionsListRequest) Parameter ¶
func (r *PermissionsListRequest) Parameter(name string, value interface{}) *PermissionsListRequest
Parameter adds a query parameter.
func (*PermissionsListRequest) Send ¶
func (r *PermissionsListRequest) Send() (result *PermissionsListResponse, 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 (*PermissionsListRequest) SendContext ¶
func (r *PermissionsListRequest) SendContext(ctx context.Context) (result *PermissionsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*PermissionsListRequest) Size ¶
func (r *PermissionsListRequest) Size(value int) *PermissionsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type PermissionsListResponse ¶
type PermissionsListResponse struct {
// contains filtered or unexported fields
}
PermissionsListResponse is the response for the 'list' method.
func (*PermissionsListResponse) Error ¶
func (r *PermissionsListResponse) Error() *errors.Error
Error returns the response error.
func (*PermissionsListResponse) GetItems ¶
func (r *PermissionsListResponse) GetItems() (value *PermissionList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of permissions.
func (*PermissionsListResponse) GetPage ¶
func (r *PermissionsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*PermissionsListResponse) GetSize ¶
func (r *PermissionsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*PermissionsListResponse) GetTotal ¶
func (r *PermissionsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*PermissionsListResponse) Header ¶
func (r *PermissionsListResponse) Header() http.Header
Header returns header of the response.
func (*PermissionsListResponse) Items ¶
func (r *PermissionsListResponse) Items() *PermissionList
Items returns the value of the 'items' parameter.
Retrieved list of permissions.
func (*PermissionsListResponse) Page ¶
func (r *PermissionsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*PermissionsListResponse) Size ¶
func (r *PermissionsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*PermissionsListResponse) Status ¶
func (r *PermissionsListResponse) Status() int
Status returns the response status code.
func (*PermissionsListResponse) Total ¶
func (r *PermissionsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type PermissionsListServerRequest ¶
type PermissionsListServerRequest struct {
// contains filtered or unexported fields
}
PermissionsListServerRequest is the request for the 'list' method.
func (*PermissionsListServerRequest) GetPage ¶
func (r *PermissionsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*PermissionsListServerRequest) GetSize ¶
func (r *PermissionsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*PermissionsListServerRequest) Page ¶
func (r *PermissionsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*PermissionsListServerRequest) Size ¶
func (r *PermissionsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type PermissionsListServerResponse ¶
type PermissionsListServerResponse struct {
// contains filtered or unexported fields
}
PermissionsListServerResponse is the response for the 'list' method.
func (*PermissionsListServerResponse) Items ¶
func (r *PermissionsListServerResponse) Items(value *PermissionList) *PermissionsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of permissions.
func (*PermissionsListServerResponse) Page ¶
func (r *PermissionsListServerResponse) Page(value int) *PermissionsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*PermissionsListServerResponse) Size ¶
func (r *PermissionsListServerResponse) Size(value int) *PermissionsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*PermissionsListServerResponse) Status ¶
func (r *PermissionsListServerResponse) Status(value int) *PermissionsListServerResponse
Status sets the status code.
func (*PermissionsListServerResponse) Total ¶
func (r *PermissionsListServerResponse) Total(value int) *PermissionsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type PermissionsServer ¶
type PermissionsServer interface { // Add handles a request for the 'add' method. // // Creates a new permission. Add(ctx context.Context, request *PermissionsAddServerRequest, response *PermissionsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves a list of permissions. List(ctx context.Context, request *PermissionsListServerRequest, response *PermissionsListServerResponse) error // Permission returns the target 'permission' server for the given identifier. // // Reference to the service that manages an specific permission. Permission(id string) PermissionServer }
PermissionsServer represents the interface the manages the 'permissions' resource.
type Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
Plan represents the values of the 'plan' type.
func UnmarshalPlan ¶
UnmarshalPlan reads a value of the 'plan' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalPlanList ¶
UnmarshalPlanList reads a list of values of the 'plan' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Plan) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Plan) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Plan) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Plan) GetType ¶
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
type PlanBuilder ¶
type PlanBuilder struct {
// contains filtered or unexported fields
}
PlanBuilder contains the data and logic needed to build 'plan' objects.
func (*PlanBuilder) Build ¶
func (b *PlanBuilder) Build() (object *Plan, err error)
Build creates a 'plan' object using the configuration stored in the builder.
func (*PlanBuilder) Copy ¶
func (b *PlanBuilder) Copy(object *Plan) *PlanBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*PlanBuilder) HREF ¶
func (b *PlanBuilder) HREF(value string) *PlanBuilder
HREF sets the link to the object.
func (*PlanBuilder) ID ¶
func (b *PlanBuilder) ID(value string) *PlanBuilder
ID sets the identifier of the object.
func (*PlanBuilder) Link ¶
func (b *PlanBuilder) Link(value bool) *PlanBuilder
Link sets the flag that indicates if this is a link.
func (*PlanBuilder) Name ¶
func (b *PlanBuilder) Name(value string) *PlanBuilder
Name sets the value of the 'name' attribute to the given value.
func (*PlanBuilder) Type ¶
func (b *PlanBuilder) Type(value string) *PlanBuilder
Type sets the value of the 'type' attribute to the given value.
type PlanID ¶
type PlanID string
PlanID represents the values of the 'plan_ID' enumerated type.
const ( // PlanIDOCP PlanID = "OCP" )
func UnmarshalPlanIDList ¶
UnmarshalPlanIDList reads a list of values of the 'plan_ID' type from the given source, which can be a slice of bytes, a string or a reader.
type PlanList ¶
type PlanList struct {
// contains filtered or unexported fields
}
PlanList is a list of values of the 'plan' type.
func (*PlanList) Each ¶
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 (*PlanList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*PlanList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*PlanList) Range ¶
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 (*PlanList) Slice ¶
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 PlanListBuilder ¶
type PlanListBuilder struct {
// contains filtered or unexported fields
}
PlanListBuilder contains the data and logic needed to build 'plan' objects.
func NewPlanList ¶
func NewPlanList() *PlanListBuilder
NewPlanList creates a new builder of 'plan' objects.
func (*PlanListBuilder) Build ¶
func (b *PlanListBuilder) Build() (list *PlanList, err error)
Build creates a list of 'plan' objects using the configuration stored in the builder.
func (*PlanListBuilder) Copy ¶
func (b *PlanListBuilder) Copy(list *PlanList) *PlanListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*PlanListBuilder) Items ¶
func (b *PlanListBuilder) Items(values ...*PlanBuilder) *PlanListBuilder
Items sets the items of the list.
type ProductBundleEnum ¶
type ProductBundleEnum string
ProductBundleEnum represents the values of the 'product_bundle_enum' enumerated type.
func UnmarshalProductBundleEnumList ¶
func UnmarshalProductBundleEnumList(source interface{}) (items []ProductBundleEnum, err error)
UnmarshalProductBundleEnumList reads a list of values of the 'product_bundle_enum' type from the given source, which can be a slice of bytes, a string or a reader.
type PullSecretClient ¶
type PullSecretClient struct {
// contains filtered or unexported fields
}
PullSecretClient is the client of the 'pull_secret' resource.
Manages a specific pull secret.
func NewPullSecretClient ¶
func NewPullSecretClient(transport http.RoundTripper, path string, metric string) *PullSecretClient
NewPullSecretClient creates a new client for the 'pull_secret' resource using the given transport to send the requests and receive the responses.
func (*PullSecretClient) Delete ¶
func (c *PullSecretClient) Delete() *PullSecretDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the pull secret.
type PullSecretDeleteRequest ¶
type PullSecretDeleteRequest struct {
// contains filtered or unexported fields
}
PullSecretDeleteRequest is the request for the 'delete' method.
func (*PullSecretDeleteRequest) Header ¶
func (r *PullSecretDeleteRequest) Header(name string, value interface{}) *PullSecretDeleteRequest
Header adds a request header.
func (*PullSecretDeleteRequest) Parameter ¶
func (r *PullSecretDeleteRequest) Parameter(name string, value interface{}) *PullSecretDeleteRequest
Parameter adds a query parameter.
func (*PullSecretDeleteRequest) Send ¶
func (r *PullSecretDeleteRequest) Send() (result *PullSecretDeleteResponse, 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 (*PullSecretDeleteRequest) SendContext ¶
func (r *PullSecretDeleteRequest) SendContext(ctx context.Context) (result *PullSecretDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PullSecretDeleteResponse ¶
type PullSecretDeleteResponse struct {
// contains filtered or unexported fields
}
PullSecretDeleteResponse is the response for the 'delete' method.
func (*PullSecretDeleteResponse) Error ¶
func (r *PullSecretDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*PullSecretDeleteResponse) Header ¶
func (r *PullSecretDeleteResponse) Header() http.Header
Header returns header of the response.
func (*PullSecretDeleteResponse) Status ¶
func (r *PullSecretDeleteResponse) Status() int
Status returns the response status code.
type PullSecretDeleteServerRequest ¶
type PullSecretDeleteServerRequest struct { }
PullSecretDeleteServerRequest is the request for the 'delete' method.
type PullSecretDeleteServerResponse ¶
type PullSecretDeleteServerResponse struct {
// contains filtered or unexported fields
}
PullSecretDeleteServerResponse is the response for the 'delete' method.
func (*PullSecretDeleteServerResponse) Status ¶
func (r *PullSecretDeleteServerResponse) Status(value int) *PullSecretDeleteServerResponse
Status sets the status code.
type PullSecretServer ¶
type PullSecretServer interface { // Delete handles a request for the 'delete' method. // // Deletes the pull secret. Delete(ctx context.Context, request *PullSecretDeleteServerRequest, response *PullSecretDeleteServerResponse) error }
PullSecretServer represents the interface the manages the 'pull_secret' resource.
type PullSecretsClient ¶
type PullSecretsClient struct {
// contains filtered or unexported fields
}
PullSecretsClient is the client of the 'pull_secrets' resource.
Manages pull secrets.
func NewPullSecretsClient ¶
func NewPullSecretsClient(transport http.RoundTripper, path string, metric string) *PullSecretsClient
NewPullSecretsClient creates a new client for the 'pull_secrets' resource using the given transport to send the requests and receive the responses.
func (*PullSecretsClient) Post ¶
func (c *PullSecretsClient) Post() *PullSecretsPostRequest
Post creates a request for the 'post' method.
Returns access token generated from registries in docker format.
func (*PullSecretsClient) PullSecret ¶
func (c *PullSecretsClient) PullSecret(id string) *PullSecretClient
PullSecret returns the target 'pull_secret' resource for the given identifier.
Reference to the service that manages a specific pull secret.
type PullSecretsPostRequest ¶
type PullSecretsPostRequest struct {
// contains filtered or unexported fields
}
PullSecretsPostRequest is the request for the 'post' method.
func (*PullSecretsPostRequest) Header ¶
func (r *PullSecretsPostRequest) Header(name string, value interface{}) *PullSecretsPostRequest
Header adds a request header.
func (*PullSecretsPostRequest) Parameter ¶
func (r *PullSecretsPostRequest) Parameter(name string, value interface{}) *PullSecretsPostRequest
Parameter adds a query parameter.
func (*PullSecretsPostRequest) Request ¶
func (r *PullSecretsPostRequest) Request(value *PullSecretsRequest) *PullSecretsPostRequest
Request sets the value of the 'request' parameter.
func (*PullSecretsPostRequest) Send ¶
func (r *PullSecretsPostRequest) Send() (result *PullSecretsPostResponse, 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 (*PullSecretsPostRequest) SendContext ¶
func (r *PullSecretsPostRequest) SendContext(ctx context.Context) (result *PullSecretsPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PullSecretsPostResponse ¶
type PullSecretsPostResponse struct {
// contains filtered or unexported fields
}
PullSecretsPostResponse is the response for the 'post' method.
func (*PullSecretsPostResponse) Body ¶
func (r *PullSecretsPostResponse) Body() *AccessToken
Body returns the value of the 'body' parameter.
func (*PullSecretsPostResponse) Error ¶
func (r *PullSecretsPostResponse) Error() *errors.Error
Error returns the response error.
func (*PullSecretsPostResponse) GetBody ¶
func (r *PullSecretsPostResponse) GetBody() (value *AccessToken, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*PullSecretsPostResponse) Header ¶
func (r *PullSecretsPostResponse) Header() http.Header
Header returns header of the response.
func (*PullSecretsPostResponse) Status ¶
func (r *PullSecretsPostResponse) Status() int
Status returns the response status code.
type PullSecretsPostServerRequest ¶
type PullSecretsPostServerRequest struct {
// contains filtered or unexported fields
}
PullSecretsPostServerRequest is the request for the 'post' method.
func (*PullSecretsPostServerRequest) GetRequest ¶
func (r *PullSecretsPostServerRequest) GetRequest() (value *PullSecretsRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*PullSecretsPostServerRequest) Request ¶
func (r *PullSecretsPostServerRequest) Request() *PullSecretsRequest
Request returns the value of the 'request' parameter.
type PullSecretsPostServerResponse ¶
type PullSecretsPostServerResponse struct {
// contains filtered or unexported fields
}
PullSecretsPostServerResponse is the response for the 'post' method.
func (*PullSecretsPostServerResponse) Body ¶
func (r *PullSecretsPostServerResponse) Body(value *AccessToken) *PullSecretsPostServerResponse
Body sets the value of the 'body' parameter.
func (*PullSecretsPostServerResponse) Status ¶
func (r *PullSecretsPostServerResponse) Status(value int) *PullSecretsPostServerResponse
Status sets the status code.
type PullSecretsRequest ¶
type PullSecretsRequest struct {
// contains filtered or unexported fields
}
PullSecretsRequest represents the values of the 'pull_secrets_request' type.
func UnmarshalPullSecretsRequest ¶
func UnmarshalPullSecretsRequest(source interface{}) (object *PullSecretsRequest, err error)
UnmarshalPullSecretsRequest reads a value of the 'pull_secrets_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalPullSecretsRequestList ¶
func UnmarshalPullSecretsRequestList(source interface{}) (items []*PullSecretsRequest, err error)
UnmarshalPullSecretsRequestList reads a list of values of the 'pull_secrets_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*PullSecretsRequest) Empty ¶
func (o *PullSecretsRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*PullSecretsRequest) ExternalResourceId ¶
func (o *PullSecretsRequest) ExternalResourceId() string
ExternalResourceId returns the value of the 'external_resource_id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*PullSecretsRequest) GetExternalResourceId ¶
func (o *PullSecretsRequest) GetExternalResourceId() (value string, ok bool)
GetExternalResourceId returns the value of the 'external_resource_id' attribute and a flag indicating if the attribute has a value.
type PullSecretsRequestBuilder ¶
type PullSecretsRequestBuilder struct {
// contains filtered or unexported fields
}
PullSecretsRequestBuilder contains the data and logic needed to build 'pull_secrets_request' objects.
func NewPullSecretsRequest ¶
func NewPullSecretsRequest() *PullSecretsRequestBuilder
NewPullSecretsRequest creates a new builder of 'pull_secrets_request' objects.
func (*PullSecretsRequestBuilder) Build ¶
func (b *PullSecretsRequestBuilder) Build() (object *PullSecretsRequest, err error)
Build creates a 'pull_secrets_request' object using the configuration stored in the builder.
func (*PullSecretsRequestBuilder) Copy ¶
func (b *PullSecretsRequestBuilder) Copy(object *PullSecretsRequest) *PullSecretsRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*PullSecretsRequestBuilder) ExternalResourceId ¶
func (b *PullSecretsRequestBuilder) ExternalResourceId(value string) *PullSecretsRequestBuilder
ExternalResourceId sets the value of the 'external_resource_id' attribute to the given value.
type PullSecretsRequestList ¶
type PullSecretsRequestList struct {
// contains filtered or unexported fields
}
PullSecretsRequestList is a list of values of the 'pull_secrets_request' type.
func (*PullSecretsRequestList) Each ¶
func (l *PullSecretsRequestList) Each(f func(item *PullSecretsRequest) 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 (*PullSecretsRequestList) Empty ¶
func (l *PullSecretsRequestList) Empty() bool
Empty returns true if the list is empty.
func (*PullSecretsRequestList) Get ¶
func (l *PullSecretsRequestList) Get(i int) *PullSecretsRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*PullSecretsRequestList) Len ¶
func (l *PullSecretsRequestList) Len() int
Len returns the length of the list.
func (*PullSecretsRequestList) Range ¶
func (l *PullSecretsRequestList) Range(f func(index int, item *PullSecretsRequest) 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 (*PullSecretsRequestList) Slice ¶
func (l *PullSecretsRequestList) Slice() []*PullSecretsRequest
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 PullSecretsRequestListBuilder ¶
type PullSecretsRequestListBuilder struct {
// contains filtered or unexported fields
}
PullSecretsRequestListBuilder contains the data and logic needed to build 'pull_secrets_request' objects.
func NewPullSecretsRequestList ¶
func NewPullSecretsRequestList() *PullSecretsRequestListBuilder
NewPullSecretsRequestList creates a new builder of 'pull_secrets_request' objects.
func (*PullSecretsRequestListBuilder) Build ¶
func (b *PullSecretsRequestListBuilder) Build() (list *PullSecretsRequestList, err error)
Build creates a list of 'pull_secrets_request' objects using the configuration stored in the builder.
func (*PullSecretsRequestListBuilder) Copy ¶
func (b *PullSecretsRequestListBuilder) Copy(list *PullSecretsRequestList) *PullSecretsRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*PullSecretsRequestListBuilder) Items ¶
func (b *PullSecretsRequestListBuilder) Items(values ...*PullSecretsRequestBuilder) *PullSecretsRequestListBuilder
Items sets the items of the list.
type PullSecretsServer ¶
type PullSecretsServer interface { // Post handles a request for the 'post' method. // // Returns access token generated from registries in docker format. Post(ctx context.Context, request *PullSecretsPostServerRequest, response *PullSecretsPostServerResponse) error // PullSecret returns the target 'pull_secret' server for the given identifier. // // Reference to the service that manages a specific pull secret. PullSecret(id string) PullSecretServer }
PullSecretsServer represents the interface the manages the 'pull_secrets' resource.
type QuotaSummary ¶
type QuotaSummary struct {
// contains filtered or unexported fields
}
QuotaSummary represents the values of the 'quota_summary' type.
func UnmarshalQuotaSummary ¶
func UnmarshalQuotaSummary(source interface{}) (object *QuotaSummary, err error)
UnmarshalQuotaSummary reads a value of the 'quota_summary' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalQuotaSummaryList ¶
func UnmarshalQuotaSummaryList(source interface{}) (items []*QuotaSummary, err error)
UnmarshalQuotaSummaryList reads a list of values of the 'quota_summary' type from the given source, which can be a slice of bytes, a string or a reader.
func (*QuotaSummary) Allowed ¶
func (o *QuotaSummary) Allowed() int
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaSummary) AvailabilityZoneType ¶
func (o *QuotaSummary) AvailabilityZoneType() string
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaSummary) BYOC ¶
func (o *QuotaSummary) BYOC() bool
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaSummary) Empty ¶
func (o *QuotaSummary) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*QuotaSummary) GetAllowed ¶
func (o *QuotaSummary) GetAllowed() (value int, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
func (*QuotaSummary) GetAvailabilityZoneType ¶
func (o *QuotaSummary) GetAvailabilityZoneType() (value string, ok bool)
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*QuotaSummary) GetBYOC ¶
func (o *QuotaSummary) GetBYOC() (value bool, ok bool)
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*QuotaSummary) GetOrganizationID ¶
func (o *QuotaSummary) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*QuotaSummary) GetReserved ¶
func (o *QuotaSummary) GetReserved() (value int, ok bool)
GetReserved returns the value of the 'reserved' attribute and a flag indicating if the attribute has a value.
func (*QuotaSummary) GetResourceName ¶
func (o *QuotaSummary) GetResourceName() (value string, ok bool)
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
func (*QuotaSummary) GetResourceType ¶
func (o *QuotaSummary) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*QuotaSummary) OrganizationID ¶
func (o *QuotaSummary) 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.
func (*QuotaSummary) Reserved ¶
func (o *QuotaSummary) Reserved() int
Reserved returns the value of the 'reserved' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaSummary) ResourceName ¶
func (o *QuotaSummary) ResourceName() string
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*QuotaSummary) ResourceType ¶
func (o *QuotaSummary) 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 QuotaSummaryBuilder ¶
type QuotaSummaryBuilder struct {
// contains filtered or unexported fields
}
QuotaSummaryBuilder contains the data and logic needed to build 'quota_summary' objects.
func NewQuotaSummary ¶
func NewQuotaSummary() *QuotaSummaryBuilder
NewQuotaSummary creates a new builder of 'quota_summary' objects.
func (*QuotaSummaryBuilder) Allowed ¶
func (b *QuotaSummaryBuilder) Allowed(value int) *QuotaSummaryBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*QuotaSummaryBuilder) AvailabilityZoneType ¶
func (b *QuotaSummaryBuilder) AvailabilityZoneType(value string) *QuotaSummaryBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*QuotaSummaryBuilder) BYOC ¶
func (b *QuotaSummaryBuilder) BYOC(value bool) *QuotaSummaryBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*QuotaSummaryBuilder) Build ¶
func (b *QuotaSummaryBuilder) Build() (object *QuotaSummary, err error)
Build creates a 'quota_summary' object using the configuration stored in the builder.
func (*QuotaSummaryBuilder) Copy ¶
func (b *QuotaSummaryBuilder) Copy(object *QuotaSummary) *QuotaSummaryBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*QuotaSummaryBuilder) OrganizationID ¶
func (b *QuotaSummaryBuilder) OrganizationID(value string) *QuotaSummaryBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*QuotaSummaryBuilder) Reserved ¶
func (b *QuotaSummaryBuilder) Reserved(value int) *QuotaSummaryBuilder
Reserved sets the value of the 'reserved' attribute to the given value.
func (*QuotaSummaryBuilder) ResourceName ¶
func (b *QuotaSummaryBuilder) ResourceName(value string) *QuotaSummaryBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*QuotaSummaryBuilder) ResourceType ¶
func (b *QuotaSummaryBuilder) ResourceType(value string) *QuotaSummaryBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
type QuotaSummaryClient ¶
type QuotaSummaryClient struct {
// contains filtered or unexported fields
}
QuotaSummaryClient is the client of the 'quota_summary' resource.
Manages the quota summary for an organization.
func NewQuotaSummaryClient ¶
func NewQuotaSummaryClient(transport http.RoundTripper, path string, metric string) *QuotaSummaryClient
NewQuotaSummaryClient creates a new client for the 'quota_summary' resource using the given transport to send the requests and receive the responses.
func (*QuotaSummaryClient) List ¶
func (c *QuotaSummaryClient) List() *QuotaSummaryListRequest
List creates a request for the 'list' method.
Retrieves the Quota summary.
type QuotaSummaryList ¶
type QuotaSummaryList struct {
// contains filtered or unexported fields
}
QuotaSummaryList is a list of values of the 'quota_summary' type.
func (*QuotaSummaryList) Each ¶
func (l *QuotaSummaryList) Each(f func(item *QuotaSummary) 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 (*QuotaSummaryList) Empty ¶
func (l *QuotaSummaryList) Empty() bool
Empty returns true if the list is empty.
func (*QuotaSummaryList) Get ¶
func (l *QuotaSummaryList) Get(i int) *QuotaSummary
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*QuotaSummaryList) Len ¶
func (l *QuotaSummaryList) Len() int
Len returns the length of the list.
func (*QuotaSummaryList) Range ¶
func (l *QuotaSummaryList) Range(f func(index int, item *QuotaSummary) 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 (*QuotaSummaryList) Slice ¶
func (l *QuotaSummaryList) Slice() []*QuotaSummary
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 QuotaSummaryListBuilder ¶
type QuotaSummaryListBuilder struct {
// contains filtered or unexported fields
}
QuotaSummaryListBuilder contains the data and logic needed to build 'quota_summary' objects.
func NewQuotaSummaryList ¶
func NewQuotaSummaryList() *QuotaSummaryListBuilder
NewQuotaSummaryList creates a new builder of 'quota_summary' objects.
func (*QuotaSummaryListBuilder) Build ¶
func (b *QuotaSummaryListBuilder) Build() (list *QuotaSummaryList, err error)
Build creates a list of 'quota_summary' objects using the configuration stored in the builder.
func (*QuotaSummaryListBuilder) Copy ¶
func (b *QuotaSummaryListBuilder) Copy(list *QuotaSummaryList) *QuotaSummaryListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*QuotaSummaryListBuilder) Items ¶
func (b *QuotaSummaryListBuilder) Items(values ...*QuotaSummaryBuilder) *QuotaSummaryListBuilder
Items sets the items of the list.
type QuotaSummaryListRequest ¶
type QuotaSummaryListRequest struct {
// contains filtered or unexported fields
}
QuotaSummaryListRequest is the request for the 'list' method.
func (*QuotaSummaryListRequest) Header ¶
func (r *QuotaSummaryListRequest) Header(name string, value interface{}) *QuotaSummaryListRequest
Header adds a request header.
func (*QuotaSummaryListRequest) Page ¶
func (r *QuotaSummaryListRequest) Page(value int) *QuotaSummaryListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*QuotaSummaryListRequest) Parameter ¶
func (r *QuotaSummaryListRequest) Parameter(name string, value interface{}) *QuotaSummaryListRequest
Parameter adds a query parameter.
func (*QuotaSummaryListRequest) Search ¶
func (r *QuotaSummaryListRequest) Search(value string) *QuotaSummaryListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the quota summary instead of the names of the columns of a table. For example, in order to retrieve the quota summary for clusters that run in multiple availability zones:
[source,sql] ---- availability_zone_type = 'multi' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*QuotaSummaryListRequest) Send ¶
func (r *QuotaSummaryListRequest) Send() (result *QuotaSummaryListResponse, 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 (*QuotaSummaryListRequest) SendContext ¶
func (r *QuotaSummaryListRequest) SendContext(ctx context.Context) (result *QuotaSummaryListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*QuotaSummaryListRequest) Size ¶
func (r *QuotaSummaryListRequest) Size(value int) *QuotaSummaryListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type QuotaSummaryListResponse ¶
type QuotaSummaryListResponse struct {
// contains filtered or unexported fields
}
QuotaSummaryListResponse is the response for the 'list' method.
func (*QuotaSummaryListResponse) Error ¶
func (r *QuotaSummaryListResponse) Error() *errors.Error
Error returns the response error.
func (*QuotaSummaryListResponse) GetItems ¶
func (r *QuotaSummaryListResponse) GetItems() (value *QuotaSummaryList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved quota summary items.
func (*QuotaSummaryListResponse) GetPage ¶
func (r *QuotaSummaryListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*QuotaSummaryListResponse) GetSize ¶
func (r *QuotaSummaryListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*QuotaSummaryListResponse) GetTotal ¶
func (r *QuotaSummaryListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*QuotaSummaryListResponse) Header ¶
func (r *QuotaSummaryListResponse) Header() http.Header
Header returns header of the response.
func (*QuotaSummaryListResponse) Items ¶
func (r *QuotaSummaryListResponse) Items() *QuotaSummaryList
Items returns the value of the 'items' parameter.
Retrieved quota summary items.
func (*QuotaSummaryListResponse) Page ¶
func (r *QuotaSummaryListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*QuotaSummaryListResponse) Size ¶
func (r *QuotaSummaryListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*QuotaSummaryListResponse) Status ¶
func (r *QuotaSummaryListResponse) Status() int
Status returns the response status code.
func (*QuotaSummaryListResponse) Total ¶
func (r *QuotaSummaryListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type QuotaSummaryListServerRequest ¶
type QuotaSummaryListServerRequest struct {
// contains filtered or unexported fields
}
QuotaSummaryListServerRequest is the request for the 'list' method.
func (*QuotaSummaryListServerRequest) GetPage ¶
func (r *QuotaSummaryListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*QuotaSummaryListServerRequest) GetSearch ¶
func (r *QuotaSummaryListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the quota summary instead of the names of the columns of a table. For example, in order to retrieve the quota summary for clusters that run in multiple availability zones:
[source,sql] ---- availability_zone_type = 'multi' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*QuotaSummaryListServerRequest) GetSize ¶
func (r *QuotaSummaryListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*QuotaSummaryListServerRequest) Page ¶
func (r *QuotaSummaryListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*QuotaSummaryListServerRequest) Search ¶
func (r *QuotaSummaryListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the quota summary instead of the names of the columns of a table. For example, in order to retrieve the quota summary for clusters that run in multiple availability zones:
[source,sql] ---- availability_zone_type = 'multi' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*QuotaSummaryListServerRequest) Size ¶
func (r *QuotaSummaryListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type QuotaSummaryListServerResponse ¶
type QuotaSummaryListServerResponse struct {
// contains filtered or unexported fields
}
QuotaSummaryListServerResponse is the response for the 'list' method.
func (*QuotaSummaryListServerResponse) Items ¶
func (r *QuotaSummaryListServerResponse) Items(value *QuotaSummaryList) *QuotaSummaryListServerResponse
Items sets the value of the 'items' parameter.
Retrieved quota summary items.
func (*QuotaSummaryListServerResponse) Page ¶
func (r *QuotaSummaryListServerResponse) Page(value int) *QuotaSummaryListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*QuotaSummaryListServerResponse) Size ¶
func (r *QuotaSummaryListServerResponse) Size(value int) *QuotaSummaryListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*QuotaSummaryListServerResponse) Status ¶
func (r *QuotaSummaryListServerResponse) Status(value int) *QuotaSummaryListServerResponse
Status sets the status code.
func (*QuotaSummaryListServerResponse) Total ¶
func (r *QuotaSummaryListServerResponse) Total(value int) *QuotaSummaryListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type QuotaSummaryServer ¶
type QuotaSummaryServer interface { // List handles a request for the 'list' method. // // Retrieves the Quota summary. List(ctx context.Context, request *QuotaSummaryListServerRequest, response *QuotaSummaryListServerResponse) error }
QuotaSummaryServer represents the interface the manages the 'quota_summary' resource.
type RegistriesClient ¶
type RegistriesClient struct {
// contains filtered or unexported fields
}
RegistriesClient is the client of the 'registries' resource.
Manages the collection of registries.
func NewRegistriesClient ¶
func NewRegistriesClient(transport http.RoundTripper, path string, metric string) *RegistriesClient
NewRegistriesClient creates a new client for the 'registries' resource using the given transport to send the requests and receive the responses.
func (*RegistriesClient) List ¶
func (c *RegistriesClient) List() *RegistriesListRequest
List creates a request for the 'list' method.
Retrieves a list of registries.
func (*RegistriesClient) Registry ¶
func (c *RegistriesClient) Registry(id string) *RegistryClient
Registry returns the target 'registry' resource for the given identifier.
Reference to the service that manages a specific registry.
type RegistriesListRequest ¶
type RegistriesListRequest struct {
// contains filtered or unexported fields
}
RegistriesListRequest is the request for the 'list' method.
func (*RegistriesListRequest) Header ¶
func (r *RegistriesListRequest) Header(name string, value interface{}) *RegistriesListRequest
Header adds a request header.
func (*RegistriesListRequest) Page ¶
func (r *RegistriesListRequest) Page(value int) *RegistriesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistriesListRequest) Parameter ¶
func (r *RegistriesListRequest) Parameter(name string, value interface{}) *RegistriesListRequest
Parameter adds a query parameter.
func (*RegistriesListRequest) Send ¶
func (r *RegistriesListRequest) Send() (result *RegistriesListResponse, 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 (*RegistriesListRequest) SendContext ¶
func (r *RegistriesListRequest) SendContext(ctx context.Context) (result *RegistriesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*RegistriesListRequest) Size ¶
func (r *RegistriesListRequest) Size(value int) *RegistriesListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RegistriesListResponse ¶
type RegistriesListResponse struct {
// contains filtered or unexported fields
}
RegistriesListResponse is the response for the 'list' method.
func (*RegistriesListResponse) Error ¶
func (r *RegistriesListResponse) Error() *errors.Error
Error returns the response error.
func (*RegistriesListResponse) GetItems ¶
func (r *RegistriesListResponse) GetItems() (value *RegistryList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of registries.
func (*RegistriesListResponse) GetPage ¶
func (r *RegistriesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RegistriesListResponse) GetSize ¶
func (r *RegistriesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RegistriesListResponse) GetTotal ¶
func (r *RegistriesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*RegistriesListResponse) Header ¶
func (r *RegistriesListResponse) Header() http.Header
Header returns header of the response.
func (*RegistriesListResponse) Items ¶
func (r *RegistriesListResponse) Items() *RegistryList
Items returns the value of the 'items' parameter.
Retrieved list of registries.
func (*RegistriesListResponse) Page ¶
func (r *RegistriesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistriesListResponse) Size ¶
func (r *RegistriesListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RegistriesListResponse) Status ¶
func (r *RegistriesListResponse) Status() int
Status returns the response status code.
func (*RegistriesListResponse) Total ¶
func (r *RegistriesListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RegistriesListServerRequest ¶
type RegistriesListServerRequest struct {
// contains filtered or unexported fields
}
RegistriesListServerRequest is the request for the 'list' method.
func (*RegistriesListServerRequest) GetPage ¶
func (r *RegistriesListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RegistriesListServerRequest) GetSize ¶
func (r *RegistriesListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RegistriesListServerRequest) Page ¶
func (r *RegistriesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistriesListServerRequest) Size ¶
func (r *RegistriesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RegistriesListServerResponse ¶
type RegistriesListServerResponse struct {
// contains filtered or unexported fields
}
RegistriesListServerResponse is the response for the 'list' method.
func (*RegistriesListServerResponse) Items ¶
func (r *RegistriesListServerResponse) Items(value *RegistryList) *RegistriesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of registries.
func (*RegistriesListServerResponse) Page ¶
func (r *RegistriesListServerResponse) Page(value int) *RegistriesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistriesListServerResponse) Size ¶
func (r *RegistriesListServerResponse) Size(value int) *RegistriesListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RegistriesListServerResponse) Status ¶
func (r *RegistriesListServerResponse) Status(value int) *RegistriesListServerResponse
Status sets the status code.
func (*RegistriesListServerResponse) Total ¶
func (r *RegistriesListServerResponse) Total(value int) *RegistriesListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RegistriesServer ¶
type RegistriesServer interface { // List handles a request for the 'list' method. // // Retrieves a list of registries. List(ctx context.Context, request *RegistriesListServerRequest, response *RegistriesListServerResponse) error // Registry returns the target 'registry' server for the given identifier. // // Reference to the service that manages a specific registry. Registry(id string) RegistryServer }
RegistriesServer represents the interface the manages the 'registries' resource.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry represents the values of the 'registry' type.
func UnmarshalRegistry ¶
UnmarshalRegistry reads a value of the 'registry' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRegistryList ¶
UnmarshalRegistryList reads a list of values of the 'registry' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Registry) CloudAlias ¶
CloudAlias returns the value of the 'cloud_alias' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) GetCloudAlias ¶
GetCloudAlias returns the value of the 'cloud_alias' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Registry) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Registry) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetOrgName ¶
GetOrgName returns the value of the 'org_name' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetTeamName ¶
GetTeamName returns the value of the 'team_name' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetType ¶
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetURL ¶
GetURL returns the value of the 'URL' attribute and a flag indicating if the attribute has a value.
func (*Registry) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Registry) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) OrgName ¶
OrgName returns the value of the 'org_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) TeamName ¶
TeamName returns the value of the 'team_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Registry) Type ¶
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
type RegistryBuilder ¶
type RegistryBuilder struct {
// contains filtered or unexported fields
}
RegistryBuilder contains the data and logic needed to build 'registry' objects.
func NewRegistry ¶
func NewRegistry() *RegistryBuilder
NewRegistry creates a new builder of 'registry' objects.
func (*RegistryBuilder) Build ¶
func (b *RegistryBuilder) Build() (object *Registry, err error)
Build creates a 'registry' object using the configuration stored in the builder.
func (*RegistryBuilder) CloudAlias ¶
func (b *RegistryBuilder) CloudAlias(value bool) *RegistryBuilder
CloudAlias sets the value of the 'cloud_alias' attribute to the given value.
func (*RegistryBuilder) Copy ¶
func (b *RegistryBuilder) Copy(object *Registry) *RegistryBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RegistryBuilder) CreatedAt ¶
func (b *RegistryBuilder) CreatedAt(value time.Time) *RegistryBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*RegistryBuilder) HREF ¶
func (b *RegistryBuilder) HREF(value string) *RegistryBuilder
HREF sets the link to the object.
func (*RegistryBuilder) ID ¶
func (b *RegistryBuilder) ID(value string) *RegistryBuilder
ID sets the identifier of the object.
func (*RegistryBuilder) Link ¶
func (b *RegistryBuilder) Link(value bool) *RegistryBuilder
Link sets the flag that indicates if this is a link.
func (*RegistryBuilder) Name ¶
func (b *RegistryBuilder) Name(value string) *RegistryBuilder
Name sets the value of the 'name' attribute to the given value.
func (*RegistryBuilder) OrgName ¶
func (b *RegistryBuilder) OrgName(value string) *RegistryBuilder
OrgName sets the value of the 'org_name' attribute to the given value.
func (*RegistryBuilder) TeamName ¶
func (b *RegistryBuilder) TeamName(value string) *RegistryBuilder
TeamName sets the value of the 'team_name' attribute to the given value.
func (*RegistryBuilder) Type ¶
func (b *RegistryBuilder) Type(value string) *RegistryBuilder
Type sets the value of the 'type' attribute to the given value.
func (*RegistryBuilder) URL ¶
func (b *RegistryBuilder) URL(value string) *RegistryBuilder
URL sets the value of the 'URL' attribute to the given value.
func (*RegistryBuilder) UpdatedAt ¶
func (b *RegistryBuilder) UpdatedAt(value time.Time) *RegistryBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type RegistryClient ¶
type RegistryClient struct {
// contains filtered or unexported fields
}
RegistryClient is the client of the 'registry' resource.
Manages a specific registry.
func NewRegistryClient ¶
func NewRegistryClient(transport http.RoundTripper, path string, metric string) *RegistryClient
NewRegistryClient creates a new client for the 'registry' resource using the given transport to send the requests and receive the responses.
func (*RegistryClient) Get ¶
func (c *RegistryClient) Get() *RegistryGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the registry.
func (*RegistryClient) Poll ¶
func (c *RegistryClient) Poll() *RegistryPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type RegistryCredential ¶
type RegistryCredential struct {
// contains filtered or unexported fields
}
RegistryCredential represents the values of the 'registry_credential' type.
func UnmarshalRegistryCredential ¶
func UnmarshalRegistryCredential(source interface{}) (object *RegistryCredential, err error)
UnmarshalRegistryCredential reads a value of the 'registry_credential' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRegistryCredentialList ¶
func UnmarshalRegistryCredentialList(source interface{}) (items []*RegistryCredential, err error)
UnmarshalRegistryCredentialList reads a list of values of the 'registry_credential' type from the given source, which can be a slice of bytes, a string or a reader.
func (*RegistryCredential) Account ¶
func (o *RegistryCredential) Account() *Account
Account returns the value of the 'account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) CreatedAt ¶
func (o *RegistryCredential) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) Empty ¶
func (o *RegistryCredential) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*RegistryCredential) ExternalResourceID ¶
func (o *RegistryCredential) ExternalResourceID() string
ExternalResourceID returns the value of the 'external_resource_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) GetAccount ¶
func (o *RegistryCredential) GetAccount() (value *Account, ok bool)
GetAccount returns the value of the 'account' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetCreatedAt ¶
func (o *RegistryCredential) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetExternalResourceID ¶
func (o *RegistryCredential) GetExternalResourceID() (value string, ok bool)
GetExternalResourceID returns the value of the 'external_resource_ID' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetHREF ¶
func (o *RegistryCredential) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*RegistryCredential) GetID ¶
func (o *RegistryCredential) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*RegistryCredential) GetRegistry ¶
func (o *RegistryCredential) GetRegistry() (value *Registry, ok bool)
GetRegistry returns the value of the 'registry' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetToken ¶
func (o *RegistryCredential) GetToken() (value string, ok bool)
GetToken returns the value of the 'token' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetUpdatedAt ¶
func (o *RegistryCredential) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) GetUsername ¶
func (o *RegistryCredential) GetUsername() (value string, ok bool)
GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.
func (*RegistryCredential) HREF ¶
func (o *RegistryCredential) HREF() string
HREF returns the link to the object.
func (*RegistryCredential) ID ¶
func (o *RegistryCredential) ID() string
ID returns the identifier of the object.
func (*RegistryCredential) Kind ¶
func (o *RegistryCredential) Kind() string
Kind returns the name of the type of the object.
func (*RegistryCredential) Link ¶
func (o *RegistryCredential) Link() bool
Link returns true iif this is a link.
func (*RegistryCredential) Registry ¶
func (o *RegistryCredential) Registry() *Registry
Registry returns the value of the 'registry' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) Token ¶
func (o *RegistryCredential) Token() string
Token returns the value of the 'token' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) UpdatedAt ¶
func (o *RegistryCredential) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RegistryCredential) Username ¶
func (o *RegistryCredential) Username() string
Username returns the value of the 'username' attribute, or the zero value of the type if the attribute doesn't have a value.
type RegistryCredentialBuilder ¶
type RegistryCredentialBuilder struct {
// contains filtered or unexported fields
}
RegistryCredentialBuilder contains the data and logic needed to build 'registry_credential' objects.
func NewRegistryCredential ¶
func NewRegistryCredential() *RegistryCredentialBuilder
NewRegistryCredential creates a new builder of 'registry_credential' objects.
func (*RegistryCredentialBuilder) Account ¶
func (b *RegistryCredentialBuilder) Account(value *AccountBuilder) *RegistryCredentialBuilder
Account sets the value of the 'account' attribute to the given value.
func (*RegistryCredentialBuilder) Build ¶
func (b *RegistryCredentialBuilder) Build() (object *RegistryCredential, err error)
Build creates a 'registry_credential' object using the configuration stored in the builder.
func (*RegistryCredentialBuilder) Copy ¶
func (b *RegistryCredentialBuilder) Copy(object *RegistryCredential) *RegistryCredentialBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RegistryCredentialBuilder) CreatedAt ¶
func (b *RegistryCredentialBuilder) CreatedAt(value time.Time) *RegistryCredentialBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*RegistryCredentialBuilder) ExternalResourceID ¶
func (b *RegistryCredentialBuilder) ExternalResourceID(value string) *RegistryCredentialBuilder
ExternalResourceID sets the value of the 'external_resource_ID' attribute to the given value.
func (*RegistryCredentialBuilder) HREF ¶
func (b *RegistryCredentialBuilder) HREF(value string) *RegistryCredentialBuilder
HREF sets the link to the object.
func (*RegistryCredentialBuilder) ID ¶
func (b *RegistryCredentialBuilder) ID(value string) *RegistryCredentialBuilder
ID sets the identifier of the object.
func (*RegistryCredentialBuilder) Link ¶
func (b *RegistryCredentialBuilder) Link(value bool) *RegistryCredentialBuilder
Link sets the flag that indicates if this is a link.
func (*RegistryCredentialBuilder) Registry ¶
func (b *RegistryCredentialBuilder) Registry(value *RegistryBuilder) *RegistryCredentialBuilder
Registry sets the value of the 'registry' attribute to the given value.
func (*RegistryCredentialBuilder) Token ¶
func (b *RegistryCredentialBuilder) Token(value string) *RegistryCredentialBuilder
Token sets the value of the 'token' attribute to the given value.
func (*RegistryCredentialBuilder) UpdatedAt ¶
func (b *RegistryCredentialBuilder) UpdatedAt(value time.Time) *RegistryCredentialBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*RegistryCredentialBuilder) Username ¶
func (b *RegistryCredentialBuilder) Username(value string) *RegistryCredentialBuilder
Username sets the value of the 'username' attribute to the given value.
type RegistryCredentialClient ¶
type RegistryCredentialClient struct {
// contains filtered or unexported fields
}
RegistryCredentialClient is the client of the 'registry_credential' resource.
Manages a specific registry credential.
func NewRegistryCredentialClient ¶
func NewRegistryCredentialClient(transport http.RoundTripper, path string, metric string) *RegistryCredentialClient
NewRegistryCredentialClient creates a new client for the 'registry_credential' resource using the given transport to send the requests and receive the responses.
func (*RegistryCredentialClient) Get ¶
func (c *RegistryCredentialClient) Get() *RegistryCredentialGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the registry credential.
func (*RegistryCredentialClient) Poll ¶
func (c *RegistryCredentialClient) Poll() *RegistryCredentialPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type RegistryCredentialGetRequest ¶
type RegistryCredentialGetRequest struct {
// contains filtered or unexported fields
}
RegistryCredentialGetRequest is the request for the 'get' method.
func (*RegistryCredentialGetRequest) Header ¶
func (r *RegistryCredentialGetRequest) Header(name string, value interface{}) *RegistryCredentialGetRequest
Header adds a request header.
func (*RegistryCredentialGetRequest) Parameter ¶
func (r *RegistryCredentialGetRequest) Parameter(name string, value interface{}) *RegistryCredentialGetRequest
Parameter adds a query parameter.
func (*RegistryCredentialGetRequest) Send ¶
func (r *RegistryCredentialGetRequest) Send() (result *RegistryCredentialGetResponse, 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 (*RegistryCredentialGetRequest) SendContext ¶
func (r *RegistryCredentialGetRequest) SendContext(ctx context.Context) (result *RegistryCredentialGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RegistryCredentialGetResponse ¶
type RegistryCredentialGetResponse struct {
// contains filtered or unexported fields
}
RegistryCredentialGetResponse is the response for the 'get' method.
func (*RegistryCredentialGetResponse) Body ¶
func (r *RegistryCredentialGetResponse) Body() *RegistryCredential
Body returns the value of the 'body' parameter.
func (*RegistryCredentialGetResponse) Error ¶
func (r *RegistryCredentialGetResponse) Error() *errors.Error
Error returns the response error.
func (*RegistryCredentialGetResponse) GetBody ¶
func (r *RegistryCredentialGetResponse) GetBody() (value *RegistryCredential, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RegistryCredentialGetResponse) Header ¶
func (r *RegistryCredentialGetResponse) Header() http.Header
Header returns header of the response.
func (*RegistryCredentialGetResponse) Status ¶
func (r *RegistryCredentialGetResponse) Status() int
Status returns the response status code.
type RegistryCredentialGetServerRequest ¶
type RegistryCredentialGetServerRequest struct { }
RegistryCredentialGetServerRequest is the request for the 'get' method.
type RegistryCredentialGetServerResponse ¶
type RegistryCredentialGetServerResponse struct {
// contains filtered or unexported fields
}
RegistryCredentialGetServerResponse is the response for the 'get' method.
func (*RegistryCredentialGetServerResponse) Body ¶
func (r *RegistryCredentialGetServerResponse) Body(value *RegistryCredential) *RegistryCredentialGetServerResponse
Body sets the value of the 'body' parameter.
func (*RegistryCredentialGetServerResponse) Status ¶
func (r *RegistryCredentialGetServerResponse) Status(value int) *RegistryCredentialGetServerResponse
Status sets the status code.
type RegistryCredentialList ¶
type RegistryCredentialList struct {
// contains filtered or unexported fields
}
RegistryCredentialList is a list of values of the 'registry_credential' type.
func (*RegistryCredentialList) Each ¶
func (l *RegistryCredentialList) Each(f func(item *RegistryCredential) 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 (*RegistryCredentialList) Empty ¶
func (l *RegistryCredentialList) Empty() bool
Empty returns true if the list is empty.
func (*RegistryCredentialList) Get ¶
func (l *RegistryCredentialList) Get(i int) *RegistryCredential
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RegistryCredentialList) GetHREF ¶
func (l *RegistryCredentialList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RegistryCredentialList) HREF ¶
func (l *RegistryCredentialList) HREF() string
HREF returns the link to the list.
func (*RegistryCredentialList) Kind ¶
func (l *RegistryCredentialList) Kind() string
Kind returns the name of the type of the object.
func (*RegistryCredentialList) Len ¶
func (l *RegistryCredentialList) Len() int
Len returns the length of the list.
func (*RegistryCredentialList) Link ¶
func (l *RegistryCredentialList) Link() bool
Link returns true iif this is a link.
func (*RegistryCredentialList) Range ¶
func (l *RegistryCredentialList) Range(f func(index int, item *RegistryCredential) 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 (*RegistryCredentialList) Slice ¶
func (l *RegistryCredentialList) Slice() []*RegistryCredential
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 RegistryCredentialListBuilder ¶
type RegistryCredentialListBuilder struct {
// contains filtered or unexported fields
}
RegistryCredentialListBuilder contains the data and logic needed to build 'registry_credential' objects.
func NewRegistryCredentialList ¶
func NewRegistryCredentialList() *RegistryCredentialListBuilder
NewRegistryCredentialList creates a new builder of 'registry_credential' objects.
func (*RegistryCredentialListBuilder) Build ¶
func (b *RegistryCredentialListBuilder) Build() (list *RegistryCredentialList, err error)
Build creates a list of 'registry_credential' objects using the configuration stored in the builder.
func (*RegistryCredentialListBuilder) Copy ¶
func (b *RegistryCredentialListBuilder) Copy(list *RegistryCredentialList) *RegistryCredentialListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RegistryCredentialListBuilder) Items ¶
func (b *RegistryCredentialListBuilder) Items(values ...*RegistryCredentialBuilder) *RegistryCredentialListBuilder
Items sets the items of the list.
type RegistryCredentialPollRequest ¶
type RegistryCredentialPollRequest struct {
// contains filtered or unexported fields
}
RegistryCredentialPollRequest is the request for the Poll method.
func (*RegistryCredentialPollRequest) Header ¶
func (r *RegistryCredentialPollRequest) Header(name string, value interface{}) *RegistryCredentialPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*RegistryCredentialPollRequest) Interval ¶
func (r *RegistryCredentialPollRequest) Interval(value time.Duration) *RegistryCredentialPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*RegistryCredentialPollRequest) Parameter ¶
func (r *RegistryCredentialPollRequest) Parameter(name string, value interface{}) *RegistryCredentialPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*RegistryCredentialPollRequest) Predicate ¶
func (r *RegistryCredentialPollRequest) Predicate(value func(*RegistryCredentialGetResponse) bool) *RegistryCredentialPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*RegistryCredentialPollRequest) StartContext ¶
func (r *RegistryCredentialPollRequest) StartContext(ctx context.Context) (response *RegistryCredentialPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*RegistryCredentialPollRequest) Status ¶
func (r *RegistryCredentialPollRequest) Status(value int) *RegistryCredentialPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type RegistryCredentialPollResponse ¶
type RegistryCredentialPollResponse struct {
// contains filtered or unexported fields
}
RegistryCredentialPollResponse is the response for the Poll method.
func (*RegistryCredentialPollResponse) Body ¶
func (r *RegistryCredentialPollResponse) Body() *RegistryCredential
Body returns the value of the 'body' parameter.
func (*RegistryCredentialPollResponse) Error ¶
func (r *RegistryCredentialPollResponse) Error() *errors.Error
Error returns the response error.
func (*RegistryCredentialPollResponse) GetBody ¶
func (r *RegistryCredentialPollResponse) GetBody() (value *RegistryCredential, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RegistryCredentialPollResponse) Header ¶
func (r *RegistryCredentialPollResponse) Header() http.Header
Header returns header of the response.
func (*RegistryCredentialPollResponse) Status ¶
func (r *RegistryCredentialPollResponse) Status() int
Status returns the response status code.
type RegistryCredentialServer ¶
type RegistryCredentialServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the registry credential. Get(ctx context.Context, request *RegistryCredentialGetServerRequest, response *RegistryCredentialGetServerResponse) error }
RegistryCredentialServer represents the interface the manages the 'registry_credential' resource.
type RegistryCredentialsAddRequest ¶
type RegistryCredentialsAddRequest struct {
// contains filtered or unexported fields
}
RegistryCredentialsAddRequest is the request for the 'add' method.
func (*RegistryCredentialsAddRequest) Body ¶
func (r *RegistryCredentialsAddRequest) Body(value *RegistryCredential) *RegistryCredentialsAddRequest
Body sets the value of the 'body' parameter.
Registry credential data.
func (*RegistryCredentialsAddRequest) Header ¶
func (r *RegistryCredentialsAddRequest) Header(name string, value interface{}) *RegistryCredentialsAddRequest
Header adds a request header.
func (*RegistryCredentialsAddRequest) Parameter ¶
func (r *RegistryCredentialsAddRequest) Parameter(name string, value interface{}) *RegistryCredentialsAddRequest
Parameter adds a query parameter.
func (*RegistryCredentialsAddRequest) Send ¶
func (r *RegistryCredentialsAddRequest) Send() (result *RegistryCredentialsAddResponse, 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 (*RegistryCredentialsAddRequest) SendContext ¶
func (r *RegistryCredentialsAddRequest) SendContext(ctx context.Context) (result *RegistryCredentialsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RegistryCredentialsAddResponse ¶
type RegistryCredentialsAddResponse struct {
// contains filtered or unexported fields
}
RegistryCredentialsAddResponse is the response for the 'add' method.
func (*RegistryCredentialsAddResponse) Body ¶
func (r *RegistryCredentialsAddResponse) Body() *RegistryCredential
Body returns the value of the 'body' parameter.
Registry credential data.
func (*RegistryCredentialsAddResponse) Error ¶
func (r *RegistryCredentialsAddResponse) Error() *errors.Error
Error returns the response error.
func (*RegistryCredentialsAddResponse) GetBody ¶
func (r *RegistryCredentialsAddResponse) GetBody() (value *RegistryCredential, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Registry credential data.
func (*RegistryCredentialsAddResponse) Header ¶
func (r *RegistryCredentialsAddResponse) Header() http.Header
Header returns header of the response.
func (*RegistryCredentialsAddResponse) Status ¶
func (r *RegistryCredentialsAddResponse) Status() int
Status returns the response status code.
type RegistryCredentialsAddServerRequest ¶
type RegistryCredentialsAddServerRequest struct {
// contains filtered or unexported fields
}
RegistryCredentialsAddServerRequest is the request for the 'add' method.
func (*RegistryCredentialsAddServerRequest) Body ¶
func (r *RegistryCredentialsAddServerRequest) Body() *RegistryCredential
Body returns the value of the 'body' parameter.
Registry credential data.
func (*RegistryCredentialsAddServerRequest) GetBody ¶
func (r *RegistryCredentialsAddServerRequest) GetBody() (value *RegistryCredential, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Registry credential data.
type RegistryCredentialsAddServerResponse ¶
type RegistryCredentialsAddServerResponse struct {
// contains filtered or unexported fields
}
RegistryCredentialsAddServerResponse is the response for the 'add' method.
func (*RegistryCredentialsAddServerResponse) Body ¶
func (r *RegistryCredentialsAddServerResponse) Body(value *RegistryCredential) *RegistryCredentialsAddServerResponse
Body sets the value of the 'body' parameter.
Registry credential data.
func (*RegistryCredentialsAddServerResponse) Status ¶
func (r *RegistryCredentialsAddServerResponse) Status(value int) *RegistryCredentialsAddServerResponse
Status sets the status code.
type RegistryCredentialsClient ¶
type RegistryCredentialsClient struct {
// contains filtered or unexported fields
}
RegistryCredentialsClient is the client of the 'registry_credentials' resource.
Manages the collection of registry credentials.
func NewRegistryCredentialsClient ¶
func NewRegistryCredentialsClient(transport http.RoundTripper, path string, metric string) *RegistryCredentialsClient
NewRegistryCredentialsClient creates a new client for the 'registry_credentials' resource using the given transport to send the requests and receive the responses.
func (*RegistryCredentialsClient) Add ¶
func (c *RegistryCredentialsClient) Add() *RegistryCredentialsAddRequest
Add creates a request for the 'add' method.
Creates a new registry credential.
func (*RegistryCredentialsClient) List ¶
func (c *RegistryCredentialsClient) List() *RegistryCredentialsListRequest
List creates a request for the 'list' method.
Retrieves the list of accounts.
func (*RegistryCredentialsClient) RegistryCredential ¶
func (c *RegistryCredentialsClient) RegistryCredential(id string) *RegistryCredentialClient
RegistryCredential returns the target 'registry_credential' resource for the given identifier.
Reference to the service that manages an specific registry credential.
type RegistryCredentialsListRequest ¶
type RegistryCredentialsListRequest struct {
// contains filtered or unexported fields
}
RegistryCredentialsListRequest is the request for the 'list' method.
func (*RegistryCredentialsListRequest) Header ¶
func (r *RegistryCredentialsListRequest) Header(name string, value interface{}) *RegistryCredentialsListRequest
Header adds a request header.
func (*RegistryCredentialsListRequest) Order ¶
func (r *RegistryCredentialsListRequest) Order(value string) *RegistryCredentialsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the RegistryCredentials descending by username the value should be:
[source,sql] ---- username desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*RegistryCredentialsListRequest) Page ¶
func (r *RegistryCredentialsListRequest) Page(value int) *RegistryCredentialsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistryCredentialsListRequest) Parameter ¶
func (r *RegistryCredentialsListRequest) Parameter(name string, value interface{}) *RegistryCredentialsListRequest
Parameter adds a query parameter.
func (*RegistryCredentialsListRequest) Search ¶
func (r *RegistryCredentialsListRequest) Search(value string) *RegistryCredentialsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the RegistryCredentials instead of the names of the columns of a table. For example, in order to retrieve all the RegistryCredentials for a user the value should be:
[source,sql] ---- username = 'abcxyz...' ----
If the parameter isn't provided, or if the value is empty, then all the RegistryCredentials that the user has permission to see will be returned.
func (*RegistryCredentialsListRequest) Send ¶
func (r *RegistryCredentialsListRequest) Send() (result *RegistryCredentialsListResponse, 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 (*RegistryCredentialsListRequest) SendContext ¶
func (r *RegistryCredentialsListRequest) SendContext(ctx context.Context) (result *RegistryCredentialsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*RegistryCredentialsListRequest) Size ¶
func (r *RegistryCredentialsListRequest) Size(value int) *RegistryCredentialsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RegistryCredentialsListResponse ¶
type RegistryCredentialsListResponse struct {
// contains filtered or unexported fields
}
RegistryCredentialsListResponse is the response for the 'list' method.
func (*RegistryCredentialsListResponse) Error ¶
func (r *RegistryCredentialsListResponse) Error() *errors.Error
Error returns the response error.
func (*RegistryCredentialsListResponse) GetItems ¶
func (r *RegistryCredentialsListResponse) GetItems() (value *RegistryCredentialList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of registry credentials.
func (*RegistryCredentialsListResponse) GetPage ¶
func (r *RegistryCredentialsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RegistryCredentialsListResponse) GetSize ¶
func (r *RegistryCredentialsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RegistryCredentialsListResponse) GetTotal ¶
func (r *RegistryCredentialsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*RegistryCredentialsListResponse) Header ¶
func (r *RegistryCredentialsListResponse) Header() http.Header
Header returns header of the response.
func (*RegistryCredentialsListResponse) Items ¶
func (r *RegistryCredentialsListResponse) Items() *RegistryCredentialList
Items returns the value of the 'items' parameter.
Retrieved list of registry credentials.
func (*RegistryCredentialsListResponse) Page ¶
func (r *RegistryCredentialsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistryCredentialsListResponse) Size ¶
func (r *RegistryCredentialsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RegistryCredentialsListResponse) Status ¶
func (r *RegistryCredentialsListResponse) Status() int
Status returns the response status code.
func (*RegistryCredentialsListResponse) Total ¶
func (r *RegistryCredentialsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RegistryCredentialsListServerRequest ¶
type RegistryCredentialsListServerRequest struct {
// contains filtered or unexported fields
}
RegistryCredentialsListServerRequest is the request for the 'list' method.
func (*RegistryCredentialsListServerRequest) GetOrder ¶
func (r *RegistryCredentialsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the RegistryCredentials descending by username the value should be:
[source,sql] ---- username desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*RegistryCredentialsListServerRequest) GetPage ¶
func (r *RegistryCredentialsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RegistryCredentialsListServerRequest) GetSearch ¶
func (r *RegistryCredentialsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the RegistryCredentials instead of the names of the columns of a table. For example, in order to retrieve all the RegistryCredentials for a user the value should be:
[source,sql] ---- username = 'abcxyz...' ----
If the parameter isn't provided, or if the value is empty, then all the RegistryCredentials that the user has permission to see will be returned.
func (*RegistryCredentialsListServerRequest) GetSize ¶
func (r *RegistryCredentialsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RegistryCredentialsListServerRequest) Order ¶
func (r *RegistryCredentialsListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the RegistryCredentials descending by username the value should be:
[source,sql] ---- username desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*RegistryCredentialsListServerRequest) Page ¶
func (r *RegistryCredentialsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistryCredentialsListServerRequest) Search ¶
func (r *RegistryCredentialsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the RegistryCredentials instead of the names of the columns of a table. For example, in order to retrieve all the RegistryCredentials for a user the value should be:
[source,sql] ---- username = 'abcxyz...' ----
If the parameter isn't provided, or if the value is empty, then all the RegistryCredentials that the user has permission to see will be returned.
func (*RegistryCredentialsListServerRequest) Size ¶
func (r *RegistryCredentialsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RegistryCredentialsListServerResponse ¶
type RegistryCredentialsListServerResponse struct {
// contains filtered or unexported fields
}
RegistryCredentialsListServerResponse is the response for the 'list' method.
func (*RegistryCredentialsListServerResponse) Items ¶
func (r *RegistryCredentialsListServerResponse) Items(value *RegistryCredentialList) *RegistryCredentialsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of registry credentials.
func (*RegistryCredentialsListServerResponse) Page ¶
func (r *RegistryCredentialsListServerResponse) Page(value int) *RegistryCredentialsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RegistryCredentialsListServerResponse) Size ¶
func (r *RegistryCredentialsListServerResponse) Size(value int) *RegistryCredentialsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RegistryCredentialsListServerResponse) Status ¶
func (r *RegistryCredentialsListServerResponse) Status(value int) *RegistryCredentialsListServerResponse
Status sets the status code.
func (*RegistryCredentialsListServerResponse) Total ¶
func (r *RegistryCredentialsListServerResponse) Total(value int) *RegistryCredentialsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RegistryCredentialsServer ¶
type RegistryCredentialsServer interface { // Add handles a request for the 'add' method. // // Creates a new registry credential. Add(ctx context.Context, request *RegistryCredentialsAddServerRequest, response *RegistryCredentialsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of accounts. List(ctx context.Context, request *RegistryCredentialsListServerRequest, response *RegistryCredentialsListServerResponse) error // RegistryCredential returns the target 'registry_credential' server for the given identifier. // // Reference to the service that manages an specific registry credential. RegistryCredential(id string) RegistryCredentialServer }
RegistryCredentialsServer represents the interface the manages the 'registry_credentials' resource.
type RegistryGetRequest ¶
type RegistryGetRequest struct {
// contains filtered or unexported fields
}
RegistryGetRequest is the request for the 'get' method.
func (*RegistryGetRequest) Header ¶
func (r *RegistryGetRequest) Header(name string, value interface{}) *RegistryGetRequest
Header adds a request header.
func (*RegistryGetRequest) Parameter ¶
func (r *RegistryGetRequest) Parameter(name string, value interface{}) *RegistryGetRequest
Parameter adds a query parameter.
func (*RegistryGetRequest) Send ¶
func (r *RegistryGetRequest) Send() (result *RegistryGetResponse, 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 (*RegistryGetRequest) SendContext ¶
func (r *RegistryGetRequest) SendContext(ctx context.Context) (result *RegistryGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RegistryGetResponse ¶
type RegistryGetResponse struct {
// contains filtered or unexported fields
}
RegistryGetResponse is the response for the 'get' method.
func (*RegistryGetResponse) Body ¶
func (r *RegistryGetResponse) Body() *Registry
Body returns the value of the 'body' parameter.
func (*RegistryGetResponse) Error ¶
func (r *RegistryGetResponse) Error() *errors.Error
Error returns the response error.
func (*RegistryGetResponse) GetBody ¶
func (r *RegistryGetResponse) GetBody() (value *Registry, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RegistryGetResponse) Header ¶
func (r *RegistryGetResponse) Header() http.Header
Header returns header of the response.
func (*RegistryGetResponse) Status ¶
func (r *RegistryGetResponse) Status() int
Status returns the response status code.
type RegistryGetServerRequest ¶
type RegistryGetServerRequest struct { }
RegistryGetServerRequest is the request for the 'get' method.
type RegistryGetServerResponse ¶
type RegistryGetServerResponse struct {
// contains filtered or unexported fields
}
RegistryGetServerResponse is the response for the 'get' method.
func (*RegistryGetServerResponse) Body ¶
func (r *RegistryGetServerResponse) Body(value *Registry) *RegistryGetServerResponse
Body sets the value of the 'body' parameter.
func (*RegistryGetServerResponse) Status ¶
func (r *RegistryGetServerResponse) Status(value int) *RegistryGetServerResponse
Status sets the status code.
type RegistryList ¶
type RegistryList struct {
// contains filtered or unexported fields
}
RegistryList is a list of values of the 'registry' type.
func (*RegistryList) Each ¶
func (l *RegistryList) Each(f func(item *Registry) 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 (*RegistryList) Empty ¶
func (l *RegistryList) Empty() bool
Empty returns true if the list is empty.
func (*RegistryList) Get ¶
func (l *RegistryList) Get(i int) *Registry
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RegistryList) GetHREF ¶
func (l *RegistryList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RegistryList) HREF ¶
func (l *RegistryList) HREF() string
HREF returns the link to the list.
func (*RegistryList) Kind ¶
func (l *RegistryList) Kind() string
Kind returns the name of the type of the object.
func (*RegistryList) Link ¶
func (l *RegistryList) Link() bool
Link returns true iif this is a link.
func (*RegistryList) Range ¶
func (l *RegistryList) Range(f func(index int, item *Registry) 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 (*RegistryList) Slice ¶
func (l *RegistryList) Slice() []*Registry
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 RegistryListBuilder ¶
type RegistryListBuilder struct {
// contains filtered or unexported fields
}
RegistryListBuilder contains the data and logic needed to build 'registry' objects.
func NewRegistryList ¶
func NewRegistryList() *RegistryListBuilder
NewRegistryList creates a new builder of 'registry' objects.
func (*RegistryListBuilder) Build ¶
func (b *RegistryListBuilder) Build() (list *RegistryList, err error)
Build creates a list of 'registry' objects using the configuration stored in the builder.
func (*RegistryListBuilder) Copy ¶
func (b *RegistryListBuilder) Copy(list *RegistryList) *RegistryListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RegistryListBuilder) Items ¶
func (b *RegistryListBuilder) Items(values ...*RegistryBuilder) *RegistryListBuilder
Items sets the items of the list.
type RegistryPollRequest ¶
type RegistryPollRequest struct {
// contains filtered or unexported fields
}
RegistryPollRequest is the request for the Poll method.
func (*RegistryPollRequest) Header ¶
func (r *RegistryPollRequest) Header(name string, value interface{}) *RegistryPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*RegistryPollRequest) Interval ¶
func (r *RegistryPollRequest) Interval(value time.Duration) *RegistryPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*RegistryPollRequest) Parameter ¶
func (r *RegistryPollRequest) Parameter(name string, value interface{}) *RegistryPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*RegistryPollRequest) Predicate ¶
func (r *RegistryPollRequest) Predicate(value func(*RegistryGetResponse) bool) *RegistryPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*RegistryPollRequest) StartContext ¶
func (r *RegistryPollRequest) StartContext(ctx context.Context) (response *RegistryPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*RegistryPollRequest) Status ¶
func (r *RegistryPollRequest) Status(value int) *RegistryPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type RegistryPollResponse ¶
type RegistryPollResponse struct {
// contains filtered or unexported fields
}
RegistryPollResponse is the response for the Poll method.
func (*RegistryPollResponse) Body ¶
func (r *RegistryPollResponse) Body() *Registry
Body returns the value of the 'body' parameter.
func (*RegistryPollResponse) Error ¶
func (r *RegistryPollResponse) Error() *errors.Error
Error returns the response error.
func (*RegistryPollResponse) GetBody ¶
func (r *RegistryPollResponse) GetBody() (value *Registry, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RegistryPollResponse) Header ¶
func (r *RegistryPollResponse) Header() http.Header
Header returns header of the response.
func (*RegistryPollResponse) Status ¶
func (r *RegistryPollResponse) Status() int
Status returns the response status code.
type RegistryServer ¶
type RegistryServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the registry. Get(ctx context.Context, request *RegistryGetServerRequest, response *RegistryGetServerResponse) error }
RegistryServer represents the interface the manages the 'registry' resource.
type ReservedResource ¶
type ReservedResource struct {
// contains filtered or unexported fields
}
ReservedResource represents the values of the 'reserved_resource' type.
func UnmarshalReservedResource ¶
func UnmarshalReservedResource(source interface{}) (object *ReservedResource, err error)
UnmarshalReservedResource reads a value of the 'reserved_resource' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalReservedResourceList ¶
func UnmarshalReservedResourceList(source interface{}) (items []*ReservedResource, err error)
UnmarshalReservedResourceList reads a list of values of the 'reserved_resource' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ReservedResource) AvailabilityZoneType ¶
func (o *ReservedResource) AvailabilityZoneType() string
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) BYOC ¶
func (o *ReservedResource) BYOC() bool
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) Count ¶
func (o *ReservedResource) Count() int
Count returns the value of the 'count' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) CreatedAt ¶
func (o *ReservedResource) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) Empty ¶
func (o *ReservedResource) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ReservedResource) GetAvailabilityZoneType ¶
func (o *ReservedResource) GetAvailabilityZoneType() (value string, ok bool)
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetBYOC ¶
func (o *ReservedResource) GetBYOC() (value bool, ok bool)
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetCount ¶
func (o *ReservedResource) GetCount() (value int, ok bool)
GetCount returns the value of the 'count' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetCreatedAt ¶
func (o *ReservedResource) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetResourceName ¶
func (o *ReservedResource) GetResourceName() (value string, ok bool)
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetResourceType ¶
func (o *ReservedResource) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) GetUpdatedAt ¶
func (o *ReservedResource) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*ReservedResource) ResourceName ¶
func (o *ReservedResource) ResourceName() string
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ReservedResource) ResourceType ¶
func (o *ReservedResource) 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.
func (*ReservedResource) UpdatedAt ¶
func (o *ReservedResource) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type ReservedResourceBuilder ¶
type ReservedResourceBuilder struct {
// contains filtered or unexported fields
}
ReservedResourceBuilder contains the data and logic needed to build 'reserved_resource' objects.
func NewReservedResource ¶
func NewReservedResource() *ReservedResourceBuilder
NewReservedResource creates a new builder of 'reserved_resource' objects.
func (*ReservedResourceBuilder) AvailabilityZoneType ¶
func (b *ReservedResourceBuilder) AvailabilityZoneType(value string) *ReservedResourceBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*ReservedResourceBuilder) BYOC ¶
func (b *ReservedResourceBuilder) BYOC(value bool) *ReservedResourceBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*ReservedResourceBuilder) Build ¶
func (b *ReservedResourceBuilder) Build() (object *ReservedResource, err error)
Build creates a 'reserved_resource' object using the configuration stored in the builder.
func (*ReservedResourceBuilder) Copy ¶
func (b *ReservedResourceBuilder) Copy(object *ReservedResource) *ReservedResourceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ReservedResourceBuilder) Count ¶
func (b *ReservedResourceBuilder) Count(value int) *ReservedResourceBuilder
Count sets the value of the 'count' attribute to the given value.
func (*ReservedResourceBuilder) CreatedAt ¶
func (b *ReservedResourceBuilder) CreatedAt(value time.Time) *ReservedResourceBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ReservedResourceBuilder) ResourceName ¶
func (b *ReservedResourceBuilder) ResourceName(value string) *ReservedResourceBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*ReservedResourceBuilder) ResourceType ¶
func (b *ReservedResourceBuilder) ResourceType(value string) *ReservedResourceBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*ReservedResourceBuilder) UpdatedAt ¶
func (b *ReservedResourceBuilder) UpdatedAt(value time.Time) *ReservedResourceBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ReservedResourceList ¶
type ReservedResourceList struct {
// contains filtered or unexported fields
}
ReservedResourceList is a list of values of the 'reserved_resource' type.
func (*ReservedResourceList) Each ¶
func (l *ReservedResourceList) Each(f func(item *ReservedResource) 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 (*ReservedResourceList) Empty ¶
func (l *ReservedResourceList) Empty() bool
Empty returns true if the list is empty.
func (*ReservedResourceList) Get ¶
func (l *ReservedResourceList) Get(i int) *ReservedResource
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ReservedResourceList) Len ¶
func (l *ReservedResourceList) Len() int
Len returns the length of the list.
func (*ReservedResourceList) Range ¶
func (l *ReservedResourceList) Range(f func(index int, item *ReservedResource) 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 (*ReservedResourceList) Slice ¶
func (l *ReservedResourceList) Slice() []*ReservedResource
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 ReservedResourceListBuilder ¶
type ReservedResourceListBuilder struct {
// contains filtered or unexported fields
}
ReservedResourceListBuilder contains the data and logic needed to build 'reserved_resource' objects.
func NewReservedResourceList ¶
func NewReservedResourceList() *ReservedResourceListBuilder
NewReservedResourceList creates a new builder of 'reserved_resource' objects.
func (*ReservedResourceListBuilder) Build ¶
func (b *ReservedResourceListBuilder) Build() (list *ReservedResourceList, err error)
Build creates a list of 'reserved_resource' objects using the configuration stored in the builder.
func (*ReservedResourceListBuilder) Copy ¶
func (b *ReservedResourceListBuilder) Copy(list *ReservedResourceList) *ReservedResourceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ReservedResourceListBuilder) Items ¶
func (b *ReservedResourceListBuilder) Items(values ...*ReservedResourceBuilder) *ReservedResourceListBuilder
Items sets the items of the list.
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource represents the values of the 'resource' type.
Identifies computing resources
func UnmarshalResource ¶
UnmarshalResource reads a value of the 'resource' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceList ¶
UnmarshalResourceList reads a list of values of the 'resource' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Resource) Allowed ¶
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of allowed nodes
func (*Resource) AvailabilityZoneType ¶
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Resource) BYOC ¶
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Resource) GetAllowed ¶
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Number of allowed nodes
func (*Resource) GetAvailabilityZoneType ¶
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*Resource) GetBYOC ¶
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*Resource) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Resource) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Resource) GetResourceName ¶
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
platform-specific name, such as "M5.2Xlarge" for a type of EC2 node
func (*Resource) GetResourceType ¶
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*Resource) GetSKU ¶
GetSKU returns the value of the 'SKU' attribute and a flag indicating if the attribute has a value.
func (*Resource) ResourceName ¶
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
platform-specific name, such as "M5.2Xlarge" for a type of EC2 node
func (*Resource) ResourceType ¶
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 ResourceBuilder ¶
type ResourceBuilder struct {
// contains filtered or unexported fields
}
ResourceBuilder contains the data and logic needed to build 'resource' objects.
Identifies computing resources
func NewResource ¶
func NewResource() *ResourceBuilder
NewResource creates a new builder of 'resource' objects.
func (*ResourceBuilder) Allowed ¶
func (b *ResourceBuilder) Allowed(value int) *ResourceBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*ResourceBuilder) AvailabilityZoneType ¶
func (b *ResourceBuilder) AvailabilityZoneType(value string) *ResourceBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*ResourceBuilder) BYOC ¶
func (b *ResourceBuilder) BYOC(value bool) *ResourceBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*ResourceBuilder) Build ¶
func (b *ResourceBuilder) Build() (object *Resource, err error)
Build creates a 'resource' object using the configuration stored in the builder.
func (*ResourceBuilder) Copy ¶
func (b *ResourceBuilder) Copy(object *Resource) *ResourceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceBuilder) HREF ¶
func (b *ResourceBuilder) HREF(value string) *ResourceBuilder
HREF sets the link to the object.
func (*ResourceBuilder) ID ¶
func (b *ResourceBuilder) ID(value string) *ResourceBuilder
ID sets the identifier of the object.
func (*ResourceBuilder) Link ¶
func (b *ResourceBuilder) Link(value bool) *ResourceBuilder
Link sets the flag that indicates if this is a link.
func (*ResourceBuilder) ResourceName ¶
func (b *ResourceBuilder) ResourceName(value string) *ResourceBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*ResourceBuilder) ResourceType ¶
func (b *ResourceBuilder) ResourceType(value string) *ResourceBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*ResourceBuilder) SKU ¶
func (b *ResourceBuilder) SKU(value string) *ResourceBuilder
SKU sets the value of the 'SKU' attribute to the given value.
type ResourceList ¶
type ResourceList struct {
// contains filtered or unexported fields
}
ResourceList is a list of values of the 'resource' type.
func (*ResourceList) Each ¶
func (l *ResourceList) Each(f func(item *Resource) 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 (*ResourceList) Empty ¶
func (l *ResourceList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceList) Get ¶
func (l *ResourceList) Get(i int) *Resource
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceList) GetHREF ¶
func (l *ResourceList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ResourceList) HREF ¶
func (l *ResourceList) HREF() string
HREF returns the link to the list.
func (*ResourceList) Kind ¶
func (l *ResourceList) Kind() string
Kind returns the name of the type of the object.
func (*ResourceList) Link ¶
func (l *ResourceList) Link() bool
Link returns true iif this is a link.
func (*ResourceList) Range ¶
func (l *ResourceList) Range(f func(index int, item *Resource) 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 (*ResourceList) Slice ¶
func (l *ResourceList) Slice() []*Resource
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 ResourceListBuilder ¶
type ResourceListBuilder struct {
// contains filtered or unexported fields
}
ResourceListBuilder contains the data and logic needed to build 'resource' objects.
func NewResourceList ¶
func NewResourceList() *ResourceListBuilder
NewResourceList creates a new builder of 'resource' objects.
func (*ResourceListBuilder) Build ¶
func (b *ResourceListBuilder) Build() (list *ResourceList, err error)
Build creates a list of 'resource' objects using the configuration stored in the builder.
func (*ResourceListBuilder) Copy ¶
func (b *ResourceListBuilder) Copy(list *ResourceList) *ResourceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceListBuilder) Items ¶
func (b *ResourceListBuilder) Items(values ...*ResourceBuilder) *ResourceListBuilder
Items sets the items of the list.
type ResourceQuota ¶
type ResourceQuota struct {
// contains filtered or unexported fields
}
ResourceQuota represents the values of the 'resource_quota' type.
func UnmarshalResourceQuota ¶
func UnmarshalResourceQuota(source interface{}) (object *ResourceQuota, err error)
UnmarshalResourceQuota reads a value of the 'resource_quota' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalResourceQuotaList ¶
func UnmarshalResourceQuotaList(source interface{}) (items []*ResourceQuota, err error)
UnmarshalResourceQuotaList reads a list of values of the 'resource_quota' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ResourceQuota) Allowed ¶
func (o *ResourceQuota) Allowed() int
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) AvailabilityZoneType ¶
func (o *ResourceQuota) AvailabilityZoneType() string
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) BYOC ¶
func (o *ResourceQuota) BYOC() bool
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) CreatedAt ¶
func (o *ResourceQuota) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) Empty ¶
func (o *ResourceQuota) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ResourceQuota) GetAllowed ¶
func (o *ResourceQuota) GetAllowed() (value int, ok bool)
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetAvailabilityZoneType ¶
func (o *ResourceQuota) GetAvailabilityZoneType() (value string, ok bool)
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetBYOC ¶
func (o *ResourceQuota) GetBYOC() (value bool, ok bool)
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetCreatedAt ¶
func (o *ResourceQuota) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetHREF ¶
func (o *ResourceQuota) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ResourceQuota) GetID ¶
func (o *ResourceQuota) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ResourceQuota) GetOrganizationID ¶
func (o *ResourceQuota) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetResourceName ¶
func (o *ResourceQuota) GetResourceName() (value string, ok bool)
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetResourceType ¶
func (o *ResourceQuota) GetResourceType() (value string, ok bool)
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetSKU ¶
func (o *ResourceQuota) GetSKU() (value string, ok bool)
GetSKU returns the value of the 'SKU' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetSkuCount ¶
func (o *ResourceQuota) GetSkuCount() (value int, ok bool)
GetSkuCount returns the value of the 'sku_count' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetType ¶
func (o *ResourceQuota) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) GetUpdatedAt ¶
func (o *ResourceQuota) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*ResourceQuota) HREF ¶
func (o *ResourceQuota) HREF() string
HREF returns the link to the object.
func (*ResourceQuota) ID ¶
func (o *ResourceQuota) ID() string
ID returns the identifier of the object.
func (*ResourceQuota) Kind ¶
func (o *ResourceQuota) Kind() string
Kind returns the name of the type of the object.
func (*ResourceQuota) Link ¶
func (o *ResourceQuota) Link() bool
Link returns true iif this is a link.
func (*ResourceQuota) OrganizationID ¶
func (o *ResourceQuota) 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.
func (*ResourceQuota) ResourceName ¶
func (o *ResourceQuota) ResourceName() string
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) ResourceType ¶
func (o *ResourceQuota) 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.
func (*ResourceQuota) SKU ¶
func (o *ResourceQuota) SKU() string
SKU returns the value of the 'SKU' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) SkuCount ¶
func (o *ResourceQuota) SkuCount() int
SkuCount returns the value of the 'sku_count' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) Type ¶
func (o *ResourceQuota) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ResourceQuota) UpdatedAt ¶
func (o *ResourceQuota) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type ResourceQuotaBuilder ¶
type ResourceQuotaBuilder struct {
// contains filtered or unexported fields
}
ResourceQuotaBuilder contains the data and logic needed to build 'resource_quota' objects.
func NewResourceQuota ¶
func NewResourceQuota() *ResourceQuotaBuilder
NewResourceQuota creates a new builder of 'resource_quota' objects.
func (*ResourceQuotaBuilder) Allowed ¶
func (b *ResourceQuotaBuilder) Allowed(value int) *ResourceQuotaBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*ResourceQuotaBuilder) AvailabilityZoneType ¶
func (b *ResourceQuotaBuilder) AvailabilityZoneType(value string) *ResourceQuotaBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*ResourceQuotaBuilder) BYOC ¶
func (b *ResourceQuotaBuilder) BYOC(value bool) *ResourceQuotaBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*ResourceQuotaBuilder) Build ¶
func (b *ResourceQuotaBuilder) Build() (object *ResourceQuota, err error)
Build creates a 'resource_quota' object using the configuration stored in the builder.
func (*ResourceQuotaBuilder) Copy ¶
func (b *ResourceQuotaBuilder) Copy(object *ResourceQuota) *ResourceQuotaBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ResourceQuotaBuilder) CreatedAt ¶
func (b *ResourceQuotaBuilder) CreatedAt(value time.Time) *ResourceQuotaBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ResourceQuotaBuilder) HREF ¶
func (b *ResourceQuotaBuilder) HREF(value string) *ResourceQuotaBuilder
HREF sets the link to the object.
func (*ResourceQuotaBuilder) ID ¶
func (b *ResourceQuotaBuilder) ID(value string) *ResourceQuotaBuilder
ID sets the identifier of the object.
func (*ResourceQuotaBuilder) Link ¶
func (b *ResourceQuotaBuilder) Link(value bool) *ResourceQuotaBuilder
Link sets the flag that indicates if this is a link.
func (*ResourceQuotaBuilder) OrganizationID ¶
func (b *ResourceQuotaBuilder) OrganizationID(value string) *ResourceQuotaBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*ResourceQuotaBuilder) ResourceName ¶
func (b *ResourceQuotaBuilder) ResourceName(value string) *ResourceQuotaBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*ResourceQuotaBuilder) ResourceType ¶
func (b *ResourceQuotaBuilder) ResourceType(value string) *ResourceQuotaBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*ResourceQuotaBuilder) SKU ¶
func (b *ResourceQuotaBuilder) SKU(value string) *ResourceQuotaBuilder
SKU sets the value of the 'SKU' attribute to the given value.
func (*ResourceQuotaBuilder) SkuCount ¶
func (b *ResourceQuotaBuilder) SkuCount(value int) *ResourceQuotaBuilder
SkuCount sets the value of the 'sku_count' attribute to the given value.
func (*ResourceQuotaBuilder) Type ¶
func (b *ResourceQuotaBuilder) Type(value string) *ResourceQuotaBuilder
Type sets the value of the 'type' attribute to the given value.
func (*ResourceQuotaBuilder) UpdatedAt ¶
func (b *ResourceQuotaBuilder) UpdatedAt(value time.Time) *ResourceQuotaBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ResourceQuotaClient ¶
type ResourceQuotaClient struct {
// contains filtered or unexported fields
}
ResourceQuotaClient is the client of the 'resource_quota' resource.
Manages a specific resource quota.
func NewResourceQuotaClient ¶
func NewResourceQuotaClient(transport http.RoundTripper, path string, metric string) *ResourceQuotaClient
NewResourceQuotaClient creates a new client for the 'resource_quota' resource using the given transport to send the requests and receive the responses.
func (*ResourceQuotaClient) Delete ¶
func (c *ResourceQuotaClient) Delete() *ResourceQuotaDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the resource quota.
func (*ResourceQuotaClient) Get ¶
func (c *ResourceQuotaClient) Get() *ResourceQuotaGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the resource quota.
func (*ResourceQuotaClient) Poll ¶
func (c *ResourceQuotaClient) Poll() *ResourceQuotaPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ResourceQuotaClient) Update ¶
func (c *ResourceQuotaClient) Update() *ResourceQuotaUpdateRequest
Update creates a request for the 'update' method.
Updates the resource quota.
type ResourceQuotaDeleteRequest ¶
type ResourceQuotaDeleteRequest struct {
// contains filtered or unexported fields
}
ResourceQuotaDeleteRequest is the request for the 'delete' method.
func (*ResourceQuotaDeleteRequest) Header ¶
func (r *ResourceQuotaDeleteRequest) Header(name string, value interface{}) *ResourceQuotaDeleteRequest
Header adds a request header.
func (*ResourceQuotaDeleteRequest) Parameter ¶
func (r *ResourceQuotaDeleteRequest) Parameter(name string, value interface{}) *ResourceQuotaDeleteRequest
Parameter adds a query parameter.
func (*ResourceQuotaDeleteRequest) Send ¶
func (r *ResourceQuotaDeleteRequest) Send() (result *ResourceQuotaDeleteResponse, 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 (*ResourceQuotaDeleteRequest) SendContext ¶
func (r *ResourceQuotaDeleteRequest) SendContext(ctx context.Context) (result *ResourceQuotaDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ResourceQuotaDeleteResponse ¶
type ResourceQuotaDeleteResponse struct {
// contains filtered or unexported fields
}
ResourceQuotaDeleteResponse is the response for the 'delete' method.
func (*ResourceQuotaDeleteResponse) Error ¶
func (r *ResourceQuotaDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceQuotaDeleteResponse) Header ¶
func (r *ResourceQuotaDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ResourceQuotaDeleteResponse) Status ¶
func (r *ResourceQuotaDeleteResponse) Status() int
Status returns the response status code.
type ResourceQuotaDeleteServerRequest ¶
type ResourceQuotaDeleteServerRequest struct { }
ResourceQuotaDeleteServerRequest is the request for the 'delete' method.
type ResourceQuotaDeleteServerResponse ¶
type ResourceQuotaDeleteServerResponse struct {
// contains filtered or unexported fields
}
ResourceQuotaDeleteServerResponse is the response for the 'delete' method.
func (*ResourceQuotaDeleteServerResponse) Status ¶
func (r *ResourceQuotaDeleteServerResponse) Status(value int) *ResourceQuotaDeleteServerResponse
Status sets the status code.
type ResourceQuotaGetRequest ¶
type ResourceQuotaGetRequest struct {
// contains filtered or unexported fields
}
ResourceQuotaGetRequest is the request for the 'get' method.
func (*ResourceQuotaGetRequest) Header ¶
func (r *ResourceQuotaGetRequest) Header(name string, value interface{}) *ResourceQuotaGetRequest
Header adds a request header.
func (*ResourceQuotaGetRequest) Parameter ¶
func (r *ResourceQuotaGetRequest) Parameter(name string, value interface{}) *ResourceQuotaGetRequest
Parameter adds a query parameter.
func (*ResourceQuotaGetRequest) Send ¶
func (r *ResourceQuotaGetRequest) Send() (result *ResourceQuotaGetResponse, 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 (*ResourceQuotaGetRequest) SendContext ¶
func (r *ResourceQuotaGetRequest) SendContext(ctx context.Context) (result *ResourceQuotaGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ResourceQuotaGetResponse ¶
type ResourceQuotaGetResponse struct {
// contains filtered or unexported fields
}
ResourceQuotaGetResponse is the response for the 'get' method.
func (*ResourceQuotaGetResponse) Body ¶
func (r *ResourceQuotaGetResponse) Body() *ResourceQuota
Body returns the value of the 'body' parameter.
func (*ResourceQuotaGetResponse) Error ¶
func (r *ResourceQuotaGetResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceQuotaGetResponse) GetBody ¶
func (r *ResourceQuotaGetResponse) GetBody() (value *ResourceQuota, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ResourceQuotaGetResponse) Header ¶
func (r *ResourceQuotaGetResponse) Header() http.Header
Header returns header of the response.
func (*ResourceQuotaGetResponse) Status ¶
func (r *ResourceQuotaGetResponse) Status() int
Status returns the response status code.
type ResourceQuotaGetServerRequest ¶
type ResourceQuotaGetServerRequest struct { }
ResourceQuotaGetServerRequest is the request for the 'get' method.
type ResourceQuotaGetServerResponse ¶
type ResourceQuotaGetServerResponse struct {
// contains filtered or unexported fields
}
ResourceQuotaGetServerResponse is the response for the 'get' method.
func (*ResourceQuotaGetServerResponse) Body ¶
func (r *ResourceQuotaGetServerResponse) Body(value *ResourceQuota) *ResourceQuotaGetServerResponse
Body sets the value of the 'body' parameter.
func (*ResourceQuotaGetServerResponse) Status ¶
func (r *ResourceQuotaGetServerResponse) Status(value int) *ResourceQuotaGetServerResponse
Status sets the status code.
type ResourceQuotaList ¶
type ResourceQuotaList struct {
// contains filtered or unexported fields
}
ResourceQuotaList is a list of values of the 'resource_quota' type.
func (*ResourceQuotaList) Each ¶
func (l *ResourceQuotaList) Each(f func(item *ResourceQuota) 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 (*ResourceQuotaList) Empty ¶
func (l *ResourceQuotaList) Empty() bool
Empty returns true if the list is empty.
func (*ResourceQuotaList) Get ¶
func (l *ResourceQuotaList) Get(i int) *ResourceQuota
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ResourceQuotaList) GetHREF ¶
func (l *ResourceQuotaList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ResourceQuotaList) HREF ¶
func (l *ResourceQuotaList) HREF() string
HREF returns the link to the list.
func (*ResourceQuotaList) Kind ¶
func (l *ResourceQuotaList) Kind() string
Kind returns the name of the type of the object.
func (*ResourceQuotaList) Len ¶
func (l *ResourceQuotaList) Len() int
Len returns the length of the list.
func (*ResourceQuotaList) Link ¶
func (l *ResourceQuotaList) Link() bool
Link returns true iif this is a link.
func (*ResourceQuotaList) Range ¶
func (l *ResourceQuotaList) Range(f func(index int, item *ResourceQuota) 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 (*ResourceQuotaList) Slice ¶
func (l *ResourceQuotaList) Slice() []*ResourceQuota
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 ResourceQuotaListBuilder ¶
type ResourceQuotaListBuilder struct {
// contains filtered or unexported fields
}
ResourceQuotaListBuilder contains the data and logic needed to build 'resource_quota' objects.
func NewResourceQuotaList ¶
func NewResourceQuotaList() *ResourceQuotaListBuilder
NewResourceQuotaList creates a new builder of 'resource_quota' objects.
func (*ResourceQuotaListBuilder) Build ¶
func (b *ResourceQuotaListBuilder) Build() (list *ResourceQuotaList, err error)
Build creates a list of 'resource_quota' objects using the configuration stored in the builder.
func (*ResourceQuotaListBuilder) Copy ¶
func (b *ResourceQuotaListBuilder) Copy(list *ResourceQuotaList) *ResourceQuotaListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ResourceQuotaListBuilder) Items ¶
func (b *ResourceQuotaListBuilder) Items(values ...*ResourceQuotaBuilder) *ResourceQuotaListBuilder
Items sets the items of the list.
type ResourceQuotaPollRequest ¶
type ResourceQuotaPollRequest struct {
// contains filtered or unexported fields
}
ResourceQuotaPollRequest is the request for the Poll method.
func (*ResourceQuotaPollRequest) Header ¶
func (r *ResourceQuotaPollRequest) Header(name string, value interface{}) *ResourceQuotaPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ResourceQuotaPollRequest) Interval ¶
func (r *ResourceQuotaPollRequest) Interval(value time.Duration) *ResourceQuotaPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ResourceQuotaPollRequest) Parameter ¶
func (r *ResourceQuotaPollRequest) Parameter(name string, value interface{}) *ResourceQuotaPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ResourceQuotaPollRequest) Predicate ¶
func (r *ResourceQuotaPollRequest) Predicate(value func(*ResourceQuotaGetResponse) bool) *ResourceQuotaPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ResourceQuotaPollRequest) StartContext ¶
func (r *ResourceQuotaPollRequest) StartContext(ctx context.Context) (response *ResourceQuotaPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ResourceQuotaPollRequest) Status ¶
func (r *ResourceQuotaPollRequest) Status(value int) *ResourceQuotaPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ResourceQuotaPollResponse ¶
type ResourceQuotaPollResponse struct {
// contains filtered or unexported fields
}
ResourceQuotaPollResponse is the response for the Poll method.
func (*ResourceQuotaPollResponse) Body ¶
func (r *ResourceQuotaPollResponse) Body() *ResourceQuota
Body returns the value of the 'body' parameter.
func (*ResourceQuotaPollResponse) Error ¶
func (r *ResourceQuotaPollResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceQuotaPollResponse) GetBody ¶
func (r *ResourceQuotaPollResponse) GetBody() (value *ResourceQuota, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ResourceQuotaPollResponse) Header ¶
func (r *ResourceQuotaPollResponse) Header() http.Header
Header returns header of the response.
func (*ResourceQuotaPollResponse) Status ¶
func (r *ResourceQuotaPollResponse) Status() int
Status returns the response status code.
type ResourceQuotaServer ¶
type ResourceQuotaServer interface { // Delete handles a request for the 'delete' method. // // Deletes the resource quota. Delete(ctx context.Context, request *ResourceQuotaDeleteServerRequest, response *ResourceQuotaDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the resource quota. Get(ctx context.Context, request *ResourceQuotaGetServerRequest, response *ResourceQuotaGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the resource quota. Update(ctx context.Context, request *ResourceQuotaUpdateServerRequest, response *ResourceQuotaUpdateServerResponse) error }
ResourceQuotaServer represents the interface the manages the 'resource_quota' resource.
type ResourceQuotaUpdateRequest ¶
type ResourceQuotaUpdateRequest struct {
// contains filtered or unexported fields
}
ResourceQuotaUpdateRequest is the request for the 'update' method.
func (*ResourceQuotaUpdateRequest) Body ¶
func (r *ResourceQuotaUpdateRequest) Body(value *ResourceQuota) *ResourceQuotaUpdateRequest
Body sets the value of the 'body' parameter.
func (*ResourceQuotaUpdateRequest) Header ¶
func (r *ResourceQuotaUpdateRequest) Header(name string, value interface{}) *ResourceQuotaUpdateRequest
Header adds a request header.
func (*ResourceQuotaUpdateRequest) Parameter ¶
func (r *ResourceQuotaUpdateRequest) Parameter(name string, value interface{}) *ResourceQuotaUpdateRequest
Parameter adds a query parameter.
func (*ResourceQuotaUpdateRequest) Send ¶
func (r *ResourceQuotaUpdateRequest) Send() (result *ResourceQuotaUpdateResponse, 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 (*ResourceQuotaUpdateRequest) SendContext ¶
func (r *ResourceQuotaUpdateRequest) SendContext(ctx context.Context) (result *ResourceQuotaUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ResourceQuotaUpdateResponse ¶
type ResourceQuotaUpdateResponse struct {
// contains filtered or unexported fields
}
ResourceQuotaUpdateResponse is the response for the 'update' method.
func (*ResourceQuotaUpdateResponse) Body ¶
func (r *ResourceQuotaUpdateResponse) Body() *ResourceQuota
Body returns the value of the 'body' parameter.
func (*ResourceQuotaUpdateResponse) Error ¶
func (r *ResourceQuotaUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceQuotaUpdateResponse) GetBody ¶
func (r *ResourceQuotaUpdateResponse) GetBody() (value *ResourceQuota, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ResourceQuotaUpdateResponse) Header ¶
func (r *ResourceQuotaUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ResourceQuotaUpdateResponse) Status ¶
func (r *ResourceQuotaUpdateResponse) Status() int
Status returns the response status code.
type ResourceQuotaUpdateServerRequest ¶
type ResourceQuotaUpdateServerRequest struct {
// contains filtered or unexported fields
}
ResourceQuotaUpdateServerRequest is the request for the 'update' method.
func (*ResourceQuotaUpdateServerRequest) Body ¶
func (r *ResourceQuotaUpdateServerRequest) Body() *ResourceQuota
Body returns the value of the 'body' parameter.
func (*ResourceQuotaUpdateServerRequest) GetBody ¶
func (r *ResourceQuotaUpdateServerRequest) GetBody() (value *ResourceQuota, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type ResourceQuotaUpdateServerResponse ¶
type ResourceQuotaUpdateServerResponse struct {
// contains filtered or unexported fields
}
ResourceQuotaUpdateServerResponse is the response for the 'update' method.
func (*ResourceQuotaUpdateServerResponse) Body ¶
func (r *ResourceQuotaUpdateServerResponse) Body(value *ResourceQuota) *ResourceQuotaUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*ResourceQuotaUpdateServerResponse) Status ¶
func (r *ResourceQuotaUpdateServerResponse) Status(value int) *ResourceQuotaUpdateServerResponse
Status sets the status code.
type ResourceQuotasAddRequest ¶
type ResourceQuotasAddRequest struct {
// contains filtered or unexported fields
}
ResourceQuotasAddRequest is the request for the 'add' method.
func (*ResourceQuotasAddRequest) Body ¶
func (r *ResourceQuotasAddRequest) Body(value *ResourceQuota) *ResourceQuotasAddRequest
Body sets the value of the 'body' parameter.
Resource quota data.
func (*ResourceQuotasAddRequest) Header ¶
func (r *ResourceQuotasAddRequest) Header(name string, value interface{}) *ResourceQuotasAddRequest
Header adds a request header.
func (*ResourceQuotasAddRequest) Parameter ¶
func (r *ResourceQuotasAddRequest) Parameter(name string, value interface{}) *ResourceQuotasAddRequest
Parameter adds a query parameter.
func (*ResourceQuotasAddRequest) Send ¶
func (r *ResourceQuotasAddRequest) Send() (result *ResourceQuotasAddResponse, 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 (*ResourceQuotasAddRequest) SendContext ¶
func (r *ResourceQuotasAddRequest) SendContext(ctx context.Context) (result *ResourceQuotasAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ResourceQuotasAddResponse ¶
type ResourceQuotasAddResponse struct {
// contains filtered or unexported fields
}
ResourceQuotasAddResponse is the response for the 'add' method.
func (*ResourceQuotasAddResponse) Body ¶
func (r *ResourceQuotasAddResponse) Body() *ResourceQuota
Body returns the value of the 'body' parameter.
Resource quota data.
func (*ResourceQuotasAddResponse) Error ¶
func (r *ResourceQuotasAddResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceQuotasAddResponse) GetBody ¶
func (r *ResourceQuotasAddResponse) GetBody() (value *ResourceQuota, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Resource quota data.
func (*ResourceQuotasAddResponse) Header ¶
func (r *ResourceQuotasAddResponse) Header() http.Header
Header returns header of the response.
func (*ResourceQuotasAddResponse) Status ¶
func (r *ResourceQuotasAddResponse) Status() int
Status returns the response status code.
type ResourceQuotasAddServerRequest ¶
type ResourceQuotasAddServerRequest struct {
// contains filtered or unexported fields
}
ResourceQuotasAddServerRequest is the request for the 'add' method.
func (*ResourceQuotasAddServerRequest) Body ¶
func (r *ResourceQuotasAddServerRequest) Body() *ResourceQuota
Body returns the value of the 'body' parameter.
Resource quota data.
func (*ResourceQuotasAddServerRequest) GetBody ¶
func (r *ResourceQuotasAddServerRequest) GetBody() (value *ResourceQuota, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Resource quota data.
type ResourceQuotasAddServerResponse ¶
type ResourceQuotasAddServerResponse struct {
// contains filtered or unexported fields
}
ResourceQuotasAddServerResponse is the response for the 'add' method.
func (*ResourceQuotasAddServerResponse) Body ¶
func (r *ResourceQuotasAddServerResponse) Body(value *ResourceQuota) *ResourceQuotasAddServerResponse
Body sets the value of the 'body' parameter.
Resource quota data.
func (*ResourceQuotasAddServerResponse) Status ¶
func (r *ResourceQuotasAddServerResponse) Status(value int) *ResourceQuotasAddServerResponse
Status sets the status code.
type ResourceQuotasClient ¶
type ResourceQuotasClient struct {
// contains filtered or unexported fields
}
ResourceQuotasClient is the client of the 'resource_quotas' resource.
Manages the collection of resource quotas for an organization.
func NewResourceQuotasClient ¶
func NewResourceQuotasClient(transport http.RoundTripper, path string, metric string) *ResourceQuotasClient
NewResourceQuotasClient creates a new client for the 'resource_quotas' resource using the given transport to send the requests and receive the responses.
func (*ResourceQuotasClient) Add ¶
func (c *ResourceQuotasClient) Add() *ResourceQuotasAddRequest
Add creates a request for the 'add' method.
Creates a new resource quota.
func (*ResourceQuotasClient) List ¶
func (c *ResourceQuotasClient) List() *ResourceQuotasListRequest
List creates a request for the 'list' method.
Retrieves the list of resource quotas.
func (*ResourceQuotasClient) ResourceQuota ¶
func (c *ResourceQuotasClient) ResourceQuota(id string) *ResourceQuotaClient
ResourceQuota returns the target 'resource_quota' resource for the given identifier.
Reference to the service that manages an specific resource quota.
type ResourceQuotasListRequest ¶
type ResourceQuotasListRequest struct {
// contains filtered or unexported fields
}
ResourceQuotasListRequest is the request for the 'list' method.
func (*ResourceQuotasListRequest) Header ¶
func (r *ResourceQuotasListRequest) Header(name string, value interface{}) *ResourceQuotasListRequest
Header adds a request header.
func (*ResourceQuotasListRequest) Page ¶
func (r *ResourceQuotasListRequest) Page(value int) *ResourceQuotasListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ResourceQuotasListRequest) Parameter ¶
func (r *ResourceQuotasListRequest) Parameter(name string, value interface{}) *ResourceQuotasListRequest
Parameter adds a query parameter.
func (*ResourceQuotasListRequest) Search ¶
func (r *ResourceQuotasListRequest) Search(value string) *ResourceQuotasListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the account instead of the names of the columns of a table. For example, in order to retrieve resource quota with resource_type cluster.aws:
[source,sql] ---- resource_type = 'cluster.aws' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*ResourceQuotasListRequest) Send ¶
func (r *ResourceQuotasListRequest) Send() (result *ResourceQuotasListResponse, 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 (*ResourceQuotasListRequest) SendContext ¶
func (r *ResourceQuotasListRequest) SendContext(ctx context.Context) (result *ResourceQuotasListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ResourceQuotasListRequest) Size ¶
func (r *ResourceQuotasListRequest) Size(value int) *ResourceQuotasListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ResourceQuotasListResponse ¶
type ResourceQuotasListResponse struct {
// contains filtered or unexported fields
}
ResourceQuotasListResponse is the response for the 'list' method.
func (*ResourceQuotasListResponse) Error ¶
func (r *ResourceQuotasListResponse) Error() *errors.Error
Error returns the response error.
func (*ResourceQuotasListResponse) GetItems ¶
func (r *ResourceQuotasListResponse) GetItems() (value *ResourceQuotaList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of resource quotas.
func (*ResourceQuotasListResponse) GetPage ¶
func (r *ResourceQuotasListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*ResourceQuotasListResponse) GetSize ¶
func (r *ResourceQuotasListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*ResourceQuotasListResponse) GetTotal ¶
func (r *ResourceQuotasListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*ResourceQuotasListResponse) Header ¶
func (r *ResourceQuotasListResponse) Header() http.Header
Header returns header of the response.
func (*ResourceQuotasListResponse) Items ¶
func (r *ResourceQuotasListResponse) Items() *ResourceQuotaList
Items returns the value of the 'items' parameter.
Retrieved list of resource quotas.
func (*ResourceQuotasListResponse) Page ¶
func (r *ResourceQuotasListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ResourceQuotasListResponse) Size ¶
func (r *ResourceQuotasListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ResourceQuotasListResponse) Status ¶
func (r *ResourceQuotasListResponse) Status() int
Status returns the response status code.
func (*ResourceQuotasListResponse) Total ¶
func (r *ResourceQuotasListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type ResourceQuotasListServerRequest ¶
type ResourceQuotasListServerRequest struct {
// contains filtered or unexported fields
}
ResourceQuotasListServerRequest is the request for the 'list' method.
func (*ResourceQuotasListServerRequest) GetPage ¶
func (r *ResourceQuotasListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*ResourceQuotasListServerRequest) GetSearch ¶
func (r *ResourceQuotasListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the account instead of the names of the columns of a table. For example, in order to retrieve resource quota with resource_type cluster.aws:
[source,sql] ---- resource_type = 'cluster.aws' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*ResourceQuotasListServerRequest) GetSize ¶
func (r *ResourceQuotasListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*ResourceQuotasListServerRequest) Page ¶
func (r *ResourceQuotasListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ResourceQuotasListServerRequest) Search ¶
func (r *ResourceQuotasListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the account instead of the names of the columns of a table. For example, in order to retrieve resource quota with resource_type cluster.aws:
[source,sql] ---- resource_type = 'cluster.aws' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*ResourceQuotasListServerRequest) Size ¶
func (r *ResourceQuotasListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ResourceQuotasListServerResponse ¶
type ResourceQuotasListServerResponse struct {
// contains filtered or unexported fields
}
ResourceQuotasListServerResponse is the response for the 'list' method.
func (*ResourceQuotasListServerResponse) Items ¶
func (r *ResourceQuotasListServerResponse) Items(value *ResourceQuotaList) *ResourceQuotasListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of resource quotas.
func (*ResourceQuotasListServerResponse) Page ¶
func (r *ResourceQuotasListServerResponse) Page(value int) *ResourceQuotasListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ResourceQuotasListServerResponse) Size ¶
func (r *ResourceQuotasListServerResponse) Size(value int) *ResourceQuotasListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ResourceQuotasListServerResponse) Status ¶
func (r *ResourceQuotasListServerResponse) Status(value int) *ResourceQuotasListServerResponse
Status sets the status code.
func (*ResourceQuotasListServerResponse) Total ¶
func (r *ResourceQuotasListServerResponse) Total(value int) *ResourceQuotasListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type ResourceQuotasServer ¶
type ResourceQuotasServer interface { // Add handles a request for the 'add' method. // // Creates a new resource quota. Add(ctx context.Context, request *ResourceQuotasAddServerRequest, response *ResourceQuotasAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves the list of resource quotas. List(ctx context.Context, request *ResourceQuotasListServerRequest, response *ResourceQuotasListServerResponse) error // ResourceQuota returns the target 'resource_quota' server for the given identifier. // // Reference to the service that manages an specific resource quota. ResourceQuota(id string) ResourceQuotaServer }
ResourceQuotasServer represents the interface the manages the 'resource_quotas' resource.
type Role ¶
type Role struct {
// contains filtered or unexported fields
}
Role represents the values of the 'role' type.
func UnmarshalRole ¶
UnmarshalRole reads a value of the 'role' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRoleList ¶
UnmarshalRoleList reads a list of values of the 'role' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Role) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Role) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Role) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Role) GetPermissions ¶
func (o *Role) GetPermissions() (value []*Permission, ok bool)
GetPermissions returns the value of the 'permissions' attribute and a flag indicating if the attribute has a value.
func (*Role) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Role) Permissions ¶
func (o *Role) Permissions() []*Permission
Permissions returns the value of the 'permissions' attribute, or the zero value of the type if the attribute doesn't have a value.
type RoleBinding ¶
type RoleBinding struct {
// contains filtered or unexported fields
}
RoleBinding represents the values of the 'role_binding' type.
func UnmarshalRoleBinding ¶
func UnmarshalRoleBinding(source interface{}) (object *RoleBinding, err error)
UnmarshalRoleBinding reads a value of the 'role_binding' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalRoleBindingList ¶
func UnmarshalRoleBindingList(source interface{}) (items []*RoleBinding, err error)
UnmarshalRoleBindingList reads a list of values of the 'role_binding' type from the given source, which can be a slice of bytes, a string or a reader.
func (*RoleBinding) Account ¶
func (o *RoleBinding) Account() *Account
Account returns the value of the 'account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) AccountID ¶
func (o *RoleBinding) AccountID() string
AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) ConfigManaged ¶
func (o *RoleBinding) ConfigManaged() bool
ConfigManaged returns the value of the 'config_managed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) CreatedAt ¶
func (o *RoleBinding) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) Empty ¶
func (o *RoleBinding) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*RoleBinding) GetAccount ¶
func (o *RoleBinding) GetAccount() (value *Account, ok bool)
GetAccount returns the value of the 'account' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetAccountID ¶
func (o *RoleBinding) GetAccountID() (value string, ok bool)
GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetConfigManaged ¶
func (o *RoleBinding) GetConfigManaged() (value bool, ok bool)
GetConfigManaged returns the value of the 'config_managed' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetCreatedAt ¶
func (o *RoleBinding) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetHREF ¶
func (o *RoleBinding) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*RoleBinding) GetID ¶
func (o *RoleBinding) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*RoleBinding) GetOrganization ¶
func (o *RoleBinding) GetOrganization() (value *Organization, ok bool)
GetOrganization returns the value of the 'organization' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetOrganizationID ¶
func (o *RoleBinding) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetRole ¶
func (o *RoleBinding) GetRole() (value *Role, ok bool)
GetRole returns the value of the 'role' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetRoleID ¶
func (o *RoleBinding) GetRoleID() (value string, ok bool)
GetRoleID returns the value of the 'role_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetSubscription ¶
func (o *RoleBinding) GetSubscription() (value *Subscription, ok bool)
GetSubscription returns the value of the 'subscription' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetSubscriptionID ¶
func (o *RoleBinding) GetSubscriptionID() (value string, ok bool)
GetSubscriptionID returns the value of the 'subscription_ID' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetType ¶
func (o *RoleBinding) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) GetUpdatedAt ¶
func (o *RoleBinding) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*RoleBinding) HREF ¶
func (o *RoleBinding) HREF() string
HREF returns the link to the object.
func (*RoleBinding) ID ¶
func (o *RoleBinding) ID() string
ID returns the identifier of the object.
func (*RoleBinding) Kind ¶
func (o *RoleBinding) Kind() string
Kind returns the name of the type of the object.
func (*RoleBinding) Organization ¶
func (o *RoleBinding) Organization() *Organization
Organization returns the value of the 'organization' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) OrganizationID ¶
func (o *RoleBinding) 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.
func (*RoleBinding) Role ¶
func (o *RoleBinding) Role() *Role
Role returns the value of the 'role' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) RoleID ¶
func (o *RoleBinding) RoleID() string
RoleID returns the value of the 'role_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) Subscription ¶
func (o *RoleBinding) Subscription() *Subscription
Subscription returns the value of the 'subscription' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) SubscriptionID ¶
func (o *RoleBinding) 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.
func (*RoleBinding) Type ¶
func (o *RoleBinding) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*RoleBinding) UpdatedAt ¶
func (o *RoleBinding) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type RoleBindingBuilder ¶
type RoleBindingBuilder struct {
// contains filtered or unexported fields
}
RoleBindingBuilder contains the data and logic needed to build 'role_binding' objects.
func NewRoleBinding ¶
func NewRoleBinding() *RoleBindingBuilder
NewRoleBinding creates a new builder of 'role_binding' objects.
func (*RoleBindingBuilder) Account ¶
func (b *RoleBindingBuilder) Account(value *AccountBuilder) *RoleBindingBuilder
Account sets the value of the 'account' attribute to the given value.
func (*RoleBindingBuilder) AccountID ¶
func (b *RoleBindingBuilder) AccountID(value string) *RoleBindingBuilder
AccountID sets the value of the 'account_ID' attribute to the given value.
func (*RoleBindingBuilder) Build ¶
func (b *RoleBindingBuilder) Build() (object *RoleBinding, err error)
Build creates a 'role_binding' object using the configuration stored in the builder.
func (*RoleBindingBuilder) ConfigManaged ¶
func (b *RoleBindingBuilder) ConfigManaged(value bool) *RoleBindingBuilder
ConfigManaged sets the value of the 'config_managed' attribute to the given value.
func (*RoleBindingBuilder) Copy ¶
func (b *RoleBindingBuilder) Copy(object *RoleBinding) *RoleBindingBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RoleBindingBuilder) CreatedAt ¶
func (b *RoleBindingBuilder) CreatedAt(value time.Time) *RoleBindingBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*RoleBindingBuilder) HREF ¶
func (b *RoleBindingBuilder) HREF(value string) *RoleBindingBuilder
HREF sets the link to the object.
func (*RoleBindingBuilder) ID ¶
func (b *RoleBindingBuilder) ID(value string) *RoleBindingBuilder
ID sets the identifier of the object.
func (*RoleBindingBuilder) Link ¶
func (b *RoleBindingBuilder) Link(value bool) *RoleBindingBuilder
Link sets the flag that indicates if this is a link.
func (*RoleBindingBuilder) Organization ¶
func (b *RoleBindingBuilder) Organization(value *OrganizationBuilder) *RoleBindingBuilder
Organization sets the value of the 'organization' attribute to the given value.
func (*RoleBindingBuilder) OrganizationID ¶
func (b *RoleBindingBuilder) OrganizationID(value string) *RoleBindingBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*RoleBindingBuilder) Role ¶
func (b *RoleBindingBuilder) Role(value *RoleBuilder) *RoleBindingBuilder
Role sets the value of the 'role' attribute to the given value.
func (*RoleBindingBuilder) RoleID ¶
func (b *RoleBindingBuilder) RoleID(value string) *RoleBindingBuilder
RoleID sets the value of the 'role_ID' attribute to the given value.
func (*RoleBindingBuilder) Subscription ¶
func (b *RoleBindingBuilder) Subscription(value *SubscriptionBuilder) *RoleBindingBuilder
Subscription sets the value of the 'subscription' attribute to the given value.
func (*RoleBindingBuilder) SubscriptionID ¶
func (b *RoleBindingBuilder) SubscriptionID(value string) *RoleBindingBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
func (*RoleBindingBuilder) Type ¶
func (b *RoleBindingBuilder) Type(value string) *RoleBindingBuilder
Type sets the value of the 'type' attribute to the given value.
func (*RoleBindingBuilder) UpdatedAt ¶
func (b *RoleBindingBuilder) UpdatedAt(value time.Time) *RoleBindingBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type RoleBindingClient ¶
type RoleBindingClient struct {
// contains filtered or unexported fields
}
RoleBindingClient is the client of the 'role_binding' resource.
Manages a specific role binding.
func NewRoleBindingClient ¶
func NewRoleBindingClient(transport http.RoundTripper, path string, metric string) *RoleBindingClient
NewRoleBindingClient creates a new client for the 'role_binding' resource using the given transport to send the requests and receive the responses.
func (*RoleBindingClient) Delete ¶
func (c *RoleBindingClient) Delete() *RoleBindingDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the role binding.
func (*RoleBindingClient) Get ¶
func (c *RoleBindingClient) Get() *RoleBindingGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the role binding.
func (*RoleBindingClient) Poll ¶
func (c *RoleBindingClient) Poll() *RoleBindingPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*RoleBindingClient) Update ¶
func (c *RoleBindingClient) Update() *RoleBindingUpdateRequest
Update creates a request for the 'update' method.
Updates the account.
type RoleBindingDeleteRequest ¶
type RoleBindingDeleteRequest struct {
// contains filtered or unexported fields
}
RoleBindingDeleteRequest is the request for the 'delete' method.
func (*RoleBindingDeleteRequest) Header ¶
func (r *RoleBindingDeleteRequest) Header(name string, value interface{}) *RoleBindingDeleteRequest
Header adds a request header.
func (*RoleBindingDeleteRequest) Parameter ¶
func (r *RoleBindingDeleteRequest) Parameter(name string, value interface{}) *RoleBindingDeleteRequest
Parameter adds a query parameter.
func (*RoleBindingDeleteRequest) Send ¶
func (r *RoleBindingDeleteRequest) Send() (result *RoleBindingDeleteResponse, 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 (*RoleBindingDeleteRequest) SendContext ¶
func (r *RoleBindingDeleteRequest) SendContext(ctx context.Context) (result *RoleBindingDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RoleBindingDeleteResponse ¶
type RoleBindingDeleteResponse struct {
// contains filtered or unexported fields
}
RoleBindingDeleteResponse is the response for the 'delete' method.
func (*RoleBindingDeleteResponse) Error ¶
func (r *RoleBindingDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*RoleBindingDeleteResponse) Header ¶
func (r *RoleBindingDeleteResponse) Header() http.Header
Header returns header of the response.
func (*RoleBindingDeleteResponse) Status ¶
func (r *RoleBindingDeleteResponse) Status() int
Status returns the response status code.
type RoleBindingDeleteServerRequest ¶
type RoleBindingDeleteServerRequest struct { }
RoleBindingDeleteServerRequest is the request for the 'delete' method.
type RoleBindingDeleteServerResponse ¶
type RoleBindingDeleteServerResponse struct {
// contains filtered or unexported fields
}
RoleBindingDeleteServerResponse is the response for the 'delete' method.
func (*RoleBindingDeleteServerResponse) Status ¶
func (r *RoleBindingDeleteServerResponse) Status(value int) *RoleBindingDeleteServerResponse
Status sets the status code.
type RoleBindingGetRequest ¶
type RoleBindingGetRequest struct {
// contains filtered or unexported fields
}
RoleBindingGetRequest is the request for the 'get' method.
func (*RoleBindingGetRequest) Header ¶
func (r *RoleBindingGetRequest) Header(name string, value interface{}) *RoleBindingGetRequest
Header adds a request header.
func (*RoleBindingGetRequest) Parameter ¶
func (r *RoleBindingGetRequest) Parameter(name string, value interface{}) *RoleBindingGetRequest
Parameter adds a query parameter.
func (*RoleBindingGetRequest) Send ¶
func (r *RoleBindingGetRequest) Send() (result *RoleBindingGetResponse, 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 (*RoleBindingGetRequest) SendContext ¶
func (r *RoleBindingGetRequest) SendContext(ctx context.Context) (result *RoleBindingGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RoleBindingGetResponse ¶
type RoleBindingGetResponse struct {
// contains filtered or unexported fields
}
RoleBindingGetResponse is the response for the 'get' method.
func (*RoleBindingGetResponse) Body ¶
func (r *RoleBindingGetResponse) Body() *RoleBinding
Body returns the value of the 'body' parameter.
func (*RoleBindingGetResponse) Error ¶
func (r *RoleBindingGetResponse) Error() *errors.Error
Error returns the response error.
func (*RoleBindingGetResponse) GetBody ¶
func (r *RoleBindingGetResponse) GetBody() (value *RoleBinding, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RoleBindingGetResponse) Header ¶
func (r *RoleBindingGetResponse) Header() http.Header
Header returns header of the response.
func (*RoleBindingGetResponse) Status ¶
func (r *RoleBindingGetResponse) Status() int
Status returns the response status code.
type RoleBindingGetServerRequest ¶
type RoleBindingGetServerRequest struct { }
RoleBindingGetServerRequest is the request for the 'get' method.
type RoleBindingGetServerResponse ¶
type RoleBindingGetServerResponse struct {
// contains filtered or unexported fields
}
RoleBindingGetServerResponse is the response for the 'get' method.
func (*RoleBindingGetServerResponse) Body ¶
func (r *RoleBindingGetServerResponse) Body(value *RoleBinding) *RoleBindingGetServerResponse
Body sets the value of the 'body' parameter.
func (*RoleBindingGetServerResponse) Status ¶
func (r *RoleBindingGetServerResponse) Status(value int) *RoleBindingGetServerResponse
Status sets the status code.
type RoleBindingList ¶
type RoleBindingList struct {
// contains filtered or unexported fields
}
RoleBindingList is a list of values of the 'role_binding' type.
func (*RoleBindingList) Each ¶
func (l *RoleBindingList) Each(f func(item *RoleBinding) 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 (*RoleBindingList) Empty ¶
func (l *RoleBindingList) Empty() bool
Empty returns true if the list is empty.
func (*RoleBindingList) Get ¶
func (l *RoleBindingList) Get(i int) *RoleBinding
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RoleBindingList) GetHREF ¶
func (l *RoleBindingList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RoleBindingList) HREF ¶
func (l *RoleBindingList) HREF() string
HREF returns the link to the list.
func (*RoleBindingList) Kind ¶
func (l *RoleBindingList) Kind() string
Kind returns the name of the type of the object.
func (*RoleBindingList) Len ¶
func (l *RoleBindingList) Len() int
Len returns the length of the list.
func (*RoleBindingList) Link ¶
func (l *RoleBindingList) Link() bool
Link returns true iif this is a link.
func (*RoleBindingList) Range ¶
func (l *RoleBindingList) Range(f func(index int, item *RoleBinding) 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 (*RoleBindingList) Slice ¶
func (l *RoleBindingList) Slice() []*RoleBinding
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 RoleBindingListBuilder ¶
type RoleBindingListBuilder struct {
// contains filtered or unexported fields
}
RoleBindingListBuilder contains the data and logic needed to build 'role_binding' objects.
func NewRoleBindingList ¶
func NewRoleBindingList() *RoleBindingListBuilder
NewRoleBindingList creates a new builder of 'role_binding' objects.
func (*RoleBindingListBuilder) Build ¶
func (b *RoleBindingListBuilder) Build() (list *RoleBindingList, err error)
Build creates a list of 'role_binding' objects using the configuration stored in the builder.
func (*RoleBindingListBuilder) Copy ¶
func (b *RoleBindingListBuilder) Copy(list *RoleBindingList) *RoleBindingListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RoleBindingListBuilder) Items ¶
func (b *RoleBindingListBuilder) Items(values ...*RoleBindingBuilder) *RoleBindingListBuilder
Items sets the items of the list.
type RoleBindingPollRequest ¶
type RoleBindingPollRequest struct {
// contains filtered or unexported fields
}
RoleBindingPollRequest is the request for the Poll method.
func (*RoleBindingPollRequest) Header ¶
func (r *RoleBindingPollRequest) Header(name string, value interface{}) *RoleBindingPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*RoleBindingPollRequest) Interval ¶
func (r *RoleBindingPollRequest) Interval(value time.Duration) *RoleBindingPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*RoleBindingPollRequest) Parameter ¶
func (r *RoleBindingPollRequest) Parameter(name string, value interface{}) *RoleBindingPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*RoleBindingPollRequest) Predicate ¶
func (r *RoleBindingPollRequest) Predicate(value func(*RoleBindingGetResponse) bool) *RoleBindingPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*RoleBindingPollRequest) StartContext ¶
func (r *RoleBindingPollRequest) StartContext(ctx context.Context) (response *RoleBindingPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*RoleBindingPollRequest) Status ¶
func (r *RoleBindingPollRequest) Status(value int) *RoleBindingPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type RoleBindingPollResponse ¶
type RoleBindingPollResponse struct {
// contains filtered or unexported fields
}
RoleBindingPollResponse is the response for the Poll method.
func (*RoleBindingPollResponse) Body ¶
func (r *RoleBindingPollResponse) Body() *RoleBinding
Body returns the value of the 'body' parameter.
func (*RoleBindingPollResponse) Error ¶
func (r *RoleBindingPollResponse) Error() *errors.Error
Error returns the response error.
func (*RoleBindingPollResponse) GetBody ¶
func (r *RoleBindingPollResponse) GetBody() (value *RoleBinding, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RoleBindingPollResponse) Header ¶
func (r *RoleBindingPollResponse) Header() http.Header
Header returns header of the response.
func (*RoleBindingPollResponse) Status ¶
func (r *RoleBindingPollResponse) Status() int
Status returns the response status code.
type RoleBindingServer ¶
type RoleBindingServer interface { // Delete handles a request for the 'delete' method. // // Deletes the role binding. Delete(ctx context.Context, request *RoleBindingDeleteServerRequest, response *RoleBindingDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the role binding. Get(ctx context.Context, request *RoleBindingGetServerRequest, response *RoleBindingGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the account. Update(ctx context.Context, request *RoleBindingUpdateServerRequest, response *RoleBindingUpdateServerResponse) error }
RoleBindingServer represents the interface the manages the 'role_binding' resource.
type RoleBindingUpdateRequest ¶
type RoleBindingUpdateRequest struct {
// contains filtered or unexported fields
}
RoleBindingUpdateRequest is the request for the 'update' method.
func (*RoleBindingUpdateRequest) Body ¶
func (r *RoleBindingUpdateRequest) Body(value *RoleBinding) *RoleBindingUpdateRequest
Body sets the value of the 'body' parameter.
func (*RoleBindingUpdateRequest) Header ¶
func (r *RoleBindingUpdateRequest) Header(name string, value interface{}) *RoleBindingUpdateRequest
Header adds a request header.
func (*RoleBindingUpdateRequest) Parameter ¶
func (r *RoleBindingUpdateRequest) Parameter(name string, value interface{}) *RoleBindingUpdateRequest
Parameter adds a query parameter.
func (*RoleBindingUpdateRequest) Send ¶
func (r *RoleBindingUpdateRequest) Send() (result *RoleBindingUpdateResponse, 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 (*RoleBindingUpdateRequest) SendContext ¶
func (r *RoleBindingUpdateRequest) SendContext(ctx context.Context) (result *RoleBindingUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RoleBindingUpdateResponse ¶
type RoleBindingUpdateResponse struct {
// contains filtered or unexported fields
}
RoleBindingUpdateResponse is the response for the 'update' method.
func (*RoleBindingUpdateResponse) Body ¶
func (r *RoleBindingUpdateResponse) Body() *RoleBinding
Body returns the value of the 'body' parameter.
func (*RoleBindingUpdateResponse) Error ¶
func (r *RoleBindingUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*RoleBindingUpdateResponse) GetBody ¶
func (r *RoleBindingUpdateResponse) GetBody() (value *RoleBinding, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RoleBindingUpdateResponse) Header ¶
func (r *RoleBindingUpdateResponse) Header() http.Header
Header returns header of the response.
func (*RoleBindingUpdateResponse) Status ¶
func (r *RoleBindingUpdateResponse) Status() int
Status returns the response status code.
type RoleBindingUpdateServerRequest ¶
type RoleBindingUpdateServerRequest struct {
// contains filtered or unexported fields
}
RoleBindingUpdateServerRequest is the request for the 'update' method.
func (*RoleBindingUpdateServerRequest) Body ¶
func (r *RoleBindingUpdateServerRequest) Body() *RoleBinding
Body returns the value of the 'body' parameter.
func (*RoleBindingUpdateServerRequest) GetBody ¶
func (r *RoleBindingUpdateServerRequest) GetBody() (value *RoleBinding, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type RoleBindingUpdateServerResponse ¶
type RoleBindingUpdateServerResponse struct {
// contains filtered or unexported fields
}
RoleBindingUpdateServerResponse is the response for the 'update' method.
func (*RoleBindingUpdateServerResponse) Body ¶
func (r *RoleBindingUpdateServerResponse) Body(value *RoleBinding) *RoleBindingUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*RoleBindingUpdateServerResponse) Status ¶
func (r *RoleBindingUpdateServerResponse) Status(value int) *RoleBindingUpdateServerResponse
Status sets the status code.
type RoleBindingsAddRequest ¶
type RoleBindingsAddRequest struct {
// contains filtered or unexported fields
}
RoleBindingsAddRequest is the request for the 'add' method.
func (*RoleBindingsAddRequest) Body ¶
func (r *RoleBindingsAddRequest) Body(value *RoleBinding) *RoleBindingsAddRequest
Body sets the value of the 'body' parameter.
Role binding data.
func (*RoleBindingsAddRequest) Header ¶
func (r *RoleBindingsAddRequest) Header(name string, value interface{}) *RoleBindingsAddRequest
Header adds a request header.
func (*RoleBindingsAddRequest) Parameter ¶
func (r *RoleBindingsAddRequest) Parameter(name string, value interface{}) *RoleBindingsAddRequest
Parameter adds a query parameter.
func (*RoleBindingsAddRequest) Send ¶
func (r *RoleBindingsAddRequest) Send() (result *RoleBindingsAddResponse, 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 (*RoleBindingsAddRequest) SendContext ¶
func (r *RoleBindingsAddRequest) SendContext(ctx context.Context) (result *RoleBindingsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RoleBindingsAddResponse ¶
type RoleBindingsAddResponse struct {
// contains filtered or unexported fields
}
RoleBindingsAddResponse is the response for the 'add' method.
func (*RoleBindingsAddResponse) Body ¶
func (r *RoleBindingsAddResponse) Body() *RoleBinding
Body returns the value of the 'body' parameter.
Role binding data.
func (*RoleBindingsAddResponse) Error ¶
func (r *RoleBindingsAddResponse) Error() *errors.Error
Error returns the response error.
func (*RoleBindingsAddResponse) GetBody ¶
func (r *RoleBindingsAddResponse) GetBody() (value *RoleBinding, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Role binding data.
func (*RoleBindingsAddResponse) Header ¶
func (r *RoleBindingsAddResponse) Header() http.Header
Header returns header of the response.
func (*RoleBindingsAddResponse) Status ¶
func (r *RoleBindingsAddResponse) Status() int
Status returns the response status code.
type RoleBindingsAddServerRequest ¶
type RoleBindingsAddServerRequest struct {
// contains filtered or unexported fields
}
RoleBindingsAddServerRequest is the request for the 'add' method.
func (*RoleBindingsAddServerRequest) Body ¶
func (r *RoleBindingsAddServerRequest) Body() *RoleBinding
Body returns the value of the 'body' parameter.
Role binding data.
func (*RoleBindingsAddServerRequest) GetBody ¶
func (r *RoleBindingsAddServerRequest) GetBody() (value *RoleBinding, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Role binding data.
type RoleBindingsAddServerResponse ¶
type RoleBindingsAddServerResponse struct {
// contains filtered or unexported fields
}
RoleBindingsAddServerResponse is the response for the 'add' method.
func (*RoleBindingsAddServerResponse) Body ¶
func (r *RoleBindingsAddServerResponse) Body(value *RoleBinding) *RoleBindingsAddServerResponse
Body sets the value of the 'body' parameter.
Role binding data.
func (*RoleBindingsAddServerResponse) Status ¶
func (r *RoleBindingsAddServerResponse) Status(value int) *RoleBindingsAddServerResponse
Status sets the status code.
type RoleBindingsClient ¶
type RoleBindingsClient struct {
// contains filtered or unexported fields
}
RoleBindingsClient is the client of the 'role_bindings' resource.
Manages the collection of role bindings.
func NewRoleBindingsClient ¶
func NewRoleBindingsClient(transport http.RoundTripper, path string, metric string) *RoleBindingsClient
NewRoleBindingsClient creates a new client for the 'role_bindings' resource using the given transport to send the requests and receive the responses.
func (*RoleBindingsClient) Add ¶
func (c *RoleBindingsClient) Add() *RoleBindingsAddRequest
Add creates a request for the 'add' method.
Creates a new role binding.
func (*RoleBindingsClient) List ¶
func (c *RoleBindingsClient) List() *RoleBindingsListRequest
List creates a request for the 'list' method.
Retrieves a list of role bindings.
func (*RoleBindingsClient) RoleBinding ¶
func (c *RoleBindingsClient) RoleBinding(id string) *RoleBindingClient
RoleBinding returns the target 'role_binding' resource for the given identifier.
Reference to the service that manages a specific role binding.
type RoleBindingsListRequest ¶
type RoleBindingsListRequest struct {
// contains filtered or unexported fields
}
RoleBindingsListRequest is the request for the 'list' method.
func (*RoleBindingsListRequest) Header ¶
func (r *RoleBindingsListRequest) Header(name string, value interface{}) *RoleBindingsListRequest
Header adds a request header.
func (*RoleBindingsListRequest) Page ¶
func (r *RoleBindingsListRequest) Page(value int) *RoleBindingsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RoleBindingsListRequest) Parameter ¶
func (r *RoleBindingsListRequest) Parameter(name string, value interface{}) *RoleBindingsListRequest
Parameter adds a query parameter.
func (*RoleBindingsListRequest) Search ¶
func (r *RoleBindingsListRequest) Search(value string) *RoleBindingsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role binding instead of the names of the columns of a table. For example, in order to retrieve role bindings with role_id AuthenticatedUser:
[source,sql] ---- role_id = 'AuthenticatedUser' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*RoleBindingsListRequest) Send ¶
func (r *RoleBindingsListRequest) Send() (result *RoleBindingsListResponse, 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 (*RoleBindingsListRequest) SendContext ¶
func (r *RoleBindingsListRequest) SendContext(ctx context.Context) (result *RoleBindingsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*RoleBindingsListRequest) Size ¶
func (r *RoleBindingsListRequest) Size(value int) *RoleBindingsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RoleBindingsListResponse ¶
type RoleBindingsListResponse struct {
// contains filtered or unexported fields
}
RoleBindingsListResponse is the response for the 'list' method.
func (*RoleBindingsListResponse) Error ¶
func (r *RoleBindingsListResponse) Error() *errors.Error
Error returns the response error.
func (*RoleBindingsListResponse) GetItems ¶
func (r *RoleBindingsListResponse) GetItems() (value *RoleBindingList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of role bindings.
func (*RoleBindingsListResponse) GetPage ¶
func (r *RoleBindingsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RoleBindingsListResponse) GetSize ¶
func (r *RoleBindingsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RoleBindingsListResponse) GetTotal ¶
func (r *RoleBindingsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*RoleBindingsListResponse) Header ¶
func (r *RoleBindingsListResponse) Header() http.Header
Header returns header of the response.
func (*RoleBindingsListResponse) Items ¶
func (r *RoleBindingsListResponse) Items() *RoleBindingList
Items returns the value of the 'items' parameter.
Retrieved list of role bindings.
func (*RoleBindingsListResponse) Page ¶
func (r *RoleBindingsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RoleBindingsListResponse) Size ¶
func (r *RoleBindingsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RoleBindingsListResponse) Status ¶
func (r *RoleBindingsListResponse) Status() int
Status returns the response status code.
func (*RoleBindingsListResponse) Total ¶
func (r *RoleBindingsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RoleBindingsListServerRequest ¶
type RoleBindingsListServerRequest struct {
// contains filtered or unexported fields
}
RoleBindingsListServerRequest is the request for the 'list' method.
func (*RoleBindingsListServerRequest) GetPage ¶
func (r *RoleBindingsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RoleBindingsListServerRequest) GetSearch ¶
func (r *RoleBindingsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role binding instead of the names of the columns of a table. For example, in order to retrieve role bindings with role_id AuthenticatedUser:
[source,sql] ---- role_id = 'AuthenticatedUser' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*RoleBindingsListServerRequest) GetSize ¶
func (r *RoleBindingsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RoleBindingsListServerRequest) Page ¶
func (r *RoleBindingsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RoleBindingsListServerRequest) Search ¶
func (r *RoleBindingsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role binding instead of the names of the columns of a table. For example, in order to retrieve role bindings with role_id AuthenticatedUser:
[source,sql] ---- role_id = 'AuthenticatedUser' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*RoleBindingsListServerRequest) Size ¶
func (r *RoleBindingsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RoleBindingsListServerResponse ¶
type RoleBindingsListServerResponse struct {
// contains filtered or unexported fields
}
RoleBindingsListServerResponse is the response for the 'list' method.
func (*RoleBindingsListServerResponse) Items ¶
func (r *RoleBindingsListServerResponse) Items(value *RoleBindingList) *RoleBindingsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of role bindings.
func (*RoleBindingsListServerResponse) Page ¶
func (r *RoleBindingsListServerResponse) Page(value int) *RoleBindingsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RoleBindingsListServerResponse) Size ¶
func (r *RoleBindingsListServerResponse) Size(value int) *RoleBindingsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RoleBindingsListServerResponse) Status ¶
func (r *RoleBindingsListServerResponse) Status(value int) *RoleBindingsListServerResponse
Status sets the status code.
func (*RoleBindingsListServerResponse) Total ¶
func (r *RoleBindingsListServerResponse) Total(value int) *RoleBindingsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RoleBindingsServer ¶
type RoleBindingsServer interface { // Add handles a request for the 'add' method. // // Creates a new role binding. Add(ctx context.Context, request *RoleBindingsAddServerRequest, response *RoleBindingsAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves a list of role bindings. List(ctx context.Context, request *RoleBindingsListServerRequest, response *RoleBindingsListServerResponse) error // RoleBinding returns the target 'role_binding' server for the given identifier. // // Reference to the service that manages a specific role binding. RoleBinding(id string) RoleBindingServer }
RoleBindingsServer represents the interface the manages the 'role_bindings' resource.
type RoleBuilder ¶
type RoleBuilder struct {
// contains filtered or unexported fields
}
RoleBuilder contains the data and logic needed to build 'role' objects.
func (*RoleBuilder) Build ¶
func (b *RoleBuilder) Build() (object *Role, err error)
Build creates a 'role' object using the configuration stored in the builder.
func (*RoleBuilder) Copy ¶
func (b *RoleBuilder) Copy(object *Role) *RoleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*RoleBuilder) HREF ¶
func (b *RoleBuilder) HREF(value string) *RoleBuilder
HREF sets the link to the object.
func (*RoleBuilder) ID ¶
func (b *RoleBuilder) ID(value string) *RoleBuilder
ID sets the identifier of the object.
func (*RoleBuilder) Link ¶
func (b *RoleBuilder) Link(value bool) *RoleBuilder
Link sets the flag that indicates if this is a link.
func (*RoleBuilder) Name ¶
func (b *RoleBuilder) Name(value string) *RoleBuilder
Name sets the value of the 'name' attribute to the given value.
func (*RoleBuilder) Permissions ¶
func (b *RoleBuilder) Permissions(values ...*PermissionBuilder) *RoleBuilder
Permissions sets the value of the 'permissions' attribute to the given values.
type RoleClient ¶
type RoleClient struct {
// contains filtered or unexported fields
}
RoleClient is the client of the 'role' resource.
Manages a specific role.
func NewRoleClient ¶
func NewRoleClient(transport http.RoundTripper, path string, metric string) *RoleClient
NewRoleClient creates a new client for the 'role' resource using the given transport to send the requests and receive the responses.
func (*RoleClient) Delete ¶
func (c *RoleClient) Delete() *RoleDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the role.
func (*RoleClient) Get ¶
func (c *RoleClient) Get() *RoleGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the role.
func (*RoleClient) Poll ¶
func (c *RoleClient) Poll() *RolePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*RoleClient) Update ¶
func (c *RoleClient) Update() *RoleUpdateRequest
Update creates a request for the 'update' method.
Updates the role.
type RoleDeleteRequest ¶
type RoleDeleteRequest struct {
// contains filtered or unexported fields
}
RoleDeleteRequest is the request for the 'delete' method.
func (*RoleDeleteRequest) Header ¶
func (r *RoleDeleteRequest) Header(name string, value interface{}) *RoleDeleteRequest
Header adds a request header.
func (*RoleDeleteRequest) Parameter ¶
func (r *RoleDeleteRequest) Parameter(name string, value interface{}) *RoleDeleteRequest
Parameter adds a query parameter.
func (*RoleDeleteRequest) Send ¶
func (r *RoleDeleteRequest) Send() (result *RoleDeleteResponse, 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 (*RoleDeleteRequest) SendContext ¶
func (r *RoleDeleteRequest) SendContext(ctx context.Context) (result *RoleDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RoleDeleteResponse ¶
type RoleDeleteResponse struct {
// contains filtered or unexported fields
}
RoleDeleteResponse is the response for the 'delete' method.
func (*RoleDeleteResponse) Error ¶
func (r *RoleDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*RoleDeleteResponse) Header ¶
func (r *RoleDeleteResponse) Header() http.Header
Header returns header of the response.
func (*RoleDeleteResponse) Status ¶
func (r *RoleDeleteResponse) Status() int
Status returns the response status code.
type RoleDeleteServerRequest ¶
type RoleDeleteServerRequest struct { }
RoleDeleteServerRequest is the request for the 'delete' method.
type RoleDeleteServerResponse ¶
type RoleDeleteServerResponse struct {
// contains filtered or unexported fields
}
RoleDeleteServerResponse is the response for the 'delete' method.
func (*RoleDeleteServerResponse) Status ¶
func (r *RoleDeleteServerResponse) Status(value int) *RoleDeleteServerResponse
Status sets the status code.
type RoleGetRequest ¶
type RoleGetRequest struct {
// contains filtered or unexported fields
}
RoleGetRequest is the request for the 'get' method.
func (*RoleGetRequest) Header ¶
func (r *RoleGetRequest) Header(name string, value interface{}) *RoleGetRequest
Header adds a request header.
func (*RoleGetRequest) Parameter ¶
func (r *RoleGetRequest) Parameter(name string, value interface{}) *RoleGetRequest
Parameter adds a query parameter.
func (*RoleGetRequest) Send ¶
func (r *RoleGetRequest) Send() (result *RoleGetResponse, 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 (*RoleGetRequest) SendContext ¶
func (r *RoleGetRequest) SendContext(ctx context.Context) (result *RoleGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RoleGetResponse ¶
type RoleGetResponse struct {
// contains filtered or unexported fields
}
RoleGetResponse is the response for the 'get' method.
func (*RoleGetResponse) Body ¶
func (r *RoleGetResponse) Body() *Role
Body returns the value of the 'body' parameter.
func (*RoleGetResponse) Error ¶
func (r *RoleGetResponse) Error() *errors.Error
Error returns the response error.
func (*RoleGetResponse) GetBody ¶
func (r *RoleGetResponse) GetBody() (value *Role, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RoleGetResponse) Header ¶
func (r *RoleGetResponse) Header() http.Header
Header returns header of the response.
func (*RoleGetResponse) Status ¶
func (r *RoleGetResponse) Status() int
Status returns the response status code.
type RoleGetServerRequest ¶
type RoleGetServerRequest struct { }
RoleGetServerRequest is the request for the 'get' method.
type RoleGetServerResponse ¶
type RoleGetServerResponse struct {
// contains filtered or unexported fields
}
RoleGetServerResponse is the response for the 'get' method.
func (*RoleGetServerResponse) Body ¶
func (r *RoleGetServerResponse) Body(value *Role) *RoleGetServerResponse
Body sets the value of the 'body' parameter.
func (*RoleGetServerResponse) Status ¶
func (r *RoleGetServerResponse) Status(value int) *RoleGetServerResponse
Status sets the status code.
type RoleList ¶
type RoleList struct {
// contains filtered or unexported fields
}
RoleList is a list of values of the 'role' type.
func (*RoleList) Each ¶
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 (*RoleList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*RoleList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*RoleList) Range ¶
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 (*RoleList) Slice ¶
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 RoleListBuilder ¶
type RoleListBuilder struct {
// contains filtered or unexported fields
}
RoleListBuilder contains the data and logic needed to build 'role' objects.
func NewRoleList ¶
func NewRoleList() *RoleListBuilder
NewRoleList creates a new builder of 'role' objects.
func (*RoleListBuilder) Build ¶
func (b *RoleListBuilder) Build() (list *RoleList, err error)
Build creates a list of 'role' objects using the configuration stored in the builder.
func (*RoleListBuilder) Copy ¶
func (b *RoleListBuilder) Copy(list *RoleList) *RoleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*RoleListBuilder) Items ¶
func (b *RoleListBuilder) Items(values ...*RoleBuilder) *RoleListBuilder
Items sets the items of the list.
type RolePollRequest ¶
type RolePollRequest struct {
// contains filtered or unexported fields
}
RolePollRequest is the request for the Poll method.
func (*RolePollRequest) Header ¶
func (r *RolePollRequest) Header(name string, value interface{}) *RolePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*RolePollRequest) Interval ¶
func (r *RolePollRequest) Interval(value time.Duration) *RolePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*RolePollRequest) Parameter ¶
func (r *RolePollRequest) Parameter(name string, value interface{}) *RolePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*RolePollRequest) Predicate ¶
func (r *RolePollRequest) Predicate(value func(*RoleGetResponse) bool) *RolePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*RolePollRequest) StartContext ¶
func (r *RolePollRequest) StartContext(ctx context.Context) (response *RolePollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*RolePollRequest) Status ¶
func (r *RolePollRequest) Status(value int) *RolePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type RolePollResponse ¶
type RolePollResponse struct {
// contains filtered or unexported fields
}
RolePollResponse is the response for the Poll method.
func (*RolePollResponse) Body ¶
func (r *RolePollResponse) Body() *Role
Body returns the value of the 'body' parameter.
func (*RolePollResponse) Error ¶
func (r *RolePollResponse) Error() *errors.Error
Error returns the response error.
func (*RolePollResponse) GetBody ¶
func (r *RolePollResponse) GetBody() (value *Role, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RolePollResponse) Header ¶
func (r *RolePollResponse) Header() http.Header
Header returns header of the response.
func (*RolePollResponse) Status ¶
func (r *RolePollResponse) Status() int
Status returns the response status code.
type RoleServer ¶
type RoleServer interface { // Delete handles a request for the 'delete' method. // // Deletes the role. Delete(ctx context.Context, request *RoleDeleteServerRequest, response *RoleDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the role. Get(ctx context.Context, request *RoleGetServerRequest, response *RoleGetServerResponse) error // Update handles a request for the 'update' method. // // Updates the role. Update(ctx context.Context, request *RoleUpdateServerRequest, response *RoleUpdateServerResponse) error }
RoleServer represents the interface the manages the 'role' resource.
type RoleUpdateRequest ¶
type RoleUpdateRequest struct {
// contains filtered or unexported fields
}
RoleUpdateRequest is the request for the 'update' method.
func (*RoleUpdateRequest) Body ¶
func (r *RoleUpdateRequest) Body(value *Role) *RoleUpdateRequest
Body sets the value of the 'body' parameter.
func (*RoleUpdateRequest) Header ¶
func (r *RoleUpdateRequest) Header(name string, value interface{}) *RoleUpdateRequest
Header adds a request header.
func (*RoleUpdateRequest) Parameter ¶
func (r *RoleUpdateRequest) Parameter(name string, value interface{}) *RoleUpdateRequest
Parameter adds a query parameter.
func (*RoleUpdateRequest) Send ¶
func (r *RoleUpdateRequest) Send() (result *RoleUpdateResponse, 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 (*RoleUpdateRequest) SendContext ¶
func (r *RoleUpdateRequest) SendContext(ctx context.Context) (result *RoleUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RoleUpdateResponse ¶
type RoleUpdateResponse struct {
// contains filtered or unexported fields
}
RoleUpdateResponse is the response for the 'update' method.
func (*RoleUpdateResponse) Body ¶
func (r *RoleUpdateResponse) Body() *Role
Body returns the value of the 'body' parameter.
func (*RoleUpdateResponse) Error ¶
func (r *RoleUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*RoleUpdateResponse) GetBody ¶
func (r *RoleUpdateResponse) GetBody() (value *Role, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*RoleUpdateResponse) Header ¶
func (r *RoleUpdateResponse) Header() http.Header
Header returns header of the response.
func (*RoleUpdateResponse) Status ¶
func (r *RoleUpdateResponse) Status() int
Status returns the response status code.
type RoleUpdateServerRequest ¶
type RoleUpdateServerRequest struct {
// contains filtered or unexported fields
}
RoleUpdateServerRequest is the request for the 'update' method.
func (*RoleUpdateServerRequest) Body ¶
func (r *RoleUpdateServerRequest) Body() *Role
Body returns the value of the 'body' parameter.
func (*RoleUpdateServerRequest) GetBody ¶
func (r *RoleUpdateServerRequest) GetBody() (value *Role, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type RoleUpdateServerResponse ¶
type RoleUpdateServerResponse struct {
// contains filtered or unexported fields
}
RoleUpdateServerResponse is the response for the 'update' method.
func (*RoleUpdateServerResponse) Body ¶
func (r *RoleUpdateServerResponse) Body(value *Role) *RoleUpdateServerResponse
Body sets the value of the 'body' parameter.
func (*RoleUpdateServerResponse) Status ¶
func (r *RoleUpdateServerResponse) Status(value int) *RoleUpdateServerResponse
Status sets the status code.
type RolesAddRequest ¶
type RolesAddRequest struct {
// contains filtered or unexported fields
}
RolesAddRequest is the request for the 'add' method.
func (*RolesAddRequest) Body ¶
func (r *RolesAddRequest) Body(value *Role) *RolesAddRequest
Body sets the value of the 'body' parameter.
Role data.
func (*RolesAddRequest) Header ¶
func (r *RolesAddRequest) Header(name string, value interface{}) *RolesAddRequest
Header adds a request header.
func (*RolesAddRequest) Parameter ¶
func (r *RolesAddRequest) Parameter(name string, value interface{}) *RolesAddRequest
Parameter adds a query parameter.
func (*RolesAddRequest) Send ¶
func (r *RolesAddRequest) Send() (result *RolesAddResponse, 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 (*RolesAddRequest) SendContext ¶
func (r *RolesAddRequest) SendContext(ctx context.Context) (result *RolesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type RolesAddResponse ¶
type RolesAddResponse struct {
// contains filtered or unexported fields
}
RolesAddResponse is the response for the 'add' method.
func (*RolesAddResponse) Body ¶
func (r *RolesAddResponse) Body() *Role
Body returns the value of the 'body' parameter.
Role data.
func (*RolesAddResponse) Error ¶
func (r *RolesAddResponse) Error() *errors.Error
Error returns the response error.
func (*RolesAddResponse) GetBody ¶
func (r *RolesAddResponse) GetBody() (value *Role, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Role data.
func (*RolesAddResponse) Header ¶
func (r *RolesAddResponse) Header() http.Header
Header returns header of the response.
func (*RolesAddResponse) Status ¶
func (r *RolesAddResponse) Status() int
Status returns the response status code.
type RolesAddServerRequest ¶
type RolesAddServerRequest struct {
// contains filtered or unexported fields
}
RolesAddServerRequest is the request for the 'add' method.
func (*RolesAddServerRequest) Body ¶
func (r *RolesAddServerRequest) Body() *Role
Body returns the value of the 'body' parameter.
Role data.
func (*RolesAddServerRequest) GetBody ¶
func (r *RolesAddServerRequest) GetBody() (value *Role, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Role data.
type RolesAddServerResponse ¶
type RolesAddServerResponse struct {
// contains filtered or unexported fields
}
RolesAddServerResponse is the response for the 'add' method.
func (*RolesAddServerResponse) Body ¶
func (r *RolesAddServerResponse) Body(value *Role) *RolesAddServerResponse
Body sets the value of the 'body' parameter.
Role data.
func (*RolesAddServerResponse) Status ¶
func (r *RolesAddServerResponse) Status(value int) *RolesAddServerResponse
Status sets the status code.
type RolesClient ¶
type RolesClient struct {
// contains filtered or unexported fields
}
RolesClient is the client of the 'roles' resource.
Manages the collection of roles.
func NewRolesClient ¶
func NewRolesClient(transport http.RoundTripper, path string, metric string) *RolesClient
NewRolesClient creates a new client for the 'roles' resource using the given transport to send the requests and receive the responses.
func (*RolesClient) Add ¶
func (c *RolesClient) Add() *RolesAddRequest
Add creates a request for the 'add' method.
Creates a new role.
func (*RolesClient) List ¶
func (c *RolesClient) List() *RolesListRequest
List creates a request for the 'list' method.
Retrieves a list of roles.
func (*RolesClient) Role ¶
func (c *RolesClient) Role(id string) *RoleClient
Role returns the target 'role' resource for the given identifier.
Reference to the service that manages a specific role.
type RolesListRequest ¶
type RolesListRequest struct {
// contains filtered or unexported fields
}
RolesListRequest is the request for the 'list' method.
func (*RolesListRequest) Header ¶
func (r *RolesListRequest) Header(name string, value interface{}) *RolesListRequest
Header adds a request header.
func (*RolesListRequest) Page ¶
func (r *RolesListRequest) Page(value int) *RolesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RolesListRequest) Parameter ¶
func (r *RolesListRequest) Parameter(name string, value interface{}) *RolesListRequest
Parameter adds a query parameter.
func (*RolesListRequest) Search ¶
func (r *RolesListRequest) Search(value string) *RolesListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to retrieve roles named starting with `Organization`:
[source,sql] ---- name like 'Organization%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*RolesListRequest) Send ¶
func (r *RolesListRequest) Send() (result *RolesListResponse, 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 (*RolesListRequest) SendContext ¶
func (r *RolesListRequest) SendContext(ctx context.Context) (result *RolesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*RolesListRequest) Size ¶
func (r *RolesListRequest) Size(value int) *RolesListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RolesListResponse ¶
type RolesListResponse struct {
// contains filtered or unexported fields
}
RolesListResponse is the response for the 'list' method.
func (*RolesListResponse) Error ¶
func (r *RolesListResponse) Error() *errors.Error
Error returns the response error.
func (*RolesListResponse) GetItems ¶
func (r *RolesListResponse) GetItems() (value *RoleList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of roles.
func (*RolesListResponse) GetPage ¶
func (r *RolesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RolesListResponse) GetSize ¶
func (r *RolesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RolesListResponse) GetTotal ¶
func (r *RolesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*RolesListResponse) Header ¶
func (r *RolesListResponse) Header() http.Header
Header returns header of the response.
func (*RolesListResponse) Items ¶
func (r *RolesListResponse) Items() *RoleList
Items returns the value of the 'items' parameter.
Retrieved list of roles.
func (*RolesListResponse) Page ¶
func (r *RolesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RolesListResponse) Size ¶
func (r *RolesListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RolesListResponse) Status ¶
func (r *RolesListResponse) Status() int
Status returns the response status code.
func (*RolesListResponse) Total ¶
func (r *RolesListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RolesListServerRequest ¶
type RolesListServerRequest struct {
// contains filtered or unexported fields
}
RolesListServerRequest is the request for the 'list' method.
func (*RolesListServerRequest) GetPage ¶
func (r *RolesListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*RolesListServerRequest) GetSearch ¶
func (r *RolesListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to retrieve roles named starting with `Organization`:
[source,sql] ---- name like 'Organization%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*RolesListServerRequest) GetSize ¶
func (r *RolesListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*RolesListServerRequest) Page ¶
func (r *RolesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RolesListServerRequest) Search ¶
func (r *RolesListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the role instead of the names of the columns of a table. For example, in order to retrieve roles named starting with `Organization`:
[source,sql] ---- name like 'Organization%' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*RolesListServerRequest) Size ¶
func (r *RolesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type RolesListServerResponse ¶
type RolesListServerResponse struct {
// contains filtered or unexported fields
}
RolesListServerResponse is the response for the 'list' method.
func (*RolesListServerResponse) Items ¶
func (r *RolesListServerResponse) Items(value *RoleList) *RolesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of roles.
func (*RolesListServerResponse) Page ¶
func (r *RolesListServerResponse) Page(value int) *RolesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*RolesListServerResponse) Size ¶
func (r *RolesListServerResponse) Size(value int) *RolesListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*RolesListServerResponse) Status ¶
func (r *RolesListServerResponse) Status(value int) *RolesListServerResponse
Status sets the status code.
func (*RolesListServerResponse) Total ¶
func (r *RolesListServerResponse) Total(value int) *RolesListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type RolesServer ¶
type RolesServer interface { // Add handles a request for the 'add' method. // // Creates a new role. Add(ctx context.Context, request *RolesAddServerRequest, response *RolesAddServerResponse) error // List handles a request for the 'list' method. // // Retrieves a list of roles. List(ctx context.Context, request *RolesListServerRequest, response *RolesListServerResponse) error // Role returns the target 'role' server for the given identifier. // // Reference to the service that manages a specific role. Role(id string) RoleServer }
RolesServer represents the interface the manages the 'roles' resource.
type SKU ¶
type SKU struct {
// contains filtered or unexported fields
}
SKU represents the values of the 'SKU' type.
Identifies computing resources
func UnmarshalSKU ¶
UnmarshalSKU reads a value of the 'SKU' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSKUList ¶
UnmarshalSKUList reads a list of values of the 'SKU' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SKU) AvailabilityZoneType ¶
AvailabilityZoneType returns the value of the 'availability_zone_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SKU) BYOC ¶
BYOC returns the value of the 'BYOC' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SKU) GetAvailabilityZoneType ¶
GetAvailabilityZoneType returns the value of the 'availability_zone_type' attribute and a flag indicating if the attribute has a value.
func (*SKU) GetBYOC ¶
GetBYOC returns the value of the 'BYOC' attribute and a flag indicating if the attribute has a value.
func (*SKU) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SKU) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SKU) GetResourceName ¶
GetResourceName returns the value of the 'resource_name' attribute and a flag indicating if the attribute has a value.
platform-specific name, such as "M5.2Xlarge" for a type of EC2 node
func (*SKU) GetResourceType ¶
GetResourceType returns the value of the 'resource_type' attribute and a flag indicating if the attribute has a value.
func (*SKU) GetResources ¶
GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.
func (*SKU) ResourceName ¶
ResourceName returns the value of the 'resource_name' attribute, or the zero value of the type if the attribute doesn't have a value.
platform-specific name, such as "M5.2Xlarge" for a type of EC2 node
func (*SKU) ResourceType ¶
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 SKUBuilder ¶
type SKUBuilder struct {
// contains filtered or unexported fields
}
SKUBuilder contains the data and logic needed to build 'SKU' objects.
Identifies computing resources
func (*SKUBuilder) AvailabilityZoneType ¶
func (b *SKUBuilder) AvailabilityZoneType(value string) *SKUBuilder
AvailabilityZoneType sets the value of the 'availability_zone_type' attribute to the given value.
func (*SKUBuilder) BYOC ¶
func (b *SKUBuilder) BYOC(value bool) *SKUBuilder
BYOC sets the value of the 'BYOC' attribute to the given value.
func (*SKUBuilder) Build ¶
func (b *SKUBuilder) Build() (object *SKU, err error)
Build creates a 'SKU' object using the configuration stored in the builder.
func (*SKUBuilder) Copy ¶
func (b *SKUBuilder) Copy(object *SKU) *SKUBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SKUBuilder) HREF ¶
func (b *SKUBuilder) HREF(value string) *SKUBuilder
HREF sets the link to the object.
func (*SKUBuilder) ID ¶
func (b *SKUBuilder) ID(value string) *SKUBuilder
ID sets the identifier of the object.
func (*SKUBuilder) Link ¶
func (b *SKUBuilder) Link(value bool) *SKUBuilder
Link sets the flag that indicates if this is a link.
func (*SKUBuilder) ResourceName ¶
func (b *SKUBuilder) ResourceName(value string) *SKUBuilder
ResourceName sets the value of the 'resource_name' attribute to the given value.
func (*SKUBuilder) ResourceType ¶
func (b *SKUBuilder) ResourceType(value string) *SKUBuilder
ResourceType sets the value of the 'resource_type' attribute to the given value.
func (*SKUBuilder) Resources ¶
func (b *SKUBuilder) Resources(values ...*ResourceBuilder) *SKUBuilder
Resources sets the value of the 'resources' attribute to the given values.
type SKUClient ¶
type SKUClient struct {
// contains filtered or unexported fields
}
SKUClient is the client of the 'SKU' resource.
Manages a specific SKU.
func NewSKUClient ¶
func NewSKUClient(transport http.RoundTripper, path string, metric string) *SKUClient
NewSKUClient creates a new client for the 'SKU' resource using the given transport to send the requests and receive the responses.
func (*SKUClient) Get ¶
func (c *SKUClient) Get() *SKUGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the SKU.
func (*SKUClient) Poll ¶
func (c *SKUClient) Poll() *SKUPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type SKUGetRequest ¶
type SKUGetRequest struct {
// contains filtered or unexported fields
}
SKUGetRequest is the request for the 'get' method.
func (*SKUGetRequest) Header ¶
func (r *SKUGetRequest) Header(name string, value interface{}) *SKUGetRequest
Header adds a request header.
func (*SKUGetRequest) Parameter ¶
func (r *SKUGetRequest) Parameter(name string, value interface{}) *SKUGetRequest
Parameter adds a query parameter.
func (*SKUGetRequest) Send ¶
func (r *SKUGetRequest) Send() (result *SKUGetResponse, 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 (*SKUGetRequest) SendContext ¶
func (r *SKUGetRequest) SendContext(ctx context.Context) (result *SKUGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SKUGetResponse ¶
type SKUGetResponse struct {
// contains filtered or unexported fields
}
SKUGetResponse is the response for the 'get' method.
func (*SKUGetResponse) Body ¶
func (r *SKUGetResponse) Body() *SKU
Body returns the value of the 'body' parameter.
func (*SKUGetResponse) Error ¶
func (r *SKUGetResponse) Error() *errors.Error
Error returns the response error.
func (*SKUGetResponse) GetBody ¶
func (r *SKUGetResponse) GetBody() (value *SKU, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SKUGetResponse) Header ¶
func (r *SKUGetResponse) Header() http.Header
Header returns header of the response.
func (*SKUGetResponse) Status ¶
func (r *SKUGetResponse) Status() int
Status returns the response status code.
type SKUGetServerRequest ¶
type SKUGetServerRequest struct { }
SKUGetServerRequest is the request for the 'get' method.
type SKUGetServerResponse ¶
type SKUGetServerResponse struct {
// contains filtered or unexported fields
}
SKUGetServerResponse is the response for the 'get' method.
func (*SKUGetServerResponse) Body ¶
func (r *SKUGetServerResponse) Body(value *SKU) *SKUGetServerResponse
Body sets the value of the 'body' parameter.
func (*SKUGetServerResponse) Status ¶
func (r *SKUGetServerResponse) Status(value int) *SKUGetServerResponse
Status sets the status code.
type SKUList ¶
type SKUList struct {
// contains filtered or unexported fields
}
SKUList is a list of values of the 'SKU' type.
func (*SKUList) Each ¶
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 (*SKUList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SKUList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SKUList) Range ¶
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 (*SKUList) Slice ¶
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 SKUListBuilder ¶
type SKUListBuilder struct {
// contains filtered or unexported fields
}
SKUListBuilder contains the data and logic needed to build 'SKU' objects.
func NewSKUList ¶
func NewSKUList() *SKUListBuilder
NewSKUList creates a new builder of 'SKU' objects.
func (*SKUListBuilder) Build ¶
func (b *SKUListBuilder) Build() (list *SKUList, err error)
Build creates a list of 'SKU' objects using the configuration stored in the builder.
func (*SKUListBuilder) Copy ¶
func (b *SKUListBuilder) Copy(list *SKUList) *SKUListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SKUListBuilder) Items ¶
func (b *SKUListBuilder) Items(values ...*SKUBuilder) *SKUListBuilder
Items sets the items of the list.
type SKUPollRequest ¶
type SKUPollRequest struct {
// contains filtered or unexported fields
}
SKUPollRequest is the request for the Poll method.
func (*SKUPollRequest) Header ¶
func (r *SKUPollRequest) Header(name string, value interface{}) *SKUPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*SKUPollRequest) Interval ¶
func (r *SKUPollRequest) Interval(value time.Duration) *SKUPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*SKUPollRequest) Parameter ¶
func (r *SKUPollRequest) Parameter(name string, value interface{}) *SKUPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*SKUPollRequest) Predicate ¶
func (r *SKUPollRequest) Predicate(value func(*SKUGetResponse) bool) *SKUPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*SKUPollRequest) StartContext ¶
func (r *SKUPollRequest) StartContext(ctx context.Context) (response *SKUPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*SKUPollRequest) Status ¶
func (r *SKUPollRequest) Status(value int) *SKUPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type SKUPollResponse ¶
type SKUPollResponse struct {
// contains filtered or unexported fields
}
SKUPollResponse is the response for the Poll method.
func (*SKUPollResponse) Body ¶
func (r *SKUPollResponse) Body() *SKU
Body returns the value of the 'body' parameter.
func (*SKUPollResponse) Error ¶
func (r *SKUPollResponse) Error() *errors.Error
Error returns the response error.
func (*SKUPollResponse) GetBody ¶
func (r *SKUPollResponse) GetBody() (value *SKU, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SKUPollResponse) Header ¶
func (r *SKUPollResponse) Header() http.Header
Header returns header of the response.
func (*SKUPollResponse) Status ¶
func (r *SKUPollResponse) Status() int
Status returns the response status code.
type SKUSClient ¶
type SKUSClient struct {
// contains filtered or unexported fields
}
SKUSClient is the client of the 'SKUS' resource.
Manages the collection of SKUS.
func NewSKUSClient ¶
func NewSKUSClient(transport http.RoundTripper, path string, metric string) *SKUSClient
NewSKUSClient creates a new client for the 'SKUS' resource using the given transport to send the requests and receive the responses.
func (*SKUSClient) List ¶
func (c *SKUSClient) List() *SKUSListRequest
List creates a request for the 'list' method.
Retrieves a list of SKUS.
func (*SKUSClient) SKU ¶
func (c *SKUSClient) SKU(id string) *SKUClient
SKU returns the target 'SKU' resource for the given identifier.
Reference to the service that manages a specific SKU.
type SKUSListRequest ¶
type SKUSListRequest struct {
// contains filtered or unexported fields
}
SKUSListRequest is the request for the 'list' method.
func (*SKUSListRequest) Header ¶
func (r *SKUSListRequest) Header(name string, value interface{}) *SKUSListRequest
Header adds a request header.
func (*SKUSListRequest) Page ¶
func (r *SKUSListRequest) Page(value int) *SKUSListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SKUSListRequest) Parameter ¶
func (r *SKUSListRequest) Parameter(name string, value interface{}) *SKUSListRequest
Parameter adds a query parameter.
func (*SKUSListRequest) Search ¶
func (r *SKUSListRequest) Search(value string) *SKUSListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the SKU instead of the names of the columns of a table. For example, in order to retrieve SKUS large sized resources:
[source,sql] ---- resource_name like '%large' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*SKUSListRequest) Send ¶
func (r *SKUSListRequest) Send() (result *SKUSListResponse, 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 (*SKUSListRequest) SendContext ¶
func (r *SKUSListRequest) SendContext(ctx context.Context) (result *SKUSListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*SKUSListRequest) Size ¶
func (r *SKUSListRequest) Size(value int) *SKUSListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SKUSListResponse ¶
type SKUSListResponse struct {
// contains filtered or unexported fields
}
SKUSListResponse is the response for the 'list' method.
func (*SKUSListResponse) Error ¶
func (r *SKUSListResponse) Error() *errors.Error
Error returns the response error.
func (*SKUSListResponse) GetItems ¶
func (r *SKUSListResponse) GetItems() (value *SKUList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of SKUS.
func (*SKUSListResponse) GetPage ¶
func (r *SKUSListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SKUSListResponse) GetSize ¶
func (r *SKUSListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SKUSListResponse) GetTotal ¶
func (r *SKUSListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*SKUSListResponse) Header ¶
func (r *SKUSListResponse) Header() http.Header
Header returns header of the response.
func (*SKUSListResponse) Items ¶
func (r *SKUSListResponse) Items() *SKUList
Items returns the value of the 'items' parameter.
Retrieved list of SKUS.
func (*SKUSListResponse) Page ¶
func (r *SKUSListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SKUSListResponse) Size ¶
func (r *SKUSListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SKUSListResponse) Status ¶
func (r *SKUSListResponse) Status() int
Status returns the response status code.
func (*SKUSListResponse) Total ¶
func (r *SKUSListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SKUSListServerRequest ¶
type SKUSListServerRequest struct {
// contains filtered or unexported fields
}
SKUSListServerRequest is the request for the 'list' method.
func (*SKUSListServerRequest) GetPage ¶
func (r *SKUSListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SKUSListServerRequest) GetSearch ¶
func (r *SKUSListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the SKU instead of the names of the columns of a table. For example, in order to retrieve SKUS large sized resources:
[source,sql] ---- resource_name like '%large' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*SKUSListServerRequest) GetSize ¶
func (r *SKUSListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SKUSListServerRequest) Page ¶
func (r *SKUSListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SKUSListServerRequest) Search ¶
func (r *SKUSListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the SKU instead of the names of the columns of a table. For example, in order to retrieve SKUS large sized resources:
[source,sql] ---- resource_name like '%large' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*SKUSListServerRequest) Size ¶
func (r *SKUSListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SKUSListServerResponse ¶
type SKUSListServerResponse struct {
// contains filtered or unexported fields
}
SKUSListServerResponse is the response for the 'list' method.
func (*SKUSListServerResponse) Items ¶
func (r *SKUSListServerResponse) Items(value *SKUList) *SKUSListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of SKUS.
func (*SKUSListServerResponse) Page ¶
func (r *SKUSListServerResponse) Page(value int) *SKUSListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SKUSListServerResponse) Size ¶
func (r *SKUSListServerResponse) Size(value int) *SKUSListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SKUSListServerResponse) Status ¶
func (r *SKUSListServerResponse) Status(value int) *SKUSListServerResponse
Status sets the status code.
func (*SKUSListServerResponse) Total ¶
func (r *SKUSListServerResponse) Total(value int) *SKUSListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SKUSServer ¶
type SKUSServer interface { // List handles a request for the 'list' method. // // Retrieves a list of SKUS. List(ctx context.Context, request *SKUSListServerRequest, response *SKUSListServerResponse) error // SKU returns the target 'SKU' server for the given identifier. // // Reference to the service that manages a specific SKU. SKU(id string) SKUServer }
SKUSServer represents the interface the manages the 'SKUS' resource.
type SKUServer ¶
type SKUServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the SKU. Get(ctx context.Context, request *SKUGetServerRequest, response *SKUGetServerResponse) error }
SKUServer represents the interface the manages the 'SKU' resource.
type Server ¶
type Server interface { // SKUS returns the target 'SKUS' resource. // // Reference to the resource that manages the collection of // SKUS SKUS() SKUSServer // AccessToken returns the target 'access_token' resource. // // Reference to the resource that manages generates access tokens. AccessToken() AccessTokenServer // Accounts returns the target 'accounts' resource. // // Reference to the resource that manages the collection of accounts. Accounts() AccountsServer // ClusterAuthorizations returns the target 'cluster_authorizations' resource. // // Reference to the resource that manages cluster authorizations. ClusterAuthorizations() ClusterAuthorizationsServer // ClusterRegistrations returns the target 'cluster_registrations' resource. // // Reference to the resource that manages cluster registrations. ClusterRegistrations() ClusterRegistrationsServer // CurrentAccess returns the target 'roles' resource. // // Reference to the resource that manages the current authenticated // account. CurrentAccess() RolesServer // CurrentAccount returns the target 'current_account' resource. // // Reference to the resource that manages the current authenticated // account. CurrentAccount() CurrentAccountServer // FeatureToggles returns the target 'feature_toggles' resource. // // Reference to the resource that manages feature toggles. FeatureToggles() FeatureTogglesServer // Labels returns the target 'labels' resource. // // Reference to the resource that manages the collection of labels. Labels() LabelsServer // Notify returns the target 'notify' resource. // // Reference to the resource that manages the notifications. Notify() NotifyServer // Organizations returns the target 'organizations' resource. // // Reference to the resource that manages the collection of // organizations. Organizations() OrganizationsServer // Permissions returns the target 'permissions' resource. // // Reference to the resource that manages the collection of permissions. Permissions() PermissionsServer // PullSecrets returns the target 'pull_secrets' resource. // // Reference to the resource that manages generates access tokens. PullSecrets() PullSecretsServer // Registries returns the target 'registries' resource. // // Reference to the resource that manages the collection of registries. Registries() RegistriesServer // RegistryCredentials returns the target 'registry_credentials' resource. // // Reference to the resource that manages the collection of registry // credentials. RegistryCredentials() RegistryCredentialsServer // ResourceQuota returns the target 'resource_quotas' resource. // // Reference to the resource that manages the collection of resource // quota. ResourceQuota() ResourceQuotasServer // RoleBindings returns the target 'role_bindings' resource. // // Reference to the resource that manages the collection of role // bindings. RoleBindings() RoleBindingsServer // Roles returns the target 'roles' resource. // // Reference to the resource that manages the collection of roles. Roles() RolesServer // SkuRules returns the target 'sku_rules' resource. // // Reference to the resource that manages the collection of // Sku Rules SkuRules() SkuRulesServer // Subscriptions returns the target 'subscriptions' resource. // // Reference to the resource that manages the collection of // subscriptions. Subscriptions() SubscriptionsServer // SupportCases returns the target 'support_cases' resource. // // Reference to the resource that manages the support cases. SupportCases() SupportCasesServer // TokenAuthorization returns the target 'token_authorization' resource. // // Reference to the resource that manages token authorization. TokenAuthorization() TokenAuthorizationServer }
Server represents the interface the manages the 'root' resource.
type ServiceLevelEnum ¶
type ServiceLevelEnum string
ServiceLevelEnum represents the values of the 'service_level_enum' enumerated type.
func UnmarshalServiceLevelEnumList ¶
func UnmarshalServiceLevelEnumList(source interface{}) (items []ServiceLevelEnum, err error)
UnmarshalServiceLevelEnumList reads a list of values of the 'service_level_enum' type from the given source, which can be a slice of bytes, a string or a reader.
type SkuRule ¶
type SkuRule struct {
// contains filtered or unexported fields
}
SkuRule represents the values of the 'sku_rule' type.
Identifies sku rule
func UnmarshalSkuRule ¶
UnmarshalSkuRule reads a value of the 'sku_rule' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSkuRuleList ¶
UnmarshalSkuRuleList reads a list of values of the 'sku_rule' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SkuRule) Allowed ¶
Allowed returns the value of the 'allowed' attribute, or the zero value of the type if the attribute doesn't have a value.
Specifies the allowed parameter for calculation
func (*SkuRule) GetAllowed ¶
GetAllowed returns the value of the 'allowed' attribute and a flag indicating if the attribute has a value.
Specifies the allowed parameter for calculation
func (*SkuRule) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SkuRule) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SkuRule) GetQuotaId ¶
GetQuotaId returns the value of the 'quota_id' attribute and a flag indicating if the attribute has a value.
Specifies the quota id
func (*SkuRule) GetSku ¶
GetSku returns the value of the 'sku' attribute and a flag indicating if the attribute has a value.
Specifies the sku, such as ""MW00504""
type SkuRuleBuilder ¶
type SkuRuleBuilder struct {
// contains filtered or unexported fields
}
SkuRuleBuilder contains the data and logic needed to build 'sku_rule' objects.
Identifies sku rule
func NewSkuRule ¶
func NewSkuRule() *SkuRuleBuilder
NewSkuRule creates a new builder of 'sku_rule' objects.
func (*SkuRuleBuilder) Allowed ¶
func (b *SkuRuleBuilder) Allowed(value int) *SkuRuleBuilder
Allowed sets the value of the 'allowed' attribute to the given value.
func (*SkuRuleBuilder) Build ¶
func (b *SkuRuleBuilder) Build() (object *SkuRule, err error)
Build creates a 'sku_rule' object using the configuration stored in the builder.
func (*SkuRuleBuilder) Copy ¶
func (b *SkuRuleBuilder) Copy(object *SkuRule) *SkuRuleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SkuRuleBuilder) HREF ¶
func (b *SkuRuleBuilder) HREF(value string) *SkuRuleBuilder
HREF sets the link to the object.
func (*SkuRuleBuilder) ID ¶
func (b *SkuRuleBuilder) ID(value string) *SkuRuleBuilder
ID sets the identifier of the object.
func (*SkuRuleBuilder) Link ¶
func (b *SkuRuleBuilder) Link(value bool) *SkuRuleBuilder
Link sets the flag that indicates if this is a link.
func (*SkuRuleBuilder) QuotaId ¶
func (b *SkuRuleBuilder) QuotaId(value string) *SkuRuleBuilder
QuotaId sets the value of the 'quota_id' attribute to the given value.
func (*SkuRuleBuilder) Sku ¶
func (b *SkuRuleBuilder) Sku(value string) *SkuRuleBuilder
Sku sets the value of the 'sku' attribute to the given value.
type SkuRuleClient ¶
type SkuRuleClient struct {
// contains filtered or unexported fields
}
SkuRuleClient is the client of the 'sku_rule' resource.
Manages a specific Sku Rule.
func NewSkuRuleClient ¶
func NewSkuRuleClient(transport http.RoundTripper, path string, metric string) *SkuRuleClient
NewSkuRuleClient creates a new client for the 'sku_rule' resource using the given transport to send the requests and receive the responses.
func (*SkuRuleClient) Get ¶
func (c *SkuRuleClient) Get() *SkuRuleGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the Sku Rule.
func (*SkuRuleClient) Poll ¶
func (c *SkuRuleClient) Poll() *SkuRulePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type SkuRuleGetRequest ¶
type SkuRuleGetRequest struct {
// contains filtered or unexported fields
}
SkuRuleGetRequest is the request for the 'get' method.
func (*SkuRuleGetRequest) Header ¶
func (r *SkuRuleGetRequest) Header(name string, value interface{}) *SkuRuleGetRequest
Header adds a request header.
func (*SkuRuleGetRequest) Parameter ¶
func (r *SkuRuleGetRequest) Parameter(name string, value interface{}) *SkuRuleGetRequest
Parameter adds a query parameter.
func (*SkuRuleGetRequest) Send ¶
func (r *SkuRuleGetRequest) Send() (result *SkuRuleGetResponse, 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 (*SkuRuleGetRequest) SendContext ¶
func (r *SkuRuleGetRequest) SendContext(ctx context.Context) (result *SkuRuleGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SkuRuleGetResponse ¶
type SkuRuleGetResponse struct {
// contains filtered or unexported fields
}
SkuRuleGetResponse is the response for the 'get' method.
func (*SkuRuleGetResponse) Body ¶
func (r *SkuRuleGetResponse) Body() *SkuRule
Body returns the value of the 'body' parameter.
func (*SkuRuleGetResponse) Error ¶
func (r *SkuRuleGetResponse) Error() *errors.Error
Error returns the response error.
func (*SkuRuleGetResponse) GetBody ¶
func (r *SkuRuleGetResponse) GetBody() (value *SkuRule, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SkuRuleGetResponse) Header ¶
func (r *SkuRuleGetResponse) Header() http.Header
Header returns header of the response.
func (*SkuRuleGetResponse) Status ¶
func (r *SkuRuleGetResponse) Status() int
Status returns the response status code.
type SkuRuleGetServerRequest ¶
type SkuRuleGetServerRequest struct { }
SkuRuleGetServerRequest is the request for the 'get' method.
type SkuRuleGetServerResponse ¶
type SkuRuleGetServerResponse struct {
// contains filtered or unexported fields
}
SkuRuleGetServerResponse is the response for the 'get' method.
func (*SkuRuleGetServerResponse) Body ¶
func (r *SkuRuleGetServerResponse) Body(value *SkuRule) *SkuRuleGetServerResponse
Body sets the value of the 'body' parameter.
func (*SkuRuleGetServerResponse) Status ¶
func (r *SkuRuleGetServerResponse) Status(value int) *SkuRuleGetServerResponse
Status sets the status code.
type SkuRuleList ¶
type SkuRuleList struct {
// contains filtered or unexported fields
}
SkuRuleList is a list of values of the 'sku_rule' type.
func (*SkuRuleList) Each ¶
func (l *SkuRuleList) Each(f func(item *SkuRule) 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 (*SkuRuleList) Empty ¶
func (l *SkuRuleList) Empty() bool
Empty returns true if the list is empty.
func (*SkuRuleList) Get ¶
func (l *SkuRuleList) Get(i int) *SkuRule
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SkuRuleList) GetHREF ¶
func (l *SkuRuleList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SkuRuleList) Kind ¶
func (l *SkuRuleList) Kind() string
Kind returns the name of the type of the object.
func (*SkuRuleList) Range ¶
func (l *SkuRuleList) Range(f func(index int, item *SkuRule) 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 (*SkuRuleList) Slice ¶
func (l *SkuRuleList) Slice() []*SkuRule
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 SkuRuleListBuilder ¶
type SkuRuleListBuilder struct {
// contains filtered or unexported fields
}
SkuRuleListBuilder contains the data and logic needed to build 'sku_rule' objects.
func NewSkuRuleList ¶
func NewSkuRuleList() *SkuRuleListBuilder
NewSkuRuleList creates a new builder of 'sku_rule' objects.
func (*SkuRuleListBuilder) Build ¶
func (b *SkuRuleListBuilder) Build() (list *SkuRuleList, err error)
Build creates a list of 'sku_rule' objects using the configuration stored in the builder.
func (*SkuRuleListBuilder) Copy ¶
func (b *SkuRuleListBuilder) Copy(list *SkuRuleList) *SkuRuleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SkuRuleListBuilder) Items ¶
func (b *SkuRuleListBuilder) Items(values ...*SkuRuleBuilder) *SkuRuleListBuilder
Items sets the items of the list.
type SkuRulePollRequest ¶
type SkuRulePollRequest struct {
// contains filtered or unexported fields
}
SkuRulePollRequest is the request for the Poll method.
func (*SkuRulePollRequest) Header ¶
func (r *SkuRulePollRequest) Header(name string, value interface{}) *SkuRulePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*SkuRulePollRequest) Interval ¶
func (r *SkuRulePollRequest) Interval(value time.Duration) *SkuRulePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*SkuRulePollRequest) Parameter ¶
func (r *SkuRulePollRequest) Parameter(name string, value interface{}) *SkuRulePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*SkuRulePollRequest) Predicate ¶
func (r *SkuRulePollRequest) Predicate(value func(*SkuRuleGetResponse) bool) *SkuRulePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*SkuRulePollRequest) StartContext ¶
func (r *SkuRulePollRequest) StartContext(ctx context.Context) (response *SkuRulePollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*SkuRulePollRequest) Status ¶
func (r *SkuRulePollRequest) Status(value int) *SkuRulePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type SkuRulePollResponse ¶
type SkuRulePollResponse struct {
// contains filtered or unexported fields
}
SkuRulePollResponse is the response for the Poll method.
func (*SkuRulePollResponse) Body ¶
func (r *SkuRulePollResponse) Body() *SkuRule
Body returns the value of the 'body' parameter.
func (*SkuRulePollResponse) Error ¶
func (r *SkuRulePollResponse) Error() *errors.Error
Error returns the response error.
func (*SkuRulePollResponse) GetBody ¶
func (r *SkuRulePollResponse) GetBody() (value *SkuRule, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SkuRulePollResponse) Header ¶
func (r *SkuRulePollResponse) Header() http.Header
Header returns header of the response.
func (*SkuRulePollResponse) Status ¶
func (r *SkuRulePollResponse) Status() int
Status returns the response status code.
type SkuRuleServer ¶
type SkuRuleServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the Sku Rule. Get(ctx context.Context, request *SkuRuleGetServerRequest, response *SkuRuleGetServerResponse) error }
SkuRuleServer represents the interface the manages the 'sku_rule' resource.
type SkuRulesClient ¶
type SkuRulesClient struct {
// contains filtered or unexported fields
}
SkuRulesClient is the client of the 'sku_rules' resource.
Manages the collection of SkuRules.
func NewSkuRulesClient ¶
func NewSkuRulesClient(transport http.RoundTripper, path string, metric string) *SkuRulesClient
NewSkuRulesClient creates a new client for the 'sku_rules' resource using the given transport to send the requests and receive the responses.
func (*SkuRulesClient) List ¶
func (c *SkuRulesClient) List() *SkuRulesListRequest
List creates a request for the 'list' method.
Retrieves a list of Sku Rules.
func (*SkuRulesClient) SkuRule ¶
func (c *SkuRulesClient) SkuRule(id string) *SkuRuleClient
SkuRule returns the target 'sku_rule' resource for the given identifier.
Reference to the service that manages a specific SkuRule.
type SkuRulesListRequest ¶
type SkuRulesListRequest struct {
// contains filtered or unexported fields
}
SkuRulesListRequest is the request for the 'list' method.
func (*SkuRulesListRequest) Header ¶
func (r *SkuRulesListRequest) Header(name string, value interface{}) *SkuRulesListRequest
Header adds a request header.
func (*SkuRulesListRequest) Page ¶
func (r *SkuRulesListRequest) Page(value int) *SkuRulesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SkuRulesListRequest) Parameter ¶
func (r *SkuRulesListRequest) Parameter(name string, value interface{}) *SkuRulesListRequest
Parameter adds a query parameter.
func (*SkuRulesListRequest) Search ¶
func (r *SkuRulesListRequest) Search(value string) *SkuRulesListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the SKU instead of the names of the columns of a table. For example, in order to retrieve SKUS large sized resources:
[source,sql] ---- resource_name like '%large' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*SkuRulesListRequest) Send ¶
func (r *SkuRulesListRequest) Send() (result *SkuRulesListResponse, 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 (*SkuRulesListRequest) SendContext ¶
func (r *SkuRulesListRequest) SendContext(ctx context.Context) (result *SkuRulesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*SkuRulesListRequest) Size ¶
func (r *SkuRulesListRequest) Size(value int) *SkuRulesListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SkuRulesListResponse ¶
type SkuRulesListResponse struct {
// contains filtered or unexported fields
}
SkuRulesListResponse is the response for the 'list' method.
func (*SkuRulesListResponse) Error ¶
func (r *SkuRulesListResponse) Error() *errors.Error
Error returns the response error.
func (*SkuRulesListResponse) GetItems ¶
func (r *SkuRulesListResponse) GetItems() (value *SkuRuleList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of Sku Rules.
func (*SkuRulesListResponse) GetPage ¶
func (r *SkuRulesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SkuRulesListResponse) GetSize ¶
func (r *SkuRulesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SkuRulesListResponse) GetTotal ¶
func (r *SkuRulesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*SkuRulesListResponse) Header ¶
func (r *SkuRulesListResponse) Header() http.Header
Header returns header of the response.
func (*SkuRulesListResponse) Items ¶
func (r *SkuRulesListResponse) Items() *SkuRuleList
Items returns the value of the 'items' parameter.
Retrieved list of Sku Rules.
func (*SkuRulesListResponse) Page ¶
func (r *SkuRulesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SkuRulesListResponse) Size ¶
func (r *SkuRulesListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SkuRulesListResponse) Status ¶
func (r *SkuRulesListResponse) Status() int
Status returns the response status code.
func (*SkuRulesListResponse) Total ¶
func (r *SkuRulesListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SkuRulesListServerRequest ¶
type SkuRulesListServerRequest struct {
// contains filtered or unexported fields
}
SkuRulesListServerRequest is the request for the 'list' method.
func (*SkuRulesListServerRequest) GetPage ¶
func (r *SkuRulesListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SkuRulesListServerRequest) GetSearch ¶
func (r *SkuRulesListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the SKU instead of the names of the columns of a table. For example, in order to retrieve SKUS large sized resources:
[source,sql] ---- resource_name like '%large' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*SkuRulesListServerRequest) GetSize ¶
func (r *SkuRulesListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SkuRulesListServerRequest) Page ¶
func (r *SkuRulesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SkuRulesListServerRequest) Search ¶
func (r *SkuRulesListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, but using the names of the attributes of the SKU instead of the names of the columns of a table. For example, in order to retrieve SKUS large sized resources:
[source,sql] ---- resource_name like '%large' ----
If the parameter isn't provided, or if the value is empty, then all the items that the user has permission to see will be returned.
func (*SkuRulesListServerRequest) Size ¶
func (r *SkuRulesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SkuRulesListServerResponse ¶
type SkuRulesListServerResponse struct {
// contains filtered or unexported fields
}
SkuRulesListServerResponse is the response for the 'list' method.
func (*SkuRulesListServerResponse) Items ¶
func (r *SkuRulesListServerResponse) Items(value *SkuRuleList) *SkuRulesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of Sku Rules.
func (*SkuRulesListServerResponse) Page ¶
func (r *SkuRulesListServerResponse) Page(value int) *SkuRulesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SkuRulesListServerResponse) Size ¶
func (r *SkuRulesListServerResponse) Size(value int) *SkuRulesListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SkuRulesListServerResponse) Status ¶
func (r *SkuRulesListServerResponse) Status(value int) *SkuRulesListServerResponse
Status sets the status code.
func (*SkuRulesListServerResponse) Total ¶
func (r *SkuRulesListServerResponse) Total(value int) *SkuRulesListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SkuRulesServer ¶
type SkuRulesServer interface { // List handles a request for the 'list' method. // // Retrieves a list of Sku Rules. List(ctx context.Context, request *SkuRulesListServerRequest, response *SkuRulesListServerResponse) error // SkuRule returns the target 'sku_rule' server for the given identifier. // // Reference to the service that manages a specific SkuRule. SkuRule(id string) SkuRuleServer }
SkuRulesServer represents the interface the manages the 'sku_rules' resource.
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
Subscription represents the values of the 'subscription' type.
func UnmarshalSubscription ¶
func UnmarshalSubscription(source interface{}) (object *Subscription, err error)
UnmarshalSubscription reads a value of the 'subscription' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSubscriptionList ¶
func UnmarshalSubscriptionList(source interface{}) (items []*Subscription, err error)
UnmarshalSubscriptionList reads a list of values of the 'subscription' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Subscription) ClusterID ¶
func (o *Subscription) 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.
func (*Subscription) ConsumerUUID ¶
func (o *Subscription) ConsumerUUID() string
ConsumerUUID returns the value of the 'consumer_UUID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) CpuTotal ¶
func (o *Subscription) CpuTotal() int
CpuTotal returns the value of the 'cpu_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) CreatedAt ¶
func (o *Subscription) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Creator ¶
func (o *Subscription) Creator() *Account
Creator returns the value of the 'creator' attribute, or the zero value of the type if the attribute doesn't have a value.
Link to the account that created the subscription.
func (*Subscription) DisplayName ¶
func (o *Subscription) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Empty ¶
func (o *Subscription) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Subscription) ExternalClusterID ¶
func (o *Subscription) ExternalClusterID() string
ExternalClusterID returns the value of the 'external_cluster_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) GetClusterID ¶
func (o *Subscription) GetClusterID() (value string, ok bool)
GetClusterID returns the value of the 'cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetConsumerUUID ¶
func (o *Subscription) GetConsumerUUID() (value string, ok bool)
GetConsumerUUID returns the value of the 'consumer_UUID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCpuTotal ¶
func (o *Subscription) GetCpuTotal() (value int, ok bool)
GetCpuTotal returns the value of the 'cpu_total' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCreatedAt ¶
func (o *Subscription) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetCreator ¶
func (o *Subscription) GetCreator() (value *Account, ok bool)
GetCreator returns the value of the 'creator' attribute and a flag indicating if the attribute has a value.
Link to the account that created the subscription.
func (*Subscription) GetDisplayName ¶
func (o *Subscription) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetExternalClusterID ¶
func (o *Subscription) GetExternalClusterID() (value string, ok bool)
GetExternalClusterID returns the value of the 'external_cluster_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetHREF ¶
func (o *Subscription) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Subscription) GetID ¶
func (o *Subscription) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Subscription) GetLabels ¶
func (o *Subscription) GetLabels() (value []*Label, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetLastReconcileDate ¶
func (o *Subscription) GetLastReconcileDate() (value time.Time, ok bool)
GetLastReconcileDate returns the value of the 'last_reconcile_date' attribute and a flag indicating if the attribute has a value.
Last time this subscription were reconciled about cluster usage
func (*Subscription) GetLastTelemetryDate ¶
func (o *Subscription) GetLastTelemetryDate() (value time.Time, ok bool)
GetLastTelemetryDate returns the value of the 'last_telemetry_date' attribute and a flag indicating if the attribute has a value.
Last telemetry authorization request for this cluster/subscription in Unix time
func (*Subscription) GetManaged ¶
func (o *Subscription) GetManaged() (value bool, ok bool)
GetManaged returns the value of the 'managed' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetOrganizationID ¶
func (o *Subscription) GetOrganizationID() (value string, ok bool)
GetOrganizationID returns the value of the 'organization_ID' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetPlan ¶
func (o *Subscription) GetPlan() (value *Plan, ok bool)
GetPlan returns the value of the 'plan' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetProductBundle ¶
func (o *Subscription) GetProductBundle() (value ProductBundleEnum, ok bool)
GetProductBundle returns the value of the 'product_bundle' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetServiceLevel ¶
func (o *Subscription) GetServiceLevel() (value ServiceLevelEnum, ok bool)
GetServiceLevel returns the value of the 'service_level' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetSocketTotal ¶
func (o *Subscription) GetSocketTotal() (value int, ok bool)
GetSocketTotal returns the value of the 'socket_total' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetStatus ¶
func (o *Subscription) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetSupportLevel ¶
func (o *Subscription) GetSupportLevel() (value SupportLevelEnum, ok bool)
GetSupportLevel returns the value of the 'support_level' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetSystemUnits ¶
func (o *Subscription) GetSystemUnits() (value SystemUnitsEnum, ok bool)
GetSystemUnits returns the value of the 'system_units' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetUpdatedAt ¶
func (o *Subscription) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Subscription) GetUsage ¶
func (o *Subscription) GetUsage() (value UsageEnum, ok bool)
GetUsage returns the value of the 'usage' attribute and a flag indicating if the attribute has a value.
func (*Subscription) HREF ¶
func (o *Subscription) HREF() string
HREF returns the link to the object.
func (*Subscription) ID ¶
func (o *Subscription) ID() string
ID returns the identifier of the object.
func (*Subscription) Kind ¶
func (o *Subscription) Kind() string
Kind returns the name of the type of the object.
func (*Subscription) Labels ¶
func (o *Subscription) Labels() []*Label
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) LastReconcileDate ¶
func (o *Subscription) LastReconcileDate() time.Time
LastReconcileDate returns the value of the 'last_reconcile_date' attribute, or the zero value of the type if the attribute doesn't have a value.
Last time this subscription were reconciled about cluster usage
func (*Subscription) LastTelemetryDate ¶
func (o *Subscription) LastTelemetryDate() time.Time
LastTelemetryDate returns the value of the 'last_telemetry_date' attribute, or the zero value of the type if the attribute doesn't have a value.
Last telemetry authorization request for this cluster/subscription in Unix time
func (*Subscription) Link ¶
func (o *Subscription) Link() bool
Link returns true iif this is a link.
func (*Subscription) Managed ¶
func (o *Subscription) Managed() bool
Managed returns the value of the 'managed' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) OrganizationID ¶
func (o *Subscription) 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.
func (*Subscription) Plan ¶
func (o *Subscription) Plan() *Plan
Plan returns the value of the 'plan' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ProductBundle ¶
func (o *Subscription) ProductBundle() ProductBundleEnum
ProductBundle returns the value of the 'product_bundle' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) ServiceLevel ¶
func (o *Subscription) ServiceLevel() ServiceLevelEnum
ServiceLevel returns the value of the 'service_level' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) SocketTotal ¶
func (o *Subscription) SocketTotal() int
SocketTotal returns the value of the 'socket_total' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Status ¶
func (o *Subscription) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) SupportLevel ¶
func (o *Subscription) SupportLevel() SupportLevelEnum
SupportLevel returns the value of the 'support_level' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) SystemUnits ¶
func (o *Subscription) SystemUnits() SystemUnitsEnum
SystemUnits returns the value of the 'system_units' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) UpdatedAt ¶
func (o *Subscription) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Subscription) Usage ¶
func (o *Subscription) Usage() UsageEnum
Usage returns the value of the 'usage' attribute, or the zero value of the type if the attribute doesn't have a value.
type SubscriptionBuilder ¶
type SubscriptionBuilder struct {
// contains filtered or unexported fields
}
SubscriptionBuilder contains the data and logic needed to build 'subscription' objects.
func NewSubscription ¶
func NewSubscription() *SubscriptionBuilder
NewSubscription creates a new builder of 'subscription' objects.
func (*SubscriptionBuilder) Build ¶
func (b *SubscriptionBuilder) Build() (object *Subscription, err error)
Build creates a 'subscription' object using the configuration stored in the builder.
func (*SubscriptionBuilder) ClusterID ¶
func (b *SubscriptionBuilder) ClusterID(value string) *SubscriptionBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SubscriptionBuilder) ConsumerUUID ¶
func (b *SubscriptionBuilder) ConsumerUUID(value string) *SubscriptionBuilder
ConsumerUUID sets the value of the 'consumer_UUID' attribute to the given value.
func (*SubscriptionBuilder) Copy ¶
func (b *SubscriptionBuilder) Copy(object *Subscription) *SubscriptionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SubscriptionBuilder) CpuTotal ¶
func (b *SubscriptionBuilder) CpuTotal(value int) *SubscriptionBuilder
CpuTotal sets the value of the 'cpu_total' attribute to the given value.
func (*SubscriptionBuilder) CreatedAt ¶
func (b *SubscriptionBuilder) CreatedAt(value time.Time) *SubscriptionBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*SubscriptionBuilder) Creator ¶
func (b *SubscriptionBuilder) Creator(value *AccountBuilder) *SubscriptionBuilder
Creator sets the value of the 'creator' attribute to the given value.
func (*SubscriptionBuilder) DisplayName ¶
func (b *SubscriptionBuilder) DisplayName(value string) *SubscriptionBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*SubscriptionBuilder) ExternalClusterID ¶
func (b *SubscriptionBuilder) ExternalClusterID(value string) *SubscriptionBuilder
ExternalClusterID sets the value of the 'external_cluster_ID' attribute to the given value.
func (*SubscriptionBuilder) HREF ¶
func (b *SubscriptionBuilder) HREF(value string) *SubscriptionBuilder
HREF sets the link to the object.
func (*SubscriptionBuilder) ID ¶
func (b *SubscriptionBuilder) ID(value string) *SubscriptionBuilder
ID sets the identifier of the object.
func (*SubscriptionBuilder) Labels ¶
func (b *SubscriptionBuilder) Labels(values ...*LabelBuilder) *SubscriptionBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*SubscriptionBuilder) LastReconcileDate ¶
func (b *SubscriptionBuilder) LastReconcileDate(value time.Time) *SubscriptionBuilder
LastReconcileDate sets the value of the 'last_reconcile_date' attribute to the given value.
func (*SubscriptionBuilder) LastTelemetryDate ¶
func (b *SubscriptionBuilder) LastTelemetryDate(value time.Time) *SubscriptionBuilder
LastTelemetryDate sets the value of the 'last_telemetry_date' attribute to the given value.
func (*SubscriptionBuilder) Link ¶
func (b *SubscriptionBuilder) Link(value bool) *SubscriptionBuilder
Link sets the flag that indicates if this is a link.
func (*SubscriptionBuilder) Managed ¶
func (b *SubscriptionBuilder) Managed(value bool) *SubscriptionBuilder
Managed sets the value of the 'managed' attribute to the given value.
func (*SubscriptionBuilder) OrganizationID ¶
func (b *SubscriptionBuilder) OrganizationID(value string) *SubscriptionBuilder
OrganizationID sets the value of the 'organization_ID' attribute to the given value.
func (*SubscriptionBuilder) Plan ¶
func (b *SubscriptionBuilder) Plan(value *PlanBuilder) *SubscriptionBuilder
Plan sets the value of the 'plan' attribute to the given value.
func (*SubscriptionBuilder) ProductBundle ¶
func (b *SubscriptionBuilder) ProductBundle(value ProductBundleEnum) *SubscriptionBuilder
ProductBundle sets the value of the 'product_bundle' attribute to the given value.
Usage of Subscription.
func (*SubscriptionBuilder) ServiceLevel ¶
func (b *SubscriptionBuilder) ServiceLevel(value ServiceLevelEnum) *SubscriptionBuilder
ServiceLevel sets the value of the 'service_level' attribute to the given value.
Service Level of Subscription.
func (*SubscriptionBuilder) SocketTotal ¶
func (b *SubscriptionBuilder) SocketTotal(value int) *SubscriptionBuilder
SocketTotal sets the value of the 'socket_total' attribute to the given value.
func (*SubscriptionBuilder) Status ¶
func (b *SubscriptionBuilder) Status(value string) *SubscriptionBuilder
Status sets the value of the 'status' attribute to the given value.
func (*SubscriptionBuilder) SupportLevel ¶
func (b *SubscriptionBuilder) SupportLevel(value SupportLevelEnum) *SubscriptionBuilder
SupportLevel sets the value of the 'support_level' attribute to the given value.
Support Level of Subscription.
func (*SubscriptionBuilder) SystemUnits ¶
func (b *SubscriptionBuilder) SystemUnits(value SystemUnitsEnum) *SubscriptionBuilder
SystemUnits sets the value of the 'system_units' attribute to the given value.
Usage of Subscription.
func (*SubscriptionBuilder) UpdatedAt ¶
func (b *SubscriptionBuilder) UpdatedAt(value time.Time) *SubscriptionBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*SubscriptionBuilder) Usage ¶
func (b *SubscriptionBuilder) Usage(value UsageEnum) *SubscriptionBuilder
Usage sets the value of the 'usage' attribute to the given value.
Usage of Subscription.
type SubscriptionClient ¶
type SubscriptionClient struct {
// contains filtered or unexported fields
}
SubscriptionClient is the client of the 'subscription' resource.
Manages a specific subscription.
func NewSubscriptionClient ¶
func NewSubscriptionClient(transport http.RoundTripper, path string, metric string) *SubscriptionClient
NewSubscriptionClient creates a new client for the 'subscription' resource using the given transport to send the requests and receive the responses.
func (*SubscriptionClient) Delete ¶
func (c *SubscriptionClient) Delete() *SubscriptionDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the subscription by ID.
func (*SubscriptionClient) Get ¶
func (c *SubscriptionClient) Get() *SubscriptionGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the subscription by ID.
func (*SubscriptionClient) Labels ¶
func (c *SubscriptionClient) Labels() *GenericLabelsClient
Labels returns the target 'generic_labels' resource.
Reference to the list of labels of a specific subscription.
func (*SubscriptionClient) Notify ¶
func (c *SubscriptionClient) Notify() *SubscriptionNotifyClient
Notify returns the target 'subscription_notify' resource.
Notify a user related to the subscription via email
func (*SubscriptionClient) Poll ¶
func (c *SubscriptionClient) Poll() *SubscriptionPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*SubscriptionClient) ReservedResources ¶
func (c *SubscriptionClient) ReservedResources() *SubscriptionReservedResourcesClient
ReservedResources returns the target 'subscription_reserved_resources' resource.
Reference to the resource that manages the collection of resources reserved by the subscription.
func (*SubscriptionClient) Update ¶
func (c *SubscriptionClient) Update() *SubscriptionUpdateRequest
Update creates a request for the 'update' method.
Update a subscription
type SubscriptionDeleteRequest ¶
type SubscriptionDeleteRequest struct {
// contains filtered or unexported fields
}
SubscriptionDeleteRequest is the request for the 'delete' method.
func (*SubscriptionDeleteRequest) Header ¶
func (r *SubscriptionDeleteRequest) Header(name string, value interface{}) *SubscriptionDeleteRequest
Header adds a request header.
func (*SubscriptionDeleteRequest) Parameter ¶
func (r *SubscriptionDeleteRequest) Parameter(name string, value interface{}) *SubscriptionDeleteRequest
Parameter adds a query parameter.
func (*SubscriptionDeleteRequest) Send ¶
func (r *SubscriptionDeleteRequest) Send() (result *SubscriptionDeleteResponse, 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 (*SubscriptionDeleteRequest) SendContext ¶
func (r *SubscriptionDeleteRequest) SendContext(ctx context.Context) (result *SubscriptionDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SubscriptionDeleteResponse ¶
type SubscriptionDeleteResponse struct {
// contains filtered or unexported fields
}
SubscriptionDeleteResponse is the response for the 'delete' method.
func (*SubscriptionDeleteResponse) Error ¶
func (r *SubscriptionDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionDeleteResponse) Header ¶
func (r *SubscriptionDeleteResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionDeleteResponse) Status ¶
func (r *SubscriptionDeleteResponse) Status() int
Status returns the response status code.
type SubscriptionDeleteServerRequest ¶
type SubscriptionDeleteServerRequest struct { }
SubscriptionDeleteServerRequest is the request for the 'delete' method.
type SubscriptionDeleteServerResponse ¶
type SubscriptionDeleteServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionDeleteServerResponse is the response for the 'delete' method.
func (*SubscriptionDeleteServerResponse) Status ¶
func (r *SubscriptionDeleteServerResponse) Status(value int) *SubscriptionDeleteServerResponse
Status sets the status code.
type SubscriptionGetRequest ¶
type SubscriptionGetRequest struct {
// contains filtered or unexported fields
}
SubscriptionGetRequest is the request for the 'get' method.
func (*SubscriptionGetRequest) Header ¶
func (r *SubscriptionGetRequest) Header(name string, value interface{}) *SubscriptionGetRequest
Header adds a request header.
func (*SubscriptionGetRequest) Parameter ¶
func (r *SubscriptionGetRequest) Parameter(name string, value interface{}) *SubscriptionGetRequest
Parameter adds a query parameter.
func (*SubscriptionGetRequest) Send ¶
func (r *SubscriptionGetRequest) Send() (result *SubscriptionGetResponse, 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 (*SubscriptionGetRequest) SendContext ¶
func (r *SubscriptionGetRequest) SendContext(ctx context.Context) (result *SubscriptionGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SubscriptionGetResponse ¶
type SubscriptionGetResponse struct {
// contains filtered or unexported fields
}
SubscriptionGetResponse is the response for the 'get' method.
func (*SubscriptionGetResponse) Body ¶
func (r *SubscriptionGetResponse) Body() *Subscription
Body returns the value of the 'body' parameter.
func (*SubscriptionGetResponse) Error ¶
func (r *SubscriptionGetResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionGetResponse) GetBody ¶
func (r *SubscriptionGetResponse) GetBody() (value *Subscription, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SubscriptionGetResponse) Header ¶
func (r *SubscriptionGetResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionGetResponse) Status ¶
func (r *SubscriptionGetResponse) Status() int
Status returns the response status code.
type SubscriptionGetServerRequest ¶
type SubscriptionGetServerRequest struct { }
SubscriptionGetServerRequest is the request for the 'get' method.
type SubscriptionGetServerResponse ¶
type SubscriptionGetServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionGetServerResponse is the response for the 'get' method.
func (*SubscriptionGetServerResponse) Body ¶
func (r *SubscriptionGetServerResponse) Body(value *Subscription) *SubscriptionGetServerResponse
Body sets the value of the 'body' parameter.
func (*SubscriptionGetServerResponse) Status ¶
func (r *SubscriptionGetServerResponse) Status(value int) *SubscriptionGetServerResponse
Status sets the status code.
type SubscriptionList ¶
type SubscriptionList struct {
// contains filtered or unexported fields
}
SubscriptionList is a list of values of the 'subscription' type.
func (*SubscriptionList) Each ¶
func (l *SubscriptionList) Each(f func(item *Subscription) 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 (*SubscriptionList) Empty ¶
func (l *SubscriptionList) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionList) Get ¶
func (l *SubscriptionList) Get(i int) *Subscription
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SubscriptionList) GetHREF ¶
func (l *SubscriptionList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SubscriptionList) HREF ¶
func (l *SubscriptionList) HREF() string
HREF returns the link to the list.
func (*SubscriptionList) Kind ¶
func (l *SubscriptionList) Kind() string
Kind returns the name of the type of the object.
func (*SubscriptionList) Len ¶
func (l *SubscriptionList) Len() int
Len returns the length of the list.
func (*SubscriptionList) Link ¶
func (l *SubscriptionList) Link() bool
Link returns true iif this is a link.
func (*SubscriptionList) Range ¶
func (l *SubscriptionList) Range(f func(index int, item *Subscription) 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 (*SubscriptionList) Slice ¶
func (l *SubscriptionList) Slice() []*Subscription
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 SubscriptionListBuilder ¶
type SubscriptionListBuilder struct {
// contains filtered or unexported fields
}
SubscriptionListBuilder contains the data and logic needed to build 'subscription' objects.
func NewSubscriptionList ¶
func NewSubscriptionList() *SubscriptionListBuilder
NewSubscriptionList creates a new builder of 'subscription' objects.
func (*SubscriptionListBuilder) Build ¶
func (b *SubscriptionListBuilder) Build() (list *SubscriptionList, err error)
Build creates a list of 'subscription' objects using the configuration stored in the builder.
func (*SubscriptionListBuilder) Copy ¶
func (b *SubscriptionListBuilder) Copy(list *SubscriptionList) *SubscriptionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SubscriptionListBuilder) Items ¶
func (b *SubscriptionListBuilder) Items(values ...*SubscriptionBuilder) *SubscriptionListBuilder
Items sets the items of the list.
type SubscriptionNotify ¶
type SubscriptionNotify struct {
// contains filtered or unexported fields
}
SubscriptionNotify represents the values of the 'subscription_notify' type.
This struct is a request to send a templated email to a user related to this subscription.
func UnmarshalSubscriptionNotify ¶
func UnmarshalSubscriptionNotify(source interface{}) (object *SubscriptionNotify, err error)
UnmarshalSubscriptionNotify reads a value of the 'subscription_notify' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSubscriptionNotifyList ¶
func UnmarshalSubscriptionNotifyList(source interface{}) (items []*SubscriptionNotify, err error)
UnmarshalSubscriptionNotifyList reads a list of values of the 'subscription_notify' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SubscriptionNotify) BccAddress ¶
func (o *SubscriptionNotify) BccAddress() string
BccAddress returns the value of the 'bcc_address' attribute, or the zero value of the type if the attribute doesn't have a value.
The BCC address to be included on the email that is sent
func (*SubscriptionNotify) ClusterID ¶
func (o *SubscriptionNotify) 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 (*SubscriptionNotify) ClusterUUID ¶
func (o *SubscriptionNotify) 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 (*SubscriptionNotify) Empty ¶
func (o *SubscriptionNotify) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SubscriptionNotify) GetBccAddress ¶
func (o *SubscriptionNotify) GetBccAddress() (value string, ok bool)
GetBccAddress returns the value of the 'bcc_address' attribute and a flag indicating if the attribute has a value.
The BCC address to be included on the email that is sent
func (*SubscriptionNotify) GetClusterID ¶
func (o *SubscriptionNotify) 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 (*SubscriptionNotify) GetClusterUUID ¶
func (o *SubscriptionNotify) 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 (*SubscriptionNotify) GetSubject ¶
func (o *SubscriptionNotify) GetSubject() (value string, ok bool)
GetSubject returns the value of the 'subject' attribute and a flag indicating if the attribute has a value.
The email subject
func (*SubscriptionNotify) GetSubscriptionID ¶
func (o *SubscriptionNotify) 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 (*SubscriptionNotify) GetTemplateName ¶
func (o *SubscriptionNotify) GetTemplateName() (value string, ok bool)
GetTemplateName returns the value of the 'template_name' attribute and a flag indicating if the attribute has a value.
The name of the template used to construct the email contents
func (*SubscriptionNotify) GetTemplateParameters ¶
func (o *SubscriptionNotify) GetTemplateParameters() (value []*TemplateParameter, ok bool)
GetTemplateParameters returns the value of the 'template_parameters' attribute and a flag indicating if the attribute has a value.
The values which will be substituted into the templated email
func (*SubscriptionNotify) Subject ¶
func (o *SubscriptionNotify) Subject() string
Subject returns the value of the 'subject' attribute, or the zero value of the type if the attribute doesn't have a value.
The email subject
func (*SubscriptionNotify) SubscriptionID ¶
func (o *SubscriptionNotify) 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
func (*SubscriptionNotify) TemplateName ¶
func (o *SubscriptionNotify) TemplateName() string
TemplateName returns the value of the 'template_name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the template used to construct the email contents
func (*SubscriptionNotify) TemplateParameters ¶
func (o *SubscriptionNotify) TemplateParameters() []*TemplateParameter
TemplateParameters returns the value of the 'template_parameters' attribute, or the zero value of the type if the attribute doesn't have a value.
The values which will be substituted into the templated email
type SubscriptionNotifyAddRequest ¶
type SubscriptionNotifyAddRequest struct {
// contains filtered or unexported fields
}
SubscriptionNotifyAddRequest is the request for the 'add' method.
func (*SubscriptionNotifyAddRequest) Body ¶
func (r *SubscriptionNotifyAddRequest) Body(value *SubscriptionNotify) *SubscriptionNotifyAddRequest
Body sets the value of the 'body' parameter.
func (*SubscriptionNotifyAddRequest) Header ¶
func (r *SubscriptionNotifyAddRequest) Header(name string, value interface{}) *SubscriptionNotifyAddRequest
Header adds a request header.
func (*SubscriptionNotifyAddRequest) Parameter ¶
func (r *SubscriptionNotifyAddRequest) Parameter(name string, value interface{}) *SubscriptionNotifyAddRequest
Parameter adds a query parameter.
func (*SubscriptionNotifyAddRequest) Send ¶
func (r *SubscriptionNotifyAddRequest) Send() (result *SubscriptionNotifyAddResponse, 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 (*SubscriptionNotifyAddRequest) SendContext ¶
func (r *SubscriptionNotifyAddRequest) SendContext(ctx context.Context) (result *SubscriptionNotifyAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SubscriptionNotifyAddResponse ¶
type SubscriptionNotifyAddResponse struct {
// contains filtered or unexported fields
}
SubscriptionNotifyAddResponse is the response for the 'add' method.
func (*SubscriptionNotifyAddResponse) Body ¶
func (r *SubscriptionNotifyAddResponse) Body() *SubscriptionNotify
Body returns the value of the 'body' parameter.
func (*SubscriptionNotifyAddResponse) Error ¶
func (r *SubscriptionNotifyAddResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionNotifyAddResponse) GetBody ¶
func (r *SubscriptionNotifyAddResponse) GetBody() (value *SubscriptionNotify, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SubscriptionNotifyAddResponse) Header ¶
func (r *SubscriptionNotifyAddResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionNotifyAddResponse) Status ¶
func (r *SubscriptionNotifyAddResponse) Status() int
Status returns the response status code.
type SubscriptionNotifyAddServerRequest ¶
type SubscriptionNotifyAddServerRequest struct {
// contains filtered or unexported fields
}
SubscriptionNotifyAddServerRequest is the request for the 'add' method.
func (*SubscriptionNotifyAddServerRequest) Body ¶
func (r *SubscriptionNotifyAddServerRequest) Body() *SubscriptionNotify
Body returns the value of the 'body' parameter.
func (*SubscriptionNotifyAddServerRequest) GetBody ¶
func (r *SubscriptionNotifyAddServerRequest) GetBody() (value *SubscriptionNotify, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
type SubscriptionNotifyAddServerResponse ¶
type SubscriptionNotifyAddServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionNotifyAddServerResponse is the response for the 'add' method.
func (*SubscriptionNotifyAddServerResponse) Body ¶
func (r *SubscriptionNotifyAddServerResponse) Body(value *SubscriptionNotify) *SubscriptionNotifyAddServerResponse
Body sets the value of the 'body' parameter.
func (*SubscriptionNotifyAddServerResponse) Status ¶
func (r *SubscriptionNotifyAddServerResponse) Status(value int) *SubscriptionNotifyAddServerResponse
Status sets the status code.
type SubscriptionNotifyBuilder ¶
type SubscriptionNotifyBuilder struct {
// contains filtered or unexported fields
}
SubscriptionNotifyBuilder contains the data and logic needed to build 'subscription_notify' objects.
This struct is a request to send a templated email to a user related to this subscription.
func NewSubscriptionNotify ¶
func NewSubscriptionNotify() *SubscriptionNotifyBuilder
NewSubscriptionNotify creates a new builder of 'subscription_notify' objects.
func (*SubscriptionNotifyBuilder) BccAddress ¶
func (b *SubscriptionNotifyBuilder) BccAddress(value string) *SubscriptionNotifyBuilder
BccAddress sets the value of the 'bcc_address' attribute to the given value.
func (*SubscriptionNotifyBuilder) Build ¶
func (b *SubscriptionNotifyBuilder) Build() (object *SubscriptionNotify, err error)
Build creates a 'subscription_notify' object using the configuration stored in the builder.
func (*SubscriptionNotifyBuilder) ClusterID ¶
func (b *SubscriptionNotifyBuilder) ClusterID(value string) *SubscriptionNotifyBuilder
ClusterID sets the value of the 'cluster_ID' attribute to the given value.
func (*SubscriptionNotifyBuilder) ClusterUUID ¶
func (b *SubscriptionNotifyBuilder) ClusterUUID(value string) *SubscriptionNotifyBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*SubscriptionNotifyBuilder) Copy ¶
func (b *SubscriptionNotifyBuilder) Copy(object *SubscriptionNotify) *SubscriptionNotifyBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SubscriptionNotifyBuilder) Subject ¶
func (b *SubscriptionNotifyBuilder) Subject(value string) *SubscriptionNotifyBuilder
Subject sets the value of the 'subject' attribute to the given value.
func (*SubscriptionNotifyBuilder) SubscriptionID ¶
func (b *SubscriptionNotifyBuilder) SubscriptionID(value string) *SubscriptionNotifyBuilder
SubscriptionID sets the value of the 'subscription_ID' attribute to the given value.
func (*SubscriptionNotifyBuilder) TemplateName ¶
func (b *SubscriptionNotifyBuilder) TemplateName(value string) *SubscriptionNotifyBuilder
TemplateName sets the value of the 'template_name' attribute to the given value.
func (*SubscriptionNotifyBuilder) TemplateParameters ¶
func (b *SubscriptionNotifyBuilder) TemplateParameters(values ...*TemplateParameterBuilder) *SubscriptionNotifyBuilder
TemplateParameters sets the value of the 'template_parameters' attribute to the given values.
type SubscriptionNotifyClient ¶
type SubscriptionNotifyClient struct {
// contains filtered or unexported fields
}
SubscriptionNotifyClient is the client of the 'subscription_notify' resource.
Manages the notify endpoint of a subscription resource
func NewSubscriptionNotifyClient ¶
func NewSubscriptionNotifyClient(transport http.RoundTripper, path string, metric string) *SubscriptionNotifyClient
NewSubscriptionNotifyClient creates a new client for the 'subscription_notify' resource using the given transport to send the requests and receive the responses.
func (*SubscriptionNotifyClient) Add ¶
func (c *SubscriptionNotifyClient) Add() *SubscriptionNotifyAddRequest
Add creates a request for the 'add' method.
Notify user related to subscription via email
type SubscriptionNotifyList ¶
type SubscriptionNotifyList struct {
// contains filtered or unexported fields
}
SubscriptionNotifyList is a list of values of the 'subscription_notify' type.
func (*SubscriptionNotifyList) Each ¶
func (l *SubscriptionNotifyList) Each(f func(item *SubscriptionNotify) 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 (*SubscriptionNotifyList) Empty ¶
func (l *SubscriptionNotifyList) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionNotifyList) Get ¶
func (l *SubscriptionNotifyList) Get(i int) *SubscriptionNotify
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SubscriptionNotifyList) Len ¶
func (l *SubscriptionNotifyList) Len() int
Len returns the length of the list.
func (*SubscriptionNotifyList) Range ¶
func (l *SubscriptionNotifyList) Range(f func(index int, item *SubscriptionNotify) 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 (*SubscriptionNotifyList) Slice ¶
func (l *SubscriptionNotifyList) Slice() []*SubscriptionNotify
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 SubscriptionNotifyListBuilder ¶
type SubscriptionNotifyListBuilder struct {
// contains filtered or unexported fields
}
SubscriptionNotifyListBuilder contains the data and logic needed to build 'subscription_notify' objects.
func NewSubscriptionNotifyList ¶
func NewSubscriptionNotifyList() *SubscriptionNotifyListBuilder
NewSubscriptionNotifyList creates a new builder of 'subscription_notify' objects.
func (*SubscriptionNotifyListBuilder) Build ¶
func (b *SubscriptionNotifyListBuilder) Build() (list *SubscriptionNotifyList, err error)
Build creates a list of 'subscription_notify' objects using the configuration stored in the builder.
func (*SubscriptionNotifyListBuilder) Copy ¶
func (b *SubscriptionNotifyListBuilder) Copy(list *SubscriptionNotifyList) *SubscriptionNotifyListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SubscriptionNotifyListBuilder) Items ¶
func (b *SubscriptionNotifyListBuilder) Items(values ...*SubscriptionNotifyBuilder) *SubscriptionNotifyListBuilder
Items sets the items of the list.
type SubscriptionNotifyServer ¶
type SubscriptionNotifyServer interface { // Add handles a request for the 'add' method. // // Notify user related to subscription via email Add(ctx context.Context, request *SubscriptionNotifyAddServerRequest, response *SubscriptionNotifyAddServerResponse) error }
SubscriptionNotifyServer represents the interface the manages the 'subscription_notify' resource.
type SubscriptionPollRequest ¶
type SubscriptionPollRequest struct {
// contains filtered or unexported fields
}
SubscriptionPollRequest is the request for the Poll method.
func (*SubscriptionPollRequest) Header ¶
func (r *SubscriptionPollRequest) Header(name string, value interface{}) *SubscriptionPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*SubscriptionPollRequest) Interval ¶
func (r *SubscriptionPollRequest) Interval(value time.Duration) *SubscriptionPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*SubscriptionPollRequest) Parameter ¶
func (r *SubscriptionPollRequest) Parameter(name string, value interface{}) *SubscriptionPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*SubscriptionPollRequest) Predicate ¶
func (r *SubscriptionPollRequest) Predicate(value func(*SubscriptionGetResponse) bool) *SubscriptionPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*SubscriptionPollRequest) StartContext ¶
func (r *SubscriptionPollRequest) StartContext(ctx context.Context) (response *SubscriptionPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*SubscriptionPollRequest) Status ¶
func (r *SubscriptionPollRequest) Status(value int) *SubscriptionPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type SubscriptionPollResponse ¶
type SubscriptionPollResponse struct {
// contains filtered or unexported fields
}
SubscriptionPollResponse is the response for the Poll method.
func (*SubscriptionPollResponse) Body ¶
func (r *SubscriptionPollResponse) Body() *Subscription
Body returns the value of the 'body' parameter.
func (*SubscriptionPollResponse) Error ¶
func (r *SubscriptionPollResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionPollResponse) GetBody ¶
func (r *SubscriptionPollResponse) GetBody() (value *Subscription, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SubscriptionPollResponse) Header ¶
func (r *SubscriptionPollResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionPollResponse) Status ¶
func (r *SubscriptionPollResponse) Status() int
Status returns the response status code.
type SubscriptionRegistration ¶
type SubscriptionRegistration struct {
// contains filtered or unexported fields
}
SubscriptionRegistration represents the values of the 'subscription_registration' type.
Registration of a new subscription.
func UnmarshalSubscriptionRegistration ¶
func UnmarshalSubscriptionRegistration(source interface{}) (object *SubscriptionRegistration, err error)
UnmarshalSubscriptionRegistration reads a value of the 'subscription_registration' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSubscriptionRegistrationList ¶
func UnmarshalSubscriptionRegistrationList(source interface{}) (items []*SubscriptionRegistration, err error)
UnmarshalSubscriptionRegistrationList reads a list of values of the 'subscription_registration' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SubscriptionRegistration) ClusterUUID ¶
func (o *SubscriptionRegistration) 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.
External cluster ID.
func (*SubscriptionRegistration) ConsoleURL ¶
func (o *SubscriptionRegistration) ConsoleURL() string
ConsoleURL returns the value of the 'console_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
Console URL of subscription (optional).
func (*SubscriptionRegistration) DisplayName ¶
func (o *SubscriptionRegistration) DisplayName() string
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
Display name of subscription (optional).
func (*SubscriptionRegistration) Empty ¶
func (o *SubscriptionRegistration) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SubscriptionRegistration) GetClusterUUID ¶
func (o *SubscriptionRegistration) GetClusterUUID() (value string, ok bool)
GetClusterUUID returns the value of the 'cluster_UUID' attribute and a flag indicating if the attribute has a value.
External cluster ID.
func (*SubscriptionRegistration) GetConsoleURL ¶
func (o *SubscriptionRegistration) GetConsoleURL() (value string, ok bool)
GetConsoleURL returns the value of the 'console_URL' attribute and a flag indicating if the attribute has a value.
Console URL of subscription (optional).
func (*SubscriptionRegistration) GetDisplayName ¶
func (o *SubscriptionRegistration) GetDisplayName() (value string, ok bool)
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
Display name of subscription (optional).
func (*SubscriptionRegistration) GetPlanID ¶
func (o *SubscriptionRegistration) GetPlanID() (value PlanID, ok bool)
GetPlanID returns the value of the 'plan_ID' attribute and a flag indicating if the attribute has a value.
Plan ID of subscription.
func (*SubscriptionRegistration) GetStatus ¶
func (o *SubscriptionRegistration) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
Status of subscription.
func (*SubscriptionRegistration) PlanID ¶
func (o *SubscriptionRegistration) PlanID() PlanID
PlanID returns the value of the 'plan_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
Plan ID of subscription.
func (*SubscriptionRegistration) Status ¶
func (o *SubscriptionRegistration) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
Status of subscription.
type SubscriptionRegistrationBuilder ¶
type SubscriptionRegistrationBuilder struct {
// contains filtered or unexported fields
}
SubscriptionRegistrationBuilder contains the data and logic needed to build 'subscription_registration' objects.
Registration of a new subscription.
func NewSubscriptionRegistration ¶
func NewSubscriptionRegistration() *SubscriptionRegistrationBuilder
NewSubscriptionRegistration creates a new builder of 'subscription_registration' objects.
func (*SubscriptionRegistrationBuilder) Build ¶
func (b *SubscriptionRegistrationBuilder) Build() (object *SubscriptionRegistration, err error)
Build creates a 'subscription_registration' object using the configuration stored in the builder.
func (*SubscriptionRegistrationBuilder) ClusterUUID ¶
func (b *SubscriptionRegistrationBuilder) ClusterUUID(value string) *SubscriptionRegistrationBuilder
ClusterUUID sets the value of the 'cluster_UUID' attribute to the given value.
func (*SubscriptionRegistrationBuilder) ConsoleURL ¶
func (b *SubscriptionRegistrationBuilder) ConsoleURL(value string) *SubscriptionRegistrationBuilder
ConsoleURL sets the value of the 'console_URL' attribute to the given value.
func (*SubscriptionRegistrationBuilder) Copy ¶
func (b *SubscriptionRegistrationBuilder) Copy(object *SubscriptionRegistration) *SubscriptionRegistrationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SubscriptionRegistrationBuilder) DisplayName ¶
func (b *SubscriptionRegistrationBuilder) DisplayName(value string) *SubscriptionRegistrationBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*SubscriptionRegistrationBuilder) PlanID ¶
func (b *SubscriptionRegistrationBuilder) PlanID(value PlanID) *SubscriptionRegistrationBuilder
PlanID sets the value of the 'plan_ID' attribute to the given value.
Plan ID of subscription.
func (*SubscriptionRegistrationBuilder) Status ¶
func (b *SubscriptionRegistrationBuilder) Status(value string) *SubscriptionRegistrationBuilder
Status sets the value of the 'status' attribute to the given value.
type SubscriptionRegistrationList ¶
type SubscriptionRegistrationList struct {
// contains filtered or unexported fields
}
SubscriptionRegistrationList is a list of values of the 'subscription_registration' type.
func (*SubscriptionRegistrationList) Each ¶
func (l *SubscriptionRegistrationList) Each(f func(item *SubscriptionRegistration) 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 (*SubscriptionRegistrationList) Empty ¶
func (l *SubscriptionRegistrationList) Empty() bool
Empty returns true if the list is empty.
func (*SubscriptionRegistrationList) Get ¶
func (l *SubscriptionRegistrationList) Get(i int) *SubscriptionRegistration
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SubscriptionRegistrationList) Len ¶
func (l *SubscriptionRegistrationList) Len() int
Len returns the length of the list.
func (*SubscriptionRegistrationList) Range ¶
func (l *SubscriptionRegistrationList) Range(f func(index int, item *SubscriptionRegistration) 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 (*SubscriptionRegistrationList) Slice ¶
func (l *SubscriptionRegistrationList) Slice() []*SubscriptionRegistration
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 SubscriptionRegistrationListBuilder ¶
type SubscriptionRegistrationListBuilder struct {
// contains filtered or unexported fields
}
SubscriptionRegistrationListBuilder contains the data and logic needed to build 'subscription_registration' objects.
func NewSubscriptionRegistrationList ¶
func NewSubscriptionRegistrationList() *SubscriptionRegistrationListBuilder
NewSubscriptionRegistrationList creates a new builder of 'subscription_registration' objects.
func (*SubscriptionRegistrationListBuilder) Build ¶
func (b *SubscriptionRegistrationListBuilder) Build() (list *SubscriptionRegistrationList, err error)
Build creates a list of 'subscription_registration' objects using the configuration stored in the builder.
func (*SubscriptionRegistrationListBuilder) Copy ¶
func (b *SubscriptionRegistrationListBuilder) Copy(list *SubscriptionRegistrationList) *SubscriptionRegistrationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SubscriptionRegistrationListBuilder) Items ¶
func (b *SubscriptionRegistrationListBuilder) Items(values ...*SubscriptionRegistrationBuilder) *SubscriptionRegistrationListBuilder
Items sets the items of the list.
type SubscriptionReservedResourceClient ¶
type SubscriptionReservedResourceClient struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourceClient is the client of the 'subscription_reserved_resource' resource.
Manages a specific resource reserved by a subscription.
func NewSubscriptionReservedResourceClient ¶
func NewSubscriptionReservedResourceClient(transport http.RoundTripper, path string, metric string) *SubscriptionReservedResourceClient
NewSubscriptionReservedResourceClient creates a new client for the 'subscription_reserved_resource' resource using the given transport to send the requests and receive the responses.
func (*SubscriptionReservedResourceClient) Get ¶
func (c *SubscriptionReservedResourceClient) Get() *SubscriptionReservedResourceGetRequest
Get creates a request for the 'get' method.
Retrieves the reserved resource.
func (*SubscriptionReservedResourceClient) Poll ¶
func (c *SubscriptionReservedResourceClient) Poll() *SubscriptionReservedResourcePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type SubscriptionReservedResourceGetRequest ¶
type SubscriptionReservedResourceGetRequest struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourceGetRequest is the request for the 'get' method.
func (*SubscriptionReservedResourceGetRequest) Header ¶
func (r *SubscriptionReservedResourceGetRequest) Header(name string, value interface{}) *SubscriptionReservedResourceGetRequest
Header adds a request header.
func (*SubscriptionReservedResourceGetRequest) Parameter ¶
func (r *SubscriptionReservedResourceGetRequest) Parameter(name string, value interface{}) *SubscriptionReservedResourceGetRequest
Parameter adds a query parameter.
func (*SubscriptionReservedResourceGetRequest) Send ¶
func (r *SubscriptionReservedResourceGetRequest) Send() (result *SubscriptionReservedResourceGetResponse, 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 (*SubscriptionReservedResourceGetRequest) SendContext ¶
func (r *SubscriptionReservedResourceGetRequest) SendContext(ctx context.Context) (result *SubscriptionReservedResourceGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SubscriptionReservedResourceGetResponse ¶
type SubscriptionReservedResourceGetResponse struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourceGetResponse is the response for the 'get' method.
func (*SubscriptionReservedResourceGetResponse) Body ¶
func (r *SubscriptionReservedResourceGetResponse) Body() *ReservedResource
Body returns the value of the 'body' parameter.
Retrieved reserved resource.
func (*SubscriptionReservedResourceGetResponse) Error ¶
func (r *SubscriptionReservedResourceGetResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionReservedResourceGetResponse) GetBody ¶
func (r *SubscriptionReservedResourceGetResponse) GetBody() (value *ReservedResource, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Retrieved reserved resource.
func (*SubscriptionReservedResourceGetResponse) Header ¶
func (r *SubscriptionReservedResourceGetResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionReservedResourceGetResponse) Status ¶
func (r *SubscriptionReservedResourceGetResponse) Status() int
Status returns the response status code.
type SubscriptionReservedResourceGetServerRequest ¶
type SubscriptionReservedResourceGetServerRequest struct { }
SubscriptionReservedResourceGetServerRequest is the request for the 'get' method.
type SubscriptionReservedResourceGetServerResponse ¶
type SubscriptionReservedResourceGetServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourceGetServerResponse is the response for the 'get' method.
func (*SubscriptionReservedResourceGetServerResponse) Body ¶
func (r *SubscriptionReservedResourceGetServerResponse) Body(value *ReservedResource) *SubscriptionReservedResourceGetServerResponse
Body sets the value of the 'body' parameter.
Retrieved reserved resource.
func (*SubscriptionReservedResourceGetServerResponse) Status ¶
func (r *SubscriptionReservedResourceGetServerResponse) Status(value int) *SubscriptionReservedResourceGetServerResponse
Status sets the status code.
type SubscriptionReservedResourcePollRequest ¶
type SubscriptionReservedResourcePollRequest struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourcePollRequest is the request for the Poll method.
func (*SubscriptionReservedResourcePollRequest) Header ¶
func (r *SubscriptionReservedResourcePollRequest) Header(name string, value interface{}) *SubscriptionReservedResourcePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*SubscriptionReservedResourcePollRequest) Interval ¶
func (r *SubscriptionReservedResourcePollRequest) Interval(value time.Duration) *SubscriptionReservedResourcePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*SubscriptionReservedResourcePollRequest) Parameter ¶
func (r *SubscriptionReservedResourcePollRequest) Parameter(name string, value interface{}) *SubscriptionReservedResourcePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*SubscriptionReservedResourcePollRequest) Predicate ¶
func (r *SubscriptionReservedResourcePollRequest) Predicate(value func(*SubscriptionReservedResourceGetResponse) bool) *SubscriptionReservedResourcePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*SubscriptionReservedResourcePollRequest) StartContext ¶
func (r *SubscriptionReservedResourcePollRequest) StartContext(ctx context.Context) (response *SubscriptionReservedResourcePollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*SubscriptionReservedResourcePollRequest) Status ¶
func (r *SubscriptionReservedResourcePollRequest) Status(value int) *SubscriptionReservedResourcePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type SubscriptionReservedResourcePollResponse ¶
type SubscriptionReservedResourcePollResponse struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourcePollResponse is the response for the Poll method.
func (*SubscriptionReservedResourcePollResponse) Body ¶
func (r *SubscriptionReservedResourcePollResponse) Body() *ReservedResource
Body returns the value of the 'body' parameter.
Retrieved reserved resource.
func (*SubscriptionReservedResourcePollResponse) Error ¶
func (r *SubscriptionReservedResourcePollResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionReservedResourcePollResponse) GetBody ¶
func (r *SubscriptionReservedResourcePollResponse) GetBody() (value *ReservedResource, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Retrieved reserved resource.
func (*SubscriptionReservedResourcePollResponse) Header ¶
func (r *SubscriptionReservedResourcePollResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionReservedResourcePollResponse) Status ¶
func (r *SubscriptionReservedResourcePollResponse) Status() int
Status returns the response status code.
type SubscriptionReservedResourceServer ¶
type SubscriptionReservedResourceServer interface { // Get handles a request for the 'get' method. // // Retrieves the reserved resource. Get(ctx context.Context, request *SubscriptionReservedResourceGetServerRequest, response *SubscriptionReservedResourceGetServerResponse) error }
SubscriptionReservedResourceServer represents the interface the manages the 'subscription_reserved_resource' resource.
type SubscriptionReservedResourcesClient ¶
type SubscriptionReservedResourcesClient struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourcesClient is the client of the 'subscription_reserved_resources' resource.
Manages the collection of reserved resources by a subscription.
func NewSubscriptionReservedResourcesClient ¶
func NewSubscriptionReservedResourcesClient(transport http.RoundTripper, path string, metric string) *SubscriptionReservedResourcesClient
NewSubscriptionReservedResourcesClient creates a new client for the 'subscription_reserved_resources' resource using the given transport to send the requests and receive the responses.
func (*SubscriptionReservedResourcesClient) List ¶
func (c *SubscriptionReservedResourcesClient) List() *SubscriptionReservedResourcesListRequest
List creates a request for the 'list' method.
Retrieves items of the collection of reserved resources by the subscription.
func (*SubscriptionReservedResourcesClient) ReservedResource ¶
func (c *SubscriptionReservedResourcesClient) ReservedResource(id string) *SubscriptionReservedResourceClient
ReservedResource returns the target 'subscription_reserved_resource' resource for the given identifier.
Reference to the resource that manages the a specific resource reserved by a subscription.
type SubscriptionReservedResourcesListRequest ¶
type SubscriptionReservedResourcesListRequest struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourcesListRequest is the request for the 'list' method.
func (*SubscriptionReservedResourcesListRequest) Header ¶
func (r *SubscriptionReservedResourcesListRequest) Header(name string, value interface{}) *SubscriptionReservedResourcesListRequest
Header adds a request header.
func (*SubscriptionReservedResourcesListRequest) Page ¶
func (r *SubscriptionReservedResourcesListRequest) Page(value int) *SubscriptionReservedResourcesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionReservedResourcesListRequest) Parameter ¶
func (r *SubscriptionReservedResourcesListRequest) Parameter(name string, value interface{}) *SubscriptionReservedResourcesListRequest
Parameter adds a query parameter.
func (*SubscriptionReservedResourcesListRequest) Send ¶
func (r *SubscriptionReservedResourcesListRequest) Send() (result *SubscriptionReservedResourcesListResponse, 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 (*SubscriptionReservedResourcesListRequest) SendContext ¶
func (r *SubscriptionReservedResourcesListRequest) SendContext(ctx context.Context) (result *SubscriptionReservedResourcesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*SubscriptionReservedResourcesListRequest) Size ¶
func (r *SubscriptionReservedResourcesListRequest) Size(value int) *SubscriptionReservedResourcesListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SubscriptionReservedResourcesListResponse ¶
type SubscriptionReservedResourcesListResponse struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourcesListResponse is the response for the 'list' method.
func (*SubscriptionReservedResourcesListResponse) Error ¶
func (r *SubscriptionReservedResourcesListResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionReservedResourcesListResponse) GetItems ¶
func (r *SubscriptionReservedResourcesListResponse) GetItems() (value *ReservedResourceList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of reserved resources.
func (*SubscriptionReservedResourcesListResponse) GetPage ¶
func (r *SubscriptionReservedResourcesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionReservedResourcesListResponse) GetSize ¶
func (r *SubscriptionReservedResourcesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionReservedResourcesListResponse) GetTotal ¶
func (r *SubscriptionReservedResourcesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*SubscriptionReservedResourcesListResponse) Header ¶
func (r *SubscriptionReservedResourcesListResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionReservedResourcesListResponse) Items ¶
func (r *SubscriptionReservedResourcesListResponse) Items() *ReservedResourceList
Items returns the value of the 'items' parameter.
Retrieved list of reserved resources.
func (*SubscriptionReservedResourcesListResponse) Page ¶
func (r *SubscriptionReservedResourcesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionReservedResourcesListResponse) Size ¶
func (r *SubscriptionReservedResourcesListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionReservedResourcesListResponse) Status ¶
func (r *SubscriptionReservedResourcesListResponse) Status() int
Status returns the response status code.
func (*SubscriptionReservedResourcesListResponse) Total ¶
func (r *SubscriptionReservedResourcesListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SubscriptionReservedResourcesListServerRequest ¶
type SubscriptionReservedResourcesListServerRequest struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourcesListServerRequest is the request for the 'list' method.
func (*SubscriptionReservedResourcesListServerRequest) GetPage ¶
func (r *SubscriptionReservedResourcesListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionReservedResourcesListServerRequest) GetSize ¶
func (r *SubscriptionReservedResourcesListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionReservedResourcesListServerRequest) Page ¶
func (r *SubscriptionReservedResourcesListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionReservedResourcesListServerRequest) Size ¶
func (r *SubscriptionReservedResourcesListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SubscriptionReservedResourcesListServerResponse ¶
type SubscriptionReservedResourcesListServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionReservedResourcesListServerResponse is the response for the 'list' method.
func (*SubscriptionReservedResourcesListServerResponse) Items ¶
func (r *SubscriptionReservedResourcesListServerResponse) Items(value *ReservedResourceList) *SubscriptionReservedResourcesListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of reserved resources.
func (*SubscriptionReservedResourcesListServerResponse) Page ¶
func (r *SubscriptionReservedResourcesListServerResponse) Page(value int) *SubscriptionReservedResourcesListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionReservedResourcesListServerResponse) Size ¶
func (r *SubscriptionReservedResourcesListServerResponse) Size(value int) *SubscriptionReservedResourcesListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionReservedResourcesListServerResponse) Status ¶
func (r *SubscriptionReservedResourcesListServerResponse) Status(value int) *SubscriptionReservedResourcesListServerResponse
Status sets the status code.
func (*SubscriptionReservedResourcesListServerResponse) Total ¶
func (r *SubscriptionReservedResourcesListServerResponse) Total(value int) *SubscriptionReservedResourcesListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SubscriptionReservedResourcesServer ¶
type SubscriptionReservedResourcesServer interface { // List handles a request for the 'list' method. // // Retrieves items of the collection of reserved resources by the subscription. List(ctx context.Context, request *SubscriptionReservedResourcesListServerRequest, response *SubscriptionReservedResourcesListServerResponse) error // ReservedResource returns the target 'subscription_reserved_resource' server for the given identifier. // // Reference to the resource that manages the a specific resource reserved by a // subscription. ReservedResource(id string) SubscriptionReservedResourceServer }
SubscriptionReservedResourcesServer represents the interface the manages the 'subscription_reserved_resources' resource.
type SubscriptionServer ¶
type SubscriptionServer interface { // Delete handles a request for the 'delete' method. // // Deletes the subscription by ID. Delete(ctx context.Context, request *SubscriptionDeleteServerRequest, response *SubscriptionDeleteServerResponse) error // Get handles a request for the 'get' method. // // Retrieves the details of the subscription by ID. Get(ctx context.Context, request *SubscriptionGetServerRequest, response *SubscriptionGetServerResponse) error // Update handles a request for the 'update' method. // // Update a subscription Update(ctx context.Context, request *SubscriptionUpdateServerRequest, response *SubscriptionUpdateServerResponse) error // Labels returns the target 'generic_labels' resource. // // Reference to the list of labels of a specific subscription. Labels() GenericLabelsServer // Notify returns the target 'subscription_notify' resource. // // Notify a user related to the subscription via email Notify() SubscriptionNotifyServer // ReservedResources returns the target 'subscription_reserved_resources' resource. // // Reference to the resource that manages the collection of resources reserved by the // subscription. ReservedResources() SubscriptionReservedResourcesServer }
SubscriptionServer represents the interface the manages the 'subscription' resource.
type SubscriptionUpdateRequest ¶
type SubscriptionUpdateRequest struct {
// contains filtered or unexported fields
}
SubscriptionUpdateRequest is the request for the 'update' method.
func (*SubscriptionUpdateRequest) Body ¶
func (r *SubscriptionUpdateRequest) Body(value *Subscription) *SubscriptionUpdateRequest
Body sets the value of the 'body' parameter.
Updated subscription data
func (*SubscriptionUpdateRequest) Header ¶
func (r *SubscriptionUpdateRequest) Header(name string, value interface{}) *SubscriptionUpdateRequest
Header adds a request header.
func (*SubscriptionUpdateRequest) Parameter ¶
func (r *SubscriptionUpdateRequest) Parameter(name string, value interface{}) *SubscriptionUpdateRequest
Parameter adds a query parameter.
func (*SubscriptionUpdateRequest) Send ¶
func (r *SubscriptionUpdateRequest) Send() (result *SubscriptionUpdateResponse, 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 (*SubscriptionUpdateRequest) SendContext ¶
func (r *SubscriptionUpdateRequest) SendContext(ctx context.Context) (result *SubscriptionUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SubscriptionUpdateResponse ¶
type SubscriptionUpdateResponse struct {
// contains filtered or unexported fields
}
SubscriptionUpdateResponse is the response for the 'update' method.
func (*SubscriptionUpdateResponse) Body ¶
func (r *SubscriptionUpdateResponse) Body() *Subscription
Body returns the value of the 'body' parameter.
Updated subscription data
func (*SubscriptionUpdateResponse) Error ¶
func (r *SubscriptionUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionUpdateResponse) GetBody ¶
func (r *SubscriptionUpdateResponse) GetBody() (value *Subscription, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Updated subscription data
func (*SubscriptionUpdateResponse) Header ¶
func (r *SubscriptionUpdateResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionUpdateResponse) Status ¶
func (r *SubscriptionUpdateResponse) Status() int
Status returns the response status code.
type SubscriptionUpdateServerRequest ¶
type SubscriptionUpdateServerRequest struct {
// contains filtered or unexported fields
}
SubscriptionUpdateServerRequest is the request for the 'update' method.
func (*SubscriptionUpdateServerRequest) Body ¶
func (r *SubscriptionUpdateServerRequest) Body() *Subscription
Body returns the value of the 'body' parameter.
Updated subscription data
func (*SubscriptionUpdateServerRequest) GetBody ¶
func (r *SubscriptionUpdateServerRequest) GetBody() (value *Subscription, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
Updated subscription data
type SubscriptionUpdateServerResponse ¶
type SubscriptionUpdateServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionUpdateServerResponse is the response for the 'update' method.
func (*SubscriptionUpdateServerResponse) Body ¶
func (r *SubscriptionUpdateServerResponse) Body(value *Subscription) *SubscriptionUpdateServerResponse
Body sets the value of the 'body' parameter.
Updated subscription data
func (*SubscriptionUpdateServerResponse) Status ¶
func (r *SubscriptionUpdateServerResponse) Status(value int) *SubscriptionUpdateServerResponse
Status sets the status code.
type SubscriptionsClient ¶
type SubscriptionsClient struct {
// contains filtered or unexported fields
}
SubscriptionsClient is the client of the 'subscriptions' resource.
Manages the collection of subscriptions.
func NewSubscriptionsClient ¶
func NewSubscriptionsClient(transport http.RoundTripper, path string, metric string) *SubscriptionsClient
NewSubscriptionsClient creates a new client for the 'subscriptions' resource using the given transport to send the requests and receive the responses.
func (*SubscriptionsClient) List ¶
func (c *SubscriptionsClient) List() *SubscriptionsListRequest
List creates a request for the 'list' method.
Retrieves a list of subscriptions.
func (*SubscriptionsClient) Post ¶
func (c *SubscriptionsClient) Post() *SubscriptionsPostRequest
Post creates a request for the 'post' method.
Create a new subscription and register a cluster for it.
func (*SubscriptionsClient) Subscription ¶
func (c *SubscriptionsClient) Subscription(id string) *SubscriptionClient
Subscription returns the target 'subscription' resource for the given identifier.
Reference to the service that manages a specific subscription.
type SubscriptionsListRequest ¶
type SubscriptionsListRequest struct {
// contains filtered or unexported fields
}
SubscriptionsListRequest is the request for the 'list' method.
func (*SubscriptionsListRequest) FetchaccountsAccounts ¶
func (r *SubscriptionsListRequest) FetchaccountsAccounts(value bool) *SubscriptionsListRequest
FetchaccountsAccounts sets the value of the 'fetchaccounts_accounts' parameter.
If true, includes the account reference information in the output. Could slow request response time.
func (*SubscriptionsListRequest) FetchlabelsLabels ¶
func (r *SubscriptionsListRequest) FetchlabelsLabels(value bool) *SubscriptionsListRequest
FetchlabelsLabels sets the value of the 'fetchlabels_labels' parameter.
If true, includes the labels on a subscription in the output. Could slow request response time.
func (*SubscriptionsListRequest) Fields ¶
func (r *SubscriptionsListRequest) Fields(value string) *SubscriptionsListRequest
Fields sets the value of the 'fields' parameter.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*SubscriptionsListRequest) Header ¶
func (r *SubscriptionsListRequest) Header(name string, value interface{}) *SubscriptionsListRequest
Header adds a request header.
func (*SubscriptionsListRequest) Labels ¶
func (r *SubscriptionsListRequest) Labels(value string) *SubscriptionsListRequest
Labels sets the value of the 'labels' parameter.
Filter subscriptions by a comma separated list of labels:
[source] ---- env=staging,department=sales ----
func (*SubscriptionsListRequest) Order ¶
func (r *SubscriptionsListRequest) Order(value string) *SubscriptionsListRequest
Order sets the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the subscriptions descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*SubscriptionsListRequest) Page ¶
func (r *SubscriptionsListRequest) Page(value int) *SubscriptionsListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionsListRequest) Parameter ¶
func (r *SubscriptionsListRequest) Parameter(name string, value interface{}) *SubscriptionsListRequest
Parameter adds a query parameter.
func (*SubscriptionsListRequest) Search ¶
func (r *SubscriptionsListRequest) Search(value string) *SubscriptionsListRequest
Search sets the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the subscription instead of the names of the columns of a table. For example, in order to retrieve all the subscriptions for managed clusters the value should be:
[source,sql] ---- managed = 't' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*SubscriptionsListRequest) Send ¶
func (r *SubscriptionsListRequest) Send() (result *SubscriptionsListResponse, 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 (*SubscriptionsListRequest) SendContext ¶
func (r *SubscriptionsListRequest) SendContext(ctx context.Context) (result *SubscriptionsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*SubscriptionsListRequest) Size ¶
func (r *SubscriptionsListRequest) Size(value int) *SubscriptionsListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SubscriptionsListResponse ¶
type SubscriptionsListResponse struct {
// contains filtered or unexported fields
}
SubscriptionsListResponse is the response for the 'list' method.
func (*SubscriptionsListResponse) Error ¶
func (r *SubscriptionsListResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionsListResponse) GetItems ¶
func (r *SubscriptionsListResponse) GetItems() (value *SubscriptionList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of subscriptions.
func (*SubscriptionsListResponse) GetPage ¶
func (r *SubscriptionsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionsListResponse) GetSize ¶
func (r *SubscriptionsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionsListResponse) GetTotal ¶
func (r *SubscriptionsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
func (*SubscriptionsListResponse) Header ¶
func (r *SubscriptionsListResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionsListResponse) Items ¶
func (r *SubscriptionsListResponse) Items() *SubscriptionList
Items returns the value of the 'items' parameter.
Retrieved list of subscriptions.
func (*SubscriptionsListResponse) Page ¶
func (r *SubscriptionsListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionsListResponse) Size ¶
func (r *SubscriptionsListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionsListResponse) Status ¶
func (r *SubscriptionsListResponse) Status() int
Status returns the response status code.
func (*SubscriptionsListResponse) Total ¶
func (r *SubscriptionsListResponse) Total() int
Total returns the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SubscriptionsListServerRequest ¶
type SubscriptionsListServerRequest struct {
// contains filtered or unexported fields
}
SubscriptionsListServerRequest is the request for the 'list' method.
func (*SubscriptionsListServerRequest) FetchaccountsAccounts ¶
func (r *SubscriptionsListServerRequest) FetchaccountsAccounts() bool
FetchaccountsAccounts returns the value of the 'fetchaccounts_accounts' parameter.
If true, includes the account reference information in the output. Could slow request response time.
func (*SubscriptionsListServerRequest) FetchlabelsLabels ¶
func (r *SubscriptionsListServerRequest) FetchlabelsLabels() bool
FetchlabelsLabels returns the value of the 'fetchlabels_labels' parameter.
If true, includes the labels on a subscription in the output. Could slow request response time.
func (*SubscriptionsListServerRequest) Fields ¶
func (r *SubscriptionsListServerRequest) Fields() string
Fields returns the value of the 'fields' parameter.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*SubscriptionsListServerRequest) GetFetchaccountsAccounts ¶
func (r *SubscriptionsListServerRequest) GetFetchaccountsAccounts() (value bool, ok bool)
GetFetchaccountsAccounts returns the value of the 'fetchaccounts_accounts' parameter and a flag indicating if the parameter has a value.
If true, includes the account reference information in the output. Could slow request response time.
func (*SubscriptionsListServerRequest) GetFetchlabelsLabels ¶
func (r *SubscriptionsListServerRequest) GetFetchlabelsLabels() (value bool, ok bool)
GetFetchlabelsLabels returns the value of the 'fetchlabels_labels' parameter and a flag indicating if the parameter has a value.
If true, includes the labels on a subscription in the output. Could slow request response time.
func (*SubscriptionsListServerRequest) GetFields ¶
func (r *SubscriptionsListServerRequest) GetFields() (value string, ok bool)
GetFields returns the value of the 'fields' parameter and a flag indicating if the parameter has a value.
Projection This field contains a comma-separated list of fields you'd like to get in a result. No new fields can be added, only existing ones can be filtered. To specify a field 'id' of a structure 'plan' use 'plan.id'. To specify all fields of a structure 'labels' use 'labels.*'.
func (*SubscriptionsListServerRequest) GetLabels ¶
func (r *SubscriptionsListServerRequest) GetLabels() (value string, ok bool)
GetLabels returns the value of the 'labels' parameter and a flag indicating if the parameter has a value.
Filter subscriptions by a comma separated list of labels:
[source] ---- env=staging,department=sales ----
func (*SubscriptionsListServerRequest) GetOrder ¶
func (r *SubscriptionsListServerRequest) GetOrder() (value string, ok bool)
GetOrder returns the value of the 'order' parameter and a flag indicating if the parameter has a value.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the subscriptions descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*SubscriptionsListServerRequest) GetPage ¶
func (r *SubscriptionsListServerRequest) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionsListServerRequest) GetSearch ¶
func (r *SubscriptionsListServerRequest) GetSearch() (value string, ok bool)
GetSearch returns the value of the 'search' parameter and a flag indicating if the parameter has a value.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the subscription instead of the names of the columns of a table. For example, in order to retrieve all the subscriptions for managed clusters the value should be:
[source,sql] ---- managed = 't' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*SubscriptionsListServerRequest) GetSize ¶
func (r *SubscriptionsListServerRequest) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionsListServerRequest) Labels ¶
func (r *SubscriptionsListServerRequest) Labels() string
Labels returns the value of the 'labels' parameter.
Filter subscriptions by a comma separated list of labels:
[source] ---- env=staging,department=sales ----
func (*SubscriptionsListServerRequest) Order ¶
func (r *SubscriptionsListServerRequest) Order() string
Order returns the value of the 'order' parameter.
Order criteria.
The syntax of this parameter is similar to the syntax of the _order by_ clause of a SQL statement. For example, in order to sort the subscriptions descending by name identifier the value should be:
[source,sql] ---- name desc ----
If the parameter isn't provided, or if the value is empty, then the order of the results is undefined.
func (*SubscriptionsListServerRequest) Page ¶
func (r *SubscriptionsListServerRequest) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionsListServerRequest) Search ¶
func (r *SubscriptionsListServerRequest) Search() string
Search returns the value of the 'search' parameter.
Search criteria.
The syntax of this parameter is similar to the syntax of the _where_ clause of a SQL statement, but using the names of the attributes of the subscription instead of the names of the columns of a table. For example, in order to retrieve all the subscriptions for managed clusters the value should be:
[source,sql] ---- managed = 't' ----
If the parameter isn't provided, or if the value is empty, then all the clusters that the user has permission to see will be returned.
func (*SubscriptionsListServerRequest) Size ¶
func (r *SubscriptionsListServerRequest) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type SubscriptionsListServerResponse ¶
type SubscriptionsListServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionsListServerResponse is the response for the 'list' method.
func (*SubscriptionsListServerResponse) Items ¶
func (r *SubscriptionsListServerResponse) Items(value *SubscriptionList) *SubscriptionsListServerResponse
Items sets the value of the 'items' parameter.
Retrieved list of subscriptions.
func (*SubscriptionsListServerResponse) Page ¶
func (r *SubscriptionsListServerResponse) Page(value int) *SubscriptionsListServerResponse
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*SubscriptionsListServerResponse) Size ¶
func (r *SubscriptionsListServerResponse) Size(value int) *SubscriptionsListServerResponse
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*SubscriptionsListServerResponse) Status ¶
func (r *SubscriptionsListServerResponse) Status(value int) *SubscriptionsListServerResponse
Status sets the status code.
func (*SubscriptionsListServerResponse) Total ¶
func (r *SubscriptionsListServerResponse) Total(value int) *SubscriptionsListServerResponse
Total sets the value of the 'total' parameter.
Total number of items of the collection that match the search criteria, regardless of the size of the page.
type SubscriptionsPostRequest ¶
type SubscriptionsPostRequest struct {
// contains filtered or unexported fields
}
SubscriptionsPostRequest is the request for the 'post' method.
func (*SubscriptionsPostRequest) Header ¶
func (r *SubscriptionsPostRequest) Header(name string, value interface{}) *SubscriptionsPostRequest
Header adds a request header.
func (*SubscriptionsPostRequest) Parameter ¶
func (r *SubscriptionsPostRequest) Parameter(name string, value interface{}) *SubscriptionsPostRequest
Parameter adds a query parameter.
func (*SubscriptionsPostRequest) Request ¶
func (r *SubscriptionsPostRequest) Request(value *SubscriptionRegistration) *SubscriptionsPostRequest
Request sets the value of the 'request' parameter.
func (*SubscriptionsPostRequest) Send ¶
func (r *SubscriptionsPostRequest) Send() (result *SubscriptionsPostResponse, 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 (*SubscriptionsPostRequest) SendContext ¶
func (r *SubscriptionsPostRequest) SendContext(ctx context.Context) (result *SubscriptionsPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SubscriptionsPostResponse ¶
type SubscriptionsPostResponse struct {
// contains filtered or unexported fields
}
SubscriptionsPostResponse is the response for the 'post' method.
func (*SubscriptionsPostResponse) Error ¶
func (r *SubscriptionsPostResponse) Error() *errors.Error
Error returns the response error.
func (*SubscriptionsPostResponse) GetResponse ¶
func (r *SubscriptionsPostResponse) GetResponse() (value *Subscription, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*SubscriptionsPostResponse) Header ¶
func (r *SubscriptionsPostResponse) Header() http.Header
Header returns header of the response.
func (*SubscriptionsPostResponse) Response ¶
func (r *SubscriptionsPostResponse) Response() *Subscription
Response returns the value of the 'response' parameter.
func (*SubscriptionsPostResponse) Status ¶
func (r *SubscriptionsPostResponse) Status() int
Status returns the response status code.
type SubscriptionsPostServerRequest ¶
type SubscriptionsPostServerRequest struct {
// contains filtered or unexported fields
}
SubscriptionsPostServerRequest is the request for the 'post' method.
func (*SubscriptionsPostServerRequest) GetRequest ¶
func (r *SubscriptionsPostServerRequest) GetRequest() (value *SubscriptionRegistration, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*SubscriptionsPostServerRequest) Request ¶
func (r *SubscriptionsPostServerRequest) Request() *SubscriptionRegistration
Request returns the value of the 'request' parameter.
type SubscriptionsPostServerResponse ¶
type SubscriptionsPostServerResponse struct {
// contains filtered or unexported fields
}
SubscriptionsPostServerResponse is the response for the 'post' method.
func (*SubscriptionsPostServerResponse) Response ¶
func (r *SubscriptionsPostServerResponse) Response(value *Subscription) *SubscriptionsPostServerResponse
Response sets the value of the 'response' parameter.
func (*SubscriptionsPostServerResponse) Status ¶
func (r *SubscriptionsPostServerResponse) Status(value int) *SubscriptionsPostServerResponse
Status sets the status code.
type SubscriptionsServer ¶
type SubscriptionsServer interface { // List handles a request for the 'list' method. // // Retrieves a list of subscriptions. List(ctx context.Context, request *SubscriptionsListServerRequest, response *SubscriptionsListServerResponse) error // Post handles a request for the 'post' method. // // Create a new subscription and register a cluster for it. Post(ctx context.Context, request *SubscriptionsPostServerRequest, response *SubscriptionsPostServerResponse) error // Subscription returns the target 'subscription' server for the given identifier. // // Reference to the service that manages a specific subscription. Subscription(id string) SubscriptionServer }
SubscriptionsServer represents the interface the manages the 'subscriptions' resource.
type SummaryDashboard ¶ added in v0.0.329
type SummaryDashboard struct {
// contains filtered or unexported fields
}
SummaryDashboard represents the values of the 'summary_dashboard' type.
func UnmarshalSummaryDashboard ¶ added in v0.0.329
func UnmarshalSummaryDashboard(source interface{}) (object *SummaryDashboard, err error)
UnmarshalSummaryDashboard reads a value of the 'summary_dashboard' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSummaryDashboardList ¶ added in v0.0.329
func UnmarshalSummaryDashboardList(source interface{}) (items []*SummaryDashboard, err error)
UnmarshalSummaryDashboardList reads a list of values of the 'summary_dashboard' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SummaryDashboard) Empty ¶ added in v0.0.329
func (o *SummaryDashboard) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SummaryDashboard) GetHREF ¶ added in v0.0.329
func (o *SummaryDashboard) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SummaryDashboard) GetID ¶ added in v0.0.329
func (o *SummaryDashboard) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SummaryDashboard) GetMetrics ¶ added in v0.0.329
func (o *SummaryDashboard) GetMetrics() (value []*SummaryMetrics, ok bool)
GetMetrics returns the value of the 'metrics' attribute and a flag indicating if the attribute has a value.
func (*SummaryDashboard) HREF ¶ added in v0.0.329
func (o *SummaryDashboard) HREF() string
HREF returns the link to the object.
func (*SummaryDashboard) ID ¶ added in v0.0.329
func (o *SummaryDashboard) ID() string
ID returns the identifier of the object.
func (*SummaryDashboard) Kind ¶ added in v0.0.329
func (o *SummaryDashboard) Kind() string
Kind returns the name of the type of the object.
func (*SummaryDashboard) Link ¶ added in v0.0.329
func (o *SummaryDashboard) Link() bool
Link returns true iif this is a link.
func (*SummaryDashboard) Metrics ¶ added in v0.0.329
func (o *SummaryDashboard) Metrics() []*SummaryMetrics
Metrics returns the value of the 'metrics' attribute, or the zero value of the type if the attribute doesn't have a value.
type SummaryDashboardBuilder ¶ added in v0.0.329
type SummaryDashboardBuilder struct {
// contains filtered or unexported fields
}
SummaryDashboardBuilder contains the data and logic needed to build 'summary_dashboard' objects.
func NewSummaryDashboard ¶ added in v0.0.329
func NewSummaryDashboard() *SummaryDashboardBuilder
NewSummaryDashboard creates a new builder of 'summary_dashboard' objects.
func (*SummaryDashboardBuilder) Build ¶ added in v0.0.329
func (b *SummaryDashboardBuilder) Build() (object *SummaryDashboard, err error)
Build creates a 'summary_dashboard' object using the configuration stored in the builder.
func (*SummaryDashboardBuilder) Copy ¶ added in v0.0.329
func (b *SummaryDashboardBuilder) Copy(object *SummaryDashboard) *SummaryDashboardBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SummaryDashboardBuilder) HREF ¶ added in v0.0.329
func (b *SummaryDashboardBuilder) HREF(value string) *SummaryDashboardBuilder
HREF sets the link to the object.
func (*SummaryDashboardBuilder) ID ¶ added in v0.0.329
func (b *SummaryDashboardBuilder) ID(value string) *SummaryDashboardBuilder
ID sets the identifier of the object.
func (*SummaryDashboardBuilder) Link ¶ added in v0.0.329
func (b *SummaryDashboardBuilder) Link(value bool) *SummaryDashboardBuilder
Link sets the flag that indicates if this is a link.
func (*SummaryDashboardBuilder) Metrics ¶ added in v0.0.329
func (b *SummaryDashboardBuilder) Metrics(values ...*SummaryMetricsBuilder) *SummaryDashboardBuilder
Metrics sets the value of the 'metrics' attribute to the given values.
type SummaryDashboardClient ¶ added in v0.0.329
type SummaryDashboardClient struct {
// contains filtered or unexported fields
}
SummaryDashboardClient is the client of the 'summary_dashboard' resource.
Manages a specific organization's summary dashboard.
func NewSummaryDashboardClient ¶ added in v0.0.329
func NewSummaryDashboardClient(transport http.RoundTripper, path string, metric string) *SummaryDashboardClient
NewSummaryDashboardClient creates a new client for the 'summary_dashboard' resource using the given transport to send the requests and receive the responses.
func (*SummaryDashboardClient) Get ¶ added in v0.0.329
func (c *SummaryDashboardClient) Get() *SummaryDashboardGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the organization's summary dashboard.
func (*SummaryDashboardClient) Poll ¶ added in v0.0.329
func (c *SummaryDashboardClient) Poll() *SummaryDashboardPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type SummaryDashboardGetRequest ¶ added in v0.0.329
type SummaryDashboardGetRequest struct {
// contains filtered or unexported fields
}
SummaryDashboardGetRequest is the request for the 'get' method.
func (*SummaryDashboardGetRequest) Header ¶ added in v0.0.329
func (r *SummaryDashboardGetRequest) Header(name string, value interface{}) *SummaryDashboardGetRequest
Header adds a request header.
func (*SummaryDashboardGetRequest) Parameter ¶ added in v0.0.329
func (r *SummaryDashboardGetRequest) Parameter(name string, value interface{}) *SummaryDashboardGetRequest
Parameter adds a query parameter.
func (*SummaryDashboardGetRequest) Send ¶ added in v0.0.329
func (r *SummaryDashboardGetRequest) Send() (result *SummaryDashboardGetResponse, 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 (*SummaryDashboardGetRequest) SendContext ¶ added in v0.0.329
func (r *SummaryDashboardGetRequest) SendContext(ctx context.Context) (result *SummaryDashboardGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SummaryDashboardGetResponse ¶ added in v0.0.329
type SummaryDashboardGetResponse struct {
// contains filtered or unexported fields
}
SummaryDashboardGetResponse is the response for the 'get' method.
func (*SummaryDashboardGetResponse) Body ¶ added in v0.0.329
func (r *SummaryDashboardGetResponse) Body() *SummaryDashboard
Body returns the value of the 'body' parameter.
func (*SummaryDashboardGetResponse) Error ¶ added in v0.0.329
func (r *SummaryDashboardGetResponse) Error() *errors.Error
Error returns the response error.
func (*SummaryDashboardGetResponse) GetBody ¶ added in v0.0.329
func (r *SummaryDashboardGetResponse) GetBody() (value *SummaryDashboard, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SummaryDashboardGetResponse) Header ¶ added in v0.0.329
func (r *SummaryDashboardGetResponse) Header() http.Header
Header returns header of the response.
func (*SummaryDashboardGetResponse) Status ¶ added in v0.0.329
func (r *SummaryDashboardGetResponse) Status() int
Status returns the response status code.
type SummaryDashboardGetServerRequest ¶ added in v0.1.128
type SummaryDashboardGetServerRequest struct { }
SummaryDashboardGetServerRequest is the request for the 'get' method.
type SummaryDashboardGetServerResponse ¶ added in v0.1.128
type SummaryDashboardGetServerResponse struct {
// contains filtered or unexported fields
}
SummaryDashboardGetServerResponse is the response for the 'get' method.
func (*SummaryDashboardGetServerResponse) Body ¶ added in v0.1.128
func (r *SummaryDashboardGetServerResponse) Body(value *SummaryDashboard) *SummaryDashboardGetServerResponse
Body sets the value of the 'body' parameter.
func (*SummaryDashboardGetServerResponse) Status ¶ added in v0.1.128
func (r *SummaryDashboardGetServerResponse) Status(value int) *SummaryDashboardGetServerResponse
Status sets the status code.
type SummaryDashboardList ¶ added in v0.0.329
type SummaryDashboardList struct {
// contains filtered or unexported fields
}
SummaryDashboardList is a list of values of the 'summary_dashboard' type.
func (*SummaryDashboardList) Each ¶ added in v0.0.329
func (l *SummaryDashboardList) Each(f func(item *SummaryDashboard) 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 (*SummaryDashboardList) Empty ¶ added in v0.0.329
func (l *SummaryDashboardList) Empty() bool
Empty returns true if the list is empty.
func (*SummaryDashboardList) Get ¶ added in v0.0.329
func (l *SummaryDashboardList) Get(i int) *SummaryDashboard
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SummaryDashboardList) GetHREF ¶ added in v0.0.329
func (l *SummaryDashboardList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SummaryDashboardList) HREF ¶ added in v0.0.329
func (l *SummaryDashboardList) HREF() string
HREF returns the link to the list.
func (*SummaryDashboardList) Kind ¶ added in v0.0.329
func (l *SummaryDashboardList) Kind() string
Kind returns the name of the type of the object.
func (*SummaryDashboardList) Len ¶ added in v0.0.329
func (l *SummaryDashboardList) Len() int
Len returns the length of the list.
func (*SummaryDashboardList) Link ¶ added in v0.0.329
func (l *SummaryDashboardList) Link() bool
Link returns true iif this is a link.
func (*SummaryDashboardList) Range ¶ added in v0.0.329
func (l *SummaryDashboardList) Range(f func(index int, item *SummaryDashboard) 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 (*SummaryDashboardList) Slice ¶ added in v0.0.329
func (l *SummaryDashboardList) Slice() []*SummaryDashboard
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 SummaryDashboardListBuilder ¶ added in v0.0.329
type SummaryDashboardListBuilder struct {
// contains filtered or unexported fields
}
SummaryDashboardListBuilder contains the data and logic needed to build 'summary_dashboard' objects.
func NewSummaryDashboardList ¶ added in v0.0.329
func NewSummaryDashboardList() *SummaryDashboardListBuilder
NewSummaryDashboardList creates a new builder of 'summary_dashboard' objects.
func (*SummaryDashboardListBuilder) Build ¶ added in v0.0.329
func (b *SummaryDashboardListBuilder) Build() (list *SummaryDashboardList, err error)
Build creates a list of 'summary_dashboard' objects using the configuration stored in the builder.
func (*SummaryDashboardListBuilder) Copy ¶ added in v0.0.329
func (b *SummaryDashboardListBuilder) Copy(list *SummaryDashboardList) *SummaryDashboardListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SummaryDashboardListBuilder) Items ¶ added in v0.0.329
func (b *SummaryDashboardListBuilder) Items(values ...*SummaryDashboardBuilder) *SummaryDashboardListBuilder
Items sets the items of the list.
type SummaryDashboardPollRequest ¶ added in v0.0.329
type SummaryDashboardPollRequest struct {
// contains filtered or unexported fields
}
SummaryDashboardPollRequest is the request for the Poll method.
func (*SummaryDashboardPollRequest) Header ¶ added in v0.0.329
func (r *SummaryDashboardPollRequest) Header(name string, value interface{}) *SummaryDashboardPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*SummaryDashboardPollRequest) Interval ¶ added in v0.0.329
func (r *SummaryDashboardPollRequest) Interval(value time.Duration) *SummaryDashboardPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*SummaryDashboardPollRequest) Parameter ¶ added in v0.0.329
func (r *SummaryDashboardPollRequest) Parameter(name string, value interface{}) *SummaryDashboardPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*SummaryDashboardPollRequest) Predicate ¶ added in v0.0.329
func (r *SummaryDashboardPollRequest) Predicate(value func(*SummaryDashboardGetResponse) bool) *SummaryDashboardPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*SummaryDashboardPollRequest) StartContext ¶ added in v0.0.329
func (r *SummaryDashboardPollRequest) StartContext(ctx context.Context) (response *SummaryDashboardPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*SummaryDashboardPollRequest) Status ¶ added in v0.0.329
func (r *SummaryDashboardPollRequest) Status(value int) *SummaryDashboardPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type SummaryDashboardPollResponse ¶ added in v0.0.329
type SummaryDashboardPollResponse struct {
// contains filtered or unexported fields
}
SummaryDashboardPollResponse is the response for the Poll method.
func (*SummaryDashboardPollResponse) Body ¶ added in v0.0.329
func (r *SummaryDashboardPollResponse) Body() *SummaryDashboard
Body returns the value of the 'body' parameter.
func (*SummaryDashboardPollResponse) Error ¶ added in v0.0.329
func (r *SummaryDashboardPollResponse) Error() *errors.Error
Error returns the response error.
func (*SummaryDashboardPollResponse) GetBody ¶ added in v0.0.329
func (r *SummaryDashboardPollResponse) GetBody() (value *SummaryDashboard, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*SummaryDashboardPollResponse) Header ¶ added in v0.0.329
func (r *SummaryDashboardPollResponse) Header() http.Header
Header returns header of the response.
func (*SummaryDashboardPollResponse) Status ¶ added in v0.0.329
func (r *SummaryDashboardPollResponse) Status() int
Status returns the response status code.
type SummaryDashboardServer ¶ added in v0.1.128
type SummaryDashboardServer interface { // Get handles a request for the 'get' method. // // Retrieves the details of the organization's summary dashboard. Get(ctx context.Context, request *SummaryDashboardGetServerRequest, response *SummaryDashboardGetServerResponse) error }
SummaryDashboardServer represents the interface the manages the 'summary_dashboard' resource.
type SummaryMetrics ¶ added in v0.0.329
type SummaryMetrics struct {
// contains filtered or unexported fields
}
SummaryMetrics represents the values of the 'summary_metrics' type.
func UnmarshalSummaryMetrics ¶ added in v0.0.329
func UnmarshalSummaryMetrics(source interface{}) (object *SummaryMetrics, err error)
UnmarshalSummaryMetrics reads a value of the 'summary_metrics' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSummaryMetricsList ¶ added in v0.0.329
func UnmarshalSummaryMetricsList(source interface{}) (items []*SummaryMetrics, err error)
UnmarshalSummaryMetricsList reads a list of values of the 'summary_metrics' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SummaryMetrics) Empty ¶ added in v0.0.329
func (o *SummaryMetrics) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SummaryMetrics) GetName ¶ added in v0.0.329
func (o *SummaryMetrics) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*SummaryMetrics) GetVector ¶ added in v0.0.329
func (o *SummaryMetrics) GetVector() (value []*SummarySample, ok bool)
GetVector returns the value of the 'vector' attribute and a flag indicating if the attribute has a value.
func (*SummaryMetrics) Name ¶ added in v0.0.329
func (o *SummaryMetrics) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SummaryMetrics) Vector ¶ added in v0.0.329
func (o *SummaryMetrics) Vector() []*SummarySample
Vector returns the value of the 'vector' attribute, or the zero value of the type if the attribute doesn't have a value.
type SummaryMetricsBuilder ¶ added in v0.0.329
type SummaryMetricsBuilder struct {
// contains filtered or unexported fields
}
SummaryMetricsBuilder contains the data and logic needed to build 'summary_metrics' objects.
func NewSummaryMetrics ¶ added in v0.0.329
func NewSummaryMetrics() *SummaryMetricsBuilder
NewSummaryMetrics creates a new builder of 'summary_metrics' objects.
func (*SummaryMetricsBuilder) Build ¶ added in v0.0.329
func (b *SummaryMetricsBuilder) Build() (object *SummaryMetrics, err error)
Build creates a 'summary_metrics' object using the configuration stored in the builder.
func (*SummaryMetricsBuilder) Copy ¶ added in v0.0.329
func (b *SummaryMetricsBuilder) Copy(object *SummaryMetrics) *SummaryMetricsBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SummaryMetricsBuilder) Name ¶ added in v0.0.329
func (b *SummaryMetricsBuilder) Name(value string) *SummaryMetricsBuilder
Name sets the value of the 'name' attribute to the given value.
func (*SummaryMetricsBuilder) Vector ¶ added in v0.0.329
func (b *SummaryMetricsBuilder) Vector(values ...*SummarySampleBuilder) *SummaryMetricsBuilder
Vector sets the value of the 'vector' attribute to the given values.
type SummaryMetricsList ¶ added in v0.0.329
type SummaryMetricsList struct {
// contains filtered or unexported fields
}
SummaryMetricsList is a list of values of the 'summary_metrics' type.
func (*SummaryMetricsList) Each ¶ added in v0.0.329
func (l *SummaryMetricsList) Each(f func(item *SummaryMetrics) 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 (*SummaryMetricsList) Empty ¶ added in v0.0.329
func (l *SummaryMetricsList) Empty() bool
Empty returns true if the list is empty.
func (*SummaryMetricsList) Get ¶ added in v0.0.329
func (l *SummaryMetricsList) Get(i int) *SummaryMetrics
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SummaryMetricsList) Len ¶ added in v0.0.329
func (l *SummaryMetricsList) Len() int
Len returns the length of the list.
func (*SummaryMetricsList) Range ¶ added in v0.0.329
func (l *SummaryMetricsList) Range(f func(index int, item *SummaryMetrics) 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 (*SummaryMetricsList) Slice ¶ added in v0.0.329
func (l *SummaryMetricsList) Slice() []*SummaryMetrics
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 SummaryMetricsListBuilder ¶ added in v0.0.329
type SummaryMetricsListBuilder struct {
// contains filtered or unexported fields
}
SummaryMetricsListBuilder contains the data and logic needed to build 'summary_metrics' objects.
func NewSummaryMetricsList ¶ added in v0.0.329
func NewSummaryMetricsList() *SummaryMetricsListBuilder
NewSummaryMetricsList creates a new builder of 'summary_metrics' objects.
func (*SummaryMetricsListBuilder) Build ¶ added in v0.0.329
func (b *SummaryMetricsListBuilder) Build() (list *SummaryMetricsList, err error)
Build creates a list of 'summary_metrics' objects using the configuration stored in the builder.
func (*SummaryMetricsListBuilder) Copy ¶ added in v0.0.329
func (b *SummaryMetricsListBuilder) Copy(list *SummaryMetricsList) *SummaryMetricsListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SummaryMetricsListBuilder) Items ¶ added in v0.0.329
func (b *SummaryMetricsListBuilder) Items(values ...*SummaryMetricsBuilder) *SummaryMetricsListBuilder
Items sets the items of the list.
type SummarySample ¶ added in v0.0.329
type SummarySample struct {
// contains filtered or unexported fields
}
SummarySample represents the values of the 'summary_sample' type.
func UnmarshalSummarySample ¶ added in v0.0.329
func UnmarshalSummarySample(source interface{}) (object *SummarySample, err error)
UnmarshalSummarySample reads a value of the 'summary_sample' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSummarySampleList ¶ added in v0.0.329
func UnmarshalSummarySampleList(source interface{}) (items []*SummarySample, err error)
UnmarshalSummarySampleList reads a list of values of the 'summary_sample' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SummarySample) Empty ¶ added in v0.0.329
func (o *SummarySample) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SummarySample) GetTime ¶ added in v0.0.329
func (o *SummarySample) GetTime() (value string, ok bool)
GetTime returns the value of the 'time' attribute and a flag indicating if the attribute has a value.
func (*SummarySample) GetValue ¶ added in v0.0.329
func (o *SummarySample) GetValue() (value float64, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
func (*SummarySample) Time ¶ added in v0.0.329
func (o *SummarySample) Time() string
Time returns the value of the 'time' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*SummarySample) Value ¶ added in v0.0.329
func (o *SummarySample) Value() float64
Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.
type SummarySampleBuilder ¶ added in v0.0.329
type SummarySampleBuilder struct {
// contains filtered or unexported fields
}
SummarySampleBuilder contains the data and logic needed to build 'summary_sample' objects.
func NewSummarySample ¶ added in v0.0.329
func NewSummarySample() *SummarySampleBuilder
NewSummarySample creates a new builder of 'summary_sample' objects.
func (*SummarySampleBuilder) Build ¶ added in v0.0.329
func (b *SummarySampleBuilder) Build() (object *SummarySample, err error)
Build creates a 'summary_sample' object using the configuration stored in the builder.
func (*SummarySampleBuilder) Copy ¶ added in v0.0.329
func (b *SummarySampleBuilder) Copy(object *SummarySample) *SummarySampleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SummarySampleBuilder) Time ¶ added in v0.0.329
func (b *SummarySampleBuilder) Time(value string) *SummarySampleBuilder
Time sets the value of the 'time' attribute to the given value.
func (*SummarySampleBuilder) Value ¶ added in v0.0.329
func (b *SummarySampleBuilder) Value(value float64) *SummarySampleBuilder
Value sets the value of the 'value' attribute to the given value.
type SummarySampleList ¶ added in v0.0.329
type SummarySampleList struct {
// contains filtered or unexported fields
}
SummarySampleList is a list of values of the 'summary_sample' type.
func (*SummarySampleList) Each ¶ added in v0.0.329
func (l *SummarySampleList) Each(f func(item *SummarySample) 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 (*SummarySampleList) Empty ¶ added in v0.0.329
func (l *SummarySampleList) Empty() bool
Empty returns true if the list is empty.
func (*SummarySampleList) Get ¶ added in v0.0.329
func (l *SummarySampleList) Get(i int) *SummarySample
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SummarySampleList) Len ¶ added in v0.0.329
func (l *SummarySampleList) Len() int
Len returns the length of the list.
func (*SummarySampleList) Range ¶ added in v0.0.329
func (l *SummarySampleList) Range(f func(index int, item *SummarySample) 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 (*SummarySampleList) Slice ¶ added in v0.0.329
func (l *SummarySampleList) Slice() []*SummarySample
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 SummarySampleListBuilder ¶ added in v0.0.329
type SummarySampleListBuilder struct {
// contains filtered or unexported fields
}
SummarySampleListBuilder contains the data and logic needed to build 'summary_sample' objects.
func NewSummarySampleList ¶ added in v0.0.329
func NewSummarySampleList() *SummarySampleListBuilder
NewSummarySampleList creates a new builder of 'summary_sample' objects.
func (*SummarySampleListBuilder) Build ¶ added in v0.0.329
func (b *SummarySampleListBuilder) Build() (list *SummarySampleList, err error)
Build creates a list of 'summary_sample' objects using the configuration stored in the builder.
func (*SummarySampleListBuilder) Copy ¶ added in v0.0.329
func (b *SummarySampleListBuilder) Copy(list *SummarySampleList) *SummarySampleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SummarySampleListBuilder) Items ¶ added in v0.0.329
func (b *SummarySampleListBuilder) Items(values ...*SummarySampleBuilder) *SummarySampleListBuilder
Items sets the items of the list.
type SupportCaseClient ¶
type SupportCaseClient struct {
// contains filtered or unexported fields
}
SupportCaseClient is the client of the 'support_case' resource.
Manages a specific support case.
func NewSupportCaseClient ¶
func NewSupportCaseClient(transport http.RoundTripper, path string, metric string) *SupportCaseClient
NewSupportCaseClient creates a new client for the 'support_case' resource using the given transport to send the requests and receive the responses.
func (*SupportCaseClient) Delete ¶
func (c *SupportCaseClient) Delete() *SupportCaseDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the support case by Case ID.
type SupportCaseDeleteRequest ¶
type SupportCaseDeleteRequest struct {
// contains filtered or unexported fields
}
SupportCaseDeleteRequest is the request for the 'delete' method.
func (*SupportCaseDeleteRequest) Header ¶
func (r *SupportCaseDeleteRequest) Header(name string, value interface{}) *SupportCaseDeleteRequest
Header adds a request header.
func (*SupportCaseDeleteRequest) Parameter ¶
func (r *SupportCaseDeleteRequest) Parameter(name string, value interface{}) *SupportCaseDeleteRequest
Parameter adds a query parameter.
func (*SupportCaseDeleteRequest) Send ¶
func (r *SupportCaseDeleteRequest) Send() (result *SupportCaseDeleteResponse, 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 (*SupportCaseDeleteRequest) SendContext ¶
func (r *SupportCaseDeleteRequest) SendContext(ctx context.Context) (result *SupportCaseDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SupportCaseDeleteResponse ¶
type SupportCaseDeleteResponse struct {
// contains filtered or unexported fields
}
SupportCaseDeleteResponse is the response for the 'delete' method.
func (*SupportCaseDeleteResponse) Error ¶
func (r *SupportCaseDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*SupportCaseDeleteResponse) Header ¶
func (r *SupportCaseDeleteResponse) Header() http.Header
Header returns header of the response.
func (*SupportCaseDeleteResponse) Status ¶
func (r *SupportCaseDeleteResponse) Status() int
Status returns the response status code.
type SupportCaseDeleteServerRequest ¶
type SupportCaseDeleteServerRequest struct { }
SupportCaseDeleteServerRequest is the request for the 'delete' method.
type SupportCaseDeleteServerResponse ¶
type SupportCaseDeleteServerResponse struct {
// contains filtered or unexported fields
}
SupportCaseDeleteServerResponse is the response for the 'delete' method.
func (*SupportCaseDeleteServerResponse) Status ¶
func (r *SupportCaseDeleteServerResponse) Status(value int) *SupportCaseDeleteServerResponse
Status sets the status code.
type SupportCaseRequest ¶
type SupportCaseRequest struct {
// contains filtered or unexported fields
}
SupportCaseRequest represents the values of the 'support_case_request' type.
func UnmarshalSupportCaseRequest ¶
func UnmarshalSupportCaseRequest(source interface{}) (object *SupportCaseRequest, err error)
UnmarshalSupportCaseRequest reads a value of the 'support_case_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSupportCaseRequestList ¶
func UnmarshalSupportCaseRequestList(source interface{}) (items []*SupportCaseRequest, err error)
UnmarshalSupportCaseRequestList reads a list of values of the 'support_case_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SupportCaseRequest) ClusterId ¶
func (o *SupportCaseRequest) 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.
(optional) cluster id of the cluster on which we create the support case for.
func (*SupportCaseRequest) ClusterUuid ¶
func (o *SupportCaseRequest) 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.
(optional) cluster uuid of the cluster on which we create the support case for.
func (*SupportCaseRequest) Description ¶
func (o *SupportCaseRequest) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case desciption.
func (*SupportCaseRequest) Empty ¶
func (o *SupportCaseRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SupportCaseRequest) EventStreamId ¶
func (o *SupportCaseRequest) EventStreamId() string
EventStreamId returns the value of the 'event_stream_id' attribute, or the zero value of the type if the attribute doesn't have a value.
(optional) event stream id for the support case so we could track it.
func (*SupportCaseRequest) GetClusterId ¶
func (o *SupportCaseRequest) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
(optional) cluster id of the cluster on which we create the support case for.
func (*SupportCaseRequest) GetClusterUuid ¶
func (o *SupportCaseRequest) GetClusterUuid() (value string, ok bool)
GetClusterUuid returns the value of the 'cluster_uuid' attribute and a flag indicating if the attribute has a value.
(optional) cluster uuid of the cluster on which we create the support case for.
func (*SupportCaseRequest) GetDescription ¶
func (o *SupportCaseRequest) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Support case desciption.
func (*SupportCaseRequest) GetEventStreamId ¶
func (o *SupportCaseRequest) GetEventStreamId() (value string, ok bool)
GetEventStreamId returns the value of the 'event_stream_id' attribute and a flag indicating if the attribute has a value.
(optional) event stream id for the support case so we could track it.
func (*SupportCaseRequest) GetHREF ¶
func (o *SupportCaseRequest) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SupportCaseRequest) GetID ¶
func (o *SupportCaseRequest) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SupportCaseRequest) GetSeverity ¶
func (o *SupportCaseRequest) GetSeverity() (value string, ok bool)
GetSeverity returns the value of the 'severity' attribute and a flag indicating if the attribute has a value.
Support case severity.
func (*SupportCaseRequest) GetSubscriptionId ¶
func (o *SupportCaseRequest) GetSubscriptionId() (value string, ok bool)
GetSubscriptionId returns the value of the 'subscription_id' attribute and a flag indicating if the attribute has a value.
(optional) subscription id of the subscription on which we create the support case for.
func (*SupportCaseRequest) GetSummary ¶
func (o *SupportCaseRequest) GetSummary() (value string, ok bool)
GetSummary returns the value of the 'summary' attribute and a flag indicating if the attribute has a value.
Support case title.
func (*SupportCaseRequest) HREF ¶
func (o *SupportCaseRequest) HREF() string
HREF returns the link to the object.
func (*SupportCaseRequest) ID ¶
func (o *SupportCaseRequest) ID() string
ID returns the identifier of the object.
func (*SupportCaseRequest) Kind ¶
func (o *SupportCaseRequest) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseRequest) Link ¶
func (o *SupportCaseRequest) Link() bool
Link returns true iif this is a link.
func (*SupportCaseRequest) Severity ¶
func (o *SupportCaseRequest) Severity() string
Severity returns the value of the 'severity' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case severity.
func (*SupportCaseRequest) SubscriptionId ¶
func (o *SupportCaseRequest) 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.
(optional) subscription id of the subscription on which we create the support case for.
func (*SupportCaseRequest) Summary ¶
func (o *SupportCaseRequest) Summary() string
Summary returns the value of the 'summary' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case title.
type SupportCaseRequestBuilder ¶
type SupportCaseRequestBuilder struct {
// contains filtered or unexported fields
}
SupportCaseRequestBuilder contains the data and logic needed to build 'support_case_request' objects.
func NewSupportCaseRequest ¶
func NewSupportCaseRequest() *SupportCaseRequestBuilder
NewSupportCaseRequest creates a new builder of 'support_case_request' objects.
func (*SupportCaseRequestBuilder) Build ¶
func (b *SupportCaseRequestBuilder) Build() (object *SupportCaseRequest, err error)
Build creates a 'support_case_request' object using the configuration stored in the builder.
func (*SupportCaseRequestBuilder) ClusterId ¶
func (b *SupportCaseRequestBuilder) ClusterId(value string) *SupportCaseRequestBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*SupportCaseRequestBuilder) ClusterUuid ¶
func (b *SupportCaseRequestBuilder) ClusterUuid(value string) *SupportCaseRequestBuilder
ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value.
func (*SupportCaseRequestBuilder) Copy ¶
func (b *SupportCaseRequestBuilder) Copy(object *SupportCaseRequest) *SupportCaseRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SupportCaseRequestBuilder) Description ¶
func (b *SupportCaseRequestBuilder) Description(value string) *SupportCaseRequestBuilder
Description sets the value of the 'description' attribute to the given value.
func (*SupportCaseRequestBuilder) EventStreamId ¶
func (b *SupportCaseRequestBuilder) EventStreamId(value string) *SupportCaseRequestBuilder
EventStreamId sets the value of the 'event_stream_id' attribute to the given value.
func (*SupportCaseRequestBuilder) HREF ¶
func (b *SupportCaseRequestBuilder) HREF(value string) *SupportCaseRequestBuilder
HREF sets the link to the object.
func (*SupportCaseRequestBuilder) ID ¶
func (b *SupportCaseRequestBuilder) ID(value string) *SupportCaseRequestBuilder
ID sets the identifier of the object.
func (*SupportCaseRequestBuilder) Link ¶
func (b *SupportCaseRequestBuilder) Link(value bool) *SupportCaseRequestBuilder
Link sets the flag that indicates if this is a link.
func (*SupportCaseRequestBuilder) Severity ¶
func (b *SupportCaseRequestBuilder) Severity(value string) *SupportCaseRequestBuilder
Severity sets the value of the 'severity' attribute to the given value.
func (*SupportCaseRequestBuilder) SubscriptionId ¶
func (b *SupportCaseRequestBuilder) SubscriptionId(value string) *SupportCaseRequestBuilder
SubscriptionId sets the value of the 'subscription_id' attribute to the given value.
func (*SupportCaseRequestBuilder) Summary ¶
func (b *SupportCaseRequestBuilder) Summary(value string) *SupportCaseRequestBuilder
Summary sets the value of the 'summary' attribute to the given value.
type SupportCaseRequestList ¶
type SupportCaseRequestList struct {
// contains filtered or unexported fields
}
SupportCaseRequestList is a list of values of the 'support_case_request' type.
func (*SupportCaseRequestList) Each ¶
func (l *SupportCaseRequestList) Each(f func(item *SupportCaseRequest) 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 (*SupportCaseRequestList) Empty ¶
func (l *SupportCaseRequestList) Empty() bool
Empty returns true if the list is empty.
func (*SupportCaseRequestList) Get ¶
func (l *SupportCaseRequestList) Get(i int) *SupportCaseRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SupportCaseRequestList) GetHREF ¶
func (l *SupportCaseRequestList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SupportCaseRequestList) HREF ¶
func (l *SupportCaseRequestList) HREF() string
HREF returns the link to the list.
func (*SupportCaseRequestList) Kind ¶
func (l *SupportCaseRequestList) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseRequestList) Len ¶
func (l *SupportCaseRequestList) Len() int
Len returns the length of the list.
func (*SupportCaseRequestList) Link ¶
func (l *SupportCaseRequestList) Link() bool
Link returns true iif this is a link.
func (*SupportCaseRequestList) Range ¶
func (l *SupportCaseRequestList) Range(f func(index int, item *SupportCaseRequest) 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 (*SupportCaseRequestList) Slice ¶
func (l *SupportCaseRequestList) Slice() []*SupportCaseRequest
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 SupportCaseRequestListBuilder ¶
type SupportCaseRequestListBuilder struct {
// contains filtered or unexported fields
}
SupportCaseRequestListBuilder contains the data and logic needed to build 'support_case_request' objects.
func NewSupportCaseRequestList ¶
func NewSupportCaseRequestList() *SupportCaseRequestListBuilder
NewSupportCaseRequestList creates a new builder of 'support_case_request' objects.
func (*SupportCaseRequestListBuilder) Build ¶
func (b *SupportCaseRequestListBuilder) Build() (list *SupportCaseRequestList, err error)
Build creates a list of 'support_case_request' objects using the configuration stored in the builder.
func (*SupportCaseRequestListBuilder) Copy ¶
func (b *SupportCaseRequestListBuilder) Copy(list *SupportCaseRequestList) *SupportCaseRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SupportCaseRequestListBuilder) Items ¶
func (b *SupportCaseRequestListBuilder) Items(values ...*SupportCaseRequestBuilder) *SupportCaseRequestListBuilder
Items sets the items of the list.
type SupportCaseResponse ¶
type SupportCaseResponse struct {
// contains filtered or unexported fields
}
SupportCaseResponse represents the values of the 'support_case_response' type.
func UnmarshalSupportCaseResponse ¶
func UnmarshalSupportCaseResponse(source interface{}) (object *SupportCaseResponse, err error)
UnmarshalSupportCaseResponse reads a value of the 'support_case_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSupportCaseResponseList ¶
func UnmarshalSupportCaseResponseList(source interface{}) (items []*SupportCaseResponse, err error)
UnmarshalSupportCaseResponseList reads a list of values of the 'support_case_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*SupportCaseResponse) CaseNumber ¶
func (o *SupportCaseResponse) CaseNumber() string
CaseNumber returns the value of the 'case_number' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case number.
func (*SupportCaseResponse) ClusterId ¶
func (o *SupportCaseResponse) 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.
(optional) cluster id of the cluster on which we created the support case for.
func (*SupportCaseResponse) ClusterUuid ¶
func (o *SupportCaseResponse) 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.
(optional) cluster uuid of the cluster on which we created the support case for.
func (*SupportCaseResponse) Description ¶
func (o *SupportCaseResponse) Description() string
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case desciption.
func (*SupportCaseResponse) Empty ¶
func (o *SupportCaseResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*SupportCaseResponse) GetCaseNumber ¶
func (o *SupportCaseResponse) GetCaseNumber() (value string, ok bool)
GetCaseNumber returns the value of the 'case_number' attribute and a flag indicating if the attribute has a value.
Support case number.
func (*SupportCaseResponse) GetClusterId ¶
func (o *SupportCaseResponse) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
(optional) cluster id of the cluster on which we created the support case for.
func (*SupportCaseResponse) GetClusterUuid ¶
func (o *SupportCaseResponse) GetClusterUuid() (value string, ok bool)
GetClusterUuid returns the value of the 'cluster_uuid' attribute and a flag indicating if the attribute has a value.
(optional) cluster uuid of the cluster on which we created the support case for.
func (*SupportCaseResponse) GetDescription ¶
func (o *SupportCaseResponse) GetDescription() (value string, ok bool)
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
Support case desciption.
func (*SupportCaseResponse) GetHREF ¶
func (o *SupportCaseResponse) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*SupportCaseResponse) GetID ¶
func (o *SupportCaseResponse) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*SupportCaseResponse) GetSeverity ¶
func (o *SupportCaseResponse) GetSeverity() (value string, ok bool)
GetSeverity returns the value of the 'severity' attribute and a flag indicating if the attribute has a value.
Support case severity.
func (*SupportCaseResponse) GetStatus ¶
func (o *SupportCaseResponse) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
Support case status.
func (*SupportCaseResponse) GetSubscriptionId ¶
func (o *SupportCaseResponse) GetSubscriptionId() (value string, ok bool)
GetSubscriptionId returns the value of the 'subscription_id' attribute and a flag indicating if the attribute has a value.
(optional) subscription id of the subscription on which we created the support case for.
func (*SupportCaseResponse) GetSummary ¶
func (o *SupportCaseResponse) GetSummary() (value string, ok bool)
GetSummary returns the value of the 'summary' attribute and a flag indicating if the attribute has a value.
Support case title.
func (*SupportCaseResponse) GetURI ¶
func (o *SupportCaseResponse) GetURI() (value string, ok bool)
GetURI returns the value of the 'URI' attribute and a flag indicating if the attribute has a value.
Support case uri.
func (*SupportCaseResponse) HREF ¶
func (o *SupportCaseResponse) HREF() string
HREF returns the link to the object.
func (*SupportCaseResponse) ID ¶
func (o *SupportCaseResponse) ID() string
ID returns the identifier of the object.
func (*SupportCaseResponse) Kind ¶
func (o *SupportCaseResponse) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseResponse) Link ¶
func (o *SupportCaseResponse) Link() bool
Link returns true iif this is a link.
func (*SupportCaseResponse) Severity ¶
func (o *SupportCaseResponse) Severity() string
Severity returns the value of the 'severity' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case severity.
func (*SupportCaseResponse) Status ¶
func (o *SupportCaseResponse) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case status.
func (*SupportCaseResponse) SubscriptionId ¶
func (o *SupportCaseResponse) 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.
(optional) subscription id of the subscription on which we created the support case for.
func (*SupportCaseResponse) Summary ¶
func (o *SupportCaseResponse) Summary() string
Summary returns the value of the 'summary' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case title.
func (*SupportCaseResponse) URI ¶
func (o *SupportCaseResponse) URI() string
URI returns the value of the 'URI' attribute, or the zero value of the type if the attribute doesn't have a value.
Support case uri.
type SupportCaseResponseBuilder ¶
type SupportCaseResponseBuilder struct {
// contains filtered or unexported fields
}
SupportCaseResponseBuilder contains the data and logic needed to build 'support_case_response' objects.
func NewSupportCaseResponse ¶
func NewSupportCaseResponse() *SupportCaseResponseBuilder
NewSupportCaseResponse creates a new builder of 'support_case_response' objects.
func (*SupportCaseResponseBuilder) Build ¶
func (b *SupportCaseResponseBuilder) Build() (object *SupportCaseResponse, err error)
Build creates a 'support_case_response' object using the configuration stored in the builder.
func (*SupportCaseResponseBuilder) CaseNumber ¶
func (b *SupportCaseResponseBuilder) CaseNumber(value string) *SupportCaseResponseBuilder
CaseNumber sets the value of the 'case_number' attribute to the given value.
func (*SupportCaseResponseBuilder) ClusterId ¶
func (b *SupportCaseResponseBuilder) ClusterId(value string) *SupportCaseResponseBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*SupportCaseResponseBuilder) ClusterUuid ¶
func (b *SupportCaseResponseBuilder) ClusterUuid(value string) *SupportCaseResponseBuilder
ClusterUuid sets the value of the 'cluster_uuid' attribute to the given value.
func (*SupportCaseResponseBuilder) Copy ¶
func (b *SupportCaseResponseBuilder) Copy(object *SupportCaseResponse) *SupportCaseResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*SupportCaseResponseBuilder) Description ¶
func (b *SupportCaseResponseBuilder) Description(value string) *SupportCaseResponseBuilder
Description sets the value of the 'description' attribute to the given value.
func (*SupportCaseResponseBuilder) HREF ¶
func (b *SupportCaseResponseBuilder) HREF(value string) *SupportCaseResponseBuilder
HREF sets the link to the object.
func (*SupportCaseResponseBuilder) ID ¶
func (b *SupportCaseResponseBuilder) ID(value string) *SupportCaseResponseBuilder
ID sets the identifier of the object.
func (*SupportCaseResponseBuilder) Link ¶
func (b *SupportCaseResponseBuilder) Link(value bool) *SupportCaseResponseBuilder
Link sets the flag that indicates if this is a link.
func (*SupportCaseResponseBuilder) Severity ¶
func (b *SupportCaseResponseBuilder) Severity(value string) *SupportCaseResponseBuilder
Severity sets the value of the 'severity' attribute to the given value.
func (*SupportCaseResponseBuilder) Status ¶
func (b *SupportCaseResponseBuilder) Status(value string) *SupportCaseResponseBuilder
Status sets the value of the 'status' attribute to the given value.
func (*SupportCaseResponseBuilder) SubscriptionId ¶
func (b *SupportCaseResponseBuilder) SubscriptionId(value string) *SupportCaseResponseBuilder
SubscriptionId sets the value of the 'subscription_id' attribute to the given value.
func (*SupportCaseResponseBuilder) Summary ¶
func (b *SupportCaseResponseBuilder) Summary(value string) *SupportCaseResponseBuilder
Summary sets the value of the 'summary' attribute to the given value.
func (*SupportCaseResponseBuilder) URI ¶
func (b *SupportCaseResponseBuilder) URI(value string) *SupportCaseResponseBuilder
URI sets the value of the 'URI' attribute to the given value.
type SupportCaseResponseList ¶
type SupportCaseResponseList struct {
// contains filtered or unexported fields
}
SupportCaseResponseList is a list of values of the 'support_case_response' type.
func (*SupportCaseResponseList) Each ¶
func (l *SupportCaseResponseList) Each(f func(item *SupportCaseResponse) 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 (*SupportCaseResponseList) Empty ¶
func (l *SupportCaseResponseList) Empty() bool
Empty returns true if the list is empty.
func (*SupportCaseResponseList) Get ¶
func (l *SupportCaseResponseList) Get(i int) *SupportCaseResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*SupportCaseResponseList) GetHREF ¶
func (l *SupportCaseResponseList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*SupportCaseResponseList) HREF ¶
func (l *SupportCaseResponseList) HREF() string
HREF returns the link to the list.
func (*SupportCaseResponseList) Kind ¶
func (l *SupportCaseResponseList) Kind() string
Kind returns the name of the type of the object.
func (*SupportCaseResponseList) Len ¶
func (l *SupportCaseResponseList) Len() int
Len returns the length of the list.
func (*SupportCaseResponseList) Link ¶
func (l *SupportCaseResponseList) Link() bool
Link returns true iif this is a link.
func (*SupportCaseResponseList) Range ¶
func (l *SupportCaseResponseList) Range(f func(index int, item *SupportCaseResponse) 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 (*SupportCaseResponseList) Slice ¶
func (l *SupportCaseResponseList) Slice() []*SupportCaseResponse
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 SupportCaseResponseListBuilder ¶
type SupportCaseResponseListBuilder struct {
// contains filtered or unexported fields
}
SupportCaseResponseListBuilder contains the data and logic needed to build 'support_case_response' objects.
func NewSupportCaseResponseList ¶
func NewSupportCaseResponseList() *SupportCaseResponseListBuilder
NewSupportCaseResponseList creates a new builder of 'support_case_response' objects.
func (*SupportCaseResponseListBuilder) Build ¶
func (b *SupportCaseResponseListBuilder) Build() (list *SupportCaseResponseList, err error)
Build creates a list of 'support_case_response' objects using the configuration stored in the builder.
func (*SupportCaseResponseListBuilder) Copy ¶
func (b *SupportCaseResponseListBuilder) Copy(list *SupportCaseResponseList) *SupportCaseResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*SupportCaseResponseListBuilder) Items ¶
func (b *SupportCaseResponseListBuilder) Items(values ...*SupportCaseResponseBuilder) *SupportCaseResponseListBuilder
Items sets the items of the list.
type SupportCaseServer ¶
type SupportCaseServer interface { // Delete handles a request for the 'delete' method. // // Deletes the support case by Case ID. Delete(ctx context.Context, request *SupportCaseDeleteServerRequest, response *SupportCaseDeleteServerResponse) error }
SupportCaseServer represents the interface the manages the 'support_case' resource.
type SupportCasesClient ¶
type SupportCasesClient struct {
// contains filtered or unexported fields
}
SupportCasesClient is the client of the 'support_cases' resource.
Manages the support cases endpoint
func NewSupportCasesClient ¶
func NewSupportCasesClient(transport http.RoundTripper, path string, metric string) *SupportCasesClient
NewSupportCasesClient creates a new client for the 'support_cases' resource using the given transport to send the requests and receive the responses.
func (*SupportCasesClient) Post ¶
func (c *SupportCasesClient) Post() *SupportCasesPostRequest
Post creates a request for the 'post' method.
Create a support case related to Hydra
func (*SupportCasesClient) SupportCase ¶
func (c *SupportCasesClient) SupportCase(id string) *SupportCaseClient
SupportCase returns the target 'support_case' resource for the given identifier.
Reference to the service that manages a specific support case.
type SupportCasesPostRequest ¶
type SupportCasesPostRequest struct {
// contains filtered or unexported fields
}
SupportCasesPostRequest is the request for the 'post' method.
func (*SupportCasesPostRequest) Header ¶
func (r *SupportCasesPostRequest) Header(name string, value interface{}) *SupportCasesPostRequest
Header adds a request header.
func (*SupportCasesPostRequest) Parameter ¶
func (r *SupportCasesPostRequest) Parameter(name string, value interface{}) *SupportCasesPostRequest
Parameter adds a query parameter.
func (*SupportCasesPostRequest) Request ¶
func (r *SupportCasesPostRequest) Request(value *SupportCaseRequest) *SupportCasesPostRequest
Request sets the value of the 'request' parameter.
func (*SupportCasesPostRequest) Send ¶
func (r *SupportCasesPostRequest) Send() (result *SupportCasesPostResponse, 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 (*SupportCasesPostRequest) SendContext ¶
func (r *SupportCasesPostRequest) SendContext(ctx context.Context) (result *SupportCasesPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type SupportCasesPostResponse ¶
type SupportCasesPostResponse struct {
// contains filtered or unexported fields
}
SupportCasesPostResponse is the response for the 'post' method.
func (*SupportCasesPostResponse) Error ¶
func (r *SupportCasesPostResponse) Error() *errors.Error
Error returns the response error.
func (*SupportCasesPostResponse) GetResponse ¶
func (r *SupportCasesPostResponse) GetResponse() (value *SupportCaseResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*SupportCasesPostResponse) Header ¶
func (r *SupportCasesPostResponse) Header() http.Header
Header returns header of the response.
func (*SupportCasesPostResponse) Response ¶
func (r *SupportCasesPostResponse) Response() *SupportCaseResponse
Response returns the value of the 'response' parameter.
func (*SupportCasesPostResponse) Status ¶
func (r *SupportCasesPostResponse) Status() int
Status returns the response status code.
type SupportCasesPostServerRequest ¶
type SupportCasesPostServerRequest struct {
// contains filtered or unexported fields
}
SupportCasesPostServerRequest is the request for the 'post' method.
func (*SupportCasesPostServerRequest) GetRequest ¶
func (r *SupportCasesPostServerRequest) GetRequest() (value *SupportCaseRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*SupportCasesPostServerRequest) Request ¶
func (r *SupportCasesPostServerRequest) Request() *SupportCaseRequest
Request returns the value of the 'request' parameter.
type SupportCasesPostServerResponse ¶
type SupportCasesPostServerResponse struct {
// contains filtered or unexported fields
}
SupportCasesPostServerResponse is the response for the 'post' method.
func (*SupportCasesPostServerResponse) Response ¶
func (r *SupportCasesPostServerResponse) Response(value *SupportCaseResponse) *SupportCasesPostServerResponse
Response sets the value of the 'response' parameter.
func (*SupportCasesPostServerResponse) Status ¶
func (r *SupportCasesPostServerResponse) Status(value int) *SupportCasesPostServerResponse
Status sets the status code.
type SupportCasesServer ¶
type SupportCasesServer interface { // Post handles a request for the 'post' method. // // Create a support case related to Hydra Post(ctx context.Context, request *SupportCasesPostServerRequest, response *SupportCasesPostServerResponse) error // SupportCase returns the target 'support_case' server for the given identifier. // // Reference to the service that manages a specific support case. SupportCase(id string) SupportCaseServer }
SupportCasesServer represents the interface the manages the 'support_cases' resource.
type SupportLevelEnum ¶
type SupportLevelEnum string
SupportLevelEnum represents the values of the 'support_level_enum' enumerated type.
func UnmarshalSupportLevelEnumList ¶
func UnmarshalSupportLevelEnumList(source interface{}) (items []SupportLevelEnum, err error)
UnmarshalSupportLevelEnumList reads a list of values of the 'support_level_enum' type from the given source, which can be a slice of bytes, a string or a reader.
type SystemUnitsEnum ¶
type SystemUnitsEnum string
SystemUnitsEnum represents the values of the 'system_units_enum' enumerated type.
func UnmarshalSystemUnitsEnumList ¶
func UnmarshalSystemUnitsEnumList(source interface{}) (items []SystemUnitsEnum, err error)
UnmarshalSystemUnitsEnumList reads a list of values of the 'system_units_enum' type from the given source, which can be a slice of bytes, a string or a reader.
type TemplateParameter ¶
type TemplateParameter struct {
// contains filtered or unexported fields
}
TemplateParameter represents the values of the 'template_parameter' type.
A template parameter is used in an email to replace placeholder content with values specific to the email recipient.
func UnmarshalTemplateParameter ¶
func UnmarshalTemplateParameter(source interface{}) (object *TemplateParameter, err error)
UnmarshalTemplateParameter reads a value of the 'template_parameter' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTemplateParameterList ¶
func UnmarshalTemplateParameterList(source interface{}) (items []*TemplateParameter, err error)
UnmarshalTemplateParameterList reads a list of values of the 'template_parameter' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TemplateParameter) Content ¶
func (o *TemplateParameter) Content() string
Content returns the value of the 'content' attribute, or the zero value of the type if the attribute doesn't have a value.
The content that will replace the template parameter in the email
func (*TemplateParameter) Empty ¶
func (o *TemplateParameter) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TemplateParameter) GetContent ¶
func (o *TemplateParameter) GetContent() (value string, ok bool)
GetContent returns the value of the 'content' attribute and a flag indicating if the attribute has a value.
The content that will replace the template parameter in the email
func (*TemplateParameter) GetName ¶
func (o *TemplateParameter) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the value to be replaced
func (*TemplateParameter) Name ¶
func (o *TemplateParameter) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the value to be replaced
type TemplateParameterBuilder ¶
type TemplateParameterBuilder struct {
// contains filtered or unexported fields
}
TemplateParameterBuilder contains the data and logic needed to build 'template_parameter' objects.
A template parameter is used in an email to replace placeholder content with values specific to the email recipient.
func NewTemplateParameter ¶
func NewTemplateParameter() *TemplateParameterBuilder
NewTemplateParameter creates a new builder of 'template_parameter' objects.
func (*TemplateParameterBuilder) Build ¶
func (b *TemplateParameterBuilder) Build() (object *TemplateParameter, err error)
Build creates a 'template_parameter' object using the configuration stored in the builder.
func (*TemplateParameterBuilder) Content ¶
func (b *TemplateParameterBuilder) Content(value string) *TemplateParameterBuilder
Content sets the value of the 'content' attribute to the given value.
func (*TemplateParameterBuilder) Copy ¶
func (b *TemplateParameterBuilder) Copy(object *TemplateParameter) *TemplateParameterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*TemplateParameterBuilder) Name ¶
func (b *TemplateParameterBuilder) Name(value string) *TemplateParameterBuilder
Name sets the value of the 'name' attribute to the given value.
type TemplateParameterList ¶
type TemplateParameterList struct {
// contains filtered or unexported fields
}
TemplateParameterList is a list of values of the 'template_parameter' type.
func (*TemplateParameterList) Each ¶
func (l *TemplateParameterList) Each(f func(item *TemplateParameter) 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 (*TemplateParameterList) Empty ¶
func (l *TemplateParameterList) Empty() bool
Empty returns true if the list is empty.
func (*TemplateParameterList) Get ¶
func (l *TemplateParameterList) Get(i int) *TemplateParameter
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TemplateParameterList) Len ¶
func (l *TemplateParameterList) Len() int
Len returns the length of the list.
func (*TemplateParameterList) Range ¶
func (l *TemplateParameterList) Range(f func(index int, item *TemplateParameter) 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 (*TemplateParameterList) Slice ¶
func (l *TemplateParameterList) Slice() []*TemplateParameter
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 TemplateParameterListBuilder ¶
type TemplateParameterListBuilder struct {
// contains filtered or unexported fields
}
TemplateParameterListBuilder contains the data and logic needed to build 'template_parameter' objects.
func NewTemplateParameterList ¶
func NewTemplateParameterList() *TemplateParameterListBuilder
NewTemplateParameterList creates a new builder of 'template_parameter' objects.
func (*TemplateParameterListBuilder) Build ¶
func (b *TemplateParameterListBuilder) Build() (list *TemplateParameterList, err error)
Build creates a list of 'template_parameter' objects using the configuration stored in the builder.
func (*TemplateParameterListBuilder) Copy ¶
func (b *TemplateParameterListBuilder) Copy(list *TemplateParameterList) *TemplateParameterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TemplateParameterListBuilder) Items ¶
func (b *TemplateParameterListBuilder) Items(values ...*TemplateParameterBuilder) *TemplateParameterListBuilder
Items sets the items of the list.
type TokenAuthorizationClient ¶
type TokenAuthorizationClient struct {
// contains filtered or unexported fields
}
TokenAuthorizationClient is the client of the 'token_authorization' resource.
Token Authorization Handler.
func NewTokenAuthorizationClient ¶
func NewTokenAuthorizationClient(transport http.RoundTripper, path string, metric string) *TokenAuthorizationClient
NewTokenAuthorizationClient creates a new client for the 'token_authorization' resource using the given transport to send the requests and receive the responses.
func (*TokenAuthorizationClient) Post ¶
func (c *TokenAuthorizationClient) Post() *TokenAuthorizationPostRequest
Post creates a request for the 'post' method.
Returns a specific account based on the given pull secret
type TokenAuthorizationPostRequest ¶
type TokenAuthorizationPostRequest struct {
// contains filtered or unexported fields
}
TokenAuthorizationPostRequest is the request for the 'post' method.
func (*TokenAuthorizationPostRequest) Header ¶
func (r *TokenAuthorizationPostRequest) Header(name string, value interface{}) *TokenAuthorizationPostRequest
Header adds a request header.
func (*TokenAuthorizationPostRequest) Parameter ¶
func (r *TokenAuthorizationPostRequest) Parameter(name string, value interface{}) *TokenAuthorizationPostRequest
Parameter adds a query parameter.
func (*TokenAuthorizationPostRequest) Request ¶
func (r *TokenAuthorizationPostRequest) Request(value *TokenAuthorizationRequest) *TokenAuthorizationPostRequest
Request sets the value of the 'request' parameter.
func (*TokenAuthorizationPostRequest) Send ¶
func (r *TokenAuthorizationPostRequest) Send() (result *TokenAuthorizationPostResponse, 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 (*TokenAuthorizationPostRequest) SendContext ¶
func (r *TokenAuthorizationPostRequest) SendContext(ctx context.Context) (result *TokenAuthorizationPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type TokenAuthorizationPostResponse ¶
type TokenAuthorizationPostResponse struct {
// contains filtered or unexported fields
}
TokenAuthorizationPostResponse is the response for the 'post' method.
func (*TokenAuthorizationPostResponse) Error ¶
func (r *TokenAuthorizationPostResponse) Error() *errors.Error
Error returns the response error.
func (*TokenAuthorizationPostResponse) GetResponse ¶
func (r *TokenAuthorizationPostResponse) GetResponse() (value *TokenAuthorizationResponse, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*TokenAuthorizationPostResponse) Header ¶
func (r *TokenAuthorizationPostResponse) Header() http.Header
Header returns header of the response.
func (*TokenAuthorizationPostResponse) Response ¶
func (r *TokenAuthorizationPostResponse) Response() *TokenAuthorizationResponse
Response returns the value of the 'response' parameter.
func (*TokenAuthorizationPostResponse) Status ¶
func (r *TokenAuthorizationPostResponse) Status() int
Status returns the response status code.
type TokenAuthorizationPostServerRequest ¶
type TokenAuthorizationPostServerRequest struct {
// contains filtered or unexported fields
}
TokenAuthorizationPostServerRequest is the request for the 'post' method.
func (*TokenAuthorizationPostServerRequest) GetRequest ¶
func (r *TokenAuthorizationPostServerRequest) GetRequest() (value *TokenAuthorizationRequest, ok bool)
GetRequest returns the value of the 'request' parameter and a flag indicating if the parameter has a value.
func (*TokenAuthorizationPostServerRequest) Request ¶
func (r *TokenAuthorizationPostServerRequest) Request() *TokenAuthorizationRequest
Request returns the value of the 'request' parameter.
type TokenAuthorizationPostServerResponse ¶
type TokenAuthorizationPostServerResponse struct {
// contains filtered or unexported fields
}
TokenAuthorizationPostServerResponse is the response for the 'post' method.
func (*TokenAuthorizationPostServerResponse) Response ¶
func (r *TokenAuthorizationPostServerResponse) Response(value *TokenAuthorizationResponse) *TokenAuthorizationPostServerResponse
Response sets the value of the 'response' parameter.
func (*TokenAuthorizationPostServerResponse) Status ¶
func (r *TokenAuthorizationPostServerResponse) Status(value int) *TokenAuthorizationPostServerResponse
Status sets the status code.
type TokenAuthorizationRequest ¶
type TokenAuthorizationRequest struct {
// contains filtered or unexported fields
}
TokenAuthorizationRequest represents the values of the 'token_authorization_request' type.
func UnmarshalTokenAuthorizationRequest ¶
func UnmarshalTokenAuthorizationRequest(source interface{}) (object *TokenAuthorizationRequest, err error)
UnmarshalTokenAuthorizationRequest reads a value of the 'token_authorization_request' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTokenAuthorizationRequestList ¶
func UnmarshalTokenAuthorizationRequestList(source interface{}) (items []*TokenAuthorizationRequest, err error)
UnmarshalTokenAuthorizationRequestList reads a list of values of the 'token_authorization_request' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TokenAuthorizationRequest) AuthorizationToken ¶
func (o *TokenAuthorizationRequest) AuthorizationToken() string
AuthorizationToken returns the value of the 'authorization_token' attribute, or the zero value of the type if the attribute doesn't have a value.
The pull secret of a given account
func (*TokenAuthorizationRequest) Empty ¶
func (o *TokenAuthorizationRequest) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TokenAuthorizationRequest) GetAuthorizationToken ¶
func (o *TokenAuthorizationRequest) GetAuthorizationToken() (value string, ok bool)
GetAuthorizationToken returns the value of the 'authorization_token' attribute and a flag indicating if the attribute has a value.
The pull secret of a given account
type TokenAuthorizationRequestBuilder ¶
type TokenAuthorizationRequestBuilder struct {
// contains filtered or unexported fields
}
TokenAuthorizationRequestBuilder contains the data and logic needed to build 'token_authorization_request' objects.
func NewTokenAuthorizationRequest ¶
func NewTokenAuthorizationRequest() *TokenAuthorizationRequestBuilder
NewTokenAuthorizationRequest creates a new builder of 'token_authorization_request' objects.
func (*TokenAuthorizationRequestBuilder) AuthorizationToken ¶
func (b *TokenAuthorizationRequestBuilder) AuthorizationToken(value string) *TokenAuthorizationRequestBuilder
AuthorizationToken sets the value of the 'authorization_token' attribute to the given value.
func (*TokenAuthorizationRequestBuilder) Build ¶
func (b *TokenAuthorizationRequestBuilder) Build() (object *TokenAuthorizationRequest, err error)
Build creates a 'token_authorization_request' object using the configuration stored in the builder.
func (*TokenAuthorizationRequestBuilder) Copy ¶
func (b *TokenAuthorizationRequestBuilder) Copy(object *TokenAuthorizationRequest) *TokenAuthorizationRequestBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type TokenAuthorizationRequestList ¶
type TokenAuthorizationRequestList struct {
// contains filtered or unexported fields
}
TokenAuthorizationRequestList is a list of values of the 'token_authorization_request' type.
func (*TokenAuthorizationRequestList) Each ¶
func (l *TokenAuthorizationRequestList) Each(f func(item *TokenAuthorizationRequest) 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 (*TokenAuthorizationRequestList) Empty ¶
func (l *TokenAuthorizationRequestList) Empty() bool
Empty returns true if the list is empty.
func (*TokenAuthorizationRequestList) Get ¶
func (l *TokenAuthorizationRequestList) Get(i int) *TokenAuthorizationRequest
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TokenAuthorizationRequestList) Len ¶
func (l *TokenAuthorizationRequestList) Len() int
Len returns the length of the list.
func (*TokenAuthorizationRequestList) Range ¶
func (l *TokenAuthorizationRequestList) Range(f func(index int, item *TokenAuthorizationRequest) 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 (*TokenAuthorizationRequestList) Slice ¶
func (l *TokenAuthorizationRequestList) Slice() []*TokenAuthorizationRequest
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 TokenAuthorizationRequestListBuilder ¶
type TokenAuthorizationRequestListBuilder struct {
// contains filtered or unexported fields
}
TokenAuthorizationRequestListBuilder contains the data and logic needed to build 'token_authorization_request' objects.
func NewTokenAuthorizationRequestList ¶
func NewTokenAuthorizationRequestList() *TokenAuthorizationRequestListBuilder
NewTokenAuthorizationRequestList creates a new builder of 'token_authorization_request' objects.
func (*TokenAuthorizationRequestListBuilder) Build ¶
func (b *TokenAuthorizationRequestListBuilder) Build() (list *TokenAuthorizationRequestList, err error)
Build creates a list of 'token_authorization_request' objects using the configuration stored in the builder.
func (*TokenAuthorizationRequestListBuilder) Copy ¶
func (b *TokenAuthorizationRequestListBuilder) Copy(list *TokenAuthorizationRequestList) *TokenAuthorizationRequestListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TokenAuthorizationRequestListBuilder) Items ¶
func (b *TokenAuthorizationRequestListBuilder) Items(values ...*TokenAuthorizationRequestBuilder) *TokenAuthorizationRequestListBuilder
Items sets the items of the list.
type TokenAuthorizationResponse ¶
type TokenAuthorizationResponse struct {
// contains filtered or unexported fields
}
TokenAuthorizationResponse represents the values of the 'token_authorization_response' type.
func UnmarshalTokenAuthorizationResponse ¶
func UnmarshalTokenAuthorizationResponse(source interface{}) (object *TokenAuthorizationResponse, err error)
UnmarshalTokenAuthorizationResponse reads a value of the 'token_authorization_response' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalTokenAuthorizationResponseList ¶
func UnmarshalTokenAuthorizationResponseList(source interface{}) (items []*TokenAuthorizationResponse, err error)
UnmarshalTokenAuthorizationResponseList reads a list of values of the 'token_authorization_response' type from the given source, which can be a slice of bytes, a string or a reader.
func (*TokenAuthorizationResponse) Account ¶
func (o *TokenAuthorizationResponse) Account() *Account
Account returns the value of the 'account' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*TokenAuthorizationResponse) Empty ¶
func (o *TokenAuthorizationResponse) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*TokenAuthorizationResponse) GetAccount ¶
func (o *TokenAuthorizationResponse) GetAccount() (value *Account, ok bool)
GetAccount returns the value of the 'account' attribute and a flag indicating if the attribute has a value.
type TokenAuthorizationResponseBuilder ¶
type TokenAuthorizationResponseBuilder struct {
// contains filtered or unexported fields
}
TokenAuthorizationResponseBuilder contains the data and logic needed to build 'token_authorization_response' objects.
func NewTokenAuthorizationResponse ¶
func NewTokenAuthorizationResponse() *TokenAuthorizationResponseBuilder
NewTokenAuthorizationResponse creates a new builder of 'token_authorization_response' objects.
func (*TokenAuthorizationResponseBuilder) Account ¶
func (b *TokenAuthorizationResponseBuilder) Account(value *AccountBuilder) *TokenAuthorizationResponseBuilder
Account sets the value of the 'account' attribute to the given value.
func (*TokenAuthorizationResponseBuilder) Build ¶
func (b *TokenAuthorizationResponseBuilder) Build() (object *TokenAuthorizationResponse, err error)
Build creates a 'token_authorization_response' object using the configuration stored in the builder.
func (*TokenAuthorizationResponseBuilder) Copy ¶
func (b *TokenAuthorizationResponseBuilder) Copy(object *TokenAuthorizationResponse) *TokenAuthorizationResponseBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
type TokenAuthorizationResponseList ¶
type TokenAuthorizationResponseList struct {
// contains filtered or unexported fields
}
TokenAuthorizationResponseList is a list of values of the 'token_authorization_response' type.
func (*TokenAuthorizationResponseList) Each ¶
func (l *TokenAuthorizationResponseList) Each(f func(item *TokenAuthorizationResponse) 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 (*TokenAuthorizationResponseList) Empty ¶
func (l *TokenAuthorizationResponseList) Empty() bool
Empty returns true if the list is empty.
func (*TokenAuthorizationResponseList) Get ¶
func (l *TokenAuthorizationResponseList) Get(i int) *TokenAuthorizationResponse
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*TokenAuthorizationResponseList) Len ¶
func (l *TokenAuthorizationResponseList) Len() int
Len returns the length of the list.
func (*TokenAuthorizationResponseList) Range ¶
func (l *TokenAuthorizationResponseList) Range(f func(index int, item *TokenAuthorizationResponse) 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 (*TokenAuthorizationResponseList) Slice ¶
func (l *TokenAuthorizationResponseList) Slice() []*TokenAuthorizationResponse
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 TokenAuthorizationResponseListBuilder ¶
type TokenAuthorizationResponseListBuilder struct {
// contains filtered or unexported fields
}
TokenAuthorizationResponseListBuilder contains the data and logic needed to build 'token_authorization_response' objects.
func NewTokenAuthorizationResponseList ¶
func NewTokenAuthorizationResponseList() *TokenAuthorizationResponseListBuilder
NewTokenAuthorizationResponseList creates a new builder of 'token_authorization_response' objects.
func (*TokenAuthorizationResponseListBuilder) Build ¶
func (b *TokenAuthorizationResponseListBuilder) Build() (list *TokenAuthorizationResponseList, err error)
Build creates a list of 'token_authorization_response' objects using the configuration stored in the builder.
func (*TokenAuthorizationResponseListBuilder) Copy ¶
func (b *TokenAuthorizationResponseListBuilder) Copy(list *TokenAuthorizationResponseList) *TokenAuthorizationResponseListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*TokenAuthorizationResponseListBuilder) Items ¶
func (b *TokenAuthorizationResponseListBuilder) Items(values ...*TokenAuthorizationResponseBuilder) *TokenAuthorizationResponseListBuilder
Items sets the items of the list.
type TokenAuthorizationServer ¶
type TokenAuthorizationServer interface { // Post handles a request for the 'post' method. // // Returns a specific account based on the given pull secret Post(ctx context.Context, request *TokenAuthorizationPostServerRequest, response *TokenAuthorizationPostServerResponse) error }
TokenAuthorizationServer represents the interface the manages the 'token_authorization' resource.
type UsageEnum ¶
type UsageEnum string
UsageEnum represents the values of the 'usage_enum' enumerated type.
func UnmarshalUsageEnumList ¶
UnmarshalUsageEnumList reads a list of values of the 'usage_enum' type from the given source, which can be a slice of bytes, a string or a reader.
Source Files ¶
- access_token_auth_builder.go
- access_token_auth_list_builder.go
- access_token_auth_list_type_json.go
- access_token_auth_type.go
- access_token_auth_type_json.go
- access_token_builder.go
- access_token_client.go
- access_token_list_builder.go
- access_token_list_type_json.go
- access_token_resource_json.go
- access_token_server.go
- access_token_type.go
- access_token_type_json.go
- account_builder.go
- account_client.go
- account_list_builder.go
- account_list_type_json.go
- account_resource_json.go
- account_server.go
- account_type.go
- account_type_json.go
- accounts_client.go
- accounts_resource_json.go
- accounts_server.go
- action_list_type_json.go
- action_type.go
- boolean_list_type_json.go
- cluster_authorization_request_builder.go
- cluster_authorization_request_list_builder.go
- cluster_authorization_request_list_type_json.go
- cluster_authorization_request_type.go
- cluster_authorization_request_type_json.go
- cluster_authorization_response_builder.go
- cluster_authorization_response_list_builder.go
- cluster_authorization_response_list_type_json.go
- cluster_authorization_response_type.go
- cluster_authorization_response_type_json.go
- cluster_authorizations_client.go
- cluster_authorizations_resource_json.go
- cluster_authorizations_server.go
- cluster_registration_request_builder.go
- cluster_registration_request_list_builder.go
- cluster_registration_request_list_type_json.go
- cluster_registration_request_type.go
- cluster_registration_request_type_json.go
- cluster_registration_response_builder.go
- cluster_registration_response_list_builder.go
- cluster_registration_response_list_type_json.go
- cluster_registration_response_type.go
- cluster_registration_response_type_json.go
- cluster_registrations_client.go
- cluster_registrations_resource_json.go
- cluster_registrations_server.go
- current_access_client.go
- current_access_resource_json.go
- current_access_server.go
- current_account_client.go
- current_account_resource_json.go
- current_account_server.go
- date_list_type_json.go
- errors.go
- feature_toggle_builder.go
- feature_toggle_client.go
- feature_toggle_list_builder.go
- feature_toggle_list_type_json.go
- feature_toggle_query_client.go
- feature_toggle_query_request_builder.go
- feature_toggle_query_request_list_builder.go
- feature_toggle_query_request_list_type_json.go
- feature_toggle_query_request_type.go
- feature_toggle_query_request_type_json.go
- feature_toggle_query_resource_json.go
- feature_toggle_query_server.go
- feature_toggle_resource_json.go
- feature_toggle_server.go
- feature_toggle_type.go
- feature_toggle_type_json.go
- feature_toggles_client.go
- feature_toggles_resource_json.go
- feature_toggles_server.go
- float_list_type_json.go
- generic_label_client.go
- generic_label_resource_json.go
- generic_label_server.go
- generic_labels_client.go
- generic_labels_resource_json.go
- generic_labels_server.go
- integer_list_type_json.go
- interface_list_type_json.go
- label_builder.go
- label_list_builder.go
- label_list_type_json.go
- label_type.go
- label_type_json.go
- labels_client.go
- labels_resource_json.go
- labels_server.go
- long_list_type_json.go
- metadata_client.go
- metadata_reader.go
- metadata_type.go
- notify_client.go
- notify_resource_json.go
- notify_server.go
- openapi.go
- organization_builder.go
- organization_client.go
- organization_list_builder.go
- organization_list_type_json.go
- organization_resource_json.go
- organization_server.go
- organization_type.go
- organization_type_json.go
- organizations_client.go
- organizations_resource_json.go
- organizations_server.go
- permission_builder.go
- permission_client.go
- permission_list_builder.go
- permission_list_type_json.go
- permission_resource_json.go
- permission_server.go
- permission_type.go
- permission_type_json.go
- permissions_client.go
- permissions_resource_json.go
- permissions_server.go
- plan_builder.go
- plan_id_list_type_json.go
- plan_id_type.go
- plan_list_builder.go
- plan_list_type_json.go
- plan_type.go
- plan_type_json.go
- product_bundle_enum_list_type_json.go
- product_bundle_enum_type.go
- pull_secret_client.go
- pull_secret_resource_json.go
- pull_secret_server.go
- pull_secrets_client.go
- pull_secrets_request_builder.go
- pull_secrets_request_list_builder.go
- pull_secrets_request_list_type_json.go
- pull_secrets_request_type.go
- pull_secrets_request_type_json.go
- pull_secrets_resource_json.go
- pull_secrets_server.go
- quota_summary_builder.go
- quota_summary_client.go
- quota_summary_list_builder.go
- quota_summary_list_type_json.go
- quota_summary_resource_json.go
- quota_summary_server.go
- quota_summary_type.go
- quota_summary_type_json.go
- registries_client.go
- registries_resource_json.go
- registries_server.go
- registry_builder.go
- registry_client.go
- registry_credential_builder.go
- registry_credential_client.go
- registry_credential_list_builder.go
- registry_credential_list_type_json.go
- registry_credential_resource_json.go
- registry_credential_server.go
- registry_credential_type.go
- registry_credential_type_json.go
- registry_credentials_client.go
- registry_credentials_resource_json.go
- registry_credentials_server.go
- registry_list_builder.go
- registry_list_type_json.go
- registry_resource_json.go
- registry_server.go
- registry_type.go
- registry_type_json.go
- reserved_resource_builder.go
- reserved_resource_list_builder.go
- reserved_resource_list_type_json.go
- reserved_resource_type.go
- reserved_resource_type_json.go
- resource_builder.go
- resource_list_builder.go
- resource_list_type_json.go
- resource_quota_builder.go
- resource_quota_client.go
- resource_quota_list_builder.go
- resource_quota_list_type_json.go
- resource_quota_resource_json.go
- resource_quota_server.go
- resource_quota_type.go
- resource_quota_type_json.go
- resource_quotas_client.go
- resource_quotas_resource_json.go
- resource_quotas_server.go
- resource_type.go
- resource_type_json.go
- role_binding_builder.go
- role_binding_client.go
- role_binding_list_builder.go
- role_binding_list_type_json.go
- role_binding_resource_json.go
- role_binding_server.go
- role_binding_type.go
- role_binding_type_json.go
- role_bindings_client.go
- role_bindings_resource_json.go
- role_bindings_server.go
- role_builder.go
- role_client.go
- role_list_builder.go
- role_list_type_json.go
- role_resource_json.go
- role_server.go
- role_type.go
- role_type_json.go
- roles_client.go
- roles_resource_json.go
- roles_server.go
- root_client.go
- root_resource_json.go
- root_server.go
- service_level_enum_list_type_json.go
- service_level_enum_type.go
- sku_builder.go
- sku_client.go
- sku_list_builder.go
- sku_list_type_json.go
- sku_resource_json.go
- sku_rule_builder.go
- sku_rule_client.go
- sku_rule_list_builder.go
- sku_rule_list_type_json.go
- sku_rule_resource_json.go
- sku_rule_server.go
- sku_rule_type.go
- sku_rule_type_json.go
- sku_rules_client.go
- sku_rules_resource_json.go
- sku_rules_server.go
- sku_server.go
- sku_type.go
- sku_type_json.go
- skus_client.go
- skus_resource_json.go
- skus_server.go
- string_list_type_json.go
- subscription_builder.go
- subscription_client.go
- subscription_list_builder.go
- subscription_list_type_json.go
- subscription_notify_builder.go
- subscription_notify_client.go
- subscription_notify_list_builder.go
- subscription_notify_list_type_json.go
- subscription_notify_resource_json.go
- subscription_notify_server.go
- subscription_notify_type.go
- subscription_notify_type_json.go
- subscription_registration_builder.go
- subscription_registration_list_builder.go
- subscription_registration_list_type_json.go
- subscription_registration_type.go
- subscription_registration_type_json.go
- subscription_reserved_resource_client.go
- subscription_reserved_resource_resource_json.go
- subscription_reserved_resource_server.go
- subscription_reserved_resources_client.go
- subscription_reserved_resources_resource_json.go
- subscription_reserved_resources_server.go
- subscription_resource_json.go
- subscription_server.go
- subscription_type.go
- subscription_type_json.go
- subscriptions_client.go
- subscriptions_resource_json.go
- subscriptions_server.go
- summary_dashboard_builder.go
- summary_dashboard_client.go
- summary_dashboard_list_builder.go
- summary_dashboard_list_type_json.go
- summary_dashboard_resource_json.go
- summary_dashboard_server.go
- summary_dashboard_type.go
- summary_dashboard_type_json.go
- summary_metrics_builder.go
- summary_metrics_list_builder.go
- summary_metrics_list_type_json.go
- summary_metrics_type.go
- summary_metrics_type_json.go
- summary_sample_builder.go
- summary_sample_list_builder.go
- summary_sample_list_type_json.go
- summary_sample_type.go
- summary_sample_type_json.go
- support_case_client.go
- support_case_request_builder.go
- support_case_request_list_builder.go
- support_case_request_list_type_json.go
- support_case_request_type.go
- support_case_request_type_json.go
- support_case_resource_json.go
- support_case_response_builder.go
- support_case_response_list_builder.go
- support_case_response_list_type_json.go
- support_case_response_type.go
- support_case_response_type_json.go
- support_case_server.go
- support_cases_client.go
- support_cases_resource_json.go
- support_cases_server.go
- support_level_enum_list_type_json.go
- support_level_enum_type.go
- system_units_enum_list_type_json.go
- system_units_enum_type.go
- template_parameter_builder.go
- template_parameter_list_builder.go
- template_parameter_list_type_json.go
- template_parameter_type.go
- template_parameter_type_json.go
- token_authorization_client.go
- token_authorization_request_builder.go
- token_authorization_request_list_builder.go
- token_authorization_request_list_type_json.go
- token_authorization_request_type.go
- token_authorization_request_type_json.go
- token_authorization_resource_json.go
- token_authorization_response_builder.go
- token_authorization_response_list_builder.go
- token_authorization_response_list_type_json.go
- token_authorization_response_type.go
- token_authorization_response_type_json.go
- token_authorization_server.go
- usage_enum_list_type_json.go
- usage_enum_type.go