Documentation ¶
Index ¶
- Constants
- Variables
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalClusterManagementReference(object *ClusterManagementReference, writer io.Writer) error
- func MarshalClusterManagementReferenceList(list []*ClusterManagementReference, writer io.Writer) error
- func MarshalDNS(object *DNS, writer io.Writer) error
- func MarshalDNSList(list []*DNS, writer io.Writer) error
- func MarshalDateList(list []time.Time, 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 MarshalLabelReference(object *LabelReference, writer io.Writer) error
- func MarshalLabelReferenceList(list []*LabelReference, writer io.Writer) error
- func MarshalLabelRequestPayload(object *LabelRequestPayload, writer io.Writer) error
- func MarshalLabelRequestPayloadList(list []*LabelRequestPayload, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalManagementCluster(object *ManagementCluster, writer io.Writer) error
- func MarshalManagementClusterList(list []*ManagementCluster, writer io.Writer) error
- func MarshalManagementClusterParent(object *ManagementClusterParent, writer io.Writer) error
- func MarshalManagementClusterParentList(list []*ManagementClusterParent, writer io.Writer) error
- func MarshalManagementClusterRequestPayload(object *ManagementClusterRequestPayload, writer io.Writer) error
- func MarshalManagementClusterRequestPayloadList(list []*ManagementClusterRequestPayload, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalProvisionShardReference(object *ProvisionShardReference, writer io.Writer) error
- func MarshalProvisionShardReferenceList(list []*ProvisionShardReference, writer io.Writer) error
- func MarshalServiceCluster(object *ServiceCluster, writer io.Writer) error
- func MarshalServiceClusterList(list []*ServiceCluster, writer io.Writer) error
- func MarshalServiceClusterRequestPayload(object *ServiceClusterRequestPayload, writer io.Writer) error
- func MarshalServiceClusterRequestPayloadList(list []*ServiceClusterRequestPayload, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- type Client
- type ClusterManagementReference
- func (o *ClusterManagementReference) ClusterId() string
- func (o *ClusterManagementReference) Empty() bool
- func (o *ClusterManagementReference) GetClusterId() (value string, ok bool)
- func (o *ClusterManagementReference) GetHref() (value string, ok bool)
- func (o *ClusterManagementReference) Href() string
- type ClusterManagementReferenceBuilder
- func (b *ClusterManagementReferenceBuilder) Build() (object *ClusterManagementReference, err error)
- func (b *ClusterManagementReferenceBuilder) ClusterId(value string) *ClusterManagementReferenceBuilder
- func (b *ClusterManagementReferenceBuilder) Copy(object *ClusterManagementReference) *ClusterManagementReferenceBuilder
- func (b *ClusterManagementReferenceBuilder) Empty() bool
- func (b *ClusterManagementReferenceBuilder) Href(value string) *ClusterManagementReferenceBuilder
- type ClusterManagementReferenceList
- func (l *ClusterManagementReferenceList) Each(f func(item *ClusterManagementReference) bool)
- func (l *ClusterManagementReferenceList) Empty() bool
- func (l *ClusterManagementReferenceList) Get(i int) *ClusterManagementReference
- func (l *ClusterManagementReferenceList) Len() int
- func (l *ClusterManagementReferenceList) Range(f func(index int, item *ClusterManagementReference) bool)
- func (l *ClusterManagementReferenceList) Slice() []*ClusterManagementReference
- type ClusterManagementReferenceListBuilder
- func (b *ClusterManagementReferenceListBuilder) Build() (list *ClusterManagementReferenceList, err error)
- func (b *ClusterManagementReferenceListBuilder) Copy(list *ClusterManagementReferenceList) *ClusterManagementReferenceListBuilder
- func (b *ClusterManagementReferenceListBuilder) Empty() bool
- func (b *ClusterManagementReferenceListBuilder) Items(values ...*ClusterManagementReferenceBuilder) *ClusterManagementReferenceListBuilder
- type DNS
- type DNSBuilder
- type DNSList
- type DNSListBuilder
- type Label
- func (o *Label) Empty() bool
- func (o *Label) GetHREF() (value string, ok bool)
- func (o *Label) GetID() (value string, ok bool)
- func (o *Label) GetKey() (value string, ok bool)
- func (o *Label) GetValue() (value string, ok bool)
- func (o *Label) HREF() string
- func (o *Label) ID() string
- func (o *Label) Key() string
- func (o *Label) Kind() string
- func (o *Label) Link() bool
- 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) Empty() bool
- func (b *LabelBuilder) HREF(value string) *LabelBuilder
- func (b *LabelBuilder) ID(value string) *LabelBuilder
- func (b *LabelBuilder) Key(value string) *LabelBuilder
- func (b *LabelBuilder) Link(value bool) *LabelBuilder
- func (b *LabelBuilder) Value(value string) *LabelBuilder
- type LabelClient
- type LabelDeleteRequest
- func (r *LabelDeleteRequest) Header(name string, value interface{}) *LabelDeleteRequest
- func (r *LabelDeleteRequest) Impersonate(user string) *LabelDeleteRequest
- func (r *LabelDeleteRequest) Parameter(name string, value interface{}) *LabelDeleteRequest
- func (r *LabelDeleteRequest) Send() (result *LabelDeleteResponse, err error)
- func (r *LabelDeleteRequest) SendContext(ctx context.Context) (result *LabelDeleteResponse, err error)
- type LabelDeleteResponse
- type LabelGetRequest
- func (r *LabelGetRequest) Header(name string, value interface{}) *LabelGetRequest
- func (r *LabelGetRequest) Impersonate(user string) *LabelGetRequest
- func (r *LabelGetRequest) Parameter(name string, value interface{}) *LabelGetRequest
- func (r *LabelGetRequest) Send() (result *LabelGetResponse, err error)
- func (r *LabelGetRequest) SendContext(ctx context.Context) (result *LabelGetResponse, err error)
- type LabelGetResponse
- 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 LabelPollRequest
- func (r *LabelPollRequest) Header(name string, value interface{}) *LabelPollRequest
- func (r *LabelPollRequest) Interval(value time.Duration) *LabelPollRequest
- func (r *LabelPollRequest) Parameter(name string, value interface{}) *LabelPollRequest
- func (r *LabelPollRequest) Predicate(value func(*LabelGetResponse) bool) *LabelPollRequest
- func (r *LabelPollRequest) StartContext(ctx context.Context) (response *LabelPollResponse, err error)
- func (r *LabelPollRequest) Status(value int) *LabelPollRequest
- type LabelPollResponse
- type LabelPostRequest
- func (r *LabelPostRequest) Header(name string, value interface{}) *LabelPostRequest
- func (r *LabelPostRequest) Impersonate(user string) *LabelPostRequest
- func (r *LabelPostRequest) Parameter(name string, value interface{}) *LabelPostRequest
- func (r *LabelPostRequest) Request(value *LabelRequestPayload) *LabelPostRequest
- func (r *LabelPostRequest) Send() (result *LabelPostResponse, err error)
- func (r *LabelPostRequest) SendContext(ctx context.Context) (result *LabelPostResponse, err error)
- type LabelPostResponse
- type LabelReference
- type LabelReferenceBuilder
- func (b *LabelReferenceBuilder) Build() (object *LabelReference, err error)
- func (b *LabelReferenceBuilder) Copy(object *LabelReference) *LabelReferenceBuilder
- func (b *LabelReferenceBuilder) Empty() bool
- func (b *LabelReferenceBuilder) Href(value string) *LabelReferenceBuilder
- func (b *LabelReferenceBuilder) Id(value string) *LabelReferenceBuilder
- type LabelReferenceList
- func (l *LabelReferenceList) Each(f func(item *LabelReference) bool)
- func (l *LabelReferenceList) Empty() bool
- func (l *LabelReferenceList) Get(i int) *LabelReference
- func (l *LabelReferenceList) Len() int
- func (l *LabelReferenceList) Range(f func(index int, item *LabelReference) bool)
- func (l *LabelReferenceList) Slice() []*LabelReference
- type LabelReferenceListBuilder
- func (b *LabelReferenceListBuilder) Build() (list *LabelReferenceList, err error)
- func (b *LabelReferenceListBuilder) Copy(list *LabelReferenceList) *LabelReferenceListBuilder
- func (b *LabelReferenceListBuilder) Empty() bool
- func (b *LabelReferenceListBuilder) Items(values ...*LabelReferenceBuilder) *LabelReferenceListBuilder
- type LabelRequestPayload
- type LabelRequestPayloadBuilder
- func (b *LabelRequestPayloadBuilder) Build() (object *LabelRequestPayload, err error)
- func (b *LabelRequestPayloadBuilder) Copy(object *LabelRequestPayload) *LabelRequestPayloadBuilder
- func (b *LabelRequestPayloadBuilder) Empty() bool
- func (b *LabelRequestPayloadBuilder) Key(value string) *LabelRequestPayloadBuilder
- func (b *LabelRequestPayloadBuilder) Value(value string) *LabelRequestPayloadBuilder
- type LabelRequestPayloadList
- func (l *LabelRequestPayloadList) Each(f func(item *LabelRequestPayload) bool)
- func (l *LabelRequestPayloadList) Empty() bool
- func (l *LabelRequestPayloadList) Get(i int) *LabelRequestPayload
- func (l *LabelRequestPayloadList) Len() int
- func (l *LabelRequestPayloadList) Range(f func(index int, item *LabelRequestPayload) bool)
- func (l *LabelRequestPayloadList) Slice() []*LabelRequestPayload
- type LabelRequestPayloadListBuilder
- func (b *LabelRequestPayloadListBuilder) Build() (list *LabelRequestPayloadList, err error)
- func (b *LabelRequestPayloadListBuilder) Copy(list *LabelRequestPayloadList) *LabelRequestPayloadListBuilder
- func (b *LabelRequestPayloadListBuilder) Empty() bool
- func (b *LabelRequestPayloadListBuilder) Items(values ...*LabelRequestPayloadBuilder) *LabelRequestPayloadListBuilder
- type LabelsClient
- type LabelsListRequest
- func (r *LabelsListRequest) Header(name string, value interface{}) *LabelsListRequest
- func (r *LabelsListRequest) Impersonate(user string) *LabelsListRequest
- func (r *LabelsListRequest) Page(value int) *LabelsListRequest
- func (r *LabelsListRequest) Parameter(name string, value interface{}) *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 ManagementCluster
- func (o *ManagementCluster) CloudProvider() string
- func (o *ManagementCluster) ClusterManagementReference() *ClusterManagementReference
- func (o *ManagementCluster) CreationTimestamp() time.Time
- func (o *ManagementCluster) DNS() *DNS
- func (o *ManagementCluster) Empty() bool
- func (o *ManagementCluster) GetCloudProvider() (value string, ok bool)
- func (o *ManagementCluster) GetClusterManagementReference() (value *ClusterManagementReference, ok bool)
- func (o *ManagementCluster) GetCreationTimestamp() (value time.Time, ok bool)
- func (o *ManagementCluster) GetDNS() (value *DNS, ok bool)
- func (o *ManagementCluster) GetHREF() (value string, ok bool)
- func (o *ManagementCluster) GetID() (value string, ok bool)
- func (o *ManagementCluster) GetLabels() (value []*Label, ok bool)
- func (o *ManagementCluster) GetName() (value string, ok bool)
- func (o *ManagementCluster) GetParent() (value *ManagementClusterParent, ok bool)
- func (o *ManagementCluster) GetRegion() (value string, ok bool)
- func (o *ManagementCluster) GetSector() (value string, ok bool)
- func (o *ManagementCluster) GetStatus() (value string, ok bool)
- func (o *ManagementCluster) GetUpdateTimestamp() (value time.Time, ok bool)
- func (o *ManagementCluster) HREF() string
- func (o *ManagementCluster) ID() string
- func (o *ManagementCluster) Kind() string
- func (o *ManagementCluster) Labels() []*Label
- func (o *ManagementCluster) Link() bool
- func (o *ManagementCluster) Name() string
- func (o *ManagementCluster) Parent() *ManagementClusterParent
- func (o *ManagementCluster) Region() string
- func (o *ManagementCluster) Sector() string
- func (o *ManagementCluster) Status() string
- func (o *ManagementCluster) UpdateTimestamp() time.Time
- type ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Build() (object *ManagementCluster, err error)
- func (b *ManagementClusterBuilder) CloudProvider(value string) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) ClusterManagementReference(value *ClusterManagementReferenceBuilder) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Copy(object *ManagementCluster) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) CreationTimestamp(value time.Time) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) DNS(value *DNSBuilder) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Empty() bool
- func (b *ManagementClusterBuilder) HREF(value string) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) ID(value string) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Labels(values ...*LabelBuilder) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Link(value bool) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Name(value string) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Parent(value *ManagementClusterParentBuilder) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Region(value string) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Sector(value string) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) Status(value string) *ManagementClusterBuilder
- func (b *ManagementClusterBuilder) UpdateTimestamp(value time.Time) *ManagementClusterBuilder
- type ManagementClusterClient
- func (c *ManagementClusterClient) Delete() *ManagementClusterDeleteRequest
- func (c *ManagementClusterClient) Get() *ManagementClusterGetRequest
- func (c *ManagementClusterClient) Labels() *LabelsClient
- func (c *ManagementClusterClient) Poll() *ManagementClusterPollRequest
- func (c *ManagementClusterClient) Post() *ManagementClusterPostRequest
- type ManagementClusterDeleteRequest
- func (r *ManagementClusterDeleteRequest) Header(name string, value interface{}) *ManagementClusterDeleteRequest
- func (r *ManagementClusterDeleteRequest) Impersonate(user string) *ManagementClusterDeleteRequest
- func (r *ManagementClusterDeleteRequest) Parameter(name string, value interface{}) *ManagementClusterDeleteRequest
- func (r *ManagementClusterDeleteRequest) Send() (result *ManagementClusterDeleteResponse, err error)
- func (r *ManagementClusterDeleteRequest) SendContext(ctx context.Context) (result *ManagementClusterDeleteResponse, err error)
- type ManagementClusterDeleteResponse
- type ManagementClusterGetRequest
- func (r *ManagementClusterGetRequest) Header(name string, value interface{}) *ManagementClusterGetRequest
- func (r *ManagementClusterGetRequest) Impersonate(user string) *ManagementClusterGetRequest
- func (r *ManagementClusterGetRequest) Parameter(name string, value interface{}) *ManagementClusterGetRequest
- func (r *ManagementClusterGetRequest) Send() (result *ManagementClusterGetResponse, err error)
- func (r *ManagementClusterGetRequest) SendContext(ctx context.Context) (result *ManagementClusterGetResponse, err error)
- type ManagementClusterGetResponse
- func (r *ManagementClusterGetResponse) Body() *ManagementCluster
- func (r *ManagementClusterGetResponse) Error() *errors.Error
- func (r *ManagementClusterGetResponse) GetBody() (value *ManagementCluster, ok bool)
- func (r *ManagementClusterGetResponse) Header() http.Header
- func (r *ManagementClusterGetResponse) Status() int
- type ManagementClusterList
- func (l *ManagementClusterList) Each(f func(item *ManagementCluster) bool)
- func (l *ManagementClusterList) Empty() bool
- func (l *ManagementClusterList) Get(i int) *ManagementCluster
- func (l *ManagementClusterList) GetHREF() (value string, ok bool)
- func (l *ManagementClusterList) HREF() string
- func (l *ManagementClusterList) Kind() string
- func (l *ManagementClusterList) Len() int
- func (l *ManagementClusterList) Link() bool
- func (l *ManagementClusterList) Range(f func(index int, item *ManagementCluster) bool)
- func (l *ManagementClusterList) Slice() []*ManagementCluster
- type ManagementClusterListBuilder
- func (b *ManagementClusterListBuilder) Build() (list *ManagementClusterList, err error)
- func (b *ManagementClusterListBuilder) Copy(list *ManagementClusterList) *ManagementClusterListBuilder
- func (b *ManagementClusterListBuilder) Empty() bool
- func (b *ManagementClusterListBuilder) Items(values ...*ManagementClusterBuilder) *ManagementClusterListBuilder
- type ManagementClusterParent
- func (o *ManagementClusterParent) ClusterId() string
- func (o *ManagementClusterParent) Empty() bool
- func (o *ManagementClusterParent) GetClusterId() (value string, ok bool)
- func (o *ManagementClusterParent) GetHref() (value string, ok bool)
- func (o *ManagementClusterParent) GetKind() (value string, ok bool)
- func (o *ManagementClusterParent) GetName() (value string, ok bool)
- func (o *ManagementClusterParent) Href() string
- func (o *ManagementClusterParent) Kind() string
- func (o *ManagementClusterParent) Name() string
- type ManagementClusterParentBuilder
- func (b *ManagementClusterParentBuilder) Build() (object *ManagementClusterParent, err error)
- func (b *ManagementClusterParentBuilder) ClusterId(value string) *ManagementClusterParentBuilder
- func (b *ManagementClusterParentBuilder) Copy(object *ManagementClusterParent) *ManagementClusterParentBuilder
- func (b *ManagementClusterParentBuilder) Empty() bool
- func (b *ManagementClusterParentBuilder) Href(value string) *ManagementClusterParentBuilder
- func (b *ManagementClusterParentBuilder) Kind(value string) *ManagementClusterParentBuilder
- func (b *ManagementClusterParentBuilder) Name(value string) *ManagementClusterParentBuilder
- type ManagementClusterParentList
- func (l *ManagementClusterParentList) Each(f func(item *ManagementClusterParent) bool)
- func (l *ManagementClusterParentList) Empty() bool
- func (l *ManagementClusterParentList) Get(i int) *ManagementClusterParent
- func (l *ManagementClusterParentList) Len() int
- func (l *ManagementClusterParentList) Range(f func(index int, item *ManagementClusterParent) bool)
- func (l *ManagementClusterParentList) Slice() []*ManagementClusterParent
- type ManagementClusterParentListBuilder
- func (b *ManagementClusterParentListBuilder) Build() (list *ManagementClusterParentList, err error)
- func (b *ManagementClusterParentListBuilder) Copy(list *ManagementClusterParentList) *ManagementClusterParentListBuilder
- func (b *ManagementClusterParentListBuilder) Empty() bool
- func (b *ManagementClusterParentListBuilder) Items(values ...*ManagementClusterParentBuilder) *ManagementClusterParentListBuilder
- type ManagementClusterPollRequest
- func (r *ManagementClusterPollRequest) Header(name string, value interface{}) *ManagementClusterPollRequest
- func (r *ManagementClusterPollRequest) Interval(value time.Duration) *ManagementClusterPollRequest
- func (r *ManagementClusterPollRequest) Parameter(name string, value interface{}) *ManagementClusterPollRequest
- func (r *ManagementClusterPollRequest) Predicate(value func(*ManagementClusterGetResponse) bool) *ManagementClusterPollRequest
- func (r *ManagementClusterPollRequest) StartContext(ctx context.Context) (response *ManagementClusterPollResponse, err error)
- func (r *ManagementClusterPollRequest) Status(value int) *ManagementClusterPollRequest
- type ManagementClusterPollResponse
- func (r *ManagementClusterPollResponse) Body() *ManagementCluster
- func (r *ManagementClusterPollResponse) Error() *errors.Error
- func (r *ManagementClusterPollResponse) GetBody() (value *ManagementCluster, ok bool)
- func (r *ManagementClusterPollResponse) Header() http.Header
- func (r *ManagementClusterPollResponse) Status() int
- type ManagementClusterPostRequest
- func (r *ManagementClusterPostRequest) Header(name string, value interface{}) *ManagementClusterPostRequest
- func (r *ManagementClusterPostRequest) Impersonate(user string) *ManagementClusterPostRequest
- func (r *ManagementClusterPostRequest) Parameter(name string, value interface{}) *ManagementClusterPostRequest
- func (r *ManagementClusterPostRequest) Request(value *ManagementClusterRequestPayload) *ManagementClusterPostRequest
- func (r *ManagementClusterPostRequest) Send() (result *ManagementClusterPostResponse, err error)
- func (r *ManagementClusterPostRequest) SendContext(ctx context.Context) (result *ManagementClusterPostResponse, err error)
- type ManagementClusterPostResponse
- func (r *ManagementClusterPostResponse) Error() *errors.Error
- func (r *ManagementClusterPostResponse) GetResponse() (value *ManagementCluster, ok bool)
- func (r *ManagementClusterPostResponse) Header() http.Header
- func (r *ManagementClusterPostResponse) Response() *ManagementCluster
- func (r *ManagementClusterPostResponse) Status() int
- type ManagementClusterRequestPayload
- func (o *ManagementClusterRequestPayload) Empty() bool
- func (o *ManagementClusterRequestPayload) GetService_cluster_idService_cluster_idService_cluster_idService_cluster_idId() (value string, ok bool)
- func (o *ManagementClusterRequestPayload) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId() string
- type ManagementClusterRequestPayloadBuilder
- func (b *ManagementClusterRequestPayloadBuilder) Build() (object *ManagementClusterRequestPayload, err error)
- func (b *ManagementClusterRequestPayloadBuilder) Copy(object *ManagementClusterRequestPayload) *ManagementClusterRequestPayloadBuilder
- func (b *ManagementClusterRequestPayloadBuilder) Empty() bool
- func (b *ManagementClusterRequestPayloadBuilder) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId(value string) *ManagementClusterRequestPayloadBuilder
- type ManagementClusterRequestPayloadList
- func (l *ManagementClusterRequestPayloadList) Each(f func(item *ManagementClusterRequestPayload) bool)
- func (l *ManagementClusterRequestPayloadList) Empty() bool
- func (l *ManagementClusterRequestPayloadList) Get(i int) *ManagementClusterRequestPayload
- func (l *ManagementClusterRequestPayloadList) Len() int
- func (l *ManagementClusterRequestPayloadList) Range(f func(index int, item *ManagementClusterRequestPayload) bool)
- func (l *ManagementClusterRequestPayloadList) Slice() []*ManagementClusterRequestPayload
- type ManagementClusterRequestPayloadListBuilder
- func (b *ManagementClusterRequestPayloadListBuilder) Build() (list *ManagementClusterRequestPayloadList, err error)
- func (b *ManagementClusterRequestPayloadListBuilder) Copy(list *ManagementClusterRequestPayloadList) *ManagementClusterRequestPayloadListBuilder
- func (b *ManagementClusterRequestPayloadListBuilder) Empty() bool
- func (b *ManagementClusterRequestPayloadListBuilder) Items(values ...*ManagementClusterRequestPayloadBuilder) *ManagementClusterRequestPayloadListBuilder
- type ManagementClustersClient
- type ManagementClustersListRequest
- func (r *ManagementClustersListRequest) Header(name string, value interface{}) *ManagementClustersListRequest
- func (r *ManagementClustersListRequest) Impersonate(user string) *ManagementClustersListRequest
- func (r *ManagementClustersListRequest) Page(value int) *ManagementClustersListRequest
- func (r *ManagementClustersListRequest) Parameter(name string, value interface{}) *ManagementClustersListRequest
- func (r *ManagementClustersListRequest) Send() (result *ManagementClustersListResponse, err error)
- func (r *ManagementClustersListRequest) SendContext(ctx context.Context) (result *ManagementClustersListResponse, err error)
- func (r *ManagementClustersListRequest) Size(value int) *ManagementClustersListRequest
- type ManagementClustersListResponse
- func (r *ManagementClustersListResponse) Error() *errors.Error
- func (r *ManagementClustersListResponse) GetItems() (value *ManagementClusterList, ok bool)
- func (r *ManagementClustersListResponse) GetPage() (value int, ok bool)
- func (r *ManagementClustersListResponse) GetSize() (value int, ok bool)
- func (r *ManagementClustersListResponse) GetTotal() (value int, ok bool)
- func (r *ManagementClustersListResponse) Header() http.Header
- func (r *ManagementClustersListResponse) Items() *ManagementClusterList
- func (r *ManagementClustersListResponse) Page() int
- func (r *ManagementClustersListResponse) Size() int
- func (r *ManagementClustersListResponse) Status() int
- func (r *ManagementClustersListResponse) Total() int
- type Metadata
- type MetadataRequest
- func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
- func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
- type MetadataResponse
- type ProvisionShardReference
- type ProvisionShardReferenceBuilder
- func (b *ProvisionShardReferenceBuilder) Build() (object *ProvisionShardReference, err error)
- func (b *ProvisionShardReferenceBuilder) Copy(object *ProvisionShardReference) *ProvisionShardReferenceBuilder
- func (b *ProvisionShardReferenceBuilder) Empty() bool
- func (b *ProvisionShardReferenceBuilder) Href(value string) *ProvisionShardReferenceBuilder
- func (b *ProvisionShardReferenceBuilder) Id(value string) *ProvisionShardReferenceBuilder
- type ProvisionShardReferenceList
- func (l *ProvisionShardReferenceList) Each(f func(item *ProvisionShardReference) bool)
- func (l *ProvisionShardReferenceList) Empty() bool
- func (l *ProvisionShardReferenceList) Get(i int) *ProvisionShardReference
- func (l *ProvisionShardReferenceList) Len() int
- func (l *ProvisionShardReferenceList) Range(f func(index int, item *ProvisionShardReference) bool)
- func (l *ProvisionShardReferenceList) Slice() []*ProvisionShardReference
- type ProvisionShardReferenceListBuilder
- func (b *ProvisionShardReferenceListBuilder) Build() (list *ProvisionShardReferenceList, err error)
- func (b *ProvisionShardReferenceListBuilder) Copy(list *ProvisionShardReferenceList) *ProvisionShardReferenceListBuilder
- func (b *ProvisionShardReferenceListBuilder) Empty() bool
- func (b *ProvisionShardReferenceListBuilder) Items(values ...*ProvisionShardReferenceBuilder) *ProvisionShardReferenceListBuilder
- type ServiceCluster
- func (o *ServiceCluster) CloudProvider() string
- func (o *ServiceCluster) ClusterManagementReference() *ClusterManagementReference
- func (o *ServiceCluster) DNS() *DNS
- func (o *ServiceCluster) Empty() bool
- func (o *ServiceCluster) GetCloudProvider() (value string, ok bool)
- func (o *ServiceCluster) GetClusterManagementReference() (value *ClusterManagementReference, ok bool)
- func (o *ServiceCluster) GetDNS() (value *DNS, ok bool)
- func (o *ServiceCluster) GetHREF() (value string, ok bool)
- func (o *ServiceCluster) GetID() (value string, ok bool)
- func (o *ServiceCluster) GetLabels() (value []*Label, ok bool)
- func (o *ServiceCluster) GetName() (value string, ok bool)
- func (o *ServiceCluster) GetProvisionShardReference() (value *ProvisionShardReference, ok bool)
- func (o *ServiceCluster) GetRegion() (value string, ok bool)
- func (o *ServiceCluster) GetSector() (value string, ok bool)
- func (o *ServiceCluster) GetStatus() (value string, ok bool)
- func (o *ServiceCluster) HREF() string
- func (o *ServiceCluster) ID() string
- func (o *ServiceCluster) Kind() string
- func (o *ServiceCluster) Labels() []*Label
- func (o *ServiceCluster) Link() bool
- func (o *ServiceCluster) Name() string
- func (o *ServiceCluster) ProvisionShardReference() *ProvisionShardReference
- func (o *ServiceCluster) Region() string
- func (o *ServiceCluster) Sector() string
- func (o *ServiceCluster) Status() string
- type ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Build() (object *ServiceCluster, err error)
- func (b *ServiceClusterBuilder) CloudProvider(value string) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) ClusterManagementReference(value *ClusterManagementReferenceBuilder) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Copy(object *ServiceCluster) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) DNS(value *DNSBuilder) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Empty() bool
- func (b *ServiceClusterBuilder) HREF(value string) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) ID(value string) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Labels(values ...*LabelBuilder) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Link(value bool) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Name(value string) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) ProvisionShardReference(value *ProvisionShardReferenceBuilder) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Region(value string) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Sector(value string) *ServiceClusterBuilder
- func (b *ServiceClusterBuilder) Status(value string) *ServiceClusterBuilder
- type ServiceClusterClient
- func (c *ServiceClusterClient) Delete() *ServiceClusterDeleteRequest
- func (c *ServiceClusterClient) Get() *ServiceClusterGetRequest
- func (c *ServiceClusterClient) Labels() *LabelsClient
- func (c *ServiceClusterClient) Poll() *ServiceClusterPollRequest
- func (c *ServiceClusterClient) Post() *ServiceClusterPostRequest
- type ServiceClusterDeleteRequest
- func (r *ServiceClusterDeleteRequest) Header(name string, value interface{}) *ServiceClusterDeleteRequest
- func (r *ServiceClusterDeleteRequest) Impersonate(user string) *ServiceClusterDeleteRequest
- func (r *ServiceClusterDeleteRequest) Parameter(name string, value interface{}) *ServiceClusterDeleteRequest
- func (r *ServiceClusterDeleteRequest) Send() (result *ServiceClusterDeleteResponse, err error)
- func (r *ServiceClusterDeleteRequest) SendContext(ctx context.Context) (result *ServiceClusterDeleteResponse, err error)
- type ServiceClusterDeleteResponse
- type ServiceClusterGetRequest
- func (r *ServiceClusterGetRequest) Header(name string, value interface{}) *ServiceClusterGetRequest
- func (r *ServiceClusterGetRequest) Impersonate(user string) *ServiceClusterGetRequest
- func (r *ServiceClusterGetRequest) Parameter(name string, value interface{}) *ServiceClusterGetRequest
- func (r *ServiceClusterGetRequest) Send() (result *ServiceClusterGetResponse, err error)
- func (r *ServiceClusterGetRequest) SendContext(ctx context.Context) (result *ServiceClusterGetResponse, err error)
- type ServiceClusterGetResponse
- func (r *ServiceClusterGetResponse) Body() *ServiceCluster
- func (r *ServiceClusterGetResponse) Error() *errors.Error
- func (r *ServiceClusterGetResponse) GetBody() (value *ServiceCluster, ok bool)
- func (r *ServiceClusterGetResponse) Header() http.Header
- func (r *ServiceClusterGetResponse) Status() int
- type ServiceClusterList
- func (l *ServiceClusterList) Each(f func(item *ServiceCluster) bool)
- func (l *ServiceClusterList) Empty() bool
- func (l *ServiceClusterList) Get(i int) *ServiceCluster
- func (l *ServiceClusterList) GetHREF() (value string, ok bool)
- func (l *ServiceClusterList) HREF() string
- func (l *ServiceClusterList) Kind() string
- func (l *ServiceClusterList) Len() int
- func (l *ServiceClusterList) Link() bool
- func (l *ServiceClusterList) Range(f func(index int, item *ServiceCluster) bool)
- func (l *ServiceClusterList) Slice() []*ServiceCluster
- type ServiceClusterListBuilder
- func (b *ServiceClusterListBuilder) Build() (list *ServiceClusterList, err error)
- func (b *ServiceClusterListBuilder) Copy(list *ServiceClusterList) *ServiceClusterListBuilder
- func (b *ServiceClusterListBuilder) Empty() bool
- func (b *ServiceClusterListBuilder) Items(values ...*ServiceClusterBuilder) *ServiceClusterListBuilder
- type ServiceClusterPollRequest
- func (r *ServiceClusterPollRequest) Header(name string, value interface{}) *ServiceClusterPollRequest
- func (r *ServiceClusterPollRequest) Interval(value time.Duration) *ServiceClusterPollRequest
- func (r *ServiceClusterPollRequest) Parameter(name string, value interface{}) *ServiceClusterPollRequest
- func (r *ServiceClusterPollRequest) Predicate(value func(*ServiceClusterGetResponse) bool) *ServiceClusterPollRequest
- func (r *ServiceClusterPollRequest) StartContext(ctx context.Context) (response *ServiceClusterPollResponse, err error)
- func (r *ServiceClusterPollRequest) Status(value int) *ServiceClusterPollRequest
- type ServiceClusterPollResponse
- func (r *ServiceClusterPollResponse) Body() *ServiceCluster
- func (r *ServiceClusterPollResponse) Error() *errors.Error
- func (r *ServiceClusterPollResponse) GetBody() (value *ServiceCluster, ok bool)
- func (r *ServiceClusterPollResponse) Header() http.Header
- func (r *ServiceClusterPollResponse) Status() int
- type ServiceClusterPostRequest
- func (r *ServiceClusterPostRequest) Header(name string, value interface{}) *ServiceClusterPostRequest
- func (r *ServiceClusterPostRequest) Impersonate(user string) *ServiceClusterPostRequest
- func (r *ServiceClusterPostRequest) Parameter(name string, value interface{}) *ServiceClusterPostRequest
- func (r *ServiceClusterPostRequest) Request(value *ServiceClusterRequestPayload) *ServiceClusterPostRequest
- func (r *ServiceClusterPostRequest) Send() (result *ServiceClusterPostResponse, err error)
- func (r *ServiceClusterPostRequest) SendContext(ctx context.Context) (result *ServiceClusterPostResponse, err error)
- type ServiceClusterPostResponse
- func (r *ServiceClusterPostResponse) Error() *errors.Error
- func (r *ServiceClusterPostResponse) GetResponse() (value *ServiceCluster, ok bool)
- func (r *ServiceClusterPostResponse) Header() http.Header
- func (r *ServiceClusterPostResponse) Response() *ServiceCluster
- func (r *ServiceClusterPostResponse) Status() int
- type ServiceClusterRequestPayload
- func (o *ServiceClusterRequestPayload) CloudProvider() string
- func (o *ServiceClusterRequestPayload) Empty() bool
- func (o *ServiceClusterRequestPayload) GetCloudProvider() (value string, ok bool)
- func (o *ServiceClusterRequestPayload) GetLabels() (value []*LabelRequestPayload, ok bool)
- func (o *ServiceClusterRequestPayload) GetRegion() (value string, ok bool)
- func (o *ServiceClusterRequestPayload) Labels() []*LabelRequestPayload
- func (o *ServiceClusterRequestPayload) Region() string
- type ServiceClusterRequestPayloadBuilder
- func (b *ServiceClusterRequestPayloadBuilder) Build() (object *ServiceClusterRequestPayload, err error)
- func (b *ServiceClusterRequestPayloadBuilder) CloudProvider(value string) *ServiceClusterRequestPayloadBuilder
- func (b *ServiceClusterRequestPayloadBuilder) Copy(object *ServiceClusterRequestPayload) *ServiceClusterRequestPayloadBuilder
- func (b *ServiceClusterRequestPayloadBuilder) Empty() bool
- func (b *ServiceClusterRequestPayloadBuilder) Labels(values ...*LabelRequestPayloadBuilder) *ServiceClusterRequestPayloadBuilder
- func (b *ServiceClusterRequestPayloadBuilder) Region(value string) *ServiceClusterRequestPayloadBuilder
- type ServiceClusterRequestPayloadList
- func (l *ServiceClusterRequestPayloadList) Each(f func(item *ServiceClusterRequestPayload) bool)
- func (l *ServiceClusterRequestPayloadList) Empty() bool
- func (l *ServiceClusterRequestPayloadList) Get(i int) *ServiceClusterRequestPayload
- func (l *ServiceClusterRequestPayloadList) Len() int
- func (l *ServiceClusterRequestPayloadList) Range(f func(index int, item *ServiceClusterRequestPayload) bool)
- func (l *ServiceClusterRequestPayloadList) Slice() []*ServiceClusterRequestPayload
- type ServiceClusterRequestPayloadListBuilder
- func (b *ServiceClusterRequestPayloadListBuilder) Build() (list *ServiceClusterRequestPayloadList, err error)
- func (b *ServiceClusterRequestPayloadListBuilder) Copy(list *ServiceClusterRequestPayloadList) *ServiceClusterRequestPayloadListBuilder
- func (b *ServiceClusterRequestPayloadListBuilder) Empty() bool
- func (b *ServiceClusterRequestPayloadListBuilder) Items(values ...*ServiceClusterRequestPayloadBuilder) *ServiceClusterRequestPayloadListBuilder
- type ServiceClustersClient
- type ServiceClustersListRequest
- func (r *ServiceClustersListRequest) Header(name string, value interface{}) *ServiceClustersListRequest
- func (r *ServiceClustersListRequest) Impersonate(user string) *ServiceClustersListRequest
- func (r *ServiceClustersListRequest) Page(value int) *ServiceClustersListRequest
- func (r *ServiceClustersListRequest) Parameter(name string, value interface{}) *ServiceClustersListRequest
- func (r *ServiceClustersListRequest) Send() (result *ServiceClustersListResponse, err error)
- func (r *ServiceClustersListRequest) SendContext(ctx context.Context) (result *ServiceClustersListResponse, err error)
- func (r *ServiceClustersListRequest) Size(value int) *ServiceClustersListRequest
- type ServiceClustersListResponse
- func (r *ServiceClustersListResponse) Error() *errors.Error
- func (r *ServiceClustersListResponse) GetItems() (value *ServiceClusterList, ok bool)
- func (r *ServiceClustersListResponse) GetPage() (value int, ok bool)
- func (r *ServiceClustersListResponse) GetSize() (value int, ok bool)
- func (r *ServiceClustersListResponse) GetTotal() (value int, ok bool)
- func (r *ServiceClustersListResponse) Header() http.Header
- func (r *ServiceClustersListResponse) Items() *ServiceClusterList
- func (r *ServiceClustersListResponse) Page() int
- func (r *ServiceClustersListResponse) Size() int
- func (r *ServiceClustersListResponse) Status() int
- func (r *ServiceClustersListResponse) Total() int
Constants ¶
const ClusterManagementReferenceListKind = "ClusterManagementReferenceList"
ClusterManagementReferenceListKind is the name of the type used to represent list of objects of type 'cluster_management_reference'.
const ClusterManagementReferenceListLinkKind = "ClusterManagementReferenceListLink"
ClusterManagementReferenceListLinkKind is the name of the type used to represent links to list of objects of type 'cluster_management_reference'.
const ClusterManagementReferenceListNilKind = "ClusterManagementReferenceListNil"
ClusterManagementReferenceNilKind is the name of the type used to nil lists of objects of type 'cluster_management_reference'.
const DNSListKind = "DNSList"
DNSListKind is the name of the type used to represent list of objects of type 'DNS'.
const DNSListLinkKind = "DNSListLink"
DNSListLinkKind is the name of the type used to represent links to list of objects of type 'DNS'.
const DNSListNilKind = "DNSListNil"
DNSNilKind is the name of the type used to nil lists of objects of type 'DNS'.
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 LabelReferenceListKind = "LabelReferenceList"
LabelReferenceListKind is the name of the type used to represent list of objects of type 'label_reference'.
const LabelReferenceListLinkKind = "LabelReferenceListLink"
LabelReferenceListLinkKind is the name of the type used to represent links to list of objects of type 'label_reference'.
const LabelReferenceListNilKind = "LabelReferenceListNil"
LabelReferenceNilKind is the name of the type used to nil lists of objects of type 'label_reference'.
const LabelRequestPayloadListKind = "LabelRequestPayloadList"
LabelRequestPayloadListKind is the name of the type used to represent list of objects of type 'label_request_payload'.
const LabelRequestPayloadListLinkKind = "LabelRequestPayloadListLink"
LabelRequestPayloadListLinkKind is the name of the type used to represent links to list of objects of type 'label_request_payload'.
const LabelRequestPayloadListNilKind = "LabelRequestPayloadListNil"
LabelRequestPayloadNilKind is the name of the type used to nil lists of objects of type 'label_request_payload'.
const ManagementClusterKind = "ManagementCluster"
ManagementClusterKind is the name of the type used to represent objects of type 'management_cluster'.
const ManagementClusterLinkKind = "ManagementClusterLink"
ManagementClusterLinkKind is the name of the type used to represent links to objects of type 'management_cluster'.
const ManagementClusterListKind = "ManagementClusterList"
ManagementClusterListKind is the name of the type used to represent list of objects of type 'management_cluster'.
const ManagementClusterListLinkKind = "ManagementClusterListLink"
ManagementClusterListLinkKind is the name of the type used to represent links to list of objects of type 'management_cluster'.
const ManagementClusterListNilKind = "ManagementClusterListNil"
ManagementClusterNilKind is the name of the type used to nil lists of objects of type 'management_cluster'.
const ManagementClusterNilKind = "ManagementClusterNil"
ManagementClusterNilKind is the name of the type used to nil references to objects of type 'management_cluster'.
const ManagementClusterParentListKind = "ManagementClusterParentList"
ManagementClusterParentListKind is the name of the type used to represent list of objects of type 'management_cluster_parent'.
const ManagementClusterParentListLinkKind = "ManagementClusterParentListLink"
ManagementClusterParentListLinkKind is the name of the type used to represent links to list of objects of type 'management_cluster_parent'.
const ManagementClusterParentListNilKind = "ManagementClusterParentListNil"
ManagementClusterParentNilKind is the name of the type used to nil lists of objects of type 'management_cluster_parent'.
const ManagementClusterRequestPayloadListKind = "ManagementClusterRequestPayloadList"
ManagementClusterRequestPayloadListKind is the name of the type used to represent list of objects of type 'management_cluster_request_payload'.
const ManagementClusterRequestPayloadListLinkKind = "ManagementClusterRequestPayloadListLink"
ManagementClusterRequestPayloadListLinkKind is the name of the type used to represent links to list of objects of type 'management_cluster_request_payload'.
const ManagementClusterRequestPayloadListNilKind = "ManagementClusterRequestPayloadListNil"
ManagementClusterRequestPayloadNilKind is the name of the type used to nil lists of objects of type 'management_cluster_request_payload'.
const ProvisionShardReferenceListKind = "ProvisionShardReferenceList"
ProvisionShardReferenceListKind is the name of the type used to represent list of objects of type 'provision_shard_reference'.
const ProvisionShardReferenceListLinkKind = "ProvisionShardReferenceListLink"
ProvisionShardReferenceListLinkKind is the name of the type used to represent links to list of objects of type 'provision_shard_reference'.
const ProvisionShardReferenceListNilKind = "ProvisionShardReferenceListNil"
ProvisionShardReferenceNilKind is the name of the type used to nil lists of objects of type 'provision_shard_reference'.
const ServiceClusterKind = "ServiceCluster"
ServiceClusterKind is the name of the type used to represent objects of type 'service_cluster'.
const ServiceClusterLinkKind = "ServiceClusterLink"
ServiceClusterLinkKind is the name of the type used to represent links to objects of type 'service_cluster'.
const ServiceClusterListKind = "ServiceClusterList"
ServiceClusterListKind is the name of the type used to represent list of objects of type 'service_cluster'.
const ServiceClusterListLinkKind = "ServiceClusterListLink"
ServiceClusterListLinkKind is the name of the type used to represent links to list of objects of type 'service_cluster'.
const ServiceClusterListNilKind = "ServiceClusterListNil"
ServiceClusterNilKind is the name of the type used to nil lists of objects of type 'service_cluster'.
const ServiceClusterNilKind = "ServiceClusterNil"
ServiceClusterNilKind is the name of the type used to nil references to objects of type 'service_cluster'.
const ServiceClusterRequestPayloadListKind = "ServiceClusterRequestPayloadList"
ServiceClusterRequestPayloadListKind is the name of the type used to represent list of objects of type 'service_cluster_request_payload'.
const ServiceClusterRequestPayloadListLinkKind = "ServiceClusterRequestPayloadListLink"
ServiceClusterRequestPayloadListLinkKind is the name of the type used to represent links to list of objects of type 'service_cluster_request_payload'.
const ServiceClusterRequestPayloadListNilKind = "ServiceClusterRequestPayloadListNil"
ServiceClusterRequestPayloadNilKind is the name of the type used to nil lists of objects of type 'service_cluster_request_payload'.
Variables ¶
var OpenAPI = []byte{}/* 36420 elements not displayed */
OpenAPI contains the OpenAPI specification of the service in JSON.
Functions ¶
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalClusterManagementReference ¶
func MarshalClusterManagementReference(object *ClusterManagementReference, writer io.Writer) error
MarshalClusterManagementReference writes a value of the 'cluster_management_reference' type to the given writer.
func MarshalClusterManagementReferenceList ¶
func MarshalClusterManagementReferenceList(list []*ClusterManagementReference, writer io.Writer) error
MarshalClusterManagementReferenceList writes a list of values of the 'cluster_management_reference' type to the given writer.
func MarshalDNS ¶
MarshalDNS writes a value of the 'DNS' type to the given writer.
func MarshalDNSList ¶
MarshalDNSList writes a list of values of the 'DNS' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' 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 ¶ added in v0.1.345
MarshalLabel writes a value of the 'label' type to the given writer.
func MarshalLabelList ¶ added in v0.1.345
MarshalLabelList writes a list of values of the 'label' type to the given writer.
func MarshalLabelReference ¶ added in v0.1.345
func MarshalLabelReference(object *LabelReference, writer io.Writer) error
MarshalLabelReference writes a value of the 'label_reference' type to the given writer.
func MarshalLabelReferenceList ¶ added in v0.1.345
func MarshalLabelReferenceList(list []*LabelReference, writer io.Writer) error
MarshalLabelReferenceList writes a list of values of the 'label_reference' type to the given writer.
func MarshalLabelRequestPayload ¶ added in v0.1.345
func MarshalLabelRequestPayload(object *LabelRequestPayload, writer io.Writer) error
MarshalLabelRequestPayload writes a value of the 'label_request_payload' type to the given writer.
func MarshalLabelRequestPayloadList ¶ added in v0.1.345
func MarshalLabelRequestPayloadList(list []*LabelRequestPayload, writer io.Writer) error
MarshalLabelRequestPayloadList writes a list of values of the 'label_request_payload' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalManagementCluster ¶
func MarshalManagementCluster(object *ManagementCluster, writer io.Writer) error
MarshalManagementCluster writes a value of the 'management_cluster' type to the given writer.
func MarshalManagementClusterList ¶
func MarshalManagementClusterList(list []*ManagementCluster, writer io.Writer) error
MarshalManagementClusterList writes a list of values of the 'management_cluster' type to the given writer.
func MarshalManagementClusterParent ¶
func MarshalManagementClusterParent(object *ManagementClusterParent, writer io.Writer) error
MarshalManagementClusterParent writes a value of the 'management_cluster_parent' type to the given writer.
func MarshalManagementClusterParentList ¶
func MarshalManagementClusterParentList(list []*ManagementClusterParent, writer io.Writer) error
MarshalManagementClusterParentList writes a list of values of the 'management_cluster_parent' type to the given writer.
func MarshalManagementClusterRequestPayload ¶
func MarshalManagementClusterRequestPayload(object *ManagementClusterRequestPayload, writer io.Writer) error
MarshalManagementClusterRequestPayload writes a value of the 'management_cluster_request_payload' type to the given writer.
func MarshalManagementClusterRequestPayloadList ¶
func MarshalManagementClusterRequestPayloadList(list []*ManagementClusterRequestPayload, writer io.Writer) error
MarshalManagementClusterRequestPayloadList writes a list of values of the 'management_cluster_request_payload' 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 MarshalProvisionShardReference ¶ added in v0.1.349
func MarshalProvisionShardReference(object *ProvisionShardReference, writer io.Writer) error
MarshalProvisionShardReference writes a value of the 'provision_shard_reference' type to the given writer.
func MarshalProvisionShardReferenceList ¶ added in v0.1.349
func MarshalProvisionShardReferenceList(list []*ProvisionShardReference, writer io.Writer) error
MarshalProvisionShardReferenceList writes a list of values of the 'provision_shard_reference' type to the given writer.
func MarshalServiceCluster ¶
func MarshalServiceCluster(object *ServiceCluster, writer io.Writer) error
MarshalServiceCluster writes a value of the 'service_cluster' type to the given writer.
func MarshalServiceClusterList ¶
func MarshalServiceClusterList(list []*ServiceCluster, writer io.Writer) error
MarshalServiceClusterList writes a list of values of the 'service_cluster' type to the given writer.
func MarshalServiceClusterRequestPayload ¶
func MarshalServiceClusterRequestPayload(object *ServiceClusterRequestPayload, writer io.Writer) error
MarshalServiceClusterRequestPayload writes a value of the 'service_cluster_request_payload' type to the given writer.
func MarshalServiceClusterRequestPayloadList ¶
func MarshalServiceClusterRequestPayloadList(list []*ServiceClusterRequestPayload, writer io.Writer) error
MarshalServiceClusterRequestPayloadList writes a list of values of the 'service_cluster_request_payload' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func UnmarshalBooleanList ¶
UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalDateList ¶
UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalFloatList ¶
UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalIntegerList ¶
UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.
func 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 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) *Client
NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.
func (*Client) Get ¶
func (c *Client) Get() *MetadataRequest
Creates a new request for the method that retrieves the metadata.
func (*Client) ManagementClusters ¶
func (c *Client) ManagementClusters() *ManagementClustersClient
ManagementClusters returns the target 'management_clusters' resource.
Reference to the resource that manages the collection of management clusters.
func (*Client) ServiceClusters ¶
func (c *Client) ServiceClusters() *ServiceClustersClient
ServiceClusters returns the target 'service_clusters' resource.
Reference to the resource that manages the collection of service clusters.
type ClusterManagementReference ¶
type ClusterManagementReference struct {
// contains filtered or unexported fields
}
ClusterManagementReference represents the values of the 'cluster_management_reference' type.
Cluster Mgmt reference settings of the cluster.
func UnmarshalClusterManagementReference ¶
func UnmarshalClusterManagementReference(source interface{}) (object *ClusterManagementReference, err error)
UnmarshalClusterManagementReference reads a value of the 'cluster_management_reference' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterManagementReferenceList ¶
func UnmarshalClusterManagementReferenceList(source interface{}) (items []*ClusterManagementReference, err error)
UnmarshalClusterManagementReferenceList reads a list of values of the 'cluster_management_reference' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ClusterManagementReference) ClusterId ¶
func (o *ClusterManagementReference) 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.
Cluster Mgmt ID
func (*ClusterManagementReference) Empty ¶
func (o *ClusterManagementReference) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ClusterManagementReference) GetClusterId ¶
func (o *ClusterManagementReference) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
Cluster Mgmt ID
func (*ClusterManagementReference) GetHref ¶
func (o *ClusterManagementReference) GetHref() (value string, ok bool)
GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.
Reference link to external cluster_mgmt service based on ClusterId field ClusterId is not the name of the field used by the external cluster_mgmt service
func (*ClusterManagementReference) Href ¶
func (o *ClusterManagementReference) Href() string
Href returns the value of the 'href' attribute, or the zero value of the type if the attribute doesn't have a value.
Reference link to external cluster_mgmt service based on ClusterId field ClusterId is not the name of the field used by the external cluster_mgmt service
type ClusterManagementReferenceBuilder ¶
type ClusterManagementReferenceBuilder struct {
// contains filtered or unexported fields
}
ClusterManagementReferenceBuilder contains the data and logic needed to build 'cluster_management_reference' objects.
Cluster Mgmt reference settings of the cluster.
func NewClusterManagementReference ¶
func NewClusterManagementReference() *ClusterManagementReferenceBuilder
NewClusterManagementReference creates a new builder of 'cluster_management_reference' objects.
func (*ClusterManagementReferenceBuilder) Build ¶
func (b *ClusterManagementReferenceBuilder) Build() (object *ClusterManagementReference, err error)
Build creates a 'cluster_management_reference' object using the configuration stored in the builder.
func (*ClusterManagementReferenceBuilder) ClusterId ¶
func (b *ClusterManagementReferenceBuilder) ClusterId(value string) *ClusterManagementReferenceBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*ClusterManagementReferenceBuilder) Copy ¶
func (b *ClusterManagementReferenceBuilder) Copy(object *ClusterManagementReference) *ClusterManagementReferenceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterManagementReferenceBuilder) Empty ¶
func (b *ClusterManagementReferenceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterManagementReferenceBuilder) Href ¶
func (b *ClusterManagementReferenceBuilder) Href(value string) *ClusterManagementReferenceBuilder
Href sets the value of the 'href' attribute to the given value.
type ClusterManagementReferenceList ¶
type ClusterManagementReferenceList struct {
// contains filtered or unexported fields
}
ClusterManagementReferenceList is a list of values of the 'cluster_management_reference' type.
func (*ClusterManagementReferenceList) Each ¶
func (l *ClusterManagementReferenceList) Each(f func(item *ClusterManagementReference) 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 (*ClusterManagementReferenceList) Empty ¶
func (l *ClusterManagementReferenceList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterManagementReferenceList) Get ¶
func (l *ClusterManagementReferenceList) Get(i int) *ClusterManagementReference
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterManagementReferenceList) Len ¶
func (l *ClusterManagementReferenceList) Len() int
Len returns the length of the list.
func (*ClusterManagementReferenceList) Range ¶
func (l *ClusterManagementReferenceList) Range(f func(index int, item *ClusterManagementReference) 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 (*ClusterManagementReferenceList) Slice ¶
func (l *ClusterManagementReferenceList) Slice() []*ClusterManagementReference
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 ClusterManagementReferenceListBuilder ¶
type ClusterManagementReferenceListBuilder struct {
// contains filtered or unexported fields
}
ClusterManagementReferenceListBuilder contains the data and logic needed to build 'cluster_management_reference' objects.
func NewClusterManagementReferenceList ¶
func NewClusterManagementReferenceList() *ClusterManagementReferenceListBuilder
NewClusterManagementReferenceList creates a new builder of 'cluster_management_reference' objects.
func (*ClusterManagementReferenceListBuilder) Build ¶
func (b *ClusterManagementReferenceListBuilder) Build() (list *ClusterManagementReferenceList, err error)
Build creates a list of 'cluster_management_reference' objects using the configuration stored in the builder.
func (*ClusterManagementReferenceListBuilder) Copy ¶
func (b *ClusterManagementReferenceListBuilder) Copy(list *ClusterManagementReferenceList) *ClusterManagementReferenceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterManagementReferenceListBuilder) Empty ¶
func (b *ClusterManagementReferenceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterManagementReferenceListBuilder) Items ¶
func (b *ClusterManagementReferenceListBuilder) Items(values ...*ClusterManagementReferenceBuilder) *ClusterManagementReferenceListBuilder
Items sets the items of the list.
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
DNS represents the values of the 'DNS' type.
DNS settings of the cluster.
func UnmarshalDNS ¶
UnmarshalDNS reads a value of the 'DNS' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalDNSList ¶
UnmarshalDNSList reads a list of values of the 'DNS' type from the given source, which can be a slice of bytes, a string or a reader.
func (*DNS) BaseDomain ¶
BaseDomain returns the value of the 'base_domain' attribute, or the zero value of the type if the attribute doesn't have a value.
Base DNS domain of the cluster.
During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the name of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:
``` mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ```
The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:
```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```
That will return a response like this, including the `api.url` attribute:
```json
{ "kind": "Cluster", "id": "123", "href": "/api/clusters_mgmt/v1/clusters/123", "api": { "url": "https://mycluster-api.example.com:6443" }, ... }
```
When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).
func (*DNS) GetBaseDomain ¶
GetBaseDomain returns the value of the 'base_domain' attribute and a flag indicating if the attribute has a value.
Base DNS domain of the cluster.
During the installation of the cluster it is necessary to create multiple DNS records. They will be created as sub-domains of this domain. For example, if the name of the cluster is `mycluster` and the base domain is `example.com` then the following DNS records will be created:
``` mycluster-api.example.com mycluster-etcd-0.example.com mycluster-etcd-1.example.com mycluster-etcd-3.example.com ```
The exact number, type and names of the created DNS record depends on the characteristics of the cluster, and may be different for different versions of _OpenShift_. Please don't rely on them. For example, to find what is the URL of the Kubernetes API server of the cluster don't assume that it will be `mycluster-api.example.com`. Instead of that use this API to retrieve the description of the cluster, and get it from the `api.url` attribute. For example, if the identifier of the cluster is `123` send a request like this:
```http GET /api/clusters_mgmt/v1/clusters/123 HTTP/1.1 ```
That will return a response like this, including the `api.url` attribute:
```json
{ "kind": "Cluster", "id": "123", "href": "/api/clusters_mgmt/v1/clusters/123", "api": { "url": "https://mycluster-api.example.com:6443" }, ... }
```
When the cluster is created in Amazon Web Services it is necessary to create this base DNS domain in advance, using AWS Route53 (https://console.aws.amazon.com/route53).
type DNSBuilder ¶
type DNSBuilder struct {
// contains filtered or unexported fields
}
DNSBuilder contains the data and logic needed to build 'DNS' objects.
DNS settings of the cluster.
func (*DNSBuilder) BaseDomain ¶
func (b *DNSBuilder) BaseDomain(value string) *DNSBuilder
BaseDomain sets the value of the 'base_domain' attribute to the given value.
func (*DNSBuilder) Build ¶
func (b *DNSBuilder) Build() (object *DNS, err error)
Build creates a 'DNS' object using the configuration stored in the builder.
func (*DNSBuilder) Copy ¶
func (b *DNSBuilder) Copy(object *DNS) *DNSBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*DNSBuilder) Empty ¶
func (b *DNSBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
type DNSList ¶
type DNSList struct {
// contains filtered or unexported fields
}
DNSList is a list of values of the 'DNS' type.
func (*DNSList) 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 (*DNSList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*DNSList) 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 (*DNSList) 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 DNSListBuilder ¶
type DNSListBuilder struct {
// contains filtered or unexported fields
}
DNSListBuilder contains the data and logic needed to build 'DNS' objects.
func NewDNSList ¶
func NewDNSList() *DNSListBuilder
NewDNSList creates a new builder of 'DNS' objects.
func (*DNSListBuilder) Build ¶
func (b *DNSListBuilder) Build() (list *DNSList, err error)
Build creates a list of 'DNS' objects using the configuration stored in the builder.
func (*DNSListBuilder) Copy ¶
func (b *DNSListBuilder) Copy(list *DNSList) *DNSListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*DNSListBuilder) Empty ¶
func (b *DNSListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*DNSListBuilder) Items ¶
func (b *DNSListBuilder) Items(values ...*DNSBuilder) *DNSListBuilder
Items sets the items of the list.
type Label ¶ added in v0.1.345
type Label struct {
// contains filtered or unexported fields
}
Label represents the values of the 'label' type.
label settings of the cluster.
func UnmarshalLabel ¶ added in v0.1.345
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 ¶ added in v0.1.345
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) Empty ¶ added in v0.1.345
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Label) GetHREF ¶ added in v0.1.349
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Label) GetID ¶ added in v0.1.349
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Label) GetKey ¶ added in v0.1.345
GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.
Label key associated to the OSD FM managed cluster
func (*Label) GetValue ¶ added in v0.1.345
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Label value associated to the OSD FM managed cluster
func (*Label) Key ¶ added in v0.1.345
Key returns the value of the 'key' attribute, or the zero value of the type if the attribute doesn't have a value.
Label key associated to the OSD FM managed cluster
type LabelBuilder ¶ added in v0.1.345
type LabelBuilder struct {
// contains filtered or unexported fields
}
LabelBuilder contains the data and logic needed to build 'label' objects.
label settings of the cluster.
func NewLabel ¶ added in v0.1.345
func NewLabel() *LabelBuilder
NewLabel creates a new builder of 'label' objects.
func (*LabelBuilder) Build ¶ added in v0.1.345
func (b *LabelBuilder) Build() (object *Label, err error)
Build creates a 'label' object using the configuration stored in the builder.
func (*LabelBuilder) Copy ¶ added in v0.1.345
func (b *LabelBuilder) Copy(object *Label) *LabelBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LabelBuilder) Empty ¶ added in v0.1.345
func (b *LabelBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*LabelBuilder) HREF ¶ added in v0.1.349
func (b *LabelBuilder) HREF(value string) *LabelBuilder
HREF sets the link to the object.
func (*LabelBuilder) ID ¶ added in v0.1.349
func (b *LabelBuilder) ID(value string) *LabelBuilder
ID sets the identifier of the object.
func (*LabelBuilder) Key ¶ added in v0.1.345
func (b *LabelBuilder) Key(value string) *LabelBuilder
Key sets the value of the 'key' attribute to the given value.
func (*LabelBuilder) Link ¶ added in v0.1.349
func (b *LabelBuilder) Link(value bool) *LabelBuilder
Link sets the flag that indicates if this is a link.
func (*LabelBuilder) Value ¶ added in v0.1.345
func (b *LabelBuilder) Value(value string) *LabelBuilder
Value sets the value of the 'value' attribute to the given value.
type LabelClient ¶ added in v0.1.345
type LabelClient struct {
// contains filtered or unexported fields
}
LabelClient is the client of the 'label' resource.
Manages a specific label.
func NewLabelClient ¶ added in v0.1.345
func NewLabelClient(transport http.RoundTripper, path string) *LabelClient
NewLabelClient creates a new client for the 'label' resource using the given transport to send the requests and receive the responses.
func (*LabelClient) Delete ¶ added in v0.1.345
func (c *LabelClient) Delete() *LabelDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the label.
func (*LabelClient) Get ¶ added in v0.1.345
func (c *LabelClient) Get() *LabelGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the cluster.
func (*LabelClient) Poll ¶ added in v0.1.345
func (c *LabelClient) Poll() *LabelPollRequest
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 (*LabelClient) Post ¶ added in v0.1.345
func (c *LabelClient) Post() *LabelPostRequest
Post creates a request for the 'post' method.
Creates the label.
type LabelDeleteRequest ¶ added in v0.1.345
type LabelDeleteRequest struct {
// contains filtered or unexported fields
}
LabelDeleteRequest is the request for the 'delete' method.
func (*LabelDeleteRequest) Header ¶ added in v0.1.345
func (r *LabelDeleteRequest) Header(name string, value interface{}) *LabelDeleteRequest
Header adds a request header.
func (*LabelDeleteRequest) Impersonate ¶ added in v0.1.345
func (r *LabelDeleteRequest) Impersonate(user string) *LabelDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*LabelDeleteRequest) Parameter ¶ added in v0.1.345
func (r *LabelDeleteRequest) Parameter(name string, value interface{}) *LabelDeleteRequest
Parameter adds a query parameter.
func (*LabelDeleteRequest) Send ¶ added in v0.1.345
func (r *LabelDeleteRequest) Send() (result *LabelDeleteResponse, 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 (*LabelDeleteRequest) SendContext ¶ added in v0.1.345
func (r *LabelDeleteRequest) SendContext(ctx context.Context) (result *LabelDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type LabelDeleteResponse ¶ added in v0.1.345
type LabelDeleteResponse struct {
// contains filtered or unexported fields
}
LabelDeleteResponse is the response for the 'delete' method.
func (*LabelDeleteResponse) Error ¶ added in v0.1.345
func (r *LabelDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*LabelDeleteResponse) Header ¶ added in v0.1.345
func (r *LabelDeleteResponse) Header() http.Header
Header returns header of the response.
func (*LabelDeleteResponse) Status ¶ added in v0.1.345
func (r *LabelDeleteResponse) Status() int
Status returns the response status code.
type LabelGetRequest ¶ added in v0.1.345
type LabelGetRequest struct {
// contains filtered or unexported fields
}
LabelGetRequest is the request for the 'get' method.
func (*LabelGetRequest) Header ¶ added in v0.1.345
func (r *LabelGetRequest) Header(name string, value interface{}) *LabelGetRequest
Header adds a request header.
func (*LabelGetRequest) Impersonate ¶ added in v0.1.345
func (r *LabelGetRequest) Impersonate(user string) *LabelGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*LabelGetRequest) Parameter ¶ added in v0.1.345
func (r *LabelGetRequest) Parameter(name string, value interface{}) *LabelGetRequest
Parameter adds a query parameter.
func (*LabelGetRequest) Send ¶ added in v0.1.345
func (r *LabelGetRequest) Send() (result *LabelGetResponse, 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 (*LabelGetRequest) SendContext ¶ added in v0.1.345
func (r *LabelGetRequest) SendContext(ctx context.Context) (result *LabelGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type LabelGetResponse ¶ added in v0.1.345
type LabelGetResponse struct {
// contains filtered or unexported fields
}
LabelGetResponse is the response for the 'get' method.
func (*LabelGetResponse) Body ¶ added in v0.1.345
func (r *LabelGetResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*LabelGetResponse) Error ¶ added in v0.1.345
func (r *LabelGetResponse) Error() *errors.Error
Error returns the response error.
func (*LabelGetResponse) GetBody ¶ added in v0.1.345
func (r *LabelGetResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*LabelGetResponse) Header ¶ added in v0.1.345
func (r *LabelGetResponse) Header() http.Header
Header returns header of the response.
func (*LabelGetResponse) Status ¶ added in v0.1.345
func (r *LabelGetResponse) Status() int
Status returns the response status code.
type LabelList ¶ added in v0.1.345
type LabelList struct {
// contains filtered or unexported fields
}
LabelList is a list of values of the 'label' type.
func (*LabelList) Each ¶ added in v0.1.345
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 ¶ added in v0.1.345
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 ¶ added in v0.1.349
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*LabelList) Range ¶ added in v0.1.345
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 ¶ added in v0.1.345
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 ¶ added in v0.1.345
type LabelListBuilder struct {
// contains filtered or unexported fields
}
LabelListBuilder contains the data and logic needed to build 'label' objects.
func NewLabelList ¶ added in v0.1.345
func NewLabelList() *LabelListBuilder
NewLabelList creates a new builder of 'label' objects.
func (*LabelListBuilder) Build ¶ added in v0.1.345
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 ¶ added in v0.1.345
func (b *LabelListBuilder) Copy(list *LabelList) *LabelListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LabelListBuilder) Empty ¶ added in v0.1.345
func (b *LabelListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*LabelListBuilder) Items ¶ added in v0.1.345
func (b *LabelListBuilder) Items(values ...*LabelBuilder) *LabelListBuilder
Items sets the items of the list.
type LabelPollRequest ¶ added in v0.1.345
type LabelPollRequest struct {
// contains filtered or unexported fields
}
LabelPollRequest is the request for the Poll method.
func (*LabelPollRequest) Header ¶ added in v0.1.345
func (r *LabelPollRequest) Header(name string, value interface{}) *LabelPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*LabelPollRequest) Interval ¶ added in v0.1.345
func (r *LabelPollRequest) Interval(value time.Duration) *LabelPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*LabelPollRequest) Parameter ¶ added in v0.1.345
func (r *LabelPollRequest) Parameter(name string, value interface{}) *LabelPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*LabelPollRequest) Predicate ¶ added in v0.1.345
func (r *LabelPollRequest) Predicate(value func(*LabelGetResponse) bool) *LabelPollRequest
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 (*LabelPollRequest) StartContext ¶ added in v0.1.345
func (r *LabelPollRequest) StartContext(ctx context.Context) (response *LabelPollResponse, 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 (*LabelPollRequest) Status ¶ added in v0.1.345
func (r *LabelPollRequest) Status(value int) *LabelPollRequest
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 LabelPollResponse ¶ added in v0.1.345
type LabelPollResponse struct {
// contains filtered or unexported fields
}
LabelPollResponse is the response for the Poll method.
func (*LabelPollResponse) Body ¶ added in v0.1.345
func (r *LabelPollResponse) Body() *Label
Body returns the value of the 'body' parameter.
func (*LabelPollResponse) Error ¶ added in v0.1.345
func (r *LabelPollResponse) Error() *errors.Error
Error returns the response error.
func (*LabelPollResponse) GetBody ¶ added in v0.1.345
func (r *LabelPollResponse) GetBody() (value *Label, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*LabelPollResponse) Header ¶ added in v0.1.345
func (r *LabelPollResponse) Header() http.Header
Header returns header of the response.
func (*LabelPollResponse) Status ¶ added in v0.1.345
func (r *LabelPollResponse) Status() int
Status returns the response status code.
type LabelPostRequest ¶ added in v0.1.345
type LabelPostRequest struct {
// contains filtered or unexported fields
}
LabelPostRequest is the request for the 'post' method.
func (*LabelPostRequest) Header ¶ added in v0.1.345
func (r *LabelPostRequest) Header(name string, value interface{}) *LabelPostRequest
Header adds a request header.
func (*LabelPostRequest) Impersonate ¶ added in v0.1.345
func (r *LabelPostRequest) Impersonate(user string) *LabelPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*LabelPostRequest) Parameter ¶ added in v0.1.345
func (r *LabelPostRequest) Parameter(name string, value interface{}) *LabelPostRequest
Parameter adds a query parameter.
func (*LabelPostRequest) Request ¶ added in v0.1.345
func (r *LabelPostRequest) Request(value *LabelRequestPayload) *LabelPostRequest
Request sets the value of the 'request' parameter.
func (*LabelPostRequest) Send ¶ added in v0.1.345
func (r *LabelPostRequest) Send() (result *LabelPostResponse, 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 (*LabelPostRequest) SendContext ¶ added in v0.1.345
func (r *LabelPostRequest) SendContext(ctx context.Context) (result *LabelPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type LabelPostResponse ¶ added in v0.1.345
type LabelPostResponse struct {
// contains filtered or unexported fields
}
LabelPostResponse is the response for the 'post' method.
func (*LabelPostResponse) Error ¶ added in v0.1.345
func (r *LabelPostResponse) Error() *errors.Error
Error returns the response error.
func (*LabelPostResponse) GetResponse ¶ added in v0.1.345
func (r *LabelPostResponse) GetResponse() (value *Label, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*LabelPostResponse) Header ¶ added in v0.1.345
func (r *LabelPostResponse) Header() http.Header
Header returns header of the response.
func (*LabelPostResponse) Response ¶ added in v0.1.345
func (r *LabelPostResponse) Response() *Label
Response returns the value of the 'response' parameter.
func (*LabelPostResponse) Status ¶ added in v0.1.345
func (r *LabelPostResponse) Status() int
Status returns the response status code.
type LabelReference ¶ added in v0.1.345
type LabelReference struct {
// contains filtered or unexported fields
}
LabelReference represents the values of the 'label_reference' type.
label reference settings of the cluster.
func UnmarshalLabelReference ¶ added in v0.1.345
func UnmarshalLabelReference(source interface{}) (object *LabelReference, err error)
UnmarshalLabelReference reads a value of the 'label_reference' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLabelReferenceList ¶ added in v0.1.345
func UnmarshalLabelReferenceList(source interface{}) (items []*LabelReference, err error)
UnmarshalLabelReferenceList reads a list of values of the 'label_reference' type from the given source, which can be a slice of bytes, a string or a reader.
func (*LabelReference) Empty ¶ added in v0.1.345
func (o *LabelReference) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*LabelReference) GetHref ¶ added in v0.1.345
func (o *LabelReference) GetHref() (value string, ok bool)
GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.
link to the Label associated to the OSD FM managed cluster
func (*LabelReference) GetId ¶ added in v0.1.345
func (o *LabelReference) GetId() (value string, ok bool)
GetId returns the value of the 'id' attribute and a flag indicating if the attribute has a value.
Id of the Label associated to the OSD FM managed cluster
func (*LabelReference) Href ¶ added in v0.1.345
func (o *LabelReference) Href() string
Href returns the value of the 'href' attribute, or the zero value of the type if the attribute doesn't have a value.
link to the Label associated to the OSD FM managed cluster
func (*LabelReference) Id ¶ added in v0.1.345
func (o *LabelReference) Id() string
Id returns the value of the 'id' attribute, or the zero value of the type if the attribute doesn't have a value.
Id of the Label associated to the OSD FM managed cluster
type LabelReferenceBuilder ¶ added in v0.1.345
type LabelReferenceBuilder struct {
// contains filtered or unexported fields
}
LabelReferenceBuilder contains the data and logic needed to build 'label_reference' objects.
label reference settings of the cluster.
func NewLabelReference ¶ added in v0.1.345
func NewLabelReference() *LabelReferenceBuilder
NewLabelReference creates a new builder of 'label_reference' objects.
func (*LabelReferenceBuilder) Build ¶ added in v0.1.345
func (b *LabelReferenceBuilder) Build() (object *LabelReference, err error)
Build creates a 'label_reference' object using the configuration stored in the builder.
func (*LabelReferenceBuilder) Copy ¶ added in v0.1.345
func (b *LabelReferenceBuilder) Copy(object *LabelReference) *LabelReferenceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LabelReferenceBuilder) Empty ¶ added in v0.1.345
func (b *LabelReferenceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*LabelReferenceBuilder) Href ¶ added in v0.1.345
func (b *LabelReferenceBuilder) Href(value string) *LabelReferenceBuilder
Href sets the value of the 'href' attribute to the given value.
func (*LabelReferenceBuilder) Id ¶ added in v0.1.345
func (b *LabelReferenceBuilder) Id(value string) *LabelReferenceBuilder
Id sets the value of the 'id' attribute to the given value.
type LabelReferenceList ¶ added in v0.1.345
type LabelReferenceList struct {
// contains filtered or unexported fields
}
LabelReferenceList is a list of values of the 'label_reference' type.
func (*LabelReferenceList) Each ¶ added in v0.1.345
func (l *LabelReferenceList) Each(f func(item *LabelReference) 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 (*LabelReferenceList) Empty ¶ added in v0.1.345
func (l *LabelReferenceList) Empty() bool
Empty returns true if the list is empty.
func (*LabelReferenceList) Get ¶ added in v0.1.345
func (l *LabelReferenceList) Get(i int) *LabelReference
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LabelReferenceList) Len ¶ added in v0.1.345
func (l *LabelReferenceList) Len() int
Len returns the length of the list.
func (*LabelReferenceList) Range ¶ added in v0.1.345
func (l *LabelReferenceList) Range(f func(index int, item *LabelReference) 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 (*LabelReferenceList) Slice ¶ added in v0.1.345
func (l *LabelReferenceList) Slice() []*LabelReference
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 LabelReferenceListBuilder ¶ added in v0.1.345
type LabelReferenceListBuilder struct {
// contains filtered or unexported fields
}
LabelReferenceListBuilder contains the data and logic needed to build 'label_reference' objects.
func NewLabelReferenceList ¶ added in v0.1.345
func NewLabelReferenceList() *LabelReferenceListBuilder
NewLabelReferenceList creates a new builder of 'label_reference' objects.
func (*LabelReferenceListBuilder) Build ¶ added in v0.1.345
func (b *LabelReferenceListBuilder) Build() (list *LabelReferenceList, err error)
Build creates a list of 'label_reference' objects using the configuration stored in the builder.
func (*LabelReferenceListBuilder) Copy ¶ added in v0.1.345
func (b *LabelReferenceListBuilder) Copy(list *LabelReferenceList) *LabelReferenceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LabelReferenceListBuilder) Empty ¶ added in v0.1.345
func (b *LabelReferenceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*LabelReferenceListBuilder) Items ¶ added in v0.1.345
func (b *LabelReferenceListBuilder) Items(values ...*LabelReferenceBuilder) *LabelReferenceListBuilder
Items sets the items of the list.
type LabelRequestPayload ¶ added in v0.1.345
type LabelRequestPayload struct {
// contains filtered or unexported fields
}
LabelRequestPayload represents the values of the 'label_request_payload' type.
func UnmarshalLabelRequestPayload ¶ added in v0.1.345
func UnmarshalLabelRequestPayload(source interface{}) (object *LabelRequestPayload, err error)
UnmarshalLabelRequestPayload reads a value of the 'label_request_payload' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalLabelRequestPayloadList ¶ added in v0.1.345
func UnmarshalLabelRequestPayloadList(source interface{}) (items []*LabelRequestPayload, err error)
UnmarshalLabelRequestPayloadList reads a list of values of the 'label_request_payload' type from the given source, which can be a slice of bytes, a string or a reader.
func (*LabelRequestPayload) Empty ¶ added in v0.1.345
func (o *LabelRequestPayload) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*LabelRequestPayload) GetKey ¶ added in v0.1.345
func (o *LabelRequestPayload) GetKey() (value string, ok bool)
GetKey returns the value of the 'key' attribute and a flag indicating if the attribute has a value.
func (*LabelRequestPayload) GetValue ¶ added in v0.1.345
func (o *LabelRequestPayload) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
func (*LabelRequestPayload) Key ¶ added in v0.1.345
func (o *LabelRequestPayload) Key() string
Key returns the value of the 'key' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*LabelRequestPayload) Value ¶ added in v0.1.345
func (o *LabelRequestPayload) Value() string
Value returns the value of the 'value' attribute, or the zero value of the type if the attribute doesn't have a value.
type LabelRequestPayloadBuilder ¶ added in v0.1.345
type LabelRequestPayloadBuilder struct {
// contains filtered or unexported fields
}
LabelRequestPayloadBuilder contains the data and logic needed to build 'label_request_payload' objects.
func NewLabelRequestPayload ¶ added in v0.1.345
func NewLabelRequestPayload() *LabelRequestPayloadBuilder
NewLabelRequestPayload creates a new builder of 'label_request_payload' objects.
func (*LabelRequestPayloadBuilder) Build ¶ added in v0.1.345
func (b *LabelRequestPayloadBuilder) Build() (object *LabelRequestPayload, err error)
Build creates a 'label_request_payload' object using the configuration stored in the builder.
func (*LabelRequestPayloadBuilder) Copy ¶ added in v0.1.345
func (b *LabelRequestPayloadBuilder) Copy(object *LabelRequestPayload) *LabelRequestPayloadBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*LabelRequestPayloadBuilder) Empty ¶ added in v0.1.345
func (b *LabelRequestPayloadBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*LabelRequestPayloadBuilder) Key ¶ added in v0.1.345
func (b *LabelRequestPayloadBuilder) Key(value string) *LabelRequestPayloadBuilder
Key sets the value of the 'key' attribute to the given value.
func (*LabelRequestPayloadBuilder) Value ¶ added in v0.1.345
func (b *LabelRequestPayloadBuilder) Value(value string) *LabelRequestPayloadBuilder
Value sets the value of the 'value' attribute to the given value.
type LabelRequestPayloadList ¶ added in v0.1.345
type LabelRequestPayloadList struct {
// contains filtered or unexported fields
}
LabelRequestPayloadList is a list of values of the 'label_request_payload' type.
func (*LabelRequestPayloadList) Each ¶ added in v0.1.345
func (l *LabelRequestPayloadList) Each(f func(item *LabelRequestPayload) 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 (*LabelRequestPayloadList) Empty ¶ added in v0.1.345
func (l *LabelRequestPayloadList) Empty() bool
Empty returns true if the list is empty.
func (*LabelRequestPayloadList) Get ¶ added in v0.1.345
func (l *LabelRequestPayloadList) Get(i int) *LabelRequestPayload
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*LabelRequestPayloadList) Len ¶ added in v0.1.345
func (l *LabelRequestPayloadList) Len() int
Len returns the length of the list.
func (*LabelRequestPayloadList) Range ¶ added in v0.1.345
func (l *LabelRequestPayloadList) Range(f func(index int, item *LabelRequestPayload) 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 (*LabelRequestPayloadList) Slice ¶ added in v0.1.345
func (l *LabelRequestPayloadList) Slice() []*LabelRequestPayload
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 LabelRequestPayloadListBuilder ¶ added in v0.1.345
type LabelRequestPayloadListBuilder struct {
// contains filtered or unexported fields
}
LabelRequestPayloadListBuilder contains the data and logic needed to build 'label_request_payload' objects.
func NewLabelRequestPayloadList ¶ added in v0.1.345
func NewLabelRequestPayloadList() *LabelRequestPayloadListBuilder
NewLabelRequestPayloadList creates a new builder of 'label_request_payload' objects.
func (*LabelRequestPayloadListBuilder) Build ¶ added in v0.1.345
func (b *LabelRequestPayloadListBuilder) Build() (list *LabelRequestPayloadList, err error)
Build creates a list of 'label_request_payload' objects using the configuration stored in the builder.
func (*LabelRequestPayloadListBuilder) Copy ¶ added in v0.1.345
func (b *LabelRequestPayloadListBuilder) Copy(list *LabelRequestPayloadList) *LabelRequestPayloadListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*LabelRequestPayloadListBuilder) Empty ¶ added in v0.1.345
func (b *LabelRequestPayloadListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*LabelRequestPayloadListBuilder) Items ¶ added in v0.1.345
func (b *LabelRequestPayloadListBuilder) Items(values ...*LabelRequestPayloadBuilder) *LabelRequestPayloadListBuilder
Items sets the items of the list.
type LabelsClient ¶ added in v0.1.345
type LabelsClient struct {
// contains filtered or unexported fields
}
LabelsClient is the client of the 'labels' resource.
Manages the collection of labels.
func NewLabelsClient ¶ added in v0.1.345
func NewLabelsClient(transport http.RoundTripper, path 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) Label ¶ added in v0.1.345
func (c *LabelsClient) Label(id string) *LabelClient
Label returns the target 'label' resource for the given identifier.
Returns a reference to the resource that manages a specific label.
func (*LabelsClient) List ¶ added in v0.1.345
func (c *LabelsClient) List() *LabelsListRequest
List creates a request for the 'list' method.
Retrieves the list of labels.
type LabelsListRequest ¶ added in v0.1.345
type LabelsListRequest struct {
// contains filtered or unexported fields
}
LabelsListRequest is the request for the 'list' method.
func (*LabelsListRequest) Header ¶ added in v0.1.345
func (r *LabelsListRequest) Header(name string, value interface{}) *LabelsListRequest
Header adds a request header.
func (*LabelsListRequest) Impersonate ¶ added in v0.1.345
func (r *LabelsListRequest) Impersonate(user string) *LabelsListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*LabelsListRequest) Page ¶ added in v0.1.345
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 ¶ added in v0.1.345
func (r *LabelsListRequest) Parameter(name string, value interface{}) *LabelsListRequest
Parameter adds a query parameter.
func (*LabelsListRequest) Send ¶ added in v0.1.345
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 ¶ added in v0.1.345
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 ¶ added in v0.1.345
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 ¶ added in v0.1.345
type LabelsListResponse struct {
// contains filtered or unexported fields
}
LabelsListResponse is the response for the 'list' method.
func (*LabelsListResponse) Error ¶ added in v0.1.345
func (r *LabelsListResponse) Error() *errors.Error
Error returns the response error.
func (*LabelsListResponse) GetItems ¶ added in v0.1.345
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 a list of labels.
func (*LabelsListResponse) GetPage ¶ added in v0.1.345
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 ¶ added in v0.1.345
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 ¶ added in v0.1.345
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 ¶ added in v0.1.345
func (r *LabelsListResponse) Header() http.Header
Header returns header of the response.
func (*LabelsListResponse) Items ¶ added in v0.1.345
func (r *LabelsListResponse) Items() *LabelList
Items returns the value of the 'items' parameter.
Retrieved a list of labels.
func (*LabelsListResponse) Page ¶ added in v0.1.345
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 ¶ added in v0.1.345
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 ¶ added in v0.1.345
func (r *LabelsListResponse) Status() int
Status returns the response status code.
func (*LabelsListResponse) Total ¶ added in v0.1.345
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 ManagementCluster ¶
type ManagementCluster struct {
// contains filtered or unexported fields
}
ManagementCluster represents the values of the 'management_cluster' type.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
```json
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
```
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
```json
{ "cloud_provider": { "id": "123", } }
```
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func UnmarshalManagementCluster ¶
func UnmarshalManagementCluster(source interface{}) (object *ManagementCluster, err error)
UnmarshalManagementCluster reads a value of the 'management_cluster' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalManagementClusterList ¶
func UnmarshalManagementClusterList(source interface{}) (items []*ManagementCluster, err error)
UnmarshalManagementClusterList reads a list of values of the 'management_cluster' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ManagementCluster) CloudProvider ¶
func (o *ManagementCluster) CloudProvider() string
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
Cloud provider where the cluster is installed.
func (*ManagementCluster) ClusterManagementReference ¶
func (o *ManagementCluster) ClusterManagementReference() *ClusterManagementReference
ClusterManagementReference returns the value of the 'cluster_management_reference' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster mgmt reference
func (*ManagementCluster) CreationTimestamp ¶ added in v0.1.345
func (o *ManagementCluster) CreationTimestamp() time.Time
CreationTimestamp returns the value of the 'creation_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
Creation timestamp of the cluster
func (*ManagementCluster) DNS ¶
func (o *ManagementCluster) DNS() *DNS
DNS returns the value of the 'DNS' attribute, or the zero value of the type if the attribute doesn't have a value.
DNS settings of the cluster.
func (*ManagementCluster) Empty ¶
func (o *ManagementCluster) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ManagementCluster) GetCloudProvider ¶
func (o *ManagementCluster) GetCloudProvider() (value string, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
Cloud provider where the cluster is installed.
func (*ManagementCluster) GetClusterManagementReference ¶
func (o *ManagementCluster) GetClusterManagementReference() (value *ClusterManagementReference, ok bool)
GetClusterManagementReference returns the value of the 'cluster_management_reference' attribute and a flag indicating if the attribute has a value.
Cluster mgmt reference
func (*ManagementCluster) GetCreationTimestamp ¶ added in v0.1.345
func (o *ManagementCluster) GetCreationTimestamp() (value time.Time, ok bool)
GetCreationTimestamp returns the value of the 'creation_timestamp' attribute and a flag indicating if the attribute has a value.
Creation timestamp of the cluster
func (*ManagementCluster) GetDNS ¶
func (o *ManagementCluster) GetDNS() (value *DNS, ok bool)
GetDNS returns the value of the 'DNS' attribute and a flag indicating if the attribute has a value.
DNS settings of the cluster.
func (*ManagementCluster) GetHREF ¶
func (o *ManagementCluster) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ManagementCluster) GetID ¶
func (o *ManagementCluster) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ManagementCluster) GetLabels ¶ added in v0.1.349
func (o *ManagementCluster) GetLabels() (value []*Label, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
Labels on management cluster
func (*ManagementCluster) GetName ¶
func (o *ManagementCluster) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Cluster name
func (*ManagementCluster) GetParent ¶
func (o *ManagementCluster) GetParent() (value *ManagementClusterParent, ok bool)
GetParent returns the value of the 'parent' attribute and a flag indicating if the attribute has a value.
Service cluster handling the management cluster
func (*ManagementCluster) GetRegion ¶
func (o *ManagementCluster) GetRegion() (value string, ok bool)
GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.
Cloud provider region where the cluster is installed.
func (*ManagementCluster) GetSector ¶ added in v0.1.345
func (o *ManagementCluster) GetSector() (value string, ok bool)
GetSector returns the value of the 'sector' attribute and a flag indicating if the attribute has a value.
Sector of cluster
func (*ManagementCluster) GetStatus ¶
func (o *ManagementCluster) 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 cluster
func (*ManagementCluster) GetUpdateTimestamp ¶ added in v0.1.345
func (o *ManagementCluster) GetUpdateTimestamp() (value time.Time, ok bool)
GetUpdateTimestamp returns the value of the 'update_timestamp' attribute and a flag indicating if the attribute has a value.
Update timestamp of the cluster
func (*ManagementCluster) HREF ¶
func (o *ManagementCluster) HREF() string
HREF returns the link to the object.
func (*ManagementCluster) ID ¶
func (o *ManagementCluster) ID() string
ID returns the identifier of the object.
func (*ManagementCluster) Kind ¶
func (o *ManagementCluster) Kind() string
Kind returns the name of the type of the object.
func (*ManagementCluster) Labels ¶ added in v0.1.349
func (o *ManagementCluster) 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.
Labels on management cluster
func (*ManagementCluster) Link ¶
func (o *ManagementCluster) Link() bool
Link returns true iif this is a link.
func (*ManagementCluster) Name ¶
func (o *ManagementCluster) 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.
Cluster name
func (*ManagementCluster) Parent ¶
func (o *ManagementCluster) Parent() *ManagementClusterParent
Parent returns the value of the 'parent' attribute, or the zero value of the type if the attribute doesn't have a value.
Service cluster handling the management cluster
func (*ManagementCluster) Region ¶
func (o *ManagementCluster) Region() string
Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.
Cloud provider region where the cluster is installed.
func (*ManagementCluster) Sector ¶ added in v0.1.345
func (o *ManagementCluster) Sector() string
Sector returns the value of the 'sector' attribute, or the zero value of the type if the attribute doesn't have a value.
Sector of cluster
func (*ManagementCluster) Status ¶
func (o *ManagementCluster) 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 cluster
func (*ManagementCluster) UpdateTimestamp ¶ added in v0.1.345
func (o *ManagementCluster) UpdateTimestamp() time.Time
UpdateTimestamp returns the value of the 'update_timestamp' attribute, or the zero value of the type if the attribute doesn't have a value.
Update timestamp of the cluster
type ManagementClusterBuilder ¶
type ManagementClusterBuilder struct {
// contains filtered or unexported fields
}
ManagementClusterBuilder contains the data and logic needed to build 'management_cluster' objects.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
```json
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
```
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
```json
{ "cloud_provider": { "id": "123", } }
```
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func NewManagementCluster ¶
func NewManagementCluster() *ManagementClusterBuilder
NewManagementCluster creates a new builder of 'management_cluster' objects.
func (*ManagementClusterBuilder) Build ¶
func (b *ManagementClusterBuilder) Build() (object *ManagementCluster, err error)
Build creates a 'management_cluster' object using the configuration stored in the builder.
func (*ManagementClusterBuilder) CloudProvider ¶
func (b *ManagementClusterBuilder) CloudProvider(value string) *ManagementClusterBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
func (*ManagementClusterBuilder) ClusterManagementReference ¶
func (b *ManagementClusterBuilder) ClusterManagementReference(value *ClusterManagementReferenceBuilder) *ManagementClusterBuilder
ClusterManagementReference sets the value of the 'cluster_management_reference' attribute to the given value.
Cluster Mgmt reference settings of the cluster.
func (*ManagementClusterBuilder) Copy ¶
func (b *ManagementClusterBuilder) Copy(object *ManagementCluster) *ManagementClusterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ManagementClusterBuilder) CreationTimestamp ¶ added in v0.1.345
func (b *ManagementClusterBuilder) CreationTimestamp(value time.Time) *ManagementClusterBuilder
CreationTimestamp sets the value of the 'creation_timestamp' attribute to the given value.
func (*ManagementClusterBuilder) DNS ¶
func (b *ManagementClusterBuilder) DNS(value *DNSBuilder) *ManagementClusterBuilder
DNS sets the value of the 'DNS' attribute to the given value.
DNS settings of the cluster.
func (*ManagementClusterBuilder) Empty ¶
func (b *ManagementClusterBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ManagementClusterBuilder) HREF ¶
func (b *ManagementClusterBuilder) HREF(value string) *ManagementClusterBuilder
HREF sets the link to the object.
func (*ManagementClusterBuilder) ID ¶
func (b *ManagementClusterBuilder) ID(value string) *ManagementClusterBuilder
ID sets the identifier of the object.
func (*ManagementClusterBuilder) Labels ¶ added in v0.1.349
func (b *ManagementClusterBuilder) Labels(values ...*LabelBuilder) *ManagementClusterBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*ManagementClusterBuilder) Link ¶
func (b *ManagementClusterBuilder) Link(value bool) *ManagementClusterBuilder
Link sets the flag that indicates if this is a link.
func (*ManagementClusterBuilder) Name ¶
func (b *ManagementClusterBuilder) Name(value string) *ManagementClusterBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ManagementClusterBuilder) Parent ¶
func (b *ManagementClusterBuilder) Parent(value *ManagementClusterParentBuilder) *ManagementClusterBuilder
Parent sets the value of the 'parent' attribute to the given value.
ManagementClusterParent reference settings of the cluster.
func (*ManagementClusterBuilder) Region ¶
func (b *ManagementClusterBuilder) Region(value string) *ManagementClusterBuilder
Region sets the value of the 'region' attribute to the given value.
func (*ManagementClusterBuilder) Sector ¶ added in v0.1.345
func (b *ManagementClusterBuilder) Sector(value string) *ManagementClusterBuilder
Sector sets the value of the 'sector' attribute to the given value.
func (*ManagementClusterBuilder) Status ¶
func (b *ManagementClusterBuilder) Status(value string) *ManagementClusterBuilder
Status sets the value of the 'status' attribute to the given value.
func (*ManagementClusterBuilder) UpdateTimestamp ¶ added in v0.1.345
func (b *ManagementClusterBuilder) UpdateTimestamp(value time.Time) *ManagementClusterBuilder
UpdateTimestamp sets the value of the 'update_timestamp' attribute to the given value.
type ManagementClusterClient ¶
type ManagementClusterClient struct {
// contains filtered or unexported fields
}
ManagementClusterClient is the client of the 'management_cluster' resource.
Manages a specific management cluster.
func NewManagementClusterClient ¶
func NewManagementClusterClient(transport http.RoundTripper, path string) *ManagementClusterClient
NewManagementClusterClient creates a new client for the 'management_cluster' resource using the given transport to send the requests and receive the responses.
func (*ManagementClusterClient) Delete ¶
func (c *ManagementClusterClient) Delete() *ManagementClusterDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the management cluster.
func (*ManagementClusterClient) Get ¶
func (c *ManagementClusterClient) Get() *ManagementClusterGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the management cluster.
func (*ManagementClusterClient) Labels ¶ added in v0.1.345
func (c *ManagementClusterClient) Labels() *LabelsClient
Labels returns the target 'labels' resource.
Reference to the resource that manages the collection of label
func (*ManagementClusterClient) Poll ¶
func (c *ManagementClusterClient) Poll() *ManagementClusterPollRequest
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 (*ManagementClusterClient) Post ¶
func (c *ManagementClusterClient) Post() *ManagementClusterPostRequest
Post creates a request for the 'post' method.
Updates the management cluster.
type ManagementClusterDeleteRequest ¶
type ManagementClusterDeleteRequest struct {
// contains filtered or unexported fields
}
ManagementClusterDeleteRequest is the request for the 'delete' method.
func (*ManagementClusterDeleteRequest) Header ¶
func (r *ManagementClusterDeleteRequest) Header(name string, value interface{}) *ManagementClusterDeleteRequest
Header adds a request header.
func (*ManagementClusterDeleteRequest) Impersonate ¶
func (r *ManagementClusterDeleteRequest) Impersonate(user string) *ManagementClusterDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ManagementClusterDeleteRequest) Parameter ¶
func (r *ManagementClusterDeleteRequest) Parameter(name string, value interface{}) *ManagementClusterDeleteRequest
Parameter adds a query parameter.
func (*ManagementClusterDeleteRequest) Send ¶
func (r *ManagementClusterDeleteRequest) Send() (result *ManagementClusterDeleteResponse, 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 (*ManagementClusterDeleteRequest) SendContext ¶
func (r *ManagementClusterDeleteRequest) SendContext(ctx context.Context) (result *ManagementClusterDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ManagementClusterDeleteResponse ¶
type ManagementClusterDeleteResponse struct {
// contains filtered or unexported fields
}
ManagementClusterDeleteResponse is the response for the 'delete' method.
func (*ManagementClusterDeleteResponse) Error ¶
func (r *ManagementClusterDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ManagementClusterDeleteResponse) Header ¶
func (r *ManagementClusterDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ManagementClusterDeleteResponse) Status ¶
func (r *ManagementClusterDeleteResponse) Status() int
Status returns the response status code.
type ManagementClusterGetRequest ¶
type ManagementClusterGetRequest struct {
// contains filtered or unexported fields
}
ManagementClusterGetRequest is the request for the 'get' method.
func (*ManagementClusterGetRequest) Header ¶
func (r *ManagementClusterGetRequest) Header(name string, value interface{}) *ManagementClusterGetRequest
Header adds a request header.
func (*ManagementClusterGetRequest) Impersonate ¶
func (r *ManagementClusterGetRequest) Impersonate(user string) *ManagementClusterGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ManagementClusterGetRequest) Parameter ¶
func (r *ManagementClusterGetRequest) Parameter(name string, value interface{}) *ManagementClusterGetRequest
Parameter adds a query parameter.
func (*ManagementClusterGetRequest) Send ¶
func (r *ManagementClusterGetRequest) Send() (result *ManagementClusterGetResponse, 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 (*ManagementClusterGetRequest) SendContext ¶
func (r *ManagementClusterGetRequest) SendContext(ctx context.Context) (result *ManagementClusterGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ManagementClusterGetResponse ¶
type ManagementClusterGetResponse struct {
// contains filtered or unexported fields
}
ManagementClusterGetResponse is the response for the 'get' method.
func (*ManagementClusterGetResponse) Body ¶
func (r *ManagementClusterGetResponse) Body() *ManagementCluster
Body returns the value of the 'body' parameter.
func (*ManagementClusterGetResponse) Error ¶
func (r *ManagementClusterGetResponse) Error() *errors.Error
Error returns the response error.
func (*ManagementClusterGetResponse) GetBody ¶
func (r *ManagementClusterGetResponse) GetBody() (value *ManagementCluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ManagementClusterGetResponse) Header ¶
func (r *ManagementClusterGetResponse) Header() http.Header
Header returns header of the response.
func (*ManagementClusterGetResponse) Status ¶
func (r *ManagementClusterGetResponse) Status() int
Status returns the response status code.
type ManagementClusterList ¶
type ManagementClusterList struct {
// contains filtered or unexported fields
}
ManagementClusterList is a list of values of the 'management_cluster' type.
func (*ManagementClusterList) Each ¶
func (l *ManagementClusterList) Each(f func(item *ManagementCluster) 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 (*ManagementClusterList) Empty ¶
func (l *ManagementClusterList) Empty() bool
Empty returns true if the list is empty.
func (*ManagementClusterList) Get ¶
func (l *ManagementClusterList) Get(i int) *ManagementCluster
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ManagementClusterList) GetHREF ¶
func (l *ManagementClusterList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ManagementClusterList) HREF ¶
func (l *ManagementClusterList) HREF() string
HREF returns the link to the list.
func (*ManagementClusterList) Kind ¶
func (l *ManagementClusterList) Kind() string
Kind returns the name of the type of the object.
func (*ManagementClusterList) Len ¶
func (l *ManagementClusterList) Len() int
Len returns the length of the list.
func (*ManagementClusterList) Link ¶
func (l *ManagementClusterList) Link() bool
Link returns true iif this is a link.
func (*ManagementClusterList) Range ¶
func (l *ManagementClusterList) Range(f func(index int, item *ManagementCluster) 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 (*ManagementClusterList) Slice ¶
func (l *ManagementClusterList) Slice() []*ManagementCluster
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 ManagementClusterListBuilder ¶
type ManagementClusterListBuilder struct {
// contains filtered or unexported fields
}
ManagementClusterListBuilder contains the data and logic needed to build 'management_cluster' objects.
func NewManagementClusterList ¶
func NewManagementClusterList() *ManagementClusterListBuilder
NewManagementClusterList creates a new builder of 'management_cluster' objects.
func (*ManagementClusterListBuilder) Build ¶
func (b *ManagementClusterListBuilder) Build() (list *ManagementClusterList, err error)
Build creates a list of 'management_cluster' objects using the configuration stored in the builder.
func (*ManagementClusterListBuilder) Copy ¶
func (b *ManagementClusterListBuilder) Copy(list *ManagementClusterList) *ManagementClusterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ManagementClusterListBuilder) Empty ¶
func (b *ManagementClusterListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ManagementClusterListBuilder) Items ¶
func (b *ManagementClusterListBuilder) Items(values ...*ManagementClusterBuilder) *ManagementClusterListBuilder
Items sets the items of the list.
type ManagementClusterParent ¶
type ManagementClusterParent struct {
// contains filtered or unexported fields
}
ManagementClusterParent represents the values of the 'management_cluster_parent' type.
ManagementClusterParent reference settings of the cluster.
func UnmarshalManagementClusterParent ¶
func UnmarshalManagementClusterParent(source interface{}) (object *ManagementClusterParent, err error)
UnmarshalManagementClusterParent reads a value of the 'management_cluster_parent' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalManagementClusterParentList ¶
func UnmarshalManagementClusterParentList(source interface{}) (items []*ManagementClusterParent, err error)
UnmarshalManagementClusterParentList reads a list of values of the 'management_cluster_parent' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ManagementClusterParent) ClusterId ¶
func (o *ManagementClusterParent) 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.
Parent Cluster ID
func (*ManagementClusterParent) Empty ¶
func (o *ManagementClusterParent) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ManagementClusterParent) GetClusterId ¶
func (o *ManagementClusterParent) GetClusterId() (value string, ok bool)
GetClusterId returns the value of the 'cluster_id' attribute and a flag indicating if the attribute has a value.
Parent Cluster ID
func (*ManagementClusterParent) GetHref ¶
func (o *ManagementClusterParent) GetHref() (value string, ok bool)
GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.
Reference link to internal parent cluster
func (*ManagementClusterParent) GetKind ¶
func (o *ManagementClusterParent) GetKind() (value string, ok bool)
GetKind returns the value of the 'kind' attribute and a flag indicating if the attribute has a value.
Kind of internal parent cluster
func (*ManagementClusterParent) GetName ¶
func (o *ManagementClusterParent) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Parent Cluster Name
func (*ManagementClusterParent) Href ¶
func (o *ManagementClusterParent) Href() string
Href returns the value of the 'href' attribute, or the zero value of the type if the attribute doesn't have a value.
Reference link to internal parent cluster
func (*ManagementClusterParent) Kind ¶
func (o *ManagementClusterParent) Kind() string
Kind returns the value of the 'kind' attribute, or the zero value of the type if the attribute doesn't have a value.
Kind of internal parent cluster
func (*ManagementClusterParent) Name ¶
func (o *ManagementClusterParent) 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.
Parent Cluster Name
type ManagementClusterParentBuilder ¶
type ManagementClusterParentBuilder struct {
// contains filtered or unexported fields
}
ManagementClusterParentBuilder contains the data and logic needed to build 'management_cluster_parent' objects.
ManagementClusterParent reference settings of the cluster.
func NewManagementClusterParent ¶
func NewManagementClusterParent() *ManagementClusterParentBuilder
NewManagementClusterParent creates a new builder of 'management_cluster_parent' objects.
func (*ManagementClusterParentBuilder) Build ¶
func (b *ManagementClusterParentBuilder) Build() (object *ManagementClusterParent, err error)
Build creates a 'management_cluster_parent' object using the configuration stored in the builder.
func (*ManagementClusterParentBuilder) ClusterId ¶
func (b *ManagementClusterParentBuilder) ClusterId(value string) *ManagementClusterParentBuilder
ClusterId sets the value of the 'cluster_id' attribute to the given value.
func (*ManagementClusterParentBuilder) Copy ¶
func (b *ManagementClusterParentBuilder) Copy(object *ManagementClusterParent) *ManagementClusterParentBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ManagementClusterParentBuilder) Empty ¶
func (b *ManagementClusterParentBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ManagementClusterParentBuilder) Href ¶
func (b *ManagementClusterParentBuilder) Href(value string) *ManagementClusterParentBuilder
Href sets the value of the 'href' attribute to the given value.
func (*ManagementClusterParentBuilder) Kind ¶
func (b *ManagementClusterParentBuilder) Kind(value string) *ManagementClusterParentBuilder
Kind sets the value of the 'kind' attribute to the given value.
func (*ManagementClusterParentBuilder) Name ¶
func (b *ManagementClusterParentBuilder) Name(value string) *ManagementClusterParentBuilder
Name sets the value of the 'name' attribute to the given value.
type ManagementClusterParentList ¶
type ManagementClusterParentList struct {
// contains filtered or unexported fields
}
ManagementClusterParentList is a list of values of the 'management_cluster_parent' type.
func (*ManagementClusterParentList) Each ¶
func (l *ManagementClusterParentList) Each(f func(item *ManagementClusterParent) 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 (*ManagementClusterParentList) Empty ¶
func (l *ManagementClusterParentList) Empty() bool
Empty returns true if the list is empty.
func (*ManagementClusterParentList) Get ¶
func (l *ManagementClusterParentList) Get(i int) *ManagementClusterParent
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ManagementClusterParentList) Len ¶
func (l *ManagementClusterParentList) Len() int
Len returns the length of the list.
func (*ManagementClusterParentList) Range ¶
func (l *ManagementClusterParentList) Range(f func(index int, item *ManagementClusterParent) 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 (*ManagementClusterParentList) Slice ¶
func (l *ManagementClusterParentList) Slice() []*ManagementClusterParent
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 ManagementClusterParentListBuilder ¶
type ManagementClusterParentListBuilder struct {
// contains filtered or unexported fields
}
ManagementClusterParentListBuilder contains the data and logic needed to build 'management_cluster_parent' objects.
func NewManagementClusterParentList ¶
func NewManagementClusterParentList() *ManagementClusterParentListBuilder
NewManagementClusterParentList creates a new builder of 'management_cluster_parent' objects.
func (*ManagementClusterParentListBuilder) Build ¶
func (b *ManagementClusterParentListBuilder) Build() (list *ManagementClusterParentList, err error)
Build creates a list of 'management_cluster_parent' objects using the configuration stored in the builder.
func (*ManagementClusterParentListBuilder) Copy ¶
func (b *ManagementClusterParentListBuilder) Copy(list *ManagementClusterParentList) *ManagementClusterParentListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ManagementClusterParentListBuilder) Empty ¶
func (b *ManagementClusterParentListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ManagementClusterParentListBuilder) Items ¶
func (b *ManagementClusterParentListBuilder) Items(values ...*ManagementClusterParentBuilder) *ManagementClusterParentListBuilder
Items sets the items of the list.
type ManagementClusterPollRequest ¶
type ManagementClusterPollRequest struct {
// contains filtered or unexported fields
}
ManagementClusterPollRequest is the request for the Poll method.
func (*ManagementClusterPollRequest) Header ¶
func (r *ManagementClusterPollRequest) Header(name string, value interface{}) *ManagementClusterPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ManagementClusterPollRequest) Interval ¶
func (r *ManagementClusterPollRequest) Interval(value time.Duration) *ManagementClusterPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ManagementClusterPollRequest) Parameter ¶
func (r *ManagementClusterPollRequest) Parameter(name string, value interface{}) *ManagementClusterPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ManagementClusterPollRequest) Predicate ¶
func (r *ManagementClusterPollRequest) Predicate(value func(*ManagementClusterGetResponse) bool) *ManagementClusterPollRequest
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 (*ManagementClusterPollRequest) StartContext ¶
func (r *ManagementClusterPollRequest) StartContext(ctx context.Context) (response *ManagementClusterPollResponse, 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 (*ManagementClusterPollRequest) Status ¶
func (r *ManagementClusterPollRequest) Status(value int) *ManagementClusterPollRequest
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 ManagementClusterPollResponse ¶
type ManagementClusterPollResponse struct {
// contains filtered or unexported fields
}
ManagementClusterPollResponse is the response for the Poll method.
func (*ManagementClusterPollResponse) Body ¶
func (r *ManagementClusterPollResponse) Body() *ManagementCluster
Body returns the value of the 'body' parameter.
func (*ManagementClusterPollResponse) Error ¶
func (r *ManagementClusterPollResponse) Error() *errors.Error
Error returns the response error.
func (*ManagementClusterPollResponse) GetBody ¶
func (r *ManagementClusterPollResponse) GetBody() (value *ManagementCluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ManagementClusterPollResponse) Header ¶
func (r *ManagementClusterPollResponse) Header() http.Header
Header returns header of the response.
func (*ManagementClusterPollResponse) Status ¶
func (r *ManagementClusterPollResponse) Status() int
Status returns the response status code.
type ManagementClusterPostRequest ¶
type ManagementClusterPostRequest struct {
// contains filtered or unexported fields
}
ManagementClusterPostRequest is the request for the 'post' method.
func (*ManagementClusterPostRequest) Header ¶
func (r *ManagementClusterPostRequest) Header(name string, value interface{}) *ManagementClusterPostRequest
Header adds a request header.
func (*ManagementClusterPostRequest) Impersonate ¶
func (r *ManagementClusterPostRequest) Impersonate(user string) *ManagementClusterPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ManagementClusterPostRequest) Parameter ¶
func (r *ManagementClusterPostRequest) Parameter(name string, value interface{}) *ManagementClusterPostRequest
Parameter adds a query parameter.
func (*ManagementClusterPostRequest) Request ¶
func (r *ManagementClusterPostRequest) Request(value *ManagementClusterRequestPayload) *ManagementClusterPostRequest
Request sets the value of the 'request' parameter.
func (*ManagementClusterPostRequest) Send ¶
func (r *ManagementClusterPostRequest) Send() (result *ManagementClusterPostResponse, 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 (*ManagementClusterPostRequest) SendContext ¶
func (r *ManagementClusterPostRequest) SendContext(ctx context.Context) (result *ManagementClusterPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ManagementClusterPostResponse ¶
type ManagementClusterPostResponse struct {
// contains filtered or unexported fields
}
ManagementClusterPostResponse is the response for the 'post' method.
func (*ManagementClusterPostResponse) Error ¶
func (r *ManagementClusterPostResponse) Error() *errors.Error
Error returns the response error.
func (*ManagementClusterPostResponse) GetResponse ¶
func (r *ManagementClusterPostResponse) GetResponse() (value *ManagementCluster, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*ManagementClusterPostResponse) Header ¶
func (r *ManagementClusterPostResponse) Header() http.Header
Header returns header of the response.
func (*ManagementClusterPostResponse) Response ¶
func (r *ManagementClusterPostResponse) Response() *ManagementCluster
Response returns the value of the 'response' parameter.
func (*ManagementClusterPostResponse) Status ¶
func (r *ManagementClusterPostResponse) Status() int
Status returns the response status code.
type ManagementClusterRequestPayload ¶
type ManagementClusterRequestPayload struct {
// contains filtered or unexported fields
}
ManagementClusterRequestPayload represents the values of the 'management_cluster_request_payload' type.
func UnmarshalManagementClusterRequestPayload ¶
func UnmarshalManagementClusterRequestPayload(source interface{}) (object *ManagementClusterRequestPayload, err error)
UnmarshalManagementClusterRequestPayload reads a value of the 'management_cluster_request_payload' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalManagementClusterRequestPayloadList ¶
func UnmarshalManagementClusterRequestPayloadList(source interface{}) (items []*ManagementClusterRequestPayload, err error)
UnmarshalManagementClusterRequestPayloadList reads a list of values of the 'management_cluster_request_payload' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ManagementClusterRequestPayload) Empty ¶
func (o *ManagementClusterRequestPayload) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ManagementClusterRequestPayload) GetService_cluster_idService_cluster_idService_cluster_idService_cluster_idId ¶
func (o *ManagementClusterRequestPayload) GetService_cluster_idService_cluster_idService_cluster_idService_cluster_idId() (value string, ok bool)
GetService_cluster_idService_cluster_idService_cluster_idService_cluster_idId returns the value of the 'service_cluster_id_service_cluster_id_service_cluster_id_service_cluster_id_id' attribute and a flag indicating if the attribute has a value.
func (*ManagementClusterRequestPayload) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId ¶
func (o *ManagementClusterRequestPayload) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId() string
Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId returns the value of the 'service_cluster_id_service_cluster_id_service_cluster_id_service_cluster_id_id' attribute, or the zero value of the type if the attribute doesn't have a value.
type ManagementClusterRequestPayloadBuilder ¶
type ManagementClusterRequestPayloadBuilder struct {
// contains filtered or unexported fields
}
ManagementClusterRequestPayloadBuilder contains the data and logic needed to build 'management_cluster_request_payload' objects.
func NewManagementClusterRequestPayload ¶
func NewManagementClusterRequestPayload() *ManagementClusterRequestPayloadBuilder
NewManagementClusterRequestPayload creates a new builder of 'management_cluster_request_payload' objects.
func (*ManagementClusterRequestPayloadBuilder) Build ¶
func (b *ManagementClusterRequestPayloadBuilder) Build() (object *ManagementClusterRequestPayload, err error)
Build creates a 'management_cluster_request_payload' object using the configuration stored in the builder.
func (*ManagementClusterRequestPayloadBuilder) Copy ¶
func (b *ManagementClusterRequestPayloadBuilder) Copy(object *ManagementClusterRequestPayload) *ManagementClusterRequestPayloadBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ManagementClusterRequestPayloadBuilder) Empty ¶
func (b *ManagementClusterRequestPayloadBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ManagementClusterRequestPayloadBuilder) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId ¶
func (b *ManagementClusterRequestPayloadBuilder) Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId(value string) *ManagementClusterRequestPayloadBuilder
Service_cluster_idService_cluster_idService_cluster_idService_cluster_idId sets the value of the 'service_cluster_id_service_cluster_id_service_cluster_id_service_cluster_id_id' attribute to the given value.
type ManagementClusterRequestPayloadList ¶
type ManagementClusterRequestPayloadList struct {
// contains filtered or unexported fields
}
ManagementClusterRequestPayloadList is a list of values of the 'management_cluster_request_payload' type.
func (*ManagementClusterRequestPayloadList) Each ¶
func (l *ManagementClusterRequestPayloadList) Each(f func(item *ManagementClusterRequestPayload) 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 (*ManagementClusterRequestPayloadList) Empty ¶
func (l *ManagementClusterRequestPayloadList) Empty() bool
Empty returns true if the list is empty.
func (*ManagementClusterRequestPayloadList) Get ¶
func (l *ManagementClusterRequestPayloadList) Get(i int) *ManagementClusterRequestPayload
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ManagementClusterRequestPayloadList) Len ¶
func (l *ManagementClusterRequestPayloadList) Len() int
Len returns the length of the list.
func (*ManagementClusterRequestPayloadList) Range ¶
func (l *ManagementClusterRequestPayloadList) Range(f func(index int, item *ManagementClusterRequestPayload) 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 (*ManagementClusterRequestPayloadList) Slice ¶
func (l *ManagementClusterRequestPayloadList) Slice() []*ManagementClusterRequestPayload
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 ManagementClusterRequestPayloadListBuilder ¶
type ManagementClusterRequestPayloadListBuilder struct {
// contains filtered or unexported fields
}
ManagementClusterRequestPayloadListBuilder contains the data and logic needed to build 'management_cluster_request_payload' objects.
func NewManagementClusterRequestPayloadList ¶
func NewManagementClusterRequestPayloadList() *ManagementClusterRequestPayloadListBuilder
NewManagementClusterRequestPayloadList creates a new builder of 'management_cluster_request_payload' objects.
func (*ManagementClusterRequestPayloadListBuilder) Build ¶
func (b *ManagementClusterRequestPayloadListBuilder) Build() (list *ManagementClusterRequestPayloadList, err error)
Build creates a list of 'management_cluster_request_payload' objects using the configuration stored in the builder.
func (*ManagementClusterRequestPayloadListBuilder) Copy ¶
func (b *ManagementClusterRequestPayloadListBuilder) Copy(list *ManagementClusterRequestPayloadList) *ManagementClusterRequestPayloadListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ManagementClusterRequestPayloadListBuilder) Empty ¶
func (b *ManagementClusterRequestPayloadListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ManagementClusterRequestPayloadListBuilder) Items ¶
func (b *ManagementClusterRequestPayloadListBuilder) Items(values ...*ManagementClusterRequestPayloadBuilder) *ManagementClusterRequestPayloadListBuilder
Items sets the items of the list.
type ManagementClustersClient ¶
type ManagementClustersClient struct {
// contains filtered or unexported fields
}
ManagementClustersClient is the client of the 'management_clusters' resource.
Manages the collection of management clusters.
func NewManagementClustersClient ¶
func NewManagementClustersClient(transport http.RoundTripper, path string) *ManagementClustersClient
NewManagementClustersClient creates a new client for the 'management_clusters' resource using the given transport to send the requests and receive the responses.
func (*ManagementClustersClient) List ¶
func (c *ManagementClustersClient) List() *ManagementClustersListRequest
List creates a request for the 'list' method.
Retrieves the list of management clusters.
func (*ManagementClustersClient) ManagementCluster ¶
func (c *ManagementClustersClient) ManagementCluster(id string) *ManagementClusterClient
ManagementCluster returns the target 'management_cluster' resource for the given identifier.
Returns a reference to the resource that manages an specific maangement cluster.
type ManagementClustersListRequest ¶
type ManagementClustersListRequest struct {
// contains filtered or unexported fields
}
ManagementClustersListRequest is the request for the 'list' method.
func (*ManagementClustersListRequest) Header ¶
func (r *ManagementClustersListRequest) Header(name string, value interface{}) *ManagementClustersListRequest
Header adds a request header.
func (*ManagementClustersListRequest) Impersonate ¶
func (r *ManagementClustersListRequest) Impersonate(user string) *ManagementClustersListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ManagementClustersListRequest) Page ¶
func (r *ManagementClustersListRequest) Page(value int) *ManagementClustersListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ManagementClustersListRequest) Parameter ¶
func (r *ManagementClustersListRequest) Parameter(name string, value interface{}) *ManagementClustersListRequest
Parameter adds a query parameter.
func (*ManagementClustersListRequest) Send ¶
func (r *ManagementClustersListRequest) Send() (result *ManagementClustersListResponse, 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 (*ManagementClustersListRequest) SendContext ¶
func (r *ManagementClustersListRequest) SendContext(ctx context.Context) (result *ManagementClustersListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ManagementClustersListRequest) Size ¶
func (r *ManagementClustersListRequest) Size(value int) *ManagementClustersListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ManagementClustersListResponse ¶
type ManagementClustersListResponse struct {
// contains filtered or unexported fields
}
ManagementClustersListResponse is the response for the 'list' method.
func (*ManagementClustersListResponse) Error ¶
func (r *ManagementClustersListResponse) Error() *errors.Error
Error returns the response error.
func (*ManagementClustersListResponse) GetItems ¶
func (r *ManagementClustersListResponse) GetItems() (value *ManagementClusterList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved a list of management clusters.
func (*ManagementClustersListResponse) GetPage ¶
func (r *ManagementClustersListResponse) 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 (*ManagementClustersListResponse) GetSize ¶
func (r *ManagementClustersListResponse) 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 (*ManagementClustersListResponse) GetTotal ¶
func (r *ManagementClustersListResponse) 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 (*ManagementClustersListResponse) Header ¶
func (r *ManagementClustersListResponse) Header() http.Header
Header returns header of the response.
func (*ManagementClustersListResponse) Items ¶
func (r *ManagementClustersListResponse) Items() *ManagementClusterList
Items returns the value of the 'items' parameter.
Retrieved a list of management clusters.
func (*ManagementClustersListResponse) Page ¶
func (r *ManagementClustersListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ManagementClustersListResponse) Size ¶
func (r *ManagementClustersListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ManagementClustersListResponse) Status ¶
func (r *ManagementClustersListResponse) Status() int
Status returns the response status code.
func (*ManagementClustersListResponse) Total ¶
func (r *ManagementClustersListResponse) 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 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 ProvisionShardReference ¶ added in v0.1.349
type ProvisionShardReference struct {
// contains filtered or unexported fields
}
ProvisionShardReference represents the values of the 'provision_shard_reference' type.
Provision Shard Reference of the cluster.
func UnmarshalProvisionShardReference ¶ added in v0.1.349
func UnmarshalProvisionShardReference(source interface{}) (object *ProvisionShardReference, err error)
UnmarshalProvisionShardReference reads a value of the 'provision_shard_reference' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalProvisionShardReferenceList ¶ added in v0.1.349
func UnmarshalProvisionShardReferenceList(source interface{}) (items []*ProvisionShardReference, err error)
UnmarshalProvisionShardReferenceList reads a list of values of the 'provision_shard_reference' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ProvisionShardReference) Empty ¶ added in v0.1.349
func (o *ProvisionShardReference) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ProvisionShardReference) GetHref ¶ added in v0.1.349
func (o *ProvisionShardReference) GetHref() (value string, ok bool)
GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.
link to the Provision Shards associated to the cluster
func (*ProvisionShardReference) GetId ¶ added in v0.1.349
func (o *ProvisionShardReference) GetId() (value string, ok bool)
GetId returns the value of the 'id' attribute and a flag indicating if the attribute has a value.
Id of the Provision Shards associated to the Ocluster
func (*ProvisionShardReference) Href ¶ added in v0.1.349
func (o *ProvisionShardReference) Href() string
Href returns the value of the 'href' attribute, or the zero value of the type if the attribute doesn't have a value.
link to the Provision Shards associated to the cluster
func (*ProvisionShardReference) Id ¶ added in v0.1.349
func (o *ProvisionShardReference) Id() string
Id returns the value of the 'id' attribute, or the zero value of the type if the attribute doesn't have a value.
Id of the Provision Shards associated to the Ocluster
type ProvisionShardReferenceBuilder ¶ added in v0.1.349
type ProvisionShardReferenceBuilder struct {
// contains filtered or unexported fields
}
ProvisionShardReferenceBuilder contains the data and logic needed to build 'provision_shard_reference' objects.
Provision Shard Reference of the cluster.
func NewProvisionShardReference ¶ added in v0.1.349
func NewProvisionShardReference() *ProvisionShardReferenceBuilder
NewProvisionShardReference creates a new builder of 'provision_shard_reference' objects.
func (*ProvisionShardReferenceBuilder) Build ¶ added in v0.1.349
func (b *ProvisionShardReferenceBuilder) Build() (object *ProvisionShardReference, err error)
Build creates a 'provision_shard_reference' object using the configuration stored in the builder.
func (*ProvisionShardReferenceBuilder) Copy ¶ added in v0.1.349
func (b *ProvisionShardReferenceBuilder) Copy(object *ProvisionShardReference) *ProvisionShardReferenceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ProvisionShardReferenceBuilder) Empty ¶ added in v0.1.349
func (b *ProvisionShardReferenceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ProvisionShardReferenceBuilder) Href ¶ added in v0.1.349
func (b *ProvisionShardReferenceBuilder) Href(value string) *ProvisionShardReferenceBuilder
Href sets the value of the 'href' attribute to the given value.
func (*ProvisionShardReferenceBuilder) Id ¶ added in v0.1.349
func (b *ProvisionShardReferenceBuilder) Id(value string) *ProvisionShardReferenceBuilder
Id sets the value of the 'id' attribute to the given value.
type ProvisionShardReferenceList ¶ added in v0.1.349
type ProvisionShardReferenceList struct {
// contains filtered or unexported fields
}
ProvisionShardReferenceList is a list of values of the 'provision_shard_reference' type.
func (*ProvisionShardReferenceList) Each ¶ added in v0.1.349
func (l *ProvisionShardReferenceList) Each(f func(item *ProvisionShardReference) 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 (*ProvisionShardReferenceList) Empty ¶ added in v0.1.349
func (l *ProvisionShardReferenceList) Empty() bool
Empty returns true if the list is empty.
func (*ProvisionShardReferenceList) Get ¶ added in v0.1.349
func (l *ProvisionShardReferenceList) Get(i int) *ProvisionShardReference
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ProvisionShardReferenceList) Len ¶ added in v0.1.349
func (l *ProvisionShardReferenceList) Len() int
Len returns the length of the list.
func (*ProvisionShardReferenceList) Range ¶ added in v0.1.349
func (l *ProvisionShardReferenceList) Range(f func(index int, item *ProvisionShardReference) 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 (*ProvisionShardReferenceList) Slice ¶ added in v0.1.349
func (l *ProvisionShardReferenceList) Slice() []*ProvisionShardReference
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 ProvisionShardReferenceListBuilder ¶ added in v0.1.349
type ProvisionShardReferenceListBuilder struct {
// contains filtered or unexported fields
}
ProvisionShardReferenceListBuilder contains the data and logic needed to build 'provision_shard_reference' objects.
func NewProvisionShardReferenceList ¶ added in v0.1.349
func NewProvisionShardReferenceList() *ProvisionShardReferenceListBuilder
NewProvisionShardReferenceList creates a new builder of 'provision_shard_reference' objects.
func (*ProvisionShardReferenceListBuilder) Build ¶ added in v0.1.349
func (b *ProvisionShardReferenceListBuilder) Build() (list *ProvisionShardReferenceList, err error)
Build creates a list of 'provision_shard_reference' objects using the configuration stored in the builder.
func (*ProvisionShardReferenceListBuilder) Copy ¶ added in v0.1.349
func (b *ProvisionShardReferenceListBuilder) Copy(list *ProvisionShardReferenceList) *ProvisionShardReferenceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ProvisionShardReferenceListBuilder) Empty ¶ added in v0.1.349
func (b *ProvisionShardReferenceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ProvisionShardReferenceListBuilder) Items ¶ added in v0.1.349
func (b *ProvisionShardReferenceListBuilder) Items(values ...*ProvisionShardReferenceBuilder) *ProvisionShardReferenceListBuilder
Items sets the items of the list.
type ServiceCluster ¶
type ServiceCluster struct {
// contains filtered or unexported fields
}
ServiceCluster represents the values of the 'service_cluster' type.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
```json
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
```
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
```json
{ "cloud_provider": { "id": "123", } }
```
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func UnmarshalServiceCluster ¶
func UnmarshalServiceCluster(source interface{}) (object *ServiceCluster, err error)
UnmarshalServiceCluster reads a value of the 'service_cluster' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalServiceClusterList ¶
func UnmarshalServiceClusterList(source interface{}) (items []*ServiceCluster, err error)
UnmarshalServiceClusterList reads a list of values of the 'service_cluster' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ServiceCluster) CloudProvider ¶
func (o *ServiceCluster) CloudProvider() string
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
Cloud provider where the cluster is installed.
func (*ServiceCluster) ClusterManagementReference ¶
func (o *ServiceCluster) ClusterManagementReference() *ClusterManagementReference
ClusterManagementReference returns the value of the 'cluster_management_reference' attribute, or the zero value of the type if the attribute doesn't have a value.
Cluster mgmt reference
func (*ServiceCluster) DNS ¶
func (o *ServiceCluster) DNS() *DNS
DNS returns the value of the 'DNS' attribute, or the zero value of the type if the attribute doesn't have a value.
DNS settings of the cluster.
func (*ServiceCluster) Empty ¶
func (o *ServiceCluster) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ServiceCluster) GetCloudProvider ¶
func (o *ServiceCluster) GetCloudProvider() (value string, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
Cloud provider where the cluster is installed.
func (*ServiceCluster) GetClusterManagementReference ¶
func (o *ServiceCluster) GetClusterManagementReference() (value *ClusterManagementReference, ok bool)
GetClusterManagementReference returns the value of the 'cluster_management_reference' attribute and a flag indicating if the attribute has a value.
Cluster mgmt reference
func (*ServiceCluster) GetDNS ¶
func (o *ServiceCluster) GetDNS() (value *DNS, ok bool)
GetDNS returns the value of the 'DNS' attribute and a flag indicating if the attribute has a value.
DNS settings of the cluster.
func (*ServiceCluster) GetHREF ¶
func (o *ServiceCluster) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ServiceCluster) GetID ¶
func (o *ServiceCluster) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ServiceCluster) GetLabels ¶ added in v0.1.349
func (o *ServiceCluster) GetLabels() (value []*Label, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
Labels on service cluster
func (*ServiceCluster) GetName ¶
func (o *ServiceCluster) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Cluster name
func (*ServiceCluster) GetProvisionShardReference ¶ added in v0.1.349
func (o *ServiceCluster) GetProvisionShardReference() (value *ProvisionShardReference, ok bool)
GetProvisionShardReference returns the value of the 'provision_shard_reference' attribute and a flag indicating if the attribute has a value.
Provision shard reference for the service cluster
func (*ServiceCluster) GetRegion ¶
func (o *ServiceCluster) GetRegion() (value string, ok bool)
GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.
Cloud provider region where the cluster is installed.
func (*ServiceCluster) GetSector ¶ added in v0.1.345
func (o *ServiceCluster) GetSector() (value string, ok bool)
GetSector returns the value of the 'sector' attribute and a flag indicating if the attribute has a value.
Sector of cluster
func (*ServiceCluster) GetStatus ¶
func (o *ServiceCluster) 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 cluster
func (*ServiceCluster) HREF ¶
func (o *ServiceCluster) HREF() string
HREF returns the link to the object.
func (*ServiceCluster) ID ¶
func (o *ServiceCluster) ID() string
ID returns the identifier of the object.
func (*ServiceCluster) Kind ¶
func (o *ServiceCluster) Kind() string
Kind returns the name of the type of the object.
func (*ServiceCluster) Labels ¶ added in v0.1.349
func (o *ServiceCluster) 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.
Labels on service cluster
func (*ServiceCluster) Link ¶
func (o *ServiceCluster) Link() bool
Link returns true iif this is a link.
func (*ServiceCluster) Name ¶
func (o *ServiceCluster) 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.
Cluster name
func (*ServiceCluster) ProvisionShardReference ¶ added in v0.1.349
func (o *ServiceCluster) ProvisionShardReference() *ProvisionShardReference
ProvisionShardReference returns the value of the 'provision_shard_reference' attribute, or the zero value of the type if the attribute doesn't have a value.
Provision shard reference for the service cluster
func (*ServiceCluster) Region ¶
func (o *ServiceCluster) Region() string
Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.
Cloud provider region where the cluster is installed.
func (*ServiceCluster) Sector ¶ added in v0.1.345
func (o *ServiceCluster) Sector() string
Sector returns the value of the 'sector' attribute, or the zero value of the type if the attribute doesn't have a value.
Sector of cluster
func (*ServiceCluster) Status ¶
func (o *ServiceCluster) 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 cluster
type ServiceClusterBuilder ¶
type ServiceClusterBuilder struct {
// contains filtered or unexported fields
}
ServiceClusterBuilder contains the data and logic needed to build 'service_cluster' objects.
Definition of an _OpenShift_ cluster.
The `cloud_provider` attribute is a reference to the cloud provider. When a cluster is retrieved it will be a link to the cloud provider, containing only the kind, id and href attributes:
```json
{ "cloud_provider": { "kind": "CloudProviderLink", "id": "123", "href": "/api/clusters_mgmt/v1/cloud_providers/123" } }
```
When a cluster is created this is optional, and if used it should contain the identifier of the cloud provider to use:
```json
{ "cloud_provider": { "id": "123", } }
```
If not included, then the cluster will be created using the default cloud provider, which is currently Amazon Web Services.
The region attribute is mandatory when a cluster is created.
The `aws.access_key_id`, `aws.secret_access_key` and `dns.base_domain` attributes are mandatory when creation a cluster with your own Amazon Web Services account.
func NewServiceCluster ¶
func NewServiceCluster() *ServiceClusterBuilder
NewServiceCluster creates a new builder of 'service_cluster' objects.
func (*ServiceClusterBuilder) Build ¶
func (b *ServiceClusterBuilder) Build() (object *ServiceCluster, err error)
Build creates a 'service_cluster' object using the configuration stored in the builder.
func (*ServiceClusterBuilder) CloudProvider ¶
func (b *ServiceClusterBuilder) CloudProvider(value string) *ServiceClusterBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
func (*ServiceClusterBuilder) ClusterManagementReference ¶
func (b *ServiceClusterBuilder) ClusterManagementReference(value *ClusterManagementReferenceBuilder) *ServiceClusterBuilder
ClusterManagementReference sets the value of the 'cluster_management_reference' attribute to the given value.
Cluster Mgmt reference settings of the cluster.
func (*ServiceClusterBuilder) Copy ¶
func (b *ServiceClusterBuilder) Copy(object *ServiceCluster) *ServiceClusterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ServiceClusterBuilder) DNS ¶
func (b *ServiceClusterBuilder) DNS(value *DNSBuilder) *ServiceClusterBuilder
DNS sets the value of the 'DNS' attribute to the given value.
DNS settings of the cluster.
func (*ServiceClusterBuilder) Empty ¶
func (b *ServiceClusterBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ServiceClusterBuilder) HREF ¶
func (b *ServiceClusterBuilder) HREF(value string) *ServiceClusterBuilder
HREF sets the link to the object.
func (*ServiceClusterBuilder) ID ¶
func (b *ServiceClusterBuilder) ID(value string) *ServiceClusterBuilder
ID sets the identifier of the object.
func (*ServiceClusterBuilder) Labels ¶ added in v0.1.349
func (b *ServiceClusterBuilder) Labels(values ...*LabelBuilder) *ServiceClusterBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*ServiceClusterBuilder) Link ¶
func (b *ServiceClusterBuilder) Link(value bool) *ServiceClusterBuilder
Link sets the flag that indicates if this is a link.
func (*ServiceClusterBuilder) Name ¶
func (b *ServiceClusterBuilder) Name(value string) *ServiceClusterBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ServiceClusterBuilder) ProvisionShardReference ¶ added in v0.1.349
func (b *ServiceClusterBuilder) ProvisionShardReference(value *ProvisionShardReferenceBuilder) *ServiceClusterBuilder
ProvisionShardReference sets the value of the 'provision_shard_reference' attribute to the given value.
Provision Shard Reference of the cluster.
func (*ServiceClusterBuilder) Region ¶
func (b *ServiceClusterBuilder) Region(value string) *ServiceClusterBuilder
Region sets the value of the 'region' attribute to the given value.
func (*ServiceClusterBuilder) Sector ¶ added in v0.1.345
func (b *ServiceClusterBuilder) Sector(value string) *ServiceClusterBuilder
Sector sets the value of the 'sector' attribute to the given value.
func (*ServiceClusterBuilder) Status ¶
func (b *ServiceClusterBuilder) Status(value string) *ServiceClusterBuilder
Status sets the value of the 'status' attribute to the given value.
type ServiceClusterClient ¶
type ServiceClusterClient struct {
// contains filtered or unexported fields
}
ServiceClusterClient is the client of the 'service_cluster' resource.
Manages a specific service cluster.
func NewServiceClusterClient ¶
func NewServiceClusterClient(transport http.RoundTripper, path string) *ServiceClusterClient
NewServiceClusterClient creates a new client for the 'service_cluster' resource using the given transport to send the requests and receive the responses.
func (*ServiceClusterClient) Delete ¶
func (c *ServiceClusterClient) Delete() *ServiceClusterDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the service cluster.
func (*ServiceClusterClient) Get ¶
func (c *ServiceClusterClient) Get() *ServiceClusterGetRequest
Get creates a request for the 'get' method.
Retrieves the details of the cluster.
func (*ServiceClusterClient) Labels ¶ added in v0.1.345
func (c *ServiceClusterClient) Labels() *LabelsClient
Labels returns the target 'labels' resource.
Reference to the resource that manages the collection of label
func (*ServiceClusterClient) Poll ¶
func (c *ServiceClusterClient) Poll() *ServiceClusterPollRequest
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 (*ServiceClusterClient) Post ¶
func (c *ServiceClusterClient) Post() *ServiceClusterPostRequest
Post creates a request for the 'post' method.
Updates the service cluster.
type ServiceClusterDeleteRequest ¶
type ServiceClusterDeleteRequest struct {
// contains filtered or unexported fields
}
ServiceClusterDeleteRequest is the request for the 'delete' method.
func (*ServiceClusterDeleteRequest) Header ¶
func (r *ServiceClusterDeleteRequest) Header(name string, value interface{}) *ServiceClusterDeleteRequest
Header adds a request header.
func (*ServiceClusterDeleteRequest) Impersonate ¶
func (r *ServiceClusterDeleteRequest) Impersonate(user string) *ServiceClusterDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceClusterDeleteRequest) Parameter ¶
func (r *ServiceClusterDeleteRequest) Parameter(name string, value interface{}) *ServiceClusterDeleteRequest
Parameter adds a query parameter.
func (*ServiceClusterDeleteRequest) Send ¶
func (r *ServiceClusterDeleteRequest) Send() (result *ServiceClusterDeleteResponse, 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 (*ServiceClusterDeleteRequest) SendContext ¶
func (r *ServiceClusterDeleteRequest) SendContext(ctx context.Context) (result *ServiceClusterDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceClusterDeleteResponse ¶
type ServiceClusterDeleteResponse struct {
// contains filtered or unexported fields
}
ServiceClusterDeleteResponse is the response for the 'delete' method.
func (*ServiceClusterDeleteResponse) Error ¶
func (r *ServiceClusterDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceClusterDeleteResponse) Header ¶
func (r *ServiceClusterDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ServiceClusterDeleteResponse) Status ¶
func (r *ServiceClusterDeleteResponse) Status() int
Status returns the response status code.
type ServiceClusterGetRequest ¶
type ServiceClusterGetRequest struct {
// contains filtered or unexported fields
}
ServiceClusterGetRequest is the request for the 'get' method.
func (*ServiceClusterGetRequest) Header ¶
func (r *ServiceClusterGetRequest) Header(name string, value interface{}) *ServiceClusterGetRequest
Header adds a request header.
func (*ServiceClusterGetRequest) Impersonate ¶
func (r *ServiceClusterGetRequest) Impersonate(user string) *ServiceClusterGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceClusterGetRequest) Parameter ¶
func (r *ServiceClusterGetRequest) Parameter(name string, value interface{}) *ServiceClusterGetRequest
Parameter adds a query parameter.
func (*ServiceClusterGetRequest) Send ¶
func (r *ServiceClusterGetRequest) Send() (result *ServiceClusterGetResponse, 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 (*ServiceClusterGetRequest) SendContext ¶
func (r *ServiceClusterGetRequest) SendContext(ctx context.Context) (result *ServiceClusterGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceClusterGetResponse ¶
type ServiceClusterGetResponse struct {
// contains filtered or unexported fields
}
ServiceClusterGetResponse is the response for the 'get' method.
func (*ServiceClusterGetResponse) Body ¶
func (r *ServiceClusterGetResponse) Body() *ServiceCluster
Body returns the value of the 'body' parameter.
func (*ServiceClusterGetResponse) Error ¶
func (r *ServiceClusterGetResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceClusterGetResponse) GetBody ¶
func (r *ServiceClusterGetResponse) GetBody() (value *ServiceCluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceClusterGetResponse) Header ¶
func (r *ServiceClusterGetResponse) Header() http.Header
Header returns header of the response.
func (*ServiceClusterGetResponse) Status ¶
func (r *ServiceClusterGetResponse) Status() int
Status returns the response status code.
type ServiceClusterList ¶
type ServiceClusterList struct {
// contains filtered or unexported fields
}
ServiceClusterList is a list of values of the 'service_cluster' type.
func (*ServiceClusterList) Each ¶
func (l *ServiceClusterList) Each(f func(item *ServiceCluster) 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 (*ServiceClusterList) Empty ¶
func (l *ServiceClusterList) Empty() bool
Empty returns true if the list is empty.
func (*ServiceClusterList) Get ¶
func (l *ServiceClusterList) Get(i int) *ServiceCluster
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ServiceClusterList) GetHREF ¶
func (l *ServiceClusterList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ServiceClusterList) HREF ¶
func (l *ServiceClusterList) HREF() string
HREF returns the link to the list.
func (*ServiceClusterList) Kind ¶
func (l *ServiceClusterList) Kind() string
Kind returns the name of the type of the object.
func (*ServiceClusterList) Len ¶
func (l *ServiceClusterList) Len() int
Len returns the length of the list.
func (*ServiceClusterList) Link ¶
func (l *ServiceClusterList) Link() bool
Link returns true iif this is a link.
func (*ServiceClusterList) Range ¶
func (l *ServiceClusterList) Range(f func(index int, item *ServiceCluster) 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 (*ServiceClusterList) Slice ¶
func (l *ServiceClusterList) Slice() []*ServiceCluster
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 ServiceClusterListBuilder ¶
type ServiceClusterListBuilder struct {
// contains filtered or unexported fields
}
ServiceClusterListBuilder contains the data and logic needed to build 'service_cluster' objects.
func NewServiceClusterList ¶
func NewServiceClusterList() *ServiceClusterListBuilder
NewServiceClusterList creates a new builder of 'service_cluster' objects.
func (*ServiceClusterListBuilder) Build ¶
func (b *ServiceClusterListBuilder) Build() (list *ServiceClusterList, err error)
Build creates a list of 'service_cluster' objects using the configuration stored in the builder.
func (*ServiceClusterListBuilder) Copy ¶
func (b *ServiceClusterListBuilder) Copy(list *ServiceClusterList) *ServiceClusterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ServiceClusterListBuilder) Empty ¶
func (b *ServiceClusterListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ServiceClusterListBuilder) Items ¶
func (b *ServiceClusterListBuilder) Items(values ...*ServiceClusterBuilder) *ServiceClusterListBuilder
Items sets the items of the list.
type ServiceClusterPollRequest ¶
type ServiceClusterPollRequest struct {
// contains filtered or unexported fields
}
ServiceClusterPollRequest is the request for the Poll method.
func (*ServiceClusterPollRequest) Header ¶
func (r *ServiceClusterPollRequest) Header(name string, value interface{}) *ServiceClusterPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ServiceClusterPollRequest) Interval ¶
func (r *ServiceClusterPollRequest) Interval(value time.Duration) *ServiceClusterPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ServiceClusterPollRequest) Parameter ¶
func (r *ServiceClusterPollRequest) Parameter(name string, value interface{}) *ServiceClusterPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ServiceClusterPollRequest) Predicate ¶
func (r *ServiceClusterPollRequest) Predicate(value func(*ServiceClusterGetResponse) bool) *ServiceClusterPollRequest
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 (*ServiceClusterPollRequest) StartContext ¶
func (r *ServiceClusterPollRequest) StartContext(ctx context.Context) (response *ServiceClusterPollResponse, 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 (*ServiceClusterPollRequest) Status ¶
func (r *ServiceClusterPollRequest) Status(value int) *ServiceClusterPollRequest
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 ServiceClusterPollResponse ¶
type ServiceClusterPollResponse struct {
// contains filtered or unexported fields
}
ServiceClusterPollResponse is the response for the Poll method.
func (*ServiceClusterPollResponse) Body ¶
func (r *ServiceClusterPollResponse) Body() *ServiceCluster
Body returns the value of the 'body' parameter.
func (*ServiceClusterPollResponse) Error ¶
func (r *ServiceClusterPollResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceClusterPollResponse) GetBody ¶
func (r *ServiceClusterPollResponse) GetBody() (value *ServiceCluster, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceClusterPollResponse) Header ¶
func (r *ServiceClusterPollResponse) Header() http.Header
Header returns header of the response.
func (*ServiceClusterPollResponse) Status ¶
func (r *ServiceClusterPollResponse) Status() int
Status returns the response status code.
type ServiceClusterPostRequest ¶
type ServiceClusterPostRequest struct {
// contains filtered or unexported fields
}
ServiceClusterPostRequest is the request for the 'post' method.
func (*ServiceClusterPostRequest) Header ¶
func (r *ServiceClusterPostRequest) Header(name string, value interface{}) *ServiceClusterPostRequest
Header adds a request header.
func (*ServiceClusterPostRequest) Impersonate ¶
func (r *ServiceClusterPostRequest) Impersonate(user string) *ServiceClusterPostRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceClusterPostRequest) Parameter ¶
func (r *ServiceClusterPostRequest) Parameter(name string, value interface{}) *ServiceClusterPostRequest
Parameter adds a query parameter.
func (*ServiceClusterPostRequest) Request ¶
func (r *ServiceClusterPostRequest) Request(value *ServiceClusterRequestPayload) *ServiceClusterPostRequest
Request sets the value of the 'request' parameter.
func (*ServiceClusterPostRequest) Send ¶
func (r *ServiceClusterPostRequest) Send() (result *ServiceClusterPostResponse, 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 (*ServiceClusterPostRequest) SendContext ¶
func (r *ServiceClusterPostRequest) SendContext(ctx context.Context) (result *ServiceClusterPostResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceClusterPostResponse ¶
type ServiceClusterPostResponse struct {
// contains filtered or unexported fields
}
ServiceClusterPostResponse is the response for the 'post' method.
func (*ServiceClusterPostResponse) Error ¶
func (r *ServiceClusterPostResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceClusterPostResponse) GetResponse ¶
func (r *ServiceClusterPostResponse) GetResponse() (value *ServiceCluster, ok bool)
GetResponse returns the value of the 'response' parameter and a flag indicating if the parameter has a value.
func (*ServiceClusterPostResponse) Header ¶
func (r *ServiceClusterPostResponse) Header() http.Header
Header returns header of the response.
func (*ServiceClusterPostResponse) Response ¶
func (r *ServiceClusterPostResponse) Response() *ServiceCluster
Response returns the value of the 'response' parameter.
func (*ServiceClusterPostResponse) Status ¶
func (r *ServiceClusterPostResponse) Status() int
Status returns the response status code.
type ServiceClusterRequestPayload ¶
type ServiceClusterRequestPayload struct {
// contains filtered or unexported fields
}
ServiceClusterRequestPayload represents the values of the 'service_cluster_request_payload' type.
func UnmarshalServiceClusterRequestPayload ¶
func UnmarshalServiceClusterRequestPayload(source interface{}) (object *ServiceClusterRequestPayload, err error)
UnmarshalServiceClusterRequestPayload reads a value of the 'service_cluster_request_payload' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalServiceClusterRequestPayloadList ¶
func UnmarshalServiceClusterRequestPayloadList(source interface{}) (items []*ServiceClusterRequestPayload, err error)
UnmarshalServiceClusterRequestPayloadList reads a list of values of the 'service_cluster_request_payload' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ServiceClusterRequestPayload) CloudProvider ¶
func (o *ServiceClusterRequestPayload) CloudProvider() string
CloudProvider returns the value of the 'cloud_provider' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ServiceClusterRequestPayload) Empty ¶
func (o *ServiceClusterRequestPayload) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ServiceClusterRequestPayload) GetCloudProvider ¶
func (o *ServiceClusterRequestPayload) GetCloudProvider() (value string, ok bool)
GetCloudProvider returns the value of the 'cloud_provider' attribute and a flag indicating if the attribute has a value.
func (*ServiceClusterRequestPayload) GetLabels ¶ added in v0.1.349
func (o *ServiceClusterRequestPayload) GetLabels() (value []*LabelRequestPayload, ok bool)
GetLabels returns the value of the 'labels' attribute and a flag indicating if the attribute has a value.
func (*ServiceClusterRequestPayload) GetRegion ¶
func (o *ServiceClusterRequestPayload) GetRegion() (value string, ok bool)
GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.
func (*ServiceClusterRequestPayload) Labels ¶ added in v0.1.349
func (o *ServiceClusterRequestPayload) Labels() []*LabelRequestPayload
Labels returns the value of the 'labels' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ServiceClusterRequestPayload) Region ¶
func (o *ServiceClusterRequestPayload) Region() string
Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.
type ServiceClusterRequestPayloadBuilder ¶
type ServiceClusterRequestPayloadBuilder struct {
// contains filtered or unexported fields
}
ServiceClusterRequestPayloadBuilder contains the data and logic needed to build 'service_cluster_request_payload' objects.
func NewServiceClusterRequestPayload ¶
func NewServiceClusterRequestPayload() *ServiceClusterRequestPayloadBuilder
NewServiceClusterRequestPayload creates a new builder of 'service_cluster_request_payload' objects.
func (*ServiceClusterRequestPayloadBuilder) Build ¶
func (b *ServiceClusterRequestPayloadBuilder) Build() (object *ServiceClusterRequestPayload, err error)
Build creates a 'service_cluster_request_payload' object using the configuration stored in the builder.
func (*ServiceClusterRequestPayloadBuilder) CloudProvider ¶
func (b *ServiceClusterRequestPayloadBuilder) CloudProvider(value string) *ServiceClusterRequestPayloadBuilder
CloudProvider sets the value of the 'cloud_provider' attribute to the given value.
func (*ServiceClusterRequestPayloadBuilder) Copy ¶
func (b *ServiceClusterRequestPayloadBuilder) Copy(object *ServiceClusterRequestPayload) *ServiceClusterRequestPayloadBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ServiceClusterRequestPayloadBuilder) Empty ¶
func (b *ServiceClusterRequestPayloadBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ServiceClusterRequestPayloadBuilder) Labels ¶ added in v0.1.349
func (b *ServiceClusterRequestPayloadBuilder) Labels(values ...*LabelRequestPayloadBuilder) *ServiceClusterRequestPayloadBuilder
Labels sets the value of the 'labels' attribute to the given values.
func (*ServiceClusterRequestPayloadBuilder) Region ¶
func (b *ServiceClusterRequestPayloadBuilder) Region(value string) *ServiceClusterRequestPayloadBuilder
Region sets the value of the 'region' attribute to the given value.
type ServiceClusterRequestPayloadList ¶
type ServiceClusterRequestPayloadList struct {
// contains filtered or unexported fields
}
ServiceClusterRequestPayloadList is a list of values of the 'service_cluster_request_payload' type.
func (*ServiceClusterRequestPayloadList) Each ¶
func (l *ServiceClusterRequestPayloadList) Each(f func(item *ServiceClusterRequestPayload) 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 (*ServiceClusterRequestPayloadList) Empty ¶
func (l *ServiceClusterRequestPayloadList) Empty() bool
Empty returns true if the list is empty.
func (*ServiceClusterRequestPayloadList) Get ¶
func (l *ServiceClusterRequestPayloadList) Get(i int) *ServiceClusterRequestPayload
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ServiceClusterRequestPayloadList) Len ¶
func (l *ServiceClusterRequestPayloadList) Len() int
Len returns the length of the list.
func (*ServiceClusterRequestPayloadList) Range ¶
func (l *ServiceClusterRequestPayloadList) Range(f func(index int, item *ServiceClusterRequestPayload) 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 (*ServiceClusterRequestPayloadList) Slice ¶
func (l *ServiceClusterRequestPayloadList) Slice() []*ServiceClusterRequestPayload
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 ServiceClusterRequestPayloadListBuilder ¶
type ServiceClusterRequestPayloadListBuilder struct {
// contains filtered or unexported fields
}
ServiceClusterRequestPayloadListBuilder contains the data and logic needed to build 'service_cluster_request_payload' objects.
func NewServiceClusterRequestPayloadList ¶
func NewServiceClusterRequestPayloadList() *ServiceClusterRequestPayloadListBuilder
NewServiceClusterRequestPayloadList creates a new builder of 'service_cluster_request_payload' objects.
func (*ServiceClusterRequestPayloadListBuilder) Build ¶
func (b *ServiceClusterRequestPayloadListBuilder) Build() (list *ServiceClusterRequestPayloadList, err error)
Build creates a list of 'service_cluster_request_payload' objects using the configuration stored in the builder.
func (*ServiceClusterRequestPayloadListBuilder) Copy ¶
func (b *ServiceClusterRequestPayloadListBuilder) Copy(list *ServiceClusterRequestPayloadList) *ServiceClusterRequestPayloadListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ServiceClusterRequestPayloadListBuilder) Empty ¶
func (b *ServiceClusterRequestPayloadListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ServiceClusterRequestPayloadListBuilder) Items ¶
func (b *ServiceClusterRequestPayloadListBuilder) Items(values ...*ServiceClusterRequestPayloadBuilder) *ServiceClusterRequestPayloadListBuilder
Items sets the items of the list.
type ServiceClustersClient ¶
type ServiceClustersClient struct {
// contains filtered or unexported fields
}
ServiceClustersClient is the client of the 'service_clusters' resource.
Manages the collection of service clusters.
func NewServiceClustersClient ¶
func NewServiceClustersClient(transport http.RoundTripper, path string) *ServiceClustersClient
NewServiceClustersClient creates a new client for the 'service_clusters' resource using the given transport to send the requests and receive the responses.
func (*ServiceClustersClient) List ¶
func (c *ServiceClustersClient) List() *ServiceClustersListRequest
List creates a request for the 'list' method.
Retrieves the list of service clusters.
func (*ServiceClustersClient) ServiceCluster ¶
func (c *ServiceClustersClient) ServiceCluster(id string) *ServiceClusterClient
ServiceCluster returns the target 'service_cluster' resource for the given identifier.
Returns a reference to the resource that manages a specific service cluster.
type ServiceClustersListRequest ¶
type ServiceClustersListRequest struct {
// contains filtered or unexported fields
}
ServiceClustersListRequest is the request for the 'list' method.
func (*ServiceClustersListRequest) Header ¶
func (r *ServiceClustersListRequest) Header(name string, value interface{}) *ServiceClustersListRequest
Header adds a request header.
func (*ServiceClustersListRequest) Impersonate ¶
func (r *ServiceClustersListRequest) Impersonate(user string) *ServiceClustersListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceClustersListRequest) Page ¶
func (r *ServiceClustersListRequest) Page(value int) *ServiceClustersListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ServiceClustersListRequest) Parameter ¶
func (r *ServiceClustersListRequest) Parameter(name string, value interface{}) *ServiceClustersListRequest
Parameter adds a query parameter.
func (*ServiceClustersListRequest) Send ¶
func (r *ServiceClustersListRequest) Send() (result *ServiceClustersListResponse, 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 (*ServiceClustersListRequest) SendContext ¶
func (r *ServiceClustersListRequest) SendContext(ctx context.Context) (result *ServiceClustersListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ServiceClustersListRequest) Size ¶
func (r *ServiceClustersListRequest) Size(value int) *ServiceClustersListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ServiceClustersListResponse ¶
type ServiceClustersListResponse struct {
// contains filtered or unexported fields
}
ServiceClustersListResponse is the response for the 'list' method.
func (*ServiceClustersListResponse) Error ¶
func (r *ServiceClustersListResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceClustersListResponse) GetItems ¶
func (r *ServiceClustersListResponse) GetItems() (value *ServiceClusterList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved a list of service clusters.
func (*ServiceClustersListResponse) GetPage ¶
func (r *ServiceClustersListResponse) 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 (*ServiceClustersListResponse) GetSize ¶
func (r *ServiceClustersListResponse) 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 (*ServiceClustersListResponse) GetTotal ¶
func (r *ServiceClustersListResponse) 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 (*ServiceClustersListResponse) Header ¶
func (r *ServiceClustersListResponse) Header() http.Header
Header returns header of the response.
func (*ServiceClustersListResponse) Items ¶
func (r *ServiceClustersListResponse) Items() *ServiceClusterList
Items returns the value of the 'items' parameter.
Retrieved a list of service clusters.
func (*ServiceClustersListResponse) Page ¶
func (r *ServiceClustersListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ServiceClustersListResponse) Size ¶
func (r *ServiceClustersListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ServiceClustersListResponse) Status ¶
func (r *ServiceClustersListResponse) Status() int
Status returns the response status code.
func (*ServiceClustersListResponse) Total ¶
func (r *ServiceClustersListResponse) 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.
Source Files ¶
- boolean_list_type_json.go
- cluster_management_reference_builder.go
- cluster_management_reference_list_builder.go
- cluster_management_reference_list_type_json.go
- cluster_management_reference_type.go
- cluster_management_reference_type_json.go
- date_list_type_json.go
- dns_builder.go
- dns_list_builder.go
- dns_list_type_json.go
- dns_type.go
- dns_type_json.go
- errors.go
- float_list_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- label_builder.go
- label_client.go
- label_list_builder.go
- label_list_type_json.go
- label_reference_builder.go
- label_reference_list_builder.go
- label_reference_list_type_json.go
- label_reference_type.go
- label_reference_type_json.go
- label_request_payload_builder.go
- label_request_payload_list_builder.go
- label_request_payload_list_type_json.go
- label_request_payload_type.go
- label_request_payload_type_json.go
- label_resource_json.go
- label_type.go
- label_type_json.go
- labels_client.go
- labels_resource_json.go
- long_list_type_json.go
- management_cluster_builder.go
- management_cluster_client.go
- management_cluster_list_builder.go
- management_cluster_list_type_json.go
- management_cluster_parent_builder.go
- management_cluster_parent_list_builder.go
- management_cluster_parent_list_type_json.go
- management_cluster_parent_type.go
- management_cluster_parent_type_json.go
- management_cluster_request_payload_builder.go
- management_cluster_request_payload_list_builder.go
- management_cluster_request_payload_list_type_json.go
- management_cluster_request_payload_type.go
- management_cluster_request_payload_type_json.go
- management_cluster_resource_json.go
- management_cluster_type.go
- management_cluster_type_json.go
- management_clusters_client.go
- management_clusters_resource_json.go
- metadata_client.go
- metadata_reader.go
- metadata_type.go
- openapi.go
- provision_shard_reference_builder.go
- provision_shard_reference_list_builder.go
- provision_shard_reference_list_type_json.go
- provision_shard_reference_type.go
- provision_shard_reference_type_json.go
- root_client.go
- root_resource_json.go
- service_cluster_builder.go
- service_cluster_client.go
- service_cluster_list_builder.go
- service_cluster_list_type_json.go
- service_cluster_request_payload_builder.go
- service_cluster_request_payload_list_builder.go
- service_cluster_request_payload_list_type_json.go
- service_cluster_request_payload_type.go
- service_cluster_request_payload_type_json.go
- service_cluster_resource_json.go
- service_cluster_type.go
- service_cluster_type_json.go
- service_clusters_client.go
- service_clusters_resource_json.go
- string_list_type_json.go