Documentation ¶
Index ¶
- Constants
- Variables
- func MarshalAWS(object *AWS, writer io.Writer) error
- func MarshalAWSList(list []*AWS, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalCloudRegion(object *CloudRegion, writer io.Writer) error
- func MarshalCloudRegionList(list []*CloudRegion, writer io.Writer) error
- func MarshalCluster(object *Cluster, writer io.Writer) error
- func MarshalClusterList(list []*Cluster, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalInstanceIAMRoles(object *InstanceIAMRoles, writer io.Writer) error
- func MarshalInstanceIAMRolesList(list []*InstanceIAMRoles, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalManagedService(object *ManagedService, writer io.Writer) error
- func MarshalManagedServiceList(list []*ManagedService, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalOperatorIAMRole(object *OperatorIAMRole, writer io.Writer) error
- func MarshalOperatorIAMRoleList(list []*OperatorIAMRole, writer io.Writer) error
- func MarshalSTS(object *STS, writer io.Writer) error
- func MarshalSTSList(list []*STS, writer io.Writer) error
- func MarshalServiceParameter(object *ServiceParameter, writer io.Writer) error
- func MarshalServiceParameterList(list []*ServiceParameter, writer io.Writer) error
- func MarshalStatefulObject(object *StatefulObject, writer io.Writer) error
- func MarshalStatefulObjectList(list []*StatefulObject, 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 AWS
- func (o *AWS) AccessKeyID() string
- func (o *AWS) AccountID() string
- func (o *AWS) Empty() bool
- func (o *AWS) GetAccessKeyID() (value string, ok bool)
- func (o *AWS) GetAccountID() (value string, ok bool)
- func (o *AWS) GetSTS() (value *STS, ok bool)
- func (o *AWS) GetSecretAccessKey() (value string, ok bool)
- func (o *AWS) GetSubnetIDs() (value []string, ok bool)
- func (o *AWS) GetTags() (value map[string]string, ok bool)
- func (o *AWS) STS() *STS
- func (o *AWS) SecretAccessKey() string
- func (o *AWS) SubnetIDs() []string
- func (o *AWS) Tags() map[string]string
- type AWSBuilder
- func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder
- func (b *AWSBuilder) AccountID(value string) *AWSBuilder
- func (b *AWSBuilder) Build() (object *AWS, err error)
- func (b *AWSBuilder) Copy(object *AWS) *AWSBuilder
- func (b *AWSBuilder) Empty() bool
- func (b *AWSBuilder) STS(value *STSBuilder) *AWSBuilder
- func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder
- func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder
- func (b *AWSBuilder) Tags(value map[string]string) *AWSBuilder
- type AWSList
- type AWSListBuilder
- type Client
- type CloudRegion
- type CloudRegionBuilder
- type CloudRegionList
- func (l *CloudRegionList) Each(f func(item *CloudRegion) bool)
- func (l *CloudRegionList) Empty() bool
- func (l *CloudRegionList) Get(i int) *CloudRegion
- func (l *CloudRegionList) Len() int
- func (l *CloudRegionList) Range(f func(index int, item *CloudRegion) bool)
- func (l *CloudRegionList) Slice() []*CloudRegion
- type CloudRegionListBuilder
- func (b *CloudRegionListBuilder) Build() (list *CloudRegionList, err error)
- func (b *CloudRegionListBuilder) Copy(list *CloudRegionList) *CloudRegionListBuilder
- func (b *CloudRegionListBuilder) Empty() bool
- func (b *CloudRegionListBuilder) Items(values ...*CloudRegionBuilder) *CloudRegionListBuilder
- type Cluster
- func (o *Cluster) AWS() *AWS
- func (o *Cluster) DisplayName() string
- func (o *Cluster) Empty() bool
- func (o *Cluster) GetAWS() (value *AWS, ok bool)
- func (o *Cluster) GetDisplayName() (value string, ok bool)
- func (o *Cluster) GetHref() (value string, ok bool)
- func (o *Cluster) GetId() (value string, ok bool)
- func (o *Cluster) GetName() (value string, ok bool)
- func (o *Cluster) GetProperties() (value map[string]string, ok bool)
- func (o *Cluster) GetRegion() (value *CloudRegion, ok bool)
- func (o *Cluster) GetState() (value string, ok bool)
- func (o *Cluster) Href() string
- func (o *Cluster) Id() string
- func (o *Cluster) Name() string
- func (o *Cluster) Properties() map[string]string
- func (o *Cluster) Region() *CloudRegion
- func (o *Cluster) State() string
- type ClusterBuilder
- func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder
- func (b *ClusterBuilder) Build() (object *Cluster, err error)
- func (b *ClusterBuilder) Copy(object *Cluster) *ClusterBuilder
- func (b *ClusterBuilder) DisplayName(value string) *ClusterBuilder
- func (b *ClusterBuilder) Empty() bool
- func (b *ClusterBuilder) Href(value string) *ClusterBuilder
- func (b *ClusterBuilder) Id(value string) *ClusterBuilder
- func (b *ClusterBuilder) Name(value string) *ClusterBuilder
- func (b *ClusterBuilder) Properties(value map[string]string) *ClusterBuilder
- func (b *ClusterBuilder) Region(value *CloudRegionBuilder) *ClusterBuilder
- func (b *ClusterBuilder) State(value string) *ClusterBuilder
- type ClusterList
- type ClusterListBuilder
- type InstanceIAMRoles
- type InstanceIAMRolesBuilder
- func (b *InstanceIAMRolesBuilder) Build() (object *InstanceIAMRoles, err error)
- func (b *InstanceIAMRolesBuilder) Copy(object *InstanceIAMRoles) *InstanceIAMRolesBuilder
- func (b *InstanceIAMRolesBuilder) Empty() bool
- func (b *InstanceIAMRolesBuilder) MasterRoleARN(value string) *InstanceIAMRolesBuilder
- func (b *InstanceIAMRolesBuilder) WorkerRoleARN(value string) *InstanceIAMRolesBuilder
- type InstanceIAMRolesList
- func (l *InstanceIAMRolesList) Each(f func(item *InstanceIAMRoles) bool)
- func (l *InstanceIAMRolesList) Empty() bool
- func (l *InstanceIAMRolesList) Get(i int) *InstanceIAMRoles
- func (l *InstanceIAMRolesList) Len() int
- func (l *InstanceIAMRolesList) Range(f func(index int, item *InstanceIAMRoles) bool)
- func (l *InstanceIAMRolesList) Slice() []*InstanceIAMRoles
- type InstanceIAMRolesListBuilder
- func (b *InstanceIAMRolesListBuilder) Build() (list *InstanceIAMRolesList, err error)
- func (b *InstanceIAMRolesListBuilder) Copy(list *InstanceIAMRolesList) *InstanceIAMRolesListBuilder
- func (b *InstanceIAMRolesListBuilder) Empty() bool
- func (b *InstanceIAMRolesListBuilder) Items(values ...*InstanceIAMRolesBuilder) *InstanceIAMRolesListBuilder
- type ManagedService
- func (o *ManagedService) Addon() *StatefulObject
- func (o *ManagedService) Cluster() *Cluster
- func (o *ManagedService) CreatedAt() time.Time
- func (o *ManagedService) Empty() bool
- func (o *ManagedService) GetAddon() (value *StatefulObject, ok bool)
- func (o *ManagedService) GetCluster() (value *Cluster, ok bool)
- func (o *ManagedService) GetCreatedAt() (value time.Time, ok bool)
- func (o *ManagedService) GetHREF() (value string, ok bool)
- func (o *ManagedService) GetID() (value string, ok bool)
- func (o *ManagedService) GetParameters() (value []*ServiceParameter, ok bool)
- func (o *ManagedService) GetResources() (value []*StatefulObject, ok bool)
- func (o *ManagedService) GetService() (value string, ok bool)
- func (o *ManagedService) GetServiceState() (value string, ok bool)
- func (o *ManagedService) GetUpdatedAt() (value time.Time, ok bool)
- func (o *ManagedService) HREF() string
- func (o *ManagedService) ID() string
- func (o *ManagedService) Kind() string
- func (o *ManagedService) Link() bool
- func (o *ManagedService) Parameters() []*ServiceParameter
- func (o *ManagedService) Resources() []*StatefulObject
- func (o *ManagedService) Service() string
- func (o *ManagedService) ServiceState() string
- func (o *ManagedService) UpdatedAt() time.Time
- type ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Addon(value *StatefulObjectBuilder) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Build() (object *ManagedService, err error)
- func (b *ManagedServiceBuilder) Cluster(value *ClusterBuilder) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Copy(object *ManagedService) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) CreatedAt(value time.Time) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Empty() bool
- func (b *ManagedServiceBuilder) HREF(value string) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) ID(value string) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Link(value bool) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Parameters(values ...*ServiceParameterBuilder) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Resources(values ...*StatefulObjectBuilder) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) Service(value string) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) ServiceState(value string) *ManagedServiceBuilder
- func (b *ManagedServiceBuilder) UpdatedAt(value time.Time) *ManagedServiceBuilder
- type ManagedServiceClient
- type ManagedServiceDeleteRequest
- func (r *ManagedServiceDeleteRequest) Header(name string, value interface{}) *ManagedServiceDeleteRequest
- func (r *ManagedServiceDeleteRequest) Impersonate(user string) *ManagedServiceDeleteRequest
- func (r *ManagedServiceDeleteRequest) Parameter(name string, value interface{}) *ManagedServiceDeleteRequest
- func (r *ManagedServiceDeleteRequest) Send() (result *ManagedServiceDeleteResponse, err error)
- func (r *ManagedServiceDeleteRequest) SendContext(ctx context.Context) (result *ManagedServiceDeleteResponse, err error)
- type ManagedServiceDeleteResponse
- type ManagedServiceGetRequest
- func (r *ManagedServiceGetRequest) Header(name string, value interface{}) *ManagedServiceGetRequest
- func (r *ManagedServiceGetRequest) Impersonate(user string) *ManagedServiceGetRequest
- func (r *ManagedServiceGetRequest) Parameter(name string, value interface{}) *ManagedServiceGetRequest
- func (r *ManagedServiceGetRequest) Send() (result *ManagedServiceGetResponse, err error)
- func (r *ManagedServiceGetRequest) SendContext(ctx context.Context) (result *ManagedServiceGetResponse, err error)
- type ManagedServiceGetResponse
- func (r *ManagedServiceGetResponse) Body() *ManagedService
- func (r *ManagedServiceGetResponse) Error() *errors.Error
- func (r *ManagedServiceGetResponse) GetBody() (value *ManagedService, ok bool)
- func (r *ManagedServiceGetResponse) Header() http.Header
- func (r *ManagedServiceGetResponse) Status() int
- type ManagedServiceList
- func (l *ManagedServiceList) Each(f func(item *ManagedService) bool)
- func (l *ManagedServiceList) Empty() bool
- func (l *ManagedServiceList) Get(i int) *ManagedService
- func (l *ManagedServiceList) GetHREF() (value string, ok bool)
- func (l *ManagedServiceList) HREF() string
- func (l *ManagedServiceList) Kind() string
- func (l *ManagedServiceList) Len() int
- func (l *ManagedServiceList) Link() bool
- func (l *ManagedServiceList) Range(f func(index int, item *ManagedService) bool)
- func (l *ManagedServiceList) Slice() []*ManagedService
- type ManagedServiceListBuilder
- func (b *ManagedServiceListBuilder) Build() (list *ManagedServiceList, err error)
- func (b *ManagedServiceListBuilder) Copy(list *ManagedServiceList) *ManagedServiceListBuilder
- func (b *ManagedServiceListBuilder) Empty() bool
- func (b *ManagedServiceListBuilder) Items(values ...*ManagedServiceBuilder) *ManagedServiceListBuilder
- type ManagedServicePollRequest
- func (r *ManagedServicePollRequest) Header(name string, value interface{}) *ManagedServicePollRequest
- func (r *ManagedServicePollRequest) Interval(value time.Duration) *ManagedServicePollRequest
- func (r *ManagedServicePollRequest) Parameter(name string, value interface{}) *ManagedServicePollRequest
- func (r *ManagedServicePollRequest) Predicate(value func(*ManagedServiceGetResponse) bool) *ManagedServicePollRequest
- func (r *ManagedServicePollRequest) StartContext(ctx context.Context) (response *ManagedServicePollResponse, err error)
- func (r *ManagedServicePollRequest) Status(value int) *ManagedServicePollRequest
- type ManagedServicePollResponse
- func (r *ManagedServicePollResponse) Body() *ManagedService
- func (r *ManagedServicePollResponse) Error() *errors.Error
- func (r *ManagedServicePollResponse) GetBody() (value *ManagedService, ok bool)
- func (r *ManagedServicePollResponse) Header() http.Header
- func (r *ManagedServicePollResponse) Status() int
- type ManagedServiceUpdateRequest
- func (r *ManagedServiceUpdateRequest) Body(value *ManagedService) *ManagedServiceUpdateRequest
- func (r *ManagedServiceUpdateRequest) Header(name string, value interface{}) *ManagedServiceUpdateRequest
- func (r *ManagedServiceUpdateRequest) Impersonate(user string) *ManagedServiceUpdateRequest
- func (r *ManagedServiceUpdateRequest) Parameter(name string, value interface{}) *ManagedServiceUpdateRequest
- func (r *ManagedServiceUpdateRequest) Send() (result *ManagedServiceUpdateResponse, err error)
- func (r *ManagedServiceUpdateRequest) SendContext(ctx context.Context) (result *ManagedServiceUpdateResponse, err error)
- type ManagedServiceUpdateResponse
- func (r *ManagedServiceUpdateResponse) Body() *ManagedService
- func (r *ManagedServiceUpdateResponse) Error() *errors.Error
- func (r *ManagedServiceUpdateResponse) GetBody() (value *ManagedService, ok bool)
- func (r *ManagedServiceUpdateResponse) Header() http.Header
- func (r *ManagedServiceUpdateResponse) Status() 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 OperatorIAMRole
- func (o *OperatorIAMRole) Empty() bool
- func (o *OperatorIAMRole) GetName() (value string, ok bool)
- func (o *OperatorIAMRole) GetNamespace() (value string, ok bool)
- func (o *OperatorIAMRole) GetRoleARN() (value string, ok bool)
- func (o *OperatorIAMRole) Name() string
- func (o *OperatorIAMRole) Namespace() string
- func (o *OperatorIAMRole) RoleARN() string
- type OperatorIAMRoleBuilder
- func (b *OperatorIAMRoleBuilder) Build() (object *OperatorIAMRole, err error)
- func (b *OperatorIAMRoleBuilder) Copy(object *OperatorIAMRole) *OperatorIAMRoleBuilder
- func (b *OperatorIAMRoleBuilder) Empty() bool
- func (b *OperatorIAMRoleBuilder) Name(value string) *OperatorIAMRoleBuilder
- func (b *OperatorIAMRoleBuilder) Namespace(value string) *OperatorIAMRoleBuilder
- func (b *OperatorIAMRoleBuilder) RoleARN(value string) *OperatorIAMRoleBuilder
- type OperatorIAMRoleList
- func (l *OperatorIAMRoleList) Each(f func(item *OperatorIAMRole) bool)
- func (l *OperatorIAMRoleList) Empty() bool
- func (l *OperatorIAMRoleList) Get(i int) *OperatorIAMRole
- func (l *OperatorIAMRoleList) Len() int
- func (l *OperatorIAMRoleList) Range(f func(index int, item *OperatorIAMRole) bool)
- func (l *OperatorIAMRoleList) Slice() []*OperatorIAMRole
- type OperatorIAMRoleListBuilder
- func (b *OperatorIAMRoleListBuilder) Build() (list *OperatorIAMRoleList, err error)
- func (b *OperatorIAMRoleListBuilder) Copy(list *OperatorIAMRoleList) *OperatorIAMRoleListBuilder
- func (b *OperatorIAMRoleListBuilder) Empty() bool
- func (b *OperatorIAMRoleListBuilder) Items(values ...*OperatorIAMRoleBuilder) *OperatorIAMRoleListBuilder
- type STS
- func (o *STS) Empty() bool
- func (o *STS) GetInstanceIAMRoles() (value *InstanceIAMRoles, ok bool)
- func (o *STS) GetOIDCEndpointURL() (value string, ok bool)
- func (o *STS) GetOperatorIAMRoles() (value []*OperatorIAMRole, ok bool)
- func (o *STS) GetOperatorRolePrefix() (value string, ok bool)
- func (o *STS) GetRoleARN() (value string, ok bool)
- func (o *STS) GetSupportRoleARN() (value string, ok bool)
- func (o *STS) InstanceIAMRoles() *InstanceIAMRoles
- func (o *STS) OIDCEndpointURL() string
- func (o *STS) OperatorIAMRoles() []*OperatorIAMRole
- func (o *STS) OperatorRolePrefix() string
- func (o *STS) RoleARN() string
- func (o *STS) SupportRoleARN() string
- type STSBuilder
- func (b *STSBuilder) Build() (object *STS, err error)
- func (b *STSBuilder) Copy(object *STS) *STSBuilder
- func (b *STSBuilder) Empty() bool
- func (b *STSBuilder) InstanceIAMRoles(value *InstanceIAMRolesBuilder) *STSBuilder
- func (b *STSBuilder) OIDCEndpointURL(value string) *STSBuilder
- func (b *STSBuilder) OperatorIAMRoles(values ...*OperatorIAMRoleBuilder) *STSBuilder
- func (b *STSBuilder) OperatorRolePrefix(value string) *STSBuilder
- func (b *STSBuilder) RoleARN(value string) *STSBuilder
- func (b *STSBuilder) SupportRoleARN(value string) *STSBuilder
- type STSList
- type STSListBuilder
- type ServiceParameter
- type ServiceParameterBuilder
- func (b *ServiceParameterBuilder) Build() (object *ServiceParameter, err error)
- func (b *ServiceParameterBuilder) Copy(object *ServiceParameter) *ServiceParameterBuilder
- func (b *ServiceParameterBuilder) Empty() bool
- func (b *ServiceParameterBuilder) ID(value string) *ServiceParameterBuilder
- func (b *ServiceParameterBuilder) Value(value string) *ServiceParameterBuilder
- type ServiceParameterList
- func (l *ServiceParameterList) Each(f func(item *ServiceParameter) bool)
- func (l *ServiceParameterList) Empty() bool
- func (l *ServiceParameterList) Get(i int) *ServiceParameter
- func (l *ServiceParameterList) Len() int
- func (l *ServiceParameterList) Range(f func(index int, item *ServiceParameter) bool)
- func (l *ServiceParameterList) Slice() []*ServiceParameter
- type ServiceParameterListBuilder
- func (b *ServiceParameterListBuilder) Build() (list *ServiceParameterList, err error)
- func (b *ServiceParameterListBuilder) Copy(list *ServiceParameterList) *ServiceParameterListBuilder
- func (b *ServiceParameterListBuilder) Empty() bool
- func (b *ServiceParameterListBuilder) Items(values ...*ServiceParameterBuilder) *ServiceParameterListBuilder
- type ServicesAddRequest
- func (r *ServicesAddRequest) Body(value *ManagedService) *ServicesAddRequest
- func (r *ServicesAddRequest) Header(name string, value interface{}) *ServicesAddRequest
- func (r *ServicesAddRequest) Impersonate(user string) *ServicesAddRequest
- func (r *ServicesAddRequest) Parameter(name string, value interface{}) *ServicesAddRequest
- func (r *ServicesAddRequest) Send() (result *ServicesAddResponse, err error)
- func (r *ServicesAddRequest) SendContext(ctx context.Context) (result *ServicesAddResponse, err error)
- type ServicesAddResponse
- type ServicesClient
- type ServicesListRequest
- func (r *ServicesListRequest) Header(name string, value interface{}) *ServicesListRequest
- func (r *ServicesListRequest) Impersonate(user string) *ServicesListRequest
- func (r *ServicesListRequest) Page(value int) *ServicesListRequest
- func (r *ServicesListRequest) Parameter(name string, value interface{}) *ServicesListRequest
- func (r *ServicesListRequest) Send() (result *ServicesListResponse, err error)
- func (r *ServicesListRequest) SendContext(ctx context.Context) (result *ServicesListResponse, err error)
- func (r *ServicesListRequest) Size(value int) *ServicesListRequest
- type ServicesListResponse
- func (r *ServicesListResponse) Error() *errors.Error
- func (r *ServicesListResponse) GetItems() (value *ManagedServiceList, ok bool)
- func (r *ServicesListResponse) GetPage() (value int, ok bool)
- func (r *ServicesListResponse) GetSize() (value int, ok bool)
- func (r *ServicesListResponse) GetTotal() (value int, ok bool)
- func (r *ServicesListResponse) Header() http.Header
- func (r *ServicesListResponse) Items() *ManagedServiceList
- func (r *ServicesListResponse) Page() int
- func (r *ServicesListResponse) Size() int
- func (r *ServicesListResponse) Status() int
- func (r *ServicesListResponse) Total() int
- type StatefulObject
- func (o *StatefulObject) Empty() bool
- func (o *StatefulObject) GetHref() (value string, ok bool)
- func (o *StatefulObject) GetID() (value string, ok bool)
- func (o *StatefulObject) GetKind() (value string, ok bool)
- func (o *StatefulObject) GetState() (value string, ok bool)
- func (o *StatefulObject) Href() string
- func (o *StatefulObject) ID() string
- func (o *StatefulObject) Kind() string
- func (o *StatefulObject) State() string
- type StatefulObjectBuilder
- func (b *StatefulObjectBuilder) Build() (object *StatefulObject, err error)
- func (b *StatefulObjectBuilder) Copy(object *StatefulObject) *StatefulObjectBuilder
- func (b *StatefulObjectBuilder) Empty() bool
- func (b *StatefulObjectBuilder) Href(value string) *StatefulObjectBuilder
- func (b *StatefulObjectBuilder) ID(value string) *StatefulObjectBuilder
- func (b *StatefulObjectBuilder) Kind(value string) *StatefulObjectBuilder
- func (b *StatefulObjectBuilder) State(value string) *StatefulObjectBuilder
- type StatefulObjectList
- func (l *StatefulObjectList) Each(f func(item *StatefulObject) bool)
- func (l *StatefulObjectList) Empty() bool
- func (l *StatefulObjectList) Get(i int) *StatefulObject
- func (l *StatefulObjectList) Len() int
- func (l *StatefulObjectList) Range(f func(index int, item *StatefulObject) bool)
- func (l *StatefulObjectList) Slice() []*StatefulObject
- type StatefulObjectListBuilder
- func (b *StatefulObjectListBuilder) Build() (list *StatefulObjectList, err error)
- func (b *StatefulObjectListBuilder) Copy(list *StatefulObjectList) *StatefulObjectListBuilder
- func (b *StatefulObjectListBuilder) Empty() bool
- func (b *StatefulObjectListBuilder) Items(values ...*StatefulObjectBuilder) *StatefulObjectListBuilder
Constants ¶
const AWSListKind = "AWSList"
AWSListKind is the name of the type used to represent list of objects of type 'AWS'.
const AWSListLinkKind = "AWSListLink"
AWSListLinkKind is the name of the type used to represent links to list of objects of type 'AWS'.
const AWSListNilKind = "AWSListNil"
AWSNilKind is the name of the type used to nil lists of objects of type 'AWS'.
const CloudRegionListKind = "CloudRegionList"
CloudRegionListKind is the name of the type used to represent list of objects of type 'cloud_region'.
const CloudRegionListLinkKind = "CloudRegionListLink"
CloudRegionListLinkKind is the name of the type used to represent links to list of objects of type 'cloud_region'.
const CloudRegionListNilKind = "CloudRegionListNil"
CloudRegionNilKind is the name of the type used to nil lists of objects of type 'cloud_region'.
const ClusterListKind = "ClusterList"
ClusterListKind is the name of the type used to represent list of objects of type 'cluster'.
const ClusterListLinkKind = "ClusterListLink"
ClusterListLinkKind is the name of the type used to represent links to list of objects of type 'cluster'.
const ClusterListNilKind = "ClusterListNil"
ClusterNilKind is the name of the type used to nil lists of objects of type 'cluster'.
const InstanceIAMRolesListKind = "InstanceIAMRolesList"
InstanceIAMRolesListKind is the name of the type used to represent list of objects of type 'instance_IAM_roles'.
const InstanceIAMRolesListLinkKind = "InstanceIAMRolesListLink"
InstanceIAMRolesListLinkKind is the name of the type used to represent links to list of objects of type 'instance_IAM_roles'.
const InstanceIAMRolesListNilKind = "InstanceIAMRolesListNil"
InstanceIAMRolesNilKind is the name of the type used to nil lists of objects of type 'instance_IAM_roles'.
const ManagedServiceKind = "ManagedService"
ManagedServiceKind is the name of the type used to represent objects of type 'managed_service'.
const ManagedServiceLinkKind = "ManagedServiceLink"
ManagedServiceLinkKind is the name of the type used to represent links to objects of type 'managed_service'.
const ManagedServiceListKind = "ManagedServiceList"
ManagedServiceListKind is the name of the type used to represent list of objects of type 'managed_service'.
const ManagedServiceListLinkKind = "ManagedServiceListLink"
ManagedServiceListLinkKind is the name of the type used to represent links to list of objects of type 'managed_service'.
const ManagedServiceListNilKind = "ManagedServiceListNil"
ManagedServiceNilKind is the name of the type used to nil lists of objects of type 'managed_service'.
const ManagedServiceNilKind = "ManagedServiceNil"
ManagedServiceNilKind is the name of the type used to nil references to objects of type 'managed_service'.
const OperatorIAMRoleListKind = "OperatorIAMRoleList"
OperatorIAMRoleListKind is the name of the type used to represent list of objects of type 'operator_IAM_role'.
const OperatorIAMRoleListLinkKind = "OperatorIAMRoleListLink"
OperatorIAMRoleListLinkKind is the name of the type used to represent links to list of objects of type 'operator_IAM_role'.
const OperatorIAMRoleListNilKind = "OperatorIAMRoleListNil"
OperatorIAMRoleNilKind is the name of the type used to nil lists of objects of type 'operator_IAM_role'.
const STSListKind = "STSList"
STSListKind is the name of the type used to represent list of objects of type 'STS'.
const STSListLinkKind = "STSListLink"
STSListLinkKind is the name of the type used to represent links to list of objects of type 'STS'.
const STSListNilKind = "STSListNil"
STSNilKind is the name of the type used to nil lists of objects of type 'STS'.
const ServiceParameterListKind = "ServiceParameterList"
ServiceParameterListKind is the name of the type used to represent list of objects of type 'service_parameter'.
const ServiceParameterListLinkKind = "ServiceParameterListLink"
ServiceParameterListLinkKind is the name of the type used to represent links to list of objects of type 'service_parameter'.
const ServiceParameterListNilKind = "ServiceParameterListNil"
ServiceParameterNilKind is the name of the type used to nil lists of objects of type 'service_parameter'.
const StatefulObjectListKind = "StatefulObjectList"
StatefulObjectListKind is the name of the type used to represent list of objects of type 'stateful_object'.
const StatefulObjectListLinkKind = "StatefulObjectListLink"
StatefulObjectListLinkKind is the name of the type used to represent links to list of objects of type 'stateful_object'.
const StatefulObjectListNilKind = "StatefulObjectListNil"
StatefulObjectNilKind is the name of the type used to nil lists of objects of type 'stateful_object'.
Variables ¶
var OpenAPI = []byte{}/* 15509 elements not displayed */
OpenAPI contains the OpenAPI specification of the service in JSON.
Functions ¶
func MarshalAWS ¶
MarshalAWS writes a value of the 'AWS' type to the given writer.
func MarshalAWSList ¶
MarshalAWSList writes a list of values of the 'AWS' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalCloudRegion ¶
func MarshalCloudRegion(object *CloudRegion, writer io.Writer) error
MarshalCloudRegion writes a value of the 'cloud_region' type to the given writer.
func MarshalCloudRegionList ¶
func MarshalCloudRegionList(list []*CloudRegion, writer io.Writer) error
MarshalCloudRegionList writes a list of values of the 'cloud_region' type to the given writer.
func MarshalCluster ¶
MarshalCluster writes a value of the 'cluster' type to the given writer.
func MarshalClusterList ¶
MarshalClusterList writes a list of values of the 'cluster' 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 MarshalInstanceIAMRoles ¶
func MarshalInstanceIAMRoles(object *InstanceIAMRoles, writer io.Writer) error
MarshalInstanceIAMRoles writes a value of the 'instance_IAM_roles' type to the given writer.
func MarshalInstanceIAMRolesList ¶
func MarshalInstanceIAMRolesList(list []*InstanceIAMRoles, writer io.Writer) error
MarshalInstanceIAMRolesList writes a list of values of the 'instance_IAM_roles' 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 MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalManagedService ¶
func MarshalManagedService(object *ManagedService, writer io.Writer) error
MarshalManagedService writes a value of the 'managed_service' type to the given writer.
func MarshalManagedServiceList ¶
func MarshalManagedServiceList(list []*ManagedService, writer io.Writer) error
MarshalManagedServiceList writes a list of values of the 'managed_service' 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 MarshalOperatorIAMRole ¶
func MarshalOperatorIAMRole(object *OperatorIAMRole, writer io.Writer) error
MarshalOperatorIAMRole writes a value of the 'operator_IAM_role' type to the given writer.
func MarshalOperatorIAMRoleList ¶
func MarshalOperatorIAMRoleList(list []*OperatorIAMRole, writer io.Writer) error
MarshalOperatorIAMRoleList writes a list of values of the 'operator_IAM_role' type to the given writer.
func MarshalSTS ¶
MarshalSTS writes a value of the 'STS' type to the given writer.
func MarshalSTSList ¶
MarshalSTSList writes a list of values of the 'STS' type to the given writer.
func MarshalServiceParameter ¶
func MarshalServiceParameter(object *ServiceParameter, writer io.Writer) error
MarshalServiceParameter writes a value of the 'service_parameter' type to the given writer.
func MarshalServiceParameterList ¶
func MarshalServiceParameterList(list []*ServiceParameter, writer io.Writer) error
MarshalServiceParameterList writes a list of values of the 'service_parameter' type to the given writer.
func MarshalStatefulObject ¶
func MarshalStatefulObject(object *StatefulObject, writer io.Writer) error
MarshalStatefulObject writes a value of the 'stateful_object' type to the given writer.
func MarshalStatefulObjectList ¶
func MarshalStatefulObjectList(list []*StatefulObject, writer io.Writer) error
MarshalStatefulObjectList writes a list of values of the 'stateful_object' 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 AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
AWS represents the values of the 'AWS' type.
_Amazon Web Services_ specific settings of a cluster.
func UnmarshalAWS ¶
UnmarshalAWS reads a value of the 'AWS' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAWSList ¶
UnmarshalAWSList reads a list of values of the 'AWS' type from the given source, which can be a slice of bytes, a string or a reader.
func (*AWS) AccessKeyID ¶
AccessKeyID returns the value of the 'access_key_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS access key identifier.
func (*AWS) AccountID ¶
AccountID returns the value of the 'account_ID' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS account identifier.
func (*AWS) GetAccessKeyID ¶
GetAccessKeyID returns the value of the 'access_key_ID' attribute and a flag indicating if the attribute has a value.
AWS access key identifier.
func (*AWS) GetAccountID ¶
GetAccountID returns the value of the 'account_ID' attribute and a flag indicating if the attribute has a value.
AWS account identifier.
func (*AWS) GetSTS ¶
GetSTS returns the value of the 'STS' attribute and a flag indicating if the attribute has a value.
Contains the necessary attributes to support role-based authentication on AWS.
func (*AWS) GetSecretAccessKey ¶
GetSecretAccessKey returns the value of the 'secret_access_key' attribute and a flag indicating if the attribute has a value.
AWS secret access key.
func (*AWS) GetSubnetIDs ¶
GetSubnetIDs returns the value of the 'subnet_IDs' attribute and a flag indicating if the attribute has a value.
The subnet ids to be used when installing the cluster.
func (*AWS) GetTags ¶
GetTags returns the value of the 'tags' attribute and a flag indicating if the attribute has a value.
Optional keys and values that the installer will add as tags to all AWS resources it creates
func (*AWS) STS ¶
STS returns the value of the 'STS' attribute, or the zero value of the type if the attribute doesn't have a value.
Contains the necessary attributes to support role-based authentication on AWS.
func (*AWS) SecretAccessKey ¶
SecretAccessKey returns the value of the 'secret_access_key' attribute, or the zero value of the type if the attribute doesn't have a value.
AWS secret access key.
type AWSBuilder ¶
type AWSBuilder struct {
// contains filtered or unexported fields
}
AWSBuilder contains the data and logic needed to build 'AWS' objects.
_Amazon Web Services_ specific settings of a cluster.
func (*AWSBuilder) AccessKeyID ¶
func (b *AWSBuilder) AccessKeyID(value string) *AWSBuilder
AccessKeyID sets the value of the 'access_key_ID' attribute to the given value.
func (*AWSBuilder) AccountID ¶
func (b *AWSBuilder) AccountID(value string) *AWSBuilder
AccountID sets the value of the 'account_ID' attribute to the given value.
func (*AWSBuilder) Build ¶
func (b *AWSBuilder) Build() (object *AWS, err error)
Build creates a 'AWS' object using the configuration stored in the builder.
func (*AWSBuilder) Copy ¶
func (b *AWSBuilder) Copy(object *AWS) *AWSBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AWSBuilder) Empty ¶
func (b *AWSBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AWSBuilder) STS ¶
func (b *AWSBuilder) STS(value *STSBuilder) *AWSBuilder
STS sets the value of the 'STS' attribute to the given value.
Contains the necessary attributes to support role-based authentication on AWS.
func (*AWSBuilder) SecretAccessKey ¶
func (b *AWSBuilder) SecretAccessKey(value string) *AWSBuilder
SecretAccessKey sets the value of the 'secret_access_key' attribute to the given value.
func (*AWSBuilder) SubnetIDs ¶
func (b *AWSBuilder) SubnetIDs(values ...string) *AWSBuilder
SubnetIDs sets the value of the 'subnet_IDs' attribute to the given values.
func (*AWSBuilder) Tags ¶
func (b *AWSBuilder) Tags(value map[string]string) *AWSBuilder
Tags sets the value of the 'tags' attribute to the given value.
type AWSList ¶
type AWSList struct {
// contains filtered or unexported fields
}
AWSList is a list of values of the 'AWS' type.
func (*AWSList) 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 (*AWSList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AWSList) 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 (*AWSList) 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 AWSListBuilder ¶
type AWSListBuilder struct {
// contains filtered or unexported fields
}
AWSListBuilder contains the data and logic needed to build 'AWS' objects.
func NewAWSList ¶
func NewAWSList() *AWSListBuilder
NewAWSList creates a new builder of 'AWS' objects.
func (*AWSListBuilder) Build ¶
func (b *AWSListBuilder) Build() (list *AWSList, err error)
Build creates a list of 'AWS' objects using the configuration stored in the builder.
func (*AWSListBuilder) Copy ¶
func (b *AWSListBuilder) Copy(list *AWSList) *AWSListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AWSListBuilder) Empty ¶
func (b *AWSListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AWSListBuilder) Items ¶
func (b *AWSListBuilder) Items(values ...*AWSBuilder) *AWSListBuilder
Items sets the items of the list.
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 Management Services.
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) Services ¶
func (c *Client) Services() *ServicesClient
Services returns the target 'services' resource.
Reference to the resource that manages the collection of Managed Services.
type CloudRegion ¶
type CloudRegion struct {
// contains filtered or unexported fields
}
CloudRegion represents the values of the 'cloud_region' type.
Description of a region of a cloud provider.
func UnmarshalCloudRegion ¶
func UnmarshalCloudRegion(source interface{}) (object *CloudRegion, err error)
UnmarshalCloudRegion reads a value of the 'cloud_region' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalCloudRegionList ¶
func UnmarshalCloudRegionList(source interface{}) (items []*CloudRegion, err error)
UnmarshalCloudRegionList reads a list of values of the 'cloud_region' type from the given source, which can be a slice of bytes, a string or a reader.
func (*CloudRegion) Empty ¶
func (o *CloudRegion) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*CloudRegion) GetID ¶
func (o *CloudRegion) GetID() (value string, ok bool)
GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.
Human-friendly identifier of the region, for example `us-east-1`.
func (*CloudRegion) ID ¶
func (o *CloudRegion) 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.
Human-friendly identifier of the region, for example `us-east-1`.
type CloudRegionBuilder ¶
type CloudRegionBuilder struct {
// contains filtered or unexported fields
}
CloudRegionBuilder contains the data and logic needed to build 'cloud_region' objects.
Description of a region of a cloud provider.
func NewCloudRegion ¶
func NewCloudRegion() *CloudRegionBuilder
NewCloudRegion creates a new builder of 'cloud_region' objects.
func (*CloudRegionBuilder) Build ¶
func (b *CloudRegionBuilder) Build() (object *CloudRegion, err error)
Build creates a 'cloud_region' object using the configuration stored in the builder.
func (*CloudRegionBuilder) Copy ¶
func (b *CloudRegionBuilder) Copy(object *CloudRegion) *CloudRegionBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*CloudRegionBuilder) Empty ¶
func (b *CloudRegionBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*CloudRegionBuilder) ID ¶
func (b *CloudRegionBuilder) ID(value string) *CloudRegionBuilder
ID sets the value of the 'ID' attribute to the given value.
type CloudRegionList ¶
type CloudRegionList struct {
// contains filtered or unexported fields
}
CloudRegionList is a list of values of the 'cloud_region' type.
func (*CloudRegionList) Each ¶
func (l *CloudRegionList) Each(f func(item *CloudRegion) 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 (*CloudRegionList) Empty ¶
func (l *CloudRegionList) Empty() bool
Empty returns true if the list is empty.
func (*CloudRegionList) Get ¶
func (l *CloudRegionList) Get(i int) *CloudRegion
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*CloudRegionList) Len ¶
func (l *CloudRegionList) Len() int
Len returns the length of the list.
func (*CloudRegionList) Range ¶
func (l *CloudRegionList) Range(f func(index int, item *CloudRegion) 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 (*CloudRegionList) Slice ¶
func (l *CloudRegionList) Slice() []*CloudRegion
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 CloudRegionListBuilder ¶
type CloudRegionListBuilder struct {
// contains filtered or unexported fields
}
CloudRegionListBuilder contains the data and logic needed to build 'cloud_region' objects.
func NewCloudRegionList ¶
func NewCloudRegionList() *CloudRegionListBuilder
NewCloudRegionList creates a new builder of 'cloud_region' objects.
func (*CloudRegionListBuilder) Build ¶
func (b *CloudRegionListBuilder) Build() (list *CloudRegionList, err error)
Build creates a list of 'cloud_region' objects using the configuration stored in the builder.
func (*CloudRegionListBuilder) Copy ¶
func (b *CloudRegionListBuilder) Copy(list *CloudRegionList) *CloudRegionListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*CloudRegionListBuilder) Empty ¶
func (b *CloudRegionListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*CloudRegionListBuilder) Items ¶
func (b *CloudRegionListBuilder) Items(values ...*CloudRegionBuilder) *CloudRegionListBuilder
Items sets the items of the list.
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster represents the values of the 'cluster' type.
This represents the parameters needed by Managed Service to create a cluster.
func UnmarshalCluster ¶
UnmarshalCluster reads a value of the 'cluster' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalClusterList ¶
UnmarshalClusterList reads a list of values of the 'cluster' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Cluster) AWS ¶
AWS returns the value of the 'AWS' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Cluster) DisplayName ¶
DisplayName returns the value of the 'display_name' attribute, or the zero value of the type if the attribute doesn't have a value.
DisplayName is the name of the cluster for display purposes. It can contain spaces.
func (*Cluster) GetAWS ¶
GetAWS returns the value of the 'AWS' attribute and a flag indicating if the attribute has a value.
func (*Cluster) GetDisplayName ¶
GetDisplayName returns the value of the 'display_name' attribute and a flag indicating if the attribute has a value.
DisplayName is the name of the cluster for display purposes. It can contain spaces.
func (*Cluster) GetHref ¶
GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.
func (*Cluster) GetId ¶
GetId returns the value of the 'id' attribute and a flag indicating if the attribute has a value.
func (*Cluster) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Cluster) GetProperties ¶
GetProperties returns the value of the 'properties' attribute and a flag indicating if the attribute has a value.
func (*Cluster) GetRegion ¶
func (o *Cluster) GetRegion() (value *CloudRegion, ok bool)
GetRegion returns the value of the 'region' attribute and a flag indicating if the attribute has a value.
func (*Cluster) GetState ¶
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
func (*Cluster) Href ¶
Href returns the value of the 'href' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Cluster) Id ¶
Id returns the value of the 'id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Cluster) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Cluster) Properties ¶
Properties returns the value of the 'properties' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Cluster) Region ¶
func (o *Cluster) Region() *CloudRegion
Region returns the value of the 'region' attribute, or the zero value of the type if the attribute doesn't have a value.
type ClusterBuilder ¶
type ClusterBuilder struct {
// contains filtered or unexported fields
}
ClusterBuilder contains the data and logic needed to build 'cluster' objects.
This represents the parameters needed by Managed Service to create a cluster.
func NewCluster ¶
func NewCluster() *ClusterBuilder
NewCluster creates a new builder of 'cluster' objects.
func (*ClusterBuilder) AWS ¶
func (b *ClusterBuilder) AWS(value *AWSBuilder) *ClusterBuilder
AWS sets the value of the 'AWS' attribute to the given value.
_Amazon Web Services_ specific settings of a cluster.
func (*ClusterBuilder) Build ¶
func (b *ClusterBuilder) Build() (object *Cluster, err error)
Build creates a 'cluster' object using the configuration stored in the builder.
func (*ClusterBuilder) Copy ¶
func (b *ClusterBuilder) Copy(object *Cluster) *ClusterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ClusterBuilder) DisplayName ¶
func (b *ClusterBuilder) DisplayName(value string) *ClusterBuilder
DisplayName sets the value of the 'display_name' attribute to the given value.
func (*ClusterBuilder) Empty ¶
func (b *ClusterBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ClusterBuilder) Href ¶
func (b *ClusterBuilder) Href(value string) *ClusterBuilder
Href sets the value of the 'href' attribute to the given value.
func (*ClusterBuilder) Id ¶
func (b *ClusterBuilder) Id(value string) *ClusterBuilder
Id sets the value of the 'id' attribute to the given value.
func (*ClusterBuilder) Name ¶
func (b *ClusterBuilder) Name(value string) *ClusterBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ClusterBuilder) Properties ¶
func (b *ClusterBuilder) Properties(value map[string]string) *ClusterBuilder
Properties sets the value of the 'properties' attribute to the given value.
func (*ClusterBuilder) Region ¶
func (b *ClusterBuilder) Region(value *CloudRegionBuilder) *ClusterBuilder
Region sets the value of the 'region' attribute to the given value.
Description of a region of a cloud provider.
func (*ClusterBuilder) State ¶
func (b *ClusterBuilder) State(value string) *ClusterBuilder
State sets the value of the 'state' attribute to the given value.
type ClusterList ¶
type ClusterList struct {
// contains filtered or unexported fields
}
ClusterList is a list of values of the 'cluster' type.
func (*ClusterList) Each ¶
func (l *ClusterList) Each(f func(item *Cluster) 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 (*ClusterList) Empty ¶
func (l *ClusterList) Empty() bool
Empty returns true if the list is empty.
func (*ClusterList) Get ¶
func (l *ClusterList) Get(i int) *Cluster
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ClusterList) Range ¶
func (l *ClusterList) Range(f func(index int, item *Cluster) 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 (*ClusterList) Slice ¶
func (l *ClusterList) Slice() []*Cluster
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 ClusterListBuilder ¶
type ClusterListBuilder struct {
// contains filtered or unexported fields
}
ClusterListBuilder contains the data and logic needed to build 'cluster' objects.
func NewClusterList ¶
func NewClusterList() *ClusterListBuilder
NewClusterList creates a new builder of 'cluster' objects.
func (*ClusterListBuilder) Build ¶
func (b *ClusterListBuilder) Build() (list *ClusterList, err error)
Build creates a list of 'cluster' objects using the configuration stored in the builder.
func (*ClusterListBuilder) Copy ¶
func (b *ClusterListBuilder) Copy(list *ClusterList) *ClusterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ClusterListBuilder) Empty ¶
func (b *ClusterListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ClusterListBuilder) Items ¶
func (b *ClusterListBuilder) Items(values ...*ClusterBuilder) *ClusterListBuilder
Items sets the items of the list.
type InstanceIAMRoles ¶
type InstanceIAMRoles struct {
// contains filtered or unexported fields
}
InstanceIAMRoles represents the values of the 'instance_IAM_roles' type.
Contains the necessary attributes to support role-based authentication on AWS.
func UnmarshalInstanceIAMRoles ¶
func UnmarshalInstanceIAMRoles(source interface{}) (object *InstanceIAMRoles, err error)
UnmarshalInstanceIAMRoles reads a value of the 'instance_IAM_roles' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalInstanceIAMRolesList ¶
func UnmarshalInstanceIAMRolesList(source interface{}) (items []*InstanceIAMRoles, err error)
UnmarshalInstanceIAMRolesList reads a list of values of the 'instance_IAM_roles' type from the given source, which can be a slice of bytes, a string or a reader.
func (*InstanceIAMRoles) Empty ¶
func (o *InstanceIAMRoles) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*InstanceIAMRoles) GetMasterRoleARN ¶
func (o *InstanceIAMRoles) GetMasterRoleARN() (value string, ok bool)
GetMasterRoleARN returns the value of the 'master_role_ARN' attribute and a flag indicating if the attribute has a value.
The IAM role ARN that will be attached to master instances
func (*InstanceIAMRoles) GetWorkerRoleARN ¶
func (o *InstanceIAMRoles) GetWorkerRoleARN() (value string, ok bool)
GetWorkerRoleARN returns the value of the 'worker_role_ARN' attribute and a flag indicating if the attribute has a value.
The IAM role ARN that will be attached to worker instances
func (*InstanceIAMRoles) MasterRoleARN ¶
func (o *InstanceIAMRoles) MasterRoleARN() string
MasterRoleARN returns the value of the 'master_role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.
The IAM role ARN that will be attached to master instances
func (*InstanceIAMRoles) WorkerRoleARN ¶
func (o *InstanceIAMRoles) WorkerRoleARN() string
WorkerRoleARN returns the value of the 'worker_role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.
The IAM role ARN that will be attached to worker instances
type InstanceIAMRolesBuilder ¶
type InstanceIAMRolesBuilder struct {
// contains filtered or unexported fields
}
InstanceIAMRolesBuilder contains the data and logic needed to build 'instance_IAM_roles' objects.
Contains the necessary attributes to support role-based authentication on AWS.
func NewInstanceIAMRoles ¶
func NewInstanceIAMRoles() *InstanceIAMRolesBuilder
NewInstanceIAMRoles creates a new builder of 'instance_IAM_roles' objects.
func (*InstanceIAMRolesBuilder) Build ¶
func (b *InstanceIAMRolesBuilder) Build() (object *InstanceIAMRoles, err error)
Build creates a 'instance_IAM_roles' object using the configuration stored in the builder.
func (*InstanceIAMRolesBuilder) Copy ¶
func (b *InstanceIAMRolesBuilder) Copy(object *InstanceIAMRoles) *InstanceIAMRolesBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*InstanceIAMRolesBuilder) Empty ¶
func (b *InstanceIAMRolesBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*InstanceIAMRolesBuilder) MasterRoleARN ¶
func (b *InstanceIAMRolesBuilder) MasterRoleARN(value string) *InstanceIAMRolesBuilder
MasterRoleARN sets the value of the 'master_role_ARN' attribute to the given value.
func (*InstanceIAMRolesBuilder) WorkerRoleARN ¶
func (b *InstanceIAMRolesBuilder) WorkerRoleARN(value string) *InstanceIAMRolesBuilder
WorkerRoleARN sets the value of the 'worker_role_ARN' attribute to the given value.
type InstanceIAMRolesList ¶
type InstanceIAMRolesList struct {
// contains filtered or unexported fields
}
InstanceIAMRolesList is a list of values of the 'instance_IAM_roles' type.
func (*InstanceIAMRolesList) Each ¶
func (l *InstanceIAMRolesList) Each(f func(item *InstanceIAMRoles) 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 (*InstanceIAMRolesList) Empty ¶
func (l *InstanceIAMRolesList) Empty() bool
Empty returns true if the list is empty.
func (*InstanceIAMRolesList) Get ¶
func (l *InstanceIAMRolesList) Get(i int) *InstanceIAMRoles
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*InstanceIAMRolesList) Len ¶
func (l *InstanceIAMRolesList) Len() int
Len returns the length of the list.
func (*InstanceIAMRolesList) Range ¶
func (l *InstanceIAMRolesList) Range(f func(index int, item *InstanceIAMRoles) 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 (*InstanceIAMRolesList) Slice ¶
func (l *InstanceIAMRolesList) Slice() []*InstanceIAMRoles
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 InstanceIAMRolesListBuilder ¶
type InstanceIAMRolesListBuilder struct {
// contains filtered or unexported fields
}
InstanceIAMRolesListBuilder contains the data and logic needed to build 'instance_IAM_roles' objects.
func NewInstanceIAMRolesList ¶
func NewInstanceIAMRolesList() *InstanceIAMRolesListBuilder
NewInstanceIAMRolesList creates a new builder of 'instance_IAM_roles' objects.
func (*InstanceIAMRolesListBuilder) Build ¶
func (b *InstanceIAMRolesListBuilder) Build() (list *InstanceIAMRolesList, err error)
Build creates a list of 'instance_IAM_roles' objects using the configuration stored in the builder.
func (*InstanceIAMRolesListBuilder) Copy ¶
func (b *InstanceIAMRolesListBuilder) Copy(list *InstanceIAMRolesList) *InstanceIAMRolesListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*InstanceIAMRolesListBuilder) Empty ¶
func (b *InstanceIAMRolesListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*InstanceIAMRolesListBuilder) Items ¶
func (b *InstanceIAMRolesListBuilder) Items(values ...*InstanceIAMRolesBuilder) *InstanceIAMRolesListBuilder
Items sets the items of the list.
type ManagedService ¶
type ManagedService struct {
// contains filtered or unexported fields
}
ManagedService represents the values of the 'managed_service' type.
Represents data about a running Managed Service.
func UnmarshalManagedService ¶
func UnmarshalManagedService(source interface{}) (object *ManagedService, err error)
UnmarshalManagedService reads a value of the 'managed_service' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalManagedServiceList ¶
func UnmarshalManagedServiceList(source interface{}) (items []*ManagedService, err error)
UnmarshalManagedServiceList reads a list of values of the 'managed_service' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ManagedService) Addon ¶
func (o *ManagedService) Addon() *StatefulObject
Addon returns the value of the 'addon' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ManagedService) Cluster ¶
func (o *ManagedService) Cluster() *Cluster
Cluster returns the value of the 'cluster' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ManagedService) CreatedAt ¶
func (o *ManagedService) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ManagedService) Empty ¶
func (o *ManagedService) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ManagedService) GetAddon ¶
func (o *ManagedService) GetAddon() (value *StatefulObject, ok bool)
GetAddon returns the value of the 'addon' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) GetCluster ¶
func (o *ManagedService) GetCluster() (value *Cluster, ok bool)
GetCluster returns the value of the 'cluster' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) GetCreatedAt ¶
func (o *ManagedService) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) GetHREF ¶
func (o *ManagedService) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ManagedService) GetID ¶
func (o *ManagedService) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ManagedService) GetParameters ¶
func (o *ManagedService) GetParameters() (value []*ServiceParameter, ok bool)
GetParameters returns the value of the 'parameters' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) GetResources ¶
func (o *ManagedService) GetResources() (value []*StatefulObject, ok bool)
GetResources returns the value of the 'resources' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) GetService ¶
func (o *ManagedService) GetService() (value string, ok bool)
GetService returns the value of the 'service' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) GetServiceState ¶
func (o *ManagedService) GetServiceState() (value string, ok bool)
GetServiceState returns the value of the 'service_state' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) GetUpdatedAt ¶
func (o *ManagedService) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*ManagedService) HREF ¶
func (o *ManagedService) HREF() string
HREF returns the link to the object.
func (*ManagedService) ID ¶
func (o *ManagedService) ID() string
ID returns the identifier of the object.
func (*ManagedService) Kind ¶
func (o *ManagedService) Kind() string
Kind returns the name of the type of the object.
func (*ManagedService) Link ¶
func (o *ManagedService) Link() bool
Link returns true iif this is a link.
func (*ManagedService) Parameters ¶
func (o *ManagedService) Parameters() []*ServiceParameter
Parameters returns the value of the 'parameters' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ManagedService) Resources ¶
func (o *ManagedService) Resources() []*StatefulObject
Resources returns the value of the 'resources' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ManagedService) Service ¶
func (o *ManagedService) Service() string
Service returns the value of the 'service' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ManagedService) ServiceState ¶
func (o *ManagedService) ServiceState() string
ServiceState returns the value of the 'service_state' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*ManagedService) UpdatedAt ¶
func (o *ManagedService) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type ManagedServiceBuilder ¶
type ManagedServiceBuilder struct {
// contains filtered or unexported fields
}
ManagedServiceBuilder contains the data and logic needed to build 'managed_service' objects.
Represents data about a running Managed Service.
func NewManagedService ¶
func NewManagedService() *ManagedServiceBuilder
NewManagedService creates a new builder of 'managed_service' objects.
func (*ManagedServiceBuilder) Addon ¶
func (b *ManagedServiceBuilder) Addon(value *StatefulObjectBuilder) *ManagedServiceBuilder
Addon sets the value of the 'addon' attribute to the given value.
func (*ManagedServiceBuilder) Build ¶
func (b *ManagedServiceBuilder) Build() (object *ManagedService, err error)
Build creates a 'managed_service' object using the configuration stored in the builder.
func (*ManagedServiceBuilder) Cluster ¶
func (b *ManagedServiceBuilder) Cluster(value *ClusterBuilder) *ManagedServiceBuilder
Cluster sets the value of the 'cluster' attribute to the given value.
This represents the parameters needed by Managed Service to create a cluster.
func (*ManagedServiceBuilder) Copy ¶
func (b *ManagedServiceBuilder) Copy(object *ManagedService) *ManagedServiceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ManagedServiceBuilder) CreatedAt ¶
func (b *ManagedServiceBuilder) CreatedAt(value time.Time) *ManagedServiceBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ManagedServiceBuilder) Empty ¶
func (b *ManagedServiceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ManagedServiceBuilder) HREF ¶
func (b *ManagedServiceBuilder) HREF(value string) *ManagedServiceBuilder
HREF sets the link to the object.
func (*ManagedServiceBuilder) ID ¶
func (b *ManagedServiceBuilder) ID(value string) *ManagedServiceBuilder
ID sets the identifier of the object.
func (*ManagedServiceBuilder) Link ¶
func (b *ManagedServiceBuilder) Link(value bool) *ManagedServiceBuilder
Link sets the flag that indicates if this is a link.
func (*ManagedServiceBuilder) Parameters ¶
func (b *ManagedServiceBuilder) Parameters(values ...*ServiceParameterBuilder) *ManagedServiceBuilder
Parameters sets the value of the 'parameters' attribute to the given values.
func (*ManagedServiceBuilder) Resources ¶
func (b *ManagedServiceBuilder) Resources(values ...*StatefulObjectBuilder) *ManagedServiceBuilder
Resources sets the value of the 'resources' attribute to the given values.
func (*ManagedServiceBuilder) Service ¶
func (b *ManagedServiceBuilder) Service(value string) *ManagedServiceBuilder
Service sets the value of the 'service' attribute to the given value.
func (*ManagedServiceBuilder) ServiceState ¶
func (b *ManagedServiceBuilder) ServiceState(value string) *ManagedServiceBuilder
ServiceState sets the value of the 'service_state' attribute to the given value.
func (*ManagedServiceBuilder) UpdatedAt ¶
func (b *ManagedServiceBuilder) UpdatedAt(value time.Time) *ManagedServiceBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ManagedServiceClient ¶
type ManagedServiceClient struct {
// contains filtered or unexported fields
}
ManagedServiceClient is the client of the 'managed_service' resource.
Manages a Managed Service.
func NewManagedServiceClient ¶
func NewManagedServiceClient(transport http.RoundTripper, path string) *ManagedServiceClient
NewManagedServiceClient creates a new client for the 'managed_service' resource using the given transport to send the requests and receive the responses.
func (*ManagedServiceClient) Delete ¶
func (c *ManagedServiceClient) Delete() *ManagedServiceDeleteRequest
Delete creates a request for the 'delete' method.
Deletes the Managed Service
func (*ManagedServiceClient) Get ¶
func (c *ManagedServiceClient) Get() *ManagedServiceGetRequest
Get creates a request for the 'get' method.
Gets information on the Managed Service
func (*ManagedServiceClient) Poll ¶
func (c *ManagedServiceClient) Poll() *ManagedServicePollRequest
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 (*ManagedServiceClient) Update ¶
func (c *ManagedServiceClient) Update() *ManagedServiceUpdateRequest
Update creates a request for the 'update' method.
type ManagedServiceDeleteRequest ¶
type ManagedServiceDeleteRequest struct {
// contains filtered or unexported fields
}
ManagedServiceDeleteRequest is the request for the 'delete' method.
func (*ManagedServiceDeleteRequest) Header ¶
func (r *ManagedServiceDeleteRequest) Header(name string, value interface{}) *ManagedServiceDeleteRequest
Header adds a request header.
func (*ManagedServiceDeleteRequest) Impersonate ¶
func (r *ManagedServiceDeleteRequest) Impersonate(user string) *ManagedServiceDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ManagedServiceDeleteRequest) Parameter ¶
func (r *ManagedServiceDeleteRequest) Parameter(name string, value interface{}) *ManagedServiceDeleteRequest
Parameter adds a query parameter.
func (*ManagedServiceDeleteRequest) Send ¶
func (r *ManagedServiceDeleteRequest) Send() (result *ManagedServiceDeleteResponse, 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 (*ManagedServiceDeleteRequest) SendContext ¶
func (r *ManagedServiceDeleteRequest) SendContext(ctx context.Context) (result *ManagedServiceDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ManagedServiceDeleteResponse ¶
type ManagedServiceDeleteResponse struct {
// contains filtered or unexported fields
}
ManagedServiceDeleteResponse is the response for the 'delete' method.
func (*ManagedServiceDeleteResponse) Error ¶
func (r *ManagedServiceDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ManagedServiceDeleteResponse) Header ¶
func (r *ManagedServiceDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ManagedServiceDeleteResponse) Status ¶
func (r *ManagedServiceDeleteResponse) Status() int
Status returns the response status code.
type ManagedServiceGetRequest ¶
type ManagedServiceGetRequest struct {
// contains filtered or unexported fields
}
ManagedServiceGetRequest is the request for the 'get' method.
func (*ManagedServiceGetRequest) Header ¶
func (r *ManagedServiceGetRequest) Header(name string, value interface{}) *ManagedServiceGetRequest
Header adds a request header.
func (*ManagedServiceGetRequest) Impersonate ¶
func (r *ManagedServiceGetRequest) Impersonate(user string) *ManagedServiceGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ManagedServiceGetRequest) Parameter ¶
func (r *ManagedServiceGetRequest) Parameter(name string, value interface{}) *ManagedServiceGetRequest
Parameter adds a query parameter.
func (*ManagedServiceGetRequest) Send ¶
func (r *ManagedServiceGetRequest) Send() (result *ManagedServiceGetResponse, 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 (*ManagedServiceGetRequest) SendContext ¶
func (r *ManagedServiceGetRequest) SendContext(ctx context.Context) (result *ManagedServiceGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ManagedServiceGetResponse ¶
type ManagedServiceGetResponse struct {
// contains filtered or unexported fields
}
ManagedServiceGetResponse is the response for the 'get' method.
func (*ManagedServiceGetResponse) Body ¶
func (r *ManagedServiceGetResponse) Body() *ManagedService
Body returns the value of the 'body' parameter.
func (*ManagedServiceGetResponse) Error ¶
func (r *ManagedServiceGetResponse) Error() *errors.Error
Error returns the response error.
func (*ManagedServiceGetResponse) GetBody ¶
func (r *ManagedServiceGetResponse) GetBody() (value *ManagedService, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ManagedServiceGetResponse) Header ¶
func (r *ManagedServiceGetResponse) Header() http.Header
Header returns header of the response.
func (*ManagedServiceGetResponse) Status ¶
func (r *ManagedServiceGetResponse) Status() int
Status returns the response status code.
type ManagedServiceList ¶
type ManagedServiceList struct {
// contains filtered or unexported fields
}
ManagedServiceList is a list of values of the 'managed_service' type.
func (*ManagedServiceList) Each ¶
func (l *ManagedServiceList) Each(f func(item *ManagedService) 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 (*ManagedServiceList) Empty ¶
func (l *ManagedServiceList) Empty() bool
Empty returns true if the list is empty.
func (*ManagedServiceList) Get ¶
func (l *ManagedServiceList) Get(i int) *ManagedService
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ManagedServiceList) GetHREF ¶
func (l *ManagedServiceList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ManagedServiceList) HREF ¶
func (l *ManagedServiceList) HREF() string
HREF returns the link to the list.
func (*ManagedServiceList) Kind ¶
func (l *ManagedServiceList) Kind() string
Kind returns the name of the type of the object.
func (*ManagedServiceList) Len ¶
func (l *ManagedServiceList) Len() int
Len returns the length of the list.
func (*ManagedServiceList) Link ¶
func (l *ManagedServiceList) Link() bool
Link returns true iif this is a link.
func (*ManagedServiceList) Range ¶
func (l *ManagedServiceList) Range(f func(index int, item *ManagedService) 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 (*ManagedServiceList) Slice ¶
func (l *ManagedServiceList) Slice() []*ManagedService
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 ManagedServiceListBuilder ¶
type ManagedServiceListBuilder struct {
// contains filtered or unexported fields
}
ManagedServiceListBuilder contains the data and logic needed to build 'managed_service' objects.
func NewManagedServiceList ¶
func NewManagedServiceList() *ManagedServiceListBuilder
NewManagedServiceList creates a new builder of 'managed_service' objects.
func (*ManagedServiceListBuilder) Build ¶
func (b *ManagedServiceListBuilder) Build() (list *ManagedServiceList, err error)
Build creates a list of 'managed_service' objects using the configuration stored in the builder.
func (*ManagedServiceListBuilder) Copy ¶
func (b *ManagedServiceListBuilder) Copy(list *ManagedServiceList) *ManagedServiceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ManagedServiceListBuilder) Empty ¶
func (b *ManagedServiceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ManagedServiceListBuilder) Items ¶
func (b *ManagedServiceListBuilder) Items(values ...*ManagedServiceBuilder) *ManagedServiceListBuilder
Items sets the items of the list.
type ManagedServicePollRequest ¶
type ManagedServicePollRequest struct {
// contains filtered or unexported fields
}
ManagedServicePollRequest is the request for the Poll method.
func (*ManagedServicePollRequest) Header ¶
func (r *ManagedServicePollRequest) Header(name string, value interface{}) *ManagedServicePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ManagedServicePollRequest) Interval ¶
func (r *ManagedServicePollRequest) Interval(value time.Duration) *ManagedServicePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ManagedServicePollRequest) Parameter ¶
func (r *ManagedServicePollRequest) Parameter(name string, value interface{}) *ManagedServicePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ManagedServicePollRequest) Predicate ¶
func (r *ManagedServicePollRequest) Predicate(value func(*ManagedServiceGetResponse) bool) *ManagedServicePollRequest
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 (*ManagedServicePollRequest) StartContext ¶
func (r *ManagedServicePollRequest) StartContext(ctx context.Context) (response *ManagedServicePollResponse, 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 (*ManagedServicePollRequest) Status ¶
func (r *ManagedServicePollRequest) Status(value int) *ManagedServicePollRequest
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 ManagedServicePollResponse ¶
type ManagedServicePollResponse struct {
// contains filtered or unexported fields
}
ManagedServicePollResponse is the response for the Poll method.
func (*ManagedServicePollResponse) Body ¶
func (r *ManagedServicePollResponse) Body() *ManagedService
Body returns the value of the 'body' parameter.
func (*ManagedServicePollResponse) Error ¶
func (r *ManagedServicePollResponse) Error() *errors.Error
Error returns the response error.
func (*ManagedServicePollResponse) GetBody ¶
func (r *ManagedServicePollResponse) GetBody() (value *ManagedService, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ManagedServicePollResponse) Header ¶
func (r *ManagedServicePollResponse) Header() http.Header
Header returns header of the response.
func (*ManagedServicePollResponse) Status ¶
func (r *ManagedServicePollResponse) Status() int
Status returns the response status code.
type ManagedServiceUpdateRequest ¶
type ManagedServiceUpdateRequest struct {
// contains filtered or unexported fields
}
ManagedServiceUpdateRequest is the request for the 'update' method.
func (*ManagedServiceUpdateRequest) Body ¶
func (r *ManagedServiceUpdateRequest) Body(value *ManagedService) *ManagedServiceUpdateRequest
Body sets the value of the 'body' parameter.
func (*ManagedServiceUpdateRequest) Header ¶
func (r *ManagedServiceUpdateRequest) Header(name string, value interface{}) *ManagedServiceUpdateRequest
Header adds a request header.
func (*ManagedServiceUpdateRequest) Impersonate ¶
func (r *ManagedServiceUpdateRequest) Impersonate(user string) *ManagedServiceUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ManagedServiceUpdateRequest) Parameter ¶
func (r *ManagedServiceUpdateRequest) Parameter(name string, value interface{}) *ManagedServiceUpdateRequest
Parameter adds a query parameter.
func (*ManagedServiceUpdateRequest) Send ¶
func (r *ManagedServiceUpdateRequest) Send() (result *ManagedServiceUpdateResponse, 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 (*ManagedServiceUpdateRequest) SendContext ¶
func (r *ManagedServiceUpdateRequest) SendContext(ctx context.Context) (result *ManagedServiceUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ManagedServiceUpdateResponse ¶
type ManagedServiceUpdateResponse struct {
// contains filtered or unexported fields
}
ManagedServiceUpdateResponse is the response for the 'update' method.
func (*ManagedServiceUpdateResponse) Body ¶
func (r *ManagedServiceUpdateResponse) Body() *ManagedService
Body returns the value of the 'body' parameter.
func (*ManagedServiceUpdateResponse) Error ¶
func (r *ManagedServiceUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ManagedServiceUpdateResponse) GetBody ¶
func (r *ManagedServiceUpdateResponse) GetBody() (value *ManagedService, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ManagedServiceUpdateResponse) Header ¶
func (r *ManagedServiceUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ManagedServiceUpdateResponse) Status ¶
func (r *ManagedServiceUpdateResponse) Status() int
Status returns the response status code.
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 OperatorIAMRole ¶
type OperatorIAMRole struct {
// contains filtered or unexported fields
}
OperatorIAMRole represents the values of the 'operator_IAM_role' type.
Contains the necessary attributes to allow each operator to access the necessary AWS resources
func UnmarshalOperatorIAMRole ¶
func UnmarshalOperatorIAMRole(source interface{}) (object *OperatorIAMRole, err error)
UnmarshalOperatorIAMRole reads a value of the 'operator_IAM_role' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalOperatorIAMRoleList ¶
func UnmarshalOperatorIAMRoleList(source interface{}) (items []*OperatorIAMRole, err error)
UnmarshalOperatorIAMRoleList reads a list of values of the 'operator_IAM_role' type from the given source, which can be a slice of bytes, a string or a reader.
func (*OperatorIAMRole) Empty ¶
func (o *OperatorIAMRole) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*OperatorIAMRole) GetName ¶
func (o *OperatorIAMRole) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
Name of the operator
func (*OperatorIAMRole) GetNamespace ¶
func (o *OperatorIAMRole) GetNamespace() (value string, ok bool)
GetNamespace returns the value of the 'namespace' attribute and a flag indicating if the attribute has a value.
Namespace where the operator lives in the cluster
func (*OperatorIAMRole) GetRoleARN ¶
func (o *OperatorIAMRole) GetRoleARN() (value string, ok bool)
GetRoleARN returns the value of the 'role_ARN' attribute and a flag indicating if the attribute has a value.
Role to assume when accessing AWS resources
func (*OperatorIAMRole) Name ¶
func (o *OperatorIAMRole) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
Name of the operator
func (*OperatorIAMRole) Namespace ¶
func (o *OperatorIAMRole) Namespace() string
Namespace returns the value of the 'namespace' attribute, or the zero value of the type if the attribute doesn't have a value.
Namespace where the operator lives in the cluster
func (*OperatorIAMRole) RoleARN ¶
func (o *OperatorIAMRole) RoleARN() string
RoleARN returns the value of the 'role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.
Role to assume when accessing AWS resources
type OperatorIAMRoleBuilder ¶
type OperatorIAMRoleBuilder struct {
// contains filtered or unexported fields
}
OperatorIAMRoleBuilder contains the data and logic needed to build 'operator_IAM_role' objects.
Contains the necessary attributes to allow each operator to access the necessary AWS resources
func NewOperatorIAMRole ¶
func NewOperatorIAMRole() *OperatorIAMRoleBuilder
NewOperatorIAMRole creates a new builder of 'operator_IAM_role' objects.
func (*OperatorIAMRoleBuilder) Build ¶
func (b *OperatorIAMRoleBuilder) Build() (object *OperatorIAMRole, err error)
Build creates a 'operator_IAM_role' object using the configuration stored in the builder.
func (*OperatorIAMRoleBuilder) Copy ¶
func (b *OperatorIAMRoleBuilder) Copy(object *OperatorIAMRole) *OperatorIAMRoleBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*OperatorIAMRoleBuilder) Empty ¶
func (b *OperatorIAMRoleBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*OperatorIAMRoleBuilder) Name ¶
func (b *OperatorIAMRoleBuilder) Name(value string) *OperatorIAMRoleBuilder
Name sets the value of the 'name' attribute to the given value.
func (*OperatorIAMRoleBuilder) Namespace ¶
func (b *OperatorIAMRoleBuilder) Namespace(value string) *OperatorIAMRoleBuilder
Namespace sets the value of the 'namespace' attribute to the given value.
func (*OperatorIAMRoleBuilder) RoleARN ¶
func (b *OperatorIAMRoleBuilder) RoleARN(value string) *OperatorIAMRoleBuilder
RoleARN sets the value of the 'role_ARN' attribute to the given value.
type OperatorIAMRoleList ¶
type OperatorIAMRoleList struct {
// contains filtered or unexported fields
}
OperatorIAMRoleList is a list of values of the 'operator_IAM_role' type.
func (*OperatorIAMRoleList) Each ¶
func (l *OperatorIAMRoleList) Each(f func(item *OperatorIAMRole) 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 (*OperatorIAMRoleList) Empty ¶
func (l *OperatorIAMRoleList) Empty() bool
Empty returns true if the list is empty.
func (*OperatorIAMRoleList) Get ¶
func (l *OperatorIAMRoleList) Get(i int) *OperatorIAMRole
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*OperatorIAMRoleList) Len ¶
func (l *OperatorIAMRoleList) Len() int
Len returns the length of the list.
func (*OperatorIAMRoleList) Range ¶
func (l *OperatorIAMRoleList) Range(f func(index int, item *OperatorIAMRole) 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 (*OperatorIAMRoleList) Slice ¶
func (l *OperatorIAMRoleList) Slice() []*OperatorIAMRole
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 OperatorIAMRoleListBuilder ¶
type OperatorIAMRoleListBuilder struct {
// contains filtered or unexported fields
}
OperatorIAMRoleListBuilder contains the data and logic needed to build 'operator_IAM_role' objects.
func NewOperatorIAMRoleList ¶
func NewOperatorIAMRoleList() *OperatorIAMRoleListBuilder
NewOperatorIAMRoleList creates a new builder of 'operator_IAM_role' objects.
func (*OperatorIAMRoleListBuilder) Build ¶
func (b *OperatorIAMRoleListBuilder) Build() (list *OperatorIAMRoleList, err error)
Build creates a list of 'operator_IAM_role' objects using the configuration stored in the builder.
func (*OperatorIAMRoleListBuilder) Copy ¶
func (b *OperatorIAMRoleListBuilder) Copy(list *OperatorIAMRoleList) *OperatorIAMRoleListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*OperatorIAMRoleListBuilder) Empty ¶
func (b *OperatorIAMRoleListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*OperatorIAMRoleListBuilder) Items ¶
func (b *OperatorIAMRoleListBuilder) Items(values ...*OperatorIAMRoleBuilder) *OperatorIAMRoleListBuilder
Items sets the items of the list.
type STS ¶
type STS struct {
// contains filtered or unexported fields
}
STS represents the values of the 'STS' type.
Contains the necessary attributes to support role-based authentication on AWS.
func UnmarshalSTS ¶
UnmarshalSTS reads a value of the 'STS' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalSTSList ¶
UnmarshalSTSList reads a list of values of the 'STS' type from the given source, which can be a slice of bytes, a string or a reader.
func (*STS) GetInstanceIAMRoles ¶
func (o *STS) GetInstanceIAMRoles() (value *InstanceIAMRoles, ok bool)
GetInstanceIAMRoles returns the value of the 'instance_IAM_roles' attribute and a flag indicating if the attribute has a value.
Instance IAM roles to use for the instance profiles of the master and worker instances
func (*STS) GetOIDCEndpointURL ¶
GetOIDCEndpointURL returns the value of the 'OIDC_endpoint_URL' attribute and a flag indicating if the attribute has a value.
URL of the location where OIDC configuration and keys are available
func (*STS) GetOperatorIAMRoles ¶
func (o *STS) GetOperatorIAMRoles() (value []*OperatorIAMRole, ok bool)
GetOperatorIAMRoles returns the value of the 'operator_IAM_roles' attribute and a flag indicating if the attribute has a value.
List of roles necessary to access the AWS resources of the various operators used during installation
func (*STS) GetOperatorRolePrefix ¶
GetOperatorRolePrefix returns the value of the 'operator_role_prefix' attribute and a flag indicating if the attribute has a value.
func (*STS) GetRoleARN ¶
GetRoleARN returns the value of the 'role_ARN' attribute and a flag indicating if the attribute has a value.
ARN of the AWS role to assume when installing the cluster
func (*STS) GetSupportRoleARN ¶
GetSupportRoleARN returns the value of the 'support_role_ARN' attribute and a flag indicating if the attribute has a value.
ARN of the AWS role used by SREs to access the cluster AWS account in order to provide support
func (*STS) InstanceIAMRoles ¶
func (o *STS) InstanceIAMRoles() *InstanceIAMRoles
InstanceIAMRoles returns the value of the 'instance_IAM_roles' attribute, or the zero value of the type if the attribute doesn't have a value.
Instance IAM roles to use for the instance profiles of the master and worker instances
func (*STS) OIDCEndpointURL ¶
OIDCEndpointURL returns the value of the 'OIDC_endpoint_URL' attribute, or the zero value of the type if the attribute doesn't have a value.
URL of the location where OIDC configuration and keys are available
func (*STS) OperatorIAMRoles ¶
func (o *STS) OperatorIAMRoles() []*OperatorIAMRole
OperatorIAMRoles returns the value of the 'operator_IAM_roles' attribute, or the zero value of the type if the attribute doesn't have a value.
List of roles necessary to access the AWS resources of the various operators used during installation
func (*STS) OperatorRolePrefix ¶
OperatorRolePrefix returns the value of the 'operator_role_prefix' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*STS) RoleARN ¶
RoleARN returns the value of the 'role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.
ARN of the AWS role to assume when installing the cluster
func (*STS) SupportRoleARN ¶
SupportRoleARN returns the value of the 'support_role_ARN' attribute, or the zero value of the type if the attribute doesn't have a value.
ARN of the AWS role used by SREs to access the cluster AWS account in order to provide support
type STSBuilder ¶
type STSBuilder struct {
// contains filtered or unexported fields
}
STSBuilder contains the data and logic needed to build 'STS' objects.
Contains the necessary attributes to support role-based authentication on AWS.
func (*STSBuilder) Build ¶
func (b *STSBuilder) Build() (object *STS, err error)
Build creates a 'STS' object using the configuration stored in the builder.
func (*STSBuilder) Copy ¶
func (b *STSBuilder) Copy(object *STS) *STSBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*STSBuilder) Empty ¶
func (b *STSBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*STSBuilder) InstanceIAMRoles ¶
func (b *STSBuilder) InstanceIAMRoles(value *InstanceIAMRolesBuilder) *STSBuilder
InstanceIAMRoles sets the value of the 'instance_IAM_roles' attribute to the given value.
Contains the necessary attributes to support role-based authentication on AWS.
func (*STSBuilder) OIDCEndpointURL ¶
func (b *STSBuilder) OIDCEndpointURL(value string) *STSBuilder
OIDCEndpointURL sets the value of the 'OIDC_endpoint_URL' attribute to the given value.
func (*STSBuilder) OperatorIAMRoles ¶
func (b *STSBuilder) OperatorIAMRoles(values ...*OperatorIAMRoleBuilder) *STSBuilder
OperatorIAMRoles sets the value of the 'operator_IAM_roles' attribute to the given values.
func (*STSBuilder) OperatorRolePrefix ¶
func (b *STSBuilder) OperatorRolePrefix(value string) *STSBuilder
OperatorRolePrefix sets the value of the 'operator_role_prefix' attribute to the given value.
func (*STSBuilder) RoleARN ¶
func (b *STSBuilder) RoleARN(value string) *STSBuilder
RoleARN sets the value of the 'role_ARN' attribute to the given value.
func (*STSBuilder) SupportRoleARN ¶
func (b *STSBuilder) SupportRoleARN(value string) *STSBuilder
SupportRoleARN sets the value of the 'support_role_ARN' attribute to the given value.
type STSList ¶
type STSList struct {
// contains filtered or unexported fields
}
STSList is a list of values of the 'STS' type.
func (*STSList) 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 (*STSList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*STSList) 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 (*STSList) 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 STSListBuilder ¶
type STSListBuilder struct {
// contains filtered or unexported fields
}
STSListBuilder contains the data and logic needed to build 'STS' objects.
func NewSTSList ¶
func NewSTSList() *STSListBuilder
NewSTSList creates a new builder of 'STS' objects.
func (*STSListBuilder) Build ¶
func (b *STSListBuilder) Build() (list *STSList, err error)
Build creates a list of 'STS' objects using the configuration stored in the builder.
func (*STSListBuilder) Copy ¶
func (b *STSListBuilder) Copy(list *STSList) *STSListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*STSListBuilder) Empty ¶
func (b *STSListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*STSListBuilder) Items ¶
func (b *STSListBuilder) Items(values ...*STSBuilder) *STSListBuilder
Items sets the items of the list.
type ServiceParameter ¶
type ServiceParameter struct {
// contains filtered or unexported fields
}
ServiceParameter represents the values of the 'service_parameter' type.
func UnmarshalServiceParameter ¶
func UnmarshalServiceParameter(source interface{}) (object *ServiceParameter, err error)
UnmarshalServiceParameter reads a value of the 'service_parameter' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalServiceParameterList ¶
func UnmarshalServiceParameterList(source interface{}) (items []*ServiceParameter, err error)
UnmarshalServiceParameterList reads a list of values of the 'service_parameter' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ServiceParameter) Empty ¶
func (o *ServiceParameter) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ServiceParameter) GetID ¶
func (o *ServiceParameter) GetID() (value string, ok bool)
GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.
Name of the parameter
func (*ServiceParameter) GetValue ¶
func (o *ServiceParameter) GetValue() (value string, ok bool)
GetValue returns the value of the 'value' attribute and a flag indicating if the attribute has a value.
Value of the parameter
func (*ServiceParameter) ID ¶
func (o *ServiceParameter) 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.
Name of the parameter
func (*ServiceParameter) Value ¶
func (o *ServiceParameter) 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.
Value of the parameter
type ServiceParameterBuilder ¶
type ServiceParameterBuilder struct {
// contains filtered or unexported fields
}
ServiceParameterBuilder contains the data and logic needed to build 'service_parameter' objects.
func NewServiceParameter ¶
func NewServiceParameter() *ServiceParameterBuilder
NewServiceParameter creates a new builder of 'service_parameter' objects.
func (*ServiceParameterBuilder) Build ¶
func (b *ServiceParameterBuilder) Build() (object *ServiceParameter, err error)
Build creates a 'service_parameter' object using the configuration stored in the builder.
func (*ServiceParameterBuilder) Copy ¶
func (b *ServiceParameterBuilder) Copy(object *ServiceParameter) *ServiceParameterBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ServiceParameterBuilder) Empty ¶
func (b *ServiceParameterBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ServiceParameterBuilder) ID ¶
func (b *ServiceParameterBuilder) ID(value string) *ServiceParameterBuilder
ID sets the value of the 'ID' attribute to the given value.
func (*ServiceParameterBuilder) Value ¶
func (b *ServiceParameterBuilder) Value(value string) *ServiceParameterBuilder
Value sets the value of the 'value' attribute to the given value.
type ServiceParameterList ¶
type ServiceParameterList struct {
// contains filtered or unexported fields
}
ServiceParameterList is a list of values of the 'service_parameter' type.
func (*ServiceParameterList) Each ¶
func (l *ServiceParameterList) Each(f func(item *ServiceParameter) 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 (*ServiceParameterList) Empty ¶
func (l *ServiceParameterList) Empty() bool
Empty returns true if the list is empty.
func (*ServiceParameterList) Get ¶
func (l *ServiceParameterList) Get(i int) *ServiceParameter
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ServiceParameterList) Len ¶
func (l *ServiceParameterList) Len() int
Len returns the length of the list.
func (*ServiceParameterList) Range ¶
func (l *ServiceParameterList) Range(f func(index int, item *ServiceParameter) 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 (*ServiceParameterList) Slice ¶
func (l *ServiceParameterList) Slice() []*ServiceParameter
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 ServiceParameterListBuilder ¶
type ServiceParameterListBuilder struct {
// contains filtered or unexported fields
}
ServiceParameterListBuilder contains the data and logic needed to build 'service_parameter' objects.
func NewServiceParameterList ¶
func NewServiceParameterList() *ServiceParameterListBuilder
NewServiceParameterList creates a new builder of 'service_parameter' objects.
func (*ServiceParameterListBuilder) Build ¶
func (b *ServiceParameterListBuilder) Build() (list *ServiceParameterList, err error)
Build creates a list of 'service_parameter' objects using the configuration stored in the builder.
func (*ServiceParameterListBuilder) Copy ¶
func (b *ServiceParameterListBuilder) Copy(list *ServiceParameterList) *ServiceParameterListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ServiceParameterListBuilder) Empty ¶
func (b *ServiceParameterListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ServiceParameterListBuilder) Items ¶
func (b *ServiceParameterListBuilder) Items(values ...*ServiceParameterBuilder) *ServiceParameterListBuilder
Items sets the items of the list.
type ServicesAddRequest ¶
type ServicesAddRequest struct {
// contains filtered or unexported fields
}
ServicesAddRequest is the request for the 'add' method.
func (*ServicesAddRequest) Body ¶
func (r *ServicesAddRequest) Body(value *ManagedService) *ServicesAddRequest
Body sets the value of the 'body' parameter.
func (*ServicesAddRequest) Header ¶
func (r *ServicesAddRequest) Header(name string, value interface{}) *ServicesAddRequest
Header adds a request header.
func (*ServicesAddRequest) Impersonate ¶
func (r *ServicesAddRequest) Impersonate(user string) *ServicesAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServicesAddRequest) Parameter ¶
func (r *ServicesAddRequest) Parameter(name string, value interface{}) *ServicesAddRequest
Parameter adds a query parameter.
func (*ServicesAddRequest) Send ¶
func (r *ServicesAddRequest) Send() (result *ServicesAddResponse, 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 (*ServicesAddRequest) SendContext ¶
func (r *ServicesAddRequest) SendContext(ctx context.Context) (result *ServicesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServicesAddResponse ¶
type ServicesAddResponse struct {
// contains filtered or unexported fields
}
ServicesAddResponse is the response for the 'add' method.
func (*ServicesAddResponse) Body ¶
func (r *ServicesAddResponse) Body() *ManagedService
Body returns the value of the 'body' parameter.
func (*ServicesAddResponse) Error ¶
func (r *ServicesAddResponse) Error() *errors.Error
Error returns the response error.
func (*ServicesAddResponse) GetBody ¶
func (r *ServicesAddResponse) GetBody() (value *ManagedService, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServicesAddResponse) Header ¶
func (r *ServicesAddResponse) Header() http.Header
Header returns header of the response.
func (*ServicesAddResponse) Status ¶
func (r *ServicesAddResponse) Status() int
Status returns the response status code.
type ServicesClient ¶
type ServicesClient struct {
// contains filtered or unexported fields
}
ServicesClient is the client of the 'services' resource.
Manages a Managed Services.
func NewServicesClient ¶
func NewServicesClient(transport http.RoundTripper, path string) *ServicesClient
NewServicesClient creates a new client for the 'services' resource using the given transport to send the requests and receive the responses.
func (*ServicesClient) Add ¶
func (c *ServicesClient) Add() *ServicesAddRequest
Add creates a request for the 'add' method.
Creates a new Managed Service
func (*ServicesClient) List ¶
func (c *ServicesClient) List() *ServicesListRequest
List creates a request for the 'list' method.
Lists the Managed Services the user has running
func (*ServicesClient) Service ¶
func (c *ServicesClient) Service(id string) *ManagedServiceClient
Service returns the target 'managed_service' resource for the given identifier.
Returns a reference to that specific Managed Service
type ServicesListRequest ¶
type ServicesListRequest struct {
// contains filtered or unexported fields
}
ServicesListRequest is the request for the 'list' method.
func (*ServicesListRequest) Header ¶
func (r *ServicesListRequest) Header(name string, value interface{}) *ServicesListRequest
Header adds a request header.
func (*ServicesListRequest) Impersonate ¶
func (r *ServicesListRequest) Impersonate(user string) *ServicesListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServicesListRequest) Page ¶
func (r *ServicesListRequest) Page(value int) *ServicesListRequest
Page sets the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ServicesListRequest) Parameter ¶
func (r *ServicesListRequest) Parameter(name string, value interface{}) *ServicesListRequest
Parameter adds a query parameter.
func (*ServicesListRequest) Send ¶
func (r *ServicesListRequest) Send() (result *ServicesListResponse, 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 (*ServicesListRequest) SendContext ¶
func (r *ServicesListRequest) SendContext(ctx context.Context) (result *ServicesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ServicesListRequest) Size ¶
func (r *ServicesListRequest) Size(value int) *ServicesListRequest
Size sets the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
type ServicesListResponse ¶
type ServicesListResponse struct {
// contains filtered or unexported fields
}
ServicesListResponse is the response for the 'list' method.
func (*ServicesListResponse) Error ¶
func (r *ServicesListResponse) Error() *errors.Error
Error returns the response error.
func (*ServicesListResponse) GetItems ¶
func (r *ServicesListResponse) GetItems() (value *ManagedServiceList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
Retrieved list of clusters.
func (*ServicesListResponse) GetPage ¶
func (r *ServicesListResponse) 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 (*ServicesListResponse) GetSize ¶
func (r *ServicesListResponse) 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 (*ServicesListResponse) GetTotal ¶
func (r *ServicesListResponse) 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 (*ServicesListResponse) Header ¶
func (r *ServicesListResponse) Header() http.Header
Header returns header of the response.
func (*ServicesListResponse) Items ¶
func (r *ServicesListResponse) Items() *ManagedServiceList
Items returns the value of the 'items' parameter.
Retrieved list of clusters.
func (*ServicesListResponse) Page ¶
func (r *ServicesListResponse) Page() int
Page returns the value of the 'page' parameter.
Index of the requested page, where one corresponds to the first page.
func (*ServicesListResponse) Size ¶
func (r *ServicesListResponse) Size() int
Size returns the value of the 'size' parameter.
Maximum number of items that will be contained in the returned page.
func (*ServicesListResponse) Status ¶
func (r *ServicesListResponse) Status() int
Status returns the response status code.
func (*ServicesListResponse) Total ¶
func (r *ServicesListResponse) 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 StatefulObject ¶
type StatefulObject struct {
// contains filtered or unexported fields
}
StatefulObject represents the values of the 'stateful_object' type.
func UnmarshalStatefulObject ¶
func UnmarshalStatefulObject(source interface{}) (object *StatefulObject, err error)
UnmarshalStatefulObject reads a value of the 'stateful_object' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalStatefulObjectList ¶
func UnmarshalStatefulObjectList(source interface{}) (items []*StatefulObject, err error)
UnmarshalStatefulObjectList reads a list of values of the 'stateful_object' type from the given source, which can be a slice of bytes, a string or a reader.
func (*StatefulObject) Empty ¶
func (o *StatefulObject) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*StatefulObject) GetHref ¶
func (o *StatefulObject) GetHref() (value string, ok bool)
GetHref returns the value of the 'href' attribute and a flag indicating if the attribute has a value.
func (*StatefulObject) GetID ¶
func (o *StatefulObject) GetID() (value string, ok bool)
GetID returns the value of the 'ID' attribute and a flag indicating if the attribute has a value.
func (*StatefulObject) GetKind ¶
func (o *StatefulObject) GetKind() (value string, ok bool)
GetKind returns the value of the 'kind' attribute and a flag indicating if the attribute has a value.
func (*StatefulObject) GetState ¶
func (o *StatefulObject) GetState() (value string, ok bool)
GetState returns the value of the 'state' attribute and a flag indicating if the attribute has a value.
func (*StatefulObject) Href ¶
func (o *StatefulObject) 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.
func (*StatefulObject) ID ¶
func (o *StatefulObject) 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.
func (*StatefulObject) Kind ¶
func (o *StatefulObject) 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.
func (*StatefulObject) State ¶
func (o *StatefulObject) State() string
State returns the value of the 'state' attribute, or the zero value of the type if the attribute doesn't have a value.
type StatefulObjectBuilder ¶
type StatefulObjectBuilder struct {
// contains filtered or unexported fields
}
StatefulObjectBuilder contains the data and logic needed to build 'stateful_object' objects.
func NewStatefulObject ¶
func NewStatefulObject() *StatefulObjectBuilder
NewStatefulObject creates a new builder of 'stateful_object' objects.
func (*StatefulObjectBuilder) Build ¶
func (b *StatefulObjectBuilder) Build() (object *StatefulObject, err error)
Build creates a 'stateful_object' object using the configuration stored in the builder.
func (*StatefulObjectBuilder) Copy ¶
func (b *StatefulObjectBuilder) Copy(object *StatefulObject) *StatefulObjectBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*StatefulObjectBuilder) Empty ¶
func (b *StatefulObjectBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*StatefulObjectBuilder) Href ¶
func (b *StatefulObjectBuilder) Href(value string) *StatefulObjectBuilder
Href sets the value of the 'href' attribute to the given value.
func (*StatefulObjectBuilder) ID ¶
func (b *StatefulObjectBuilder) ID(value string) *StatefulObjectBuilder
ID sets the value of the 'ID' attribute to the given value.
func (*StatefulObjectBuilder) Kind ¶
func (b *StatefulObjectBuilder) Kind(value string) *StatefulObjectBuilder
Kind sets the value of the 'kind' attribute to the given value.
func (*StatefulObjectBuilder) State ¶
func (b *StatefulObjectBuilder) State(value string) *StatefulObjectBuilder
State sets the value of the 'state' attribute to the given value.
type StatefulObjectList ¶
type StatefulObjectList struct {
// contains filtered or unexported fields
}
StatefulObjectList is a list of values of the 'stateful_object' type.
func (*StatefulObjectList) Each ¶
func (l *StatefulObjectList) Each(f func(item *StatefulObject) 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 (*StatefulObjectList) Empty ¶
func (l *StatefulObjectList) Empty() bool
Empty returns true if the list is empty.
func (*StatefulObjectList) Get ¶
func (l *StatefulObjectList) Get(i int) *StatefulObject
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*StatefulObjectList) Len ¶
func (l *StatefulObjectList) Len() int
Len returns the length of the list.
func (*StatefulObjectList) Range ¶
func (l *StatefulObjectList) Range(f func(index int, item *StatefulObject) 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 (*StatefulObjectList) Slice ¶
func (l *StatefulObjectList) Slice() []*StatefulObject
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 StatefulObjectListBuilder ¶
type StatefulObjectListBuilder struct {
// contains filtered or unexported fields
}
StatefulObjectListBuilder contains the data and logic needed to build 'stateful_object' objects.
func NewStatefulObjectList ¶
func NewStatefulObjectList() *StatefulObjectListBuilder
NewStatefulObjectList creates a new builder of 'stateful_object' objects.
func (*StatefulObjectListBuilder) Build ¶
func (b *StatefulObjectListBuilder) Build() (list *StatefulObjectList, err error)
Build creates a list of 'stateful_object' objects using the configuration stored in the builder.
func (*StatefulObjectListBuilder) Copy ¶
func (b *StatefulObjectListBuilder) Copy(list *StatefulObjectList) *StatefulObjectListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*StatefulObjectListBuilder) Empty ¶
func (b *StatefulObjectListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*StatefulObjectListBuilder) Items ¶
func (b *StatefulObjectListBuilder) Items(values ...*StatefulObjectBuilder) *StatefulObjectListBuilder
Items sets the items of the list.
Source Files ¶
- aws_builder.go
- aws_list_builder.go
- aws_list_type_json.go
- aws_type.go
- aws_type_json.go
- boolean_list_type_json.go
- cloud_region_builder.go
- cloud_region_list_builder.go
- cloud_region_list_type_json.go
- cloud_region_type.go
- cloud_region_type_json.go
- cluster_builder.go
- cluster_list_builder.go
- cluster_list_type_json.go
- cluster_type.go
- cluster_type_json.go
- date_list_type_json.go
- errors.go
- float_list_type_json.go
- instance_iam_roles_builder.go
- instance_iam_roles_list_builder.go
- instance_iam_roles_list_type_json.go
- instance_iam_roles_type.go
- instance_iam_roles_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- long_list_type_json.go
- managed_service_builder.go
- managed_service_client.go
- managed_service_list_builder.go
- managed_service_list_type_json.go
- managed_service_resource_json.go
- managed_service_type.go
- managed_service_type_json.go
- metadata_client.go
- metadata_reader.go
- metadata_type.go
- openapi.go
- operator_iam_role_builder.go
- operator_iam_role_list_builder.go
- operator_iam_role_list_type_json.go
- operator_iam_role_type.go
- operator_iam_role_type_json.go
- root_client.go
- root_resource_json.go
- service_parameter_builder.go
- service_parameter_list_builder.go
- service_parameter_list_type_json.go
- service_parameter_type.go
- service_parameter_type_json.go
- services_client.go
- services_resource_json.go
- stateful_object_builder.go
- stateful_object_list_builder.go
- stateful_object_list_type_json.go
- stateful_object_type.go
- stateful_object_type_json.go
- string_list_type_json.go
- sts_builder.go
- sts_list_builder.go
- sts_list_type_json.go
- sts_type.go
- sts_type_json.go