Documentation
¶
Index ¶
- func AdaptAddons(t Addons) *rpc.Interface
- func AdaptAppInfo(t AppInfo) *rpc.Interface
- func AdaptDisks(t Disks) *rpc.Interface
- func AdaptLogs(t Logs) *rpc.Interface
- func AdaptUserQuery(t UserQuery) *rpc.Interface
- type AddonInstance
- func (v *AddonInstance) Addon() string
- func (v *AddonInstance) HasAddon() bool
- func (v *AddonInstance) HasId() bool
- func (v *AddonInstance) HasName() bool
- func (v *AddonInstance) HasPlan() bool
- func (v *AddonInstance) Id() string
- func (v *AddonInstance) MarshalCBOR() ([]byte, error)
- func (v *AddonInstance) MarshalJSON() ([]byte, error)
- func (v *AddonInstance) Name() string
- func (v *AddonInstance) Plan() string
- func (v *AddonInstance) SetAddon(addon string)
- func (v *AddonInstance) SetId(id string)
- func (v *AddonInstance) SetName(name string)
- func (v *AddonInstance) SetPlan(plan string)
- func (v *AddonInstance) UnmarshalCBOR(data []byte) error
- func (v *AddonInstance) UnmarshalJSON(data []byte) error
- type Addons
- type AddonsClient
- func (v AddonsClient) CreateInstance(ctx context.Context, name string, addon string, plan string, app string) (*AddonsClientCreateInstanceResults, error)
- func (v AddonsClient) DeleteInstance(ctx context.Context, app string, name string) (*AddonsClientDeleteInstanceResults, error)
- func (c AddonsClient) Export() Addons
- func (v AddonsClient) ListInstances(ctx context.Context, app string) (*AddonsClientListInstancesResults, error)
- type AddonsClientCreateInstanceResults
- type AddonsClientDeleteInstanceResults
- type AddonsClientListInstancesResults
- type AddonsCreateInstance
- type AddonsCreateInstanceArgs
- func (v *AddonsCreateInstanceArgs) Addon() string
- func (v *AddonsCreateInstanceArgs) App() string
- func (v *AddonsCreateInstanceArgs) HasAddon() bool
- func (v *AddonsCreateInstanceArgs) HasApp() bool
- func (v *AddonsCreateInstanceArgs) HasName() bool
- func (v *AddonsCreateInstanceArgs) HasPlan() bool
- func (v *AddonsCreateInstanceArgs) MarshalCBOR() ([]byte, error)
- func (v *AddonsCreateInstanceArgs) MarshalJSON() ([]byte, error)
- func (v *AddonsCreateInstanceArgs) Name() string
- func (v *AddonsCreateInstanceArgs) Plan() string
- func (v *AddonsCreateInstanceArgs) UnmarshalCBOR(data []byte) error
- func (v *AddonsCreateInstanceArgs) UnmarshalJSON(data []byte) error
- type AddonsCreateInstanceResults
- func (v *AddonsCreateInstanceResults) MarshalCBOR() ([]byte, error)
- func (v *AddonsCreateInstanceResults) MarshalJSON() ([]byte, error)
- func (v *AddonsCreateInstanceResults) SetId(id string)
- func (v *AddonsCreateInstanceResults) UnmarshalCBOR(data []byte) error
- func (v *AddonsCreateInstanceResults) UnmarshalJSON(data []byte) error
- type AddonsDeleteInstance
- type AddonsDeleteInstanceArgs
- func (v *AddonsDeleteInstanceArgs) App() string
- func (v *AddonsDeleteInstanceArgs) HasApp() bool
- func (v *AddonsDeleteInstanceArgs) HasName() bool
- func (v *AddonsDeleteInstanceArgs) MarshalCBOR() ([]byte, error)
- func (v *AddonsDeleteInstanceArgs) MarshalJSON() ([]byte, error)
- func (v *AddonsDeleteInstanceArgs) Name() string
- func (v *AddonsDeleteInstanceArgs) UnmarshalCBOR(data []byte) error
- func (v *AddonsDeleteInstanceArgs) UnmarshalJSON(data []byte) error
- type AddonsDeleteInstanceResults
- type AddonsListInstances
- type AddonsListInstancesArgs
- func (v *AddonsListInstancesArgs) App() string
- func (v *AddonsListInstancesArgs) HasApp() bool
- func (v *AddonsListInstancesArgs) MarshalCBOR() ([]byte, error)
- func (v *AddonsListInstancesArgs) MarshalJSON() ([]byte, error)
- func (v *AddonsListInstancesArgs) UnmarshalCBOR(data []byte) error
- func (v *AddonsListInstancesArgs) UnmarshalJSON(data []byte) error
- type AddonsListInstancesResults
- func (v *AddonsListInstancesResults) MarshalCBOR() ([]byte, error)
- func (v *AddonsListInstancesResults) MarshalJSON() ([]byte, error)
- func (v *AddonsListInstancesResults) SetAddons(addons []*AddonInstance)
- func (v *AddonsListInstancesResults) UnmarshalCBOR(data []byte) error
- func (v *AddonsListInstancesResults) UnmarshalJSON(data []byte) error
- type AppInfo
- type AppInfoAppInfo
- type AppInfoAppInfoArgs
- func (v *AppInfoAppInfoArgs) Application() string
- func (v *AppInfoAppInfoArgs) HasApplication() bool
- func (v *AppInfoAppInfoArgs) MarshalCBOR() ([]byte, error)
- func (v *AppInfoAppInfoArgs) MarshalJSON() ([]byte, error)
- func (v *AppInfoAppInfoArgs) UnmarshalCBOR(data []byte) error
- func (v *AppInfoAppInfoArgs) UnmarshalJSON(data []byte) error
- type AppInfoAppInfoResults
- func (v *AppInfoAppInfoResults) MarshalCBOR() ([]byte, error)
- func (v *AppInfoAppInfoResults) MarshalJSON() ([]byte, error)
- func (v *AppInfoAppInfoResults) SetStatus(status *ApplicationStatus)
- func (v *AppInfoAppInfoResults) UnmarshalCBOR(data []byte) error
- func (v *AppInfoAppInfoResults) UnmarshalJSON(data []byte) error
- type AppInfoClient
- type AppInfoClientAppInfoResults
- type ApplicationStatus
- func (v *ApplicationStatus) ActiveVersion() string
- func (v *ApplicationStatus) Addons() []*AddonInstance
- func (v *ApplicationStatus) CpuOverHour() []*CpuUsage
- func (v *ApplicationStatus) HasActiveVersion() bool
- func (v *ApplicationStatus) HasAddons() bool
- func (v *ApplicationStatus) HasCpuOverHour() bool
- func (v *ApplicationStatus) HasLastDayCPU() bool
- func (v *ApplicationStatus) HasLastDeploy() bool
- func (v *ApplicationStatus) HasLastHourCPU() bool
- func (v *ApplicationStatus) HasLastMinCPU() bool
- func (v *ApplicationStatus) HasMemoryOverHour() bool
- func (v *ApplicationStatus) HasName() bool
- func (v *ApplicationStatus) HasPools() bool
- func (v *ApplicationStatus) LastDayCPU() float64
- func (v *ApplicationStatus) LastDeploy() *standard.Timestamp
- func (v *ApplicationStatus) LastHourCPU() float64
- func (v *ApplicationStatus) LastMinCPU() float64
- func (v *ApplicationStatus) MarshalCBOR() ([]byte, error)
- func (v *ApplicationStatus) MarshalJSON() ([]byte, error)
- func (v *ApplicationStatus) MemoryOverHour() []*MemoryUsage
- func (v *ApplicationStatus) Name() string
- func (v *ApplicationStatus) Pools() []*PoolStatus
- func (v *ApplicationStatus) SetActiveVersion(activeVersion string)
- func (v *ApplicationStatus) SetAddons(addons []*AddonInstance)
- func (v *ApplicationStatus) SetCpuOverHour(cpuOverHour []*CpuUsage)
- func (v *ApplicationStatus) SetLastDayCPU(lastDayCPU float64)
- func (v *ApplicationStatus) SetLastDeploy(lastDeploy *standard.Timestamp)
- func (v *ApplicationStatus) SetLastHourCPU(lastHourCPU float64)
- func (v *ApplicationStatus) SetLastMinCPU(lastMinCPU float64)
- func (v *ApplicationStatus) SetMemoryOverHour(memoryOverHour []*MemoryUsage)
- func (v *ApplicationStatus) SetName(name string)
- func (v *ApplicationStatus) SetPools(pools []*PoolStatus)
- func (v *ApplicationStatus) UnmarshalCBOR(data []byte) error
- func (v *ApplicationStatus) UnmarshalJSON(data []byte) error
- type CpuUsage
- func (v *CpuUsage) Cores() float64
- func (v *CpuUsage) HasCores() bool
- func (v *CpuUsage) HasStart() bool
- func (v *CpuUsage) MarshalCBOR() ([]byte, error)
- func (v *CpuUsage) MarshalJSON() ([]byte, error)
- func (v *CpuUsage) SetCores(cores float64)
- func (v *CpuUsage) SetStart(start *standard.Timestamp)
- func (v *CpuUsage) Start() *standard.Timestamp
- func (v *CpuUsage) UnmarshalCBOR(data []byte) error
- func (v *CpuUsage) UnmarshalJSON(data []byte) error
- type DiskConfig
- func (v *DiskConfig) Capacity() int64
- func (v *DiskConfig) HasCapacity() bool
- func (v *DiskConfig) HasId() bool
- func (v *DiskConfig) HasName() bool
- func (v *DiskConfig) Id() string
- func (v *DiskConfig) MarshalCBOR() ([]byte, error)
- func (v *DiskConfig) MarshalJSON() ([]byte, error)
- func (v *DiskConfig) Name() string
- func (v *DiskConfig) SetCapacity(capacity int64)
- func (v *DiskConfig) SetId(id string)
- func (v *DiskConfig) SetName(name string)
- func (v *DiskConfig) UnmarshalCBOR(data []byte) error
- func (v *DiskConfig) UnmarshalJSON(data []byte) error
- type Disks
- type DisksClient
- func (v DisksClient) Delete(ctx context.Context, id string) (*DisksClientDeleteResults, error)
- func (c DisksClient) Export() Disks
- func (v DisksClient) GetById(ctx context.Context, id string) (*DisksClientGetByIdResults, error)
- func (v DisksClient) GetByName(ctx context.Context, name string) (*DisksClientGetByNameResults, error)
- func (v DisksClient) List(ctx context.Context) (*DisksClientListResults, error)
- func (v DisksClient) New(ctx context.Context, name string, capacity int64) (*DisksClientNewResults, error)
- type DisksClientDeleteResults
- type DisksClientGetByIdResults
- type DisksClientGetByNameResults
- type DisksClientListResults
- type DisksClientNewResults
- type DisksDelete
- type DisksDeleteArgs
- func (v *DisksDeleteArgs) HasId() bool
- func (v *DisksDeleteArgs) Id() string
- func (v *DisksDeleteArgs) MarshalCBOR() ([]byte, error)
- func (v *DisksDeleteArgs) MarshalJSON() ([]byte, error)
- func (v *DisksDeleteArgs) UnmarshalCBOR(data []byte) error
- func (v *DisksDeleteArgs) UnmarshalJSON(data []byte) error
- type DisksDeleteResults
- type DisksGetById
- type DisksGetByIdArgs
- func (v *DisksGetByIdArgs) HasId() bool
- func (v *DisksGetByIdArgs) Id() string
- func (v *DisksGetByIdArgs) MarshalCBOR() ([]byte, error)
- func (v *DisksGetByIdArgs) MarshalJSON() ([]byte, error)
- func (v *DisksGetByIdArgs) UnmarshalCBOR(data []byte) error
- func (v *DisksGetByIdArgs) UnmarshalJSON(data []byte) error
- type DisksGetByIdResults
- func (v *DisksGetByIdResults) MarshalCBOR() ([]byte, error)
- func (v *DisksGetByIdResults) MarshalJSON() ([]byte, error)
- func (v *DisksGetByIdResults) SetConfig(config *DiskConfig)
- func (v *DisksGetByIdResults) UnmarshalCBOR(data []byte) error
- func (v *DisksGetByIdResults) UnmarshalJSON(data []byte) error
- type DisksGetByName
- type DisksGetByNameArgs
- func (v *DisksGetByNameArgs) HasName() bool
- func (v *DisksGetByNameArgs) MarshalCBOR() ([]byte, error)
- func (v *DisksGetByNameArgs) MarshalJSON() ([]byte, error)
- func (v *DisksGetByNameArgs) Name() string
- func (v *DisksGetByNameArgs) UnmarshalCBOR(data []byte) error
- func (v *DisksGetByNameArgs) UnmarshalJSON(data []byte) error
- type DisksGetByNameResults
- func (v *DisksGetByNameResults) MarshalCBOR() ([]byte, error)
- func (v *DisksGetByNameResults) MarshalJSON() ([]byte, error)
- func (v *DisksGetByNameResults) SetConfig(config *DiskConfig)
- func (v *DisksGetByNameResults) UnmarshalCBOR(data []byte) error
- func (v *DisksGetByNameResults) UnmarshalJSON(data []byte) error
- type DisksList
- type DisksListArgs
- type DisksListResults
- type DisksNew
- type DisksNewArgs
- func (v *DisksNewArgs) Capacity() int64
- func (v *DisksNewArgs) HasCapacity() bool
- func (v *DisksNewArgs) HasName() bool
- func (v *DisksNewArgs) MarshalCBOR() ([]byte, error)
- func (v *DisksNewArgs) MarshalJSON() ([]byte, error)
- func (v *DisksNewArgs) Name() string
- func (v *DisksNewArgs) UnmarshalCBOR(data []byte) error
- func (v *DisksNewArgs) UnmarshalJSON(data []byte) error
- type DisksNewResults
- type LogEntry
- func (v *LogEntry) HasLine() bool
- func (v *LogEntry) HasStream() bool
- func (v *LogEntry) HasTimestamp() bool
- func (v *LogEntry) Line() string
- func (v *LogEntry) MarshalCBOR() ([]byte, error)
- func (v *LogEntry) MarshalJSON() ([]byte, error)
- func (v *LogEntry) SetLine(line string)
- func (v *LogEntry) SetStream(stream string)
- func (v *LogEntry) SetTimestamp(timestamp *standard.Timestamp)
- func (v *LogEntry) Stream() string
- func (v *LogEntry) Timestamp() *standard.Timestamp
- func (v *LogEntry) UnmarshalCBOR(data []byte) error
- func (v *LogEntry) UnmarshalJSON(data []byte) error
- type Logs
- type LogsAppLogs
- type LogsAppLogsArgs
- func (v *LogsAppLogsArgs) Application() string
- func (v *LogsAppLogsArgs) Follow() bool
- func (v *LogsAppLogsArgs) From() *standard.Timestamp
- func (v *LogsAppLogsArgs) HasApplication() bool
- func (v *LogsAppLogsArgs) HasFollow() bool
- func (v *LogsAppLogsArgs) HasFrom() bool
- func (v *LogsAppLogsArgs) MarshalCBOR() ([]byte, error)
- func (v *LogsAppLogsArgs) MarshalJSON() ([]byte, error)
- func (v *LogsAppLogsArgs) UnmarshalCBOR(data []byte) error
- func (v *LogsAppLogsArgs) UnmarshalJSON(data []byte) error
- type LogsAppLogsResults
- type LogsClient
- type LogsClientAppLogsResults
- type MemoryUsage
- func (v *MemoryUsage) Bytes() int64
- func (v *MemoryUsage) HasBytes() bool
- func (v *MemoryUsage) HasTimestamp() bool
- func (v *MemoryUsage) MarshalCBOR() ([]byte, error)
- func (v *MemoryUsage) MarshalJSON() ([]byte, error)
- func (v *MemoryUsage) SetBytes(bytes int64)
- func (v *MemoryUsage) SetTimestamp(timestamp *standard.Timestamp)
- func (v *MemoryUsage) Timestamp() *standard.Timestamp
- func (v *MemoryUsage) UnmarshalCBOR(data []byte) error
- func (v *MemoryUsage) UnmarshalJSON(data []byte) error
- type PoolStatus
- func (v *PoolStatus) HasIdle() bool
- func (v *PoolStatus) HasIdleUsage() bool
- func (v *PoolStatus) HasName() bool
- func (v *PoolStatus) HasWindows() bool
- func (v *PoolStatus) Idle() int32
- func (v *PoolStatus) IdleUsage() int64
- func (v *PoolStatus) MarshalCBOR() ([]byte, error)
- func (v *PoolStatus) MarshalJSON() ([]byte, error)
- func (v *PoolStatus) Name() string
- func (v *PoolStatus) SetIdle(idle int32)
- func (v *PoolStatus) SetIdleUsage(idleUsage int64)
- func (v *PoolStatus) SetName(name string)
- func (v *PoolStatus) SetWindows(windows []*WindowStatus)
- func (v *PoolStatus) UnmarshalCBOR(data []byte) error
- func (v *PoolStatus) UnmarshalJSON(data []byte) error
- func (v *PoolStatus) Windows() []*WindowStatus
- type UserInfo
- func (v *UserInfo) HasSubject() bool
- func (v *UserInfo) MarshalCBOR() ([]byte, error)
- func (v *UserInfo) MarshalJSON() ([]byte, error)
- func (v *UserInfo) SetSubject(subject string)
- func (v *UserInfo) Subject() string
- func (v *UserInfo) UnmarshalCBOR(data []byte) error
- func (v *UserInfo) UnmarshalJSON(data []byte) error
- type UserQuery
- type UserQueryClient
- type UserQueryClientWhoAmIResults
- type UserQueryWhoAmI
- type UserQueryWhoAmIArgs
- type UserQueryWhoAmIResults
- func (v *UserQueryWhoAmIResults) MarshalCBOR() ([]byte, error)
- func (v *UserQueryWhoAmIResults) MarshalJSON() ([]byte, error)
- func (v *UserQueryWhoAmIResults) SetInfo(info *UserInfo)
- func (v *UserQueryWhoAmIResults) UnmarshalCBOR(data []byte) error
- func (v *UserQueryWhoAmIResults) UnmarshalJSON(data []byte) error
- type WindowStatus
- func (v *WindowStatus) HasLeases() bool
- func (v *WindowStatus) HasUsage() bool
- func (v *WindowStatus) HasVersion() bool
- func (v *WindowStatus) Leases() int32
- func (v *WindowStatus) MarshalCBOR() ([]byte, error)
- func (v *WindowStatus) MarshalJSON() ([]byte, error)
- func (v *WindowStatus) SetLeases(leases int32)
- func (v *WindowStatus) SetUsage(usage int64)
- func (v *WindowStatus) SetVersion(version string)
- func (v *WindowStatus) UnmarshalCBOR(data []byte) error
- func (v *WindowStatus) UnmarshalJSON(data []byte) error
- func (v *WindowStatus) Usage() int64
- func (v *WindowStatus) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptAddons ¶
func AdaptAppInfo ¶
func AdaptDisks ¶
func AdaptUserQuery ¶
Types ¶
type AddonInstance ¶
type AddonInstance struct {
// contains filtered or unexported fields
}
func (*AddonInstance) Addon ¶
func (v *AddonInstance) Addon() string
func (*AddonInstance) HasAddon ¶
func (v *AddonInstance) HasAddon() bool
func (*AddonInstance) HasId ¶
func (v *AddonInstance) HasId() bool
func (*AddonInstance) HasName ¶
func (v *AddonInstance) HasName() bool
func (*AddonInstance) HasPlan ¶
func (v *AddonInstance) HasPlan() bool
func (*AddonInstance) Id ¶
func (v *AddonInstance) Id() string
func (*AddonInstance) MarshalCBOR ¶
func (v *AddonInstance) MarshalCBOR() ([]byte, error)
func (*AddonInstance) MarshalJSON ¶
func (v *AddonInstance) MarshalJSON() ([]byte, error)
func (*AddonInstance) Name ¶
func (v *AddonInstance) Name() string
func (*AddonInstance) Plan ¶
func (v *AddonInstance) Plan() string
func (*AddonInstance) SetAddon ¶
func (v *AddonInstance) SetAddon(addon string)
func (*AddonInstance) SetId ¶
func (v *AddonInstance) SetId(id string)
func (*AddonInstance) SetName ¶
func (v *AddonInstance) SetName(name string)
func (*AddonInstance) SetPlan ¶
func (v *AddonInstance) SetPlan(plan string)
func (*AddonInstance) UnmarshalCBOR ¶
func (v *AddonInstance) UnmarshalCBOR(data []byte) error
func (*AddonInstance) UnmarshalJSON ¶
func (v *AddonInstance) UnmarshalJSON(data []byte) error
type Addons ¶
type Addons interface {
CreateInstance(ctx context.Context, state *AddonsCreateInstance) error
ListInstances(ctx context.Context, state *AddonsListInstances) error
DeleteInstance(ctx context.Context, state *AddonsDeleteInstance) error
}
type AddonsClient ¶
func NewAddonsClient ¶
func NewAddonsClient(client rpc.Client) *AddonsClient
func (AddonsClient) CreateInstance ¶
func (v AddonsClient) CreateInstance(ctx context.Context, name string, addon string, plan string, app string) (*AddonsClientCreateInstanceResults, error)
func (AddonsClient) DeleteInstance ¶
func (v AddonsClient) DeleteInstance(ctx context.Context, app string, name string) (*AddonsClientDeleteInstanceResults, error)
func (AddonsClient) Export ¶
func (c AddonsClient) Export() Addons
func (AddonsClient) ListInstances ¶
func (v AddonsClient) ListInstances(ctx context.Context, app string) (*AddonsClientListInstancesResults, error)
type AddonsClientCreateInstanceResults ¶
type AddonsClientCreateInstanceResults struct {
// contains filtered or unexported fields
}
func (*AddonsClientCreateInstanceResults) HasId ¶
func (v *AddonsClientCreateInstanceResults) HasId() bool
func (*AddonsClientCreateInstanceResults) Id ¶
func (v *AddonsClientCreateInstanceResults) Id() string
type AddonsClientDeleteInstanceResults ¶
type AddonsClientDeleteInstanceResults struct {
// contains filtered or unexported fields
}
type AddonsClientListInstancesResults ¶
type AddonsClientListInstancesResults struct {
// contains filtered or unexported fields
}
func (*AddonsClientListInstancesResults) Addons ¶
func (v *AddonsClientListInstancesResults) Addons() []*AddonInstance
func (*AddonsClientListInstancesResults) HasAddons ¶
func (v *AddonsClientListInstancesResults) HasAddons() bool
type AddonsCreateInstance ¶
func (*AddonsCreateInstance) Args ¶
func (t *AddonsCreateInstance) Args() *AddonsCreateInstanceArgs
func (*AddonsCreateInstance) Results ¶
func (t *AddonsCreateInstance) Results() *AddonsCreateInstanceResults
type AddonsCreateInstanceArgs ¶
type AddonsCreateInstanceArgs struct {
// contains filtered or unexported fields
}
func (*AddonsCreateInstanceArgs) Addon ¶
func (v *AddonsCreateInstanceArgs) Addon() string
func (*AddonsCreateInstanceArgs) App ¶
func (v *AddonsCreateInstanceArgs) App() string
func (*AddonsCreateInstanceArgs) HasAddon ¶
func (v *AddonsCreateInstanceArgs) HasAddon() bool
func (*AddonsCreateInstanceArgs) HasApp ¶
func (v *AddonsCreateInstanceArgs) HasApp() bool
func (*AddonsCreateInstanceArgs) HasName ¶
func (v *AddonsCreateInstanceArgs) HasName() bool
func (*AddonsCreateInstanceArgs) HasPlan ¶
func (v *AddonsCreateInstanceArgs) HasPlan() bool
func (*AddonsCreateInstanceArgs) MarshalCBOR ¶
func (v *AddonsCreateInstanceArgs) MarshalCBOR() ([]byte, error)
func (*AddonsCreateInstanceArgs) MarshalJSON ¶
func (v *AddonsCreateInstanceArgs) MarshalJSON() ([]byte, error)
func (*AddonsCreateInstanceArgs) Name ¶
func (v *AddonsCreateInstanceArgs) Name() string
func (*AddonsCreateInstanceArgs) Plan ¶
func (v *AddonsCreateInstanceArgs) Plan() string
func (*AddonsCreateInstanceArgs) UnmarshalCBOR ¶
func (v *AddonsCreateInstanceArgs) UnmarshalCBOR(data []byte) error
func (*AddonsCreateInstanceArgs) UnmarshalJSON ¶
func (v *AddonsCreateInstanceArgs) UnmarshalJSON(data []byte) error
type AddonsCreateInstanceResults ¶
type AddonsCreateInstanceResults struct {
// contains filtered or unexported fields
}
func (*AddonsCreateInstanceResults) MarshalCBOR ¶
func (v *AddonsCreateInstanceResults) MarshalCBOR() ([]byte, error)
func (*AddonsCreateInstanceResults) MarshalJSON ¶
func (v *AddonsCreateInstanceResults) MarshalJSON() ([]byte, error)
func (*AddonsCreateInstanceResults) SetId ¶
func (v *AddonsCreateInstanceResults) SetId(id string)
func (*AddonsCreateInstanceResults) UnmarshalCBOR ¶
func (v *AddonsCreateInstanceResults) UnmarshalCBOR(data []byte) error
func (*AddonsCreateInstanceResults) UnmarshalJSON ¶
func (v *AddonsCreateInstanceResults) UnmarshalJSON(data []byte) error
type AddonsDeleteInstance ¶
func (*AddonsDeleteInstance) Args ¶
func (t *AddonsDeleteInstance) Args() *AddonsDeleteInstanceArgs
func (*AddonsDeleteInstance) Results ¶
func (t *AddonsDeleteInstance) Results() *AddonsDeleteInstanceResults
type AddonsDeleteInstanceArgs ¶
type AddonsDeleteInstanceArgs struct {
// contains filtered or unexported fields
}
func (*AddonsDeleteInstanceArgs) App ¶
func (v *AddonsDeleteInstanceArgs) App() string
func (*AddonsDeleteInstanceArgs) HasApp ¶
func (v *AddonsDeleteInstanceArgs) HasApp() bool
func (*AddonsDeleteInstanceArgs) HasName ¶
func (v *AddonsDeleteInstanceArgs) HasName() bool
func (*AddonsDeleteInstanceArgs) MarshalCBOR ¶
func (v *AddonsDeleteInstanceArgs) MarshalCBOR() ([]byte, error)
func (*AddonsDeleteInstanceArgs) MarshalJSON ¶
func (v *AddonsDeleteInstanceArgs) MarshalJSON() ([]byte, error)
func (*AddonsDeleteInstanceArgs) Name ¶
func (v *AddonsDeleteInstanceArgs) Name() string
func (*AddonsDeleteInstanceArgs) UnmarshalCBOR ¶
func (v *AddonsDeleteInstanceArgs) UnmarshalCBOR(data []byte) error
func (*AddonsDeleteInstanceArgs) UnmarshalJSON ¶
func (v *AddonsDeleteInstanceArgs) UnmarshalJSON(data []byte) error
type AddonsDeleteInstanceResults ¶
type AddonsDeleteInstanceResults struct {
// contains filtered or unexported fields
}
func (*AddonsDeleteInstanceResults) MarshalCBOR ¶
func (v *AddonsDeleteInstanceResults) MarshalCBOR() ([]byte, error)
func (*AddonsDeleteInstanceResults) MarshalJSON ¶
func (v *AddonsDeleteInstanceResults) MarshalJSON() ([]byte, error)
func (*AddonsDeleteInstanceResults) UnmarshalCBOR ¶
func (v *AddonsDeleteInstanceResults) UnmarshalCBOR(data []byte) error
func (*AddonsDeleteInstanceResults) UnmarshalJSON ¶
func (v *AddonsDeleteInstanceResults) UnmarshalJSON(data []byte) error
type AddonsListInstances ¶
func (*AddonsListInstances) Args ¶
func (t *AddonsListInstances) Args() *AddonsListInstancesArgs
func (*AddonsListInstances) Results ¶
func (t *AddonsListInstances) Results() *AddonsListInstancesResults
type AddonsListInstancesArgs ¶
type AddonsListInstancesArgs struct {
// contains filtered or unexported fields
}
func (*AddonsListInstancesArgs) App ¶
func (v *AddonsListInstancesArgs) App() string
func (*AddonsListInstancesArgs) HasApp ¶
func (v *AddonsListInstancesArgs) HasApp() bool
func (*AddonsListInstancesArgs) MarshalCBOR ¶
func (v *AddonsListInstancesArgs) MarshalCBOR() ([]byte, error)
func (*AddonsListInstancesArgs) MarshalJSON ¶
func (v *AddonsListInstancesArgs) MarshalJSON() ([]byte, error)
func (*AddonsListInstancesArgs) UnmarshalCBOR ¶
func (v *AddonsListInstancesArgs) UnmarshalCBOR(data []byte) error
func (*AddonsListInstancesArgs) UnmarshalJSON ¶
func (v *AddonsListInstancesArgs) UnmarshalJSON(data []byte) error
type AddonsListInstancesResults ¶
type AddonsListInstancesResults struct {
// contains filtered or unexported fields
}
func (*AddonsListInstancesResults) MarshalCBOR ¶
func (v *AddonsListInstancesResults) MarshalCBOR() ([]byte, error)
func (*AddonsListInstancesResults) MarshalJSON ¶
func (v *AddonsListInstancesResults) MarshalJSON() ([]byte, error)
func (*AddonsListInstancesResults) SetAddons ¶
func (v *AddonsListInstancesResults) SetAddons(addons []*AddonInstance)
func (*AddonsListInstancesResults) UnmarshalCBOR ¶
func (v *AddonsListInstancesResults) UnmarshalCBOR(data []byte) error
func (*AddonsListInstancesResults) UnmarshalJSON ¶
func (v *AddonsListInstancesResults) UnmarshalJSON(data []byte) error
type AppInfoAppInfo ¶
func (*AppInfoAppInfo) Args ¶
func (t *AppInfoAppInfo) Args() *AppInfoAppInfoArgs
func (*AppInfoAppInfo) Results ¶
func (t *AppInfoAppInfo) Results() *AppInfoAppInfoResults
type AppInfoAppInfoArgs ¶
type AppInfoAppInfoArgs struct {
// contains filtered or unexported fields
}
func (*AppInfoAppInfoArgs) Application ¶
func (v *AppInfoAppInfoArgs) Application() string
func (*AppInfoAppInfoArgs) HasApplication ¶
func (v *AppInfoAppInfoArgs) HasApplication() bool
func (*AppInfoAppInfoArgs) MarshalCBOR ¶
func (v *AppInfoAppInfoArgs) MarshalCBOR() ([]byte, error)
func (*AppInfoAppInfoArgs) MarshalJSON ¶
func (v *AppInfoAppInfoArgs) MarshalJSON() ([]byte, error)
func (*AppInfoAppInfoArgs) UnmarshalCBOR ¶
func (v *AppInfoAppInfoArgs) UnmarshalCBOR(data []byte) error
func (*AppInfoAppInfoArgs) UnmarshalJSON ¶
func (v *AppInfoAppInfoArgs) UnmarshalJSON(data []byte) error
type AppInfoAppInfoResults ¶
type AppInfoAppInfoResults struct {
// contains filtered or unexported fields
}
func (*AppInfoAppInfoResults) MarshalCBOR ¶
func (v *AppInfoAppInfoResults) MarshalCBOR() ([]byte, error)
func (*AppInfoAppInfoResults) MarshalJSON ¶
func (v *AppInfoAppInfoResults) MarshalJSON() ([]byte, error)
func (*AppInfoAppInfoResults) SetStatus ¶
func (v *AppInfoAppInfoResults) SetStatus(status *ApplicationStatus)
func (*AppInfoAppInfoResults) UnmarshalCBOR ¶
func (v *AppInfoAppInfoResults) UnmarshalCBOR(data []byte) error
func (*AppInfoAppInfoResults) UnmarshalJSON ¶
func (v *AppInfoAppInfoResults) UnmarshalJSON(data []byte) error
type AppInfoClient ¶
func NewAppInfoClient ¶
func NewAppInfoClient(client rpc.Client) *AppInfoClient
func (AppInfoClient) AppInfo ¶
func (v AppInfoClient) AppInfo(ctx context.Context, application string) (*AppInfoClientAppInfoResults, error)
func (AppInfoClient) Export ¶
func (c AppInfoClient) Export() AppInfo
type AppInfoClientAppInfoResults ¶
type AppInfoClientAppInfoResults struct {
// contains filtered or unexported fields
}
func (*AppInfoClientAppInfoResults) HasStatus ¶
func (v *AppInfoClientAppInfoResults) HasStatus() bool
func (*AppInfoClientAppInfoResults) Status ¶
func (v *AppInfoClientAppInfoResults) Status() *ApplicationStatus
type ApplicationStatus ¶
type ApplicationStatus struct {
// contains filtered or unexported fields
}
func (*ApplicationStatus) ActiveVersion ¶
func (v *ApplicationStatus) ActiveVersion() string
func (*ApplicationStatus) Addons ¶
func (v *ApplicationStatus) Addons() []*AddonInstance
func (*ApplicationStatus) CpuOverHour ¶
func (v *ApplicationStatus) CpuOverHour() []*CpuUsage
func (*ApplicationStatus) HasActiveVersion ¶
func (v *ApplicationStatus) HasActiveVersion() bool
func (*ApplicationStatus) HasAddons ¶
func (v *ApplicationStatus) HasAddons() bool
func (*ApplicationStatus) HasCpuOverHour ¶
func (v *ApplicationStatus) HasCpuOverHour() bool
func (*ApplicationStatus) HasLastDayCPU ¶
func (v *ApplicationStatus) HasLastDayCPU() bool
func (*ApplicationStatus) HasLastDeploy ¶
func (v *ApplicationStatus) HasLastDeploy() bool
func (*ApplicationStatus) HasLastHourCPU ¶
func (v *ApplicationStatus) HasLastHourCPU() bool
func (*ApplicationStatus) HasLastMinCPU ¶
func (v *ApplicationStatus) HasLastMinCPU() bool
func (*ApplicationStatus) HasMemoryOverHour ¶
func (v *ApplicationStatus) HasMemoryOverHour() bool
func (*ApplicationStatus) HasName ¶
func (v *ApplicationStatus) HasName() bool
func (*ApplicationStatus) HasPools ¶
func (v *ApplicationStatus) HasPools() bool
func (*ApplicationStatus) LastDayCPU ¶
func (v *ApplicationStatus) LastDayCPU() float64
func (*ApplicationStatus) LastDeploy ¶
func (v *ApplicationStatus) LastDeploy() *standard.Timestamp
func (*ApplicationStatus) LastHourCPU ¶
func (v *ApplicationStatus) LastHourCPU() float64
func (*ApplicationStatus) LastMinCPU ¶
func (v *ApplicationStatus) LastMinCPU() float64
func (*ApplicationStatus) MarshalCBOR ¶
func (v *ApplicationStatus) MarshalCBOR() ([]byte, error)
func (*ApplicationStatus) MarshalJSON ¶
func (v *ApplicationStatus) MarshalJSON() ([]byte, error)
func (*ApplicationStatus) MemoryOverHour ¶
func (v *ApplicationStatus) MemoryOverHour() []*MemoryUsage
func (*ApplicationStatus) Name ¶
func (v *ApplicationStatus) Name() string
func (*ApplicationStatus) Pools ¶
func (v *ApplicationStatus) Pools() []*PoolStatus
func (*ApplicationStatus) SetActiveVersion ¶
func (v *ApplicationStatus) SetActiveVersion(activeVersion string)
func (*ApplicationStatus) SetAddons ¶
func (v *ApplicationStatus) SetAddons(addons []*AddonInstance)
func (*ApplicationStatus) SetCpuOverHour ¶
func (v *ApplicationStatus) SetCpuOverHour(cpuOverHour []*CpuUsage)
func (*ApplicationStatus) SetLastDayCPU ¶
func (v *ApplicationStatus) SetLastDayCPU(lastDayCPU float64)
func (*ApplicationStatus) SetLastDeploy ¶
func (v *ApplicationStatus) SetLastDeploy(lastDeploy *standard.Timestamp)
func (*ApplicationStatus) SetLastHourCPU ¶
func (v *ApplicationStatus) SetLastHourCPU(lastHourCPU float64)
func (*ApplicationStatus) SetLastMinCPU ¶
func (v *ApplicationStatus) SetLastMinCPU(lastMinCPU float64)
func (*ApplicationStatus) SetMemoryOverHour ¶
func (v *ApplicationStatus) SetMemoryOverHour(memoryOverHour []*MemoryUsage)
func (*ApplicationStatus) SetName ¶
func (v *ApplicationStatus) SetName(name string)
func (*ApplicationStatus) SetPools ¶
func (v *ApplicationStatus) SetPools(pools []*PoolStatus)
func (*ApplicationStatus) UnmarshalCBOR ¶
func (v *ApplicationStatus) UnmarshalCBOR(data []byte) error
func (*ApplicationStatus) UnmarshalJSON ¶
func (v *ApplicationStatus) UnmarshalJSON(data []byte) error
type CpuUsage ¶
type CpuUsage struct {
// contains filtered or unexported fields
}
func (*CpuUsage) MarshalCBOR ¶
func (*CpuUsage) MarshalJSON ¶
func (*CpuUsage) UnmarshalCBOR ¶
func (*CpuUsage) UnmarshalJSON ¶
type DiskConfig ¶
type DiskConfig struct {
// contains filtered or unexported fields
}
func (*DiskConfig) Capacity ¶
func (v *DiskConfig) Capacity() int64
func (*DiskConfig) HasCapacity ¶
func (v *DiskConfig) HasCapacity() bool
func (*DiskConfig) HasId ¶
func (v *DiskConfig) HasId() bool
func (*DiskConfig) HasName ¶
func (v *DiskConfig) HasName() bool
func (*DiskConfig) Id ¶
func (v *DiskConfig) Id() string
func (*DiskConfig) MarshalCBOR ¶
func (v *DiskConfig) MarshalCBOR() ([]byte, error)
func (*DiskConfig) MarshalJSON ¶
func (v *DiskConfig) MarshalJSON() ([]byte, error)
func (*DiskConfig) Name ¶
func (v *DiskConfig) Name() string
func (*DiskConfig) SetCapacity ¶
func (v *DiskConfig) SetCapacity(capacity int64)
func (*DiskConfig) SetId ¶
func (v *DiskConfig) SetId(id string)
func (*DiskConfig) SetName ¶
func (v *DiskConfig) SetName(name string)
func (*DiskConfig) UnmarshalCBOR ¶
func (v *DiskConfig) UnmarshalCBOR(data []byte) error
func (*DiskConfig) UnmarshalJSON ¶
func (v *DiskConfig) UnmarshalJSON(data []byte) error
type DisksClient ¶
func NewDisksClient ¶
func NewDisksClient(client rpc.Client) *DisksClient
func (DisksClient) Delete ¶
func (v DisksClient) Delete(ctx context.Context, id string) (*DisksClientDeleteResults, error)
func (DisksClient) Export ¶
func (c DisksClient) Export() Disks
func (DisksClient) GetById ¶
func (v DisksClient) GetById(ctx context.Context, id string) (*DisksClientGetByIdResults, error)
func (DisksClient) GetByName ¶
func (v DisksClient) GetByName(ctx context.Context, name string) (*DisksClientGetByNameResults, error)
func (DisksClient) List ¶
func (v DisksClient) List(ctx context.Context) (*DisksClientListResults, error)
func (DisksClient) New ¶
func (v DisksClient) New(ctx context.Context, name string, capacity int64) (*DisksClientNewResults, error)
type DisksClientDeleteResults ¶
type DisksClientDeleteResults struct {
// contains filtered or unexported fields
}
type DisksClientGetByIdResults ¶
type DisksClientGetByIdResults struct {
// contains filtered or unexported fields
}
func (*DisksClientGetByIdResults) Config ¶
func (v *DisksClientGetByIdResults) Config() *DiskConfig
func (*DisksClientGetByIdResults) HasConfig ¶
func (v *DisksClientGetByIdResults) HasConfig() bool
type DisksClientGetByNameResults ¶
type DisksClientGetByNameResults struct {
// contains filtered or unexported fields
}
func (*DisksClientGetByNameResults) Config ¶
func (v *DisksClientGetByNameResults) Config() *DiskConfig
func (*DisksClientGetByNameResults) HasConfig ¶
func (v *DisksClientGetByNameResults) HasConfig() bool
type DisksClientListResults ¶
type DisksClientListResults struct {
// contains filtered or unexported fields
}
func (*DisksClientListResults) Disks ¶
func (v *DisksClientListResults) Disks() []*DiskConfig
func (*DisksClientListResults) HasDisks ¶
func (v *DisksClientListResults) HasDisks() bool
type DisksClientNewResults ¶
type DisksClientNewResults struct {
// contains filtered or unexported fields
}
func (*DisksClientNewResults) HasId ¶
func (v *DisksClientNewResults) HasId() bool
func (*DisksClientNewResults) Id ¶
func (v *DisksClientNewResults) Id() string
type DisksDelete ¶
func (*DisksDelete) Args ¶
func (t *DisksDelete) Args() *DisksDeleteArgs
func (*DisksDelete) Results ¶
func (t *DisksDelete) Results() *DisksDeleteResults
type DisksDeleteArgs ¶
type DisksDeleteArgs struct {
// contains filtered or unexported fields
}
func (*DisksDeleteArgs) HasId ¶
func (v *DisksDeleteArgs) HasId() bool
func (*DisksDeleteArgs) Id ¶
func (v *DisksDeleteArgs) Id() string
func (*DisksDeleteArgs) MarshalCBOR ¶
func (v *DisksDeleteArgs) MarshalCBOR() ([]byte, error)
func (*DisksDeleteArgs) MarshalJSON ¶
func (v *DisksDeleteArgs) MarshalJSON() ([]byte, error)
func (*DisksDeleteArgs) UnmarshalCBOR ¶
func (v *DisksDeleteArgs) UnmarshalCBOR(data []byte) error
func (*DisksDeleteArgs) UnmarshalJSON ¶
func (v *DisksDeleteArgs) UnmarshalJSON(data []byte) error
type DisksDeleteResults ¶
type DisksDeleteResults struct {
// contains filtered or unexported fields
}
func (*DisksDeleteResults) MarshalCBOR ¶
func (v *DisksDeleteResults) MarshalCBOR() ([]byte, error)
func (*DisksDeleteResults) MarshalJSON ¶
func (v *DisksDeleteResults) MarshalJSON() ([]byte, error)
func (*DisksDeleteResults) UnmarshalCBOR ¶
func (v *DisksDeleteResults) UnmarshalCBOR(data []byte) error
func (*DisksDeleteResults) UnmarshalJSON ¶
func (v *DisksDeleteResults) UnmarshalJSON(data []byte) error
type DisksGetById ¶
func (*DisksGetById) Args ¶
func (t *DisksGetById) Args() *DisksGetByIdArgs
func (*DisksGetById) Results ¶
func (t *DisksGetById) Results() *DisksGetByIdResults
type DisksGetByIdArgs ¶
type DisksGetByIdArgs struct {
// contains filtered or unexported fields
}
func (*DisksGetByIdArgs) HasId ¶
func (v *DisksGetByIdArgs) HasId() bool
func (*DisksGetByIdArgs) Id ¶
func (v *DisksGetByIdArgs) Id() string
func (*DisksGetByIdArgs) MarshalCBOR ¶
func (v *DisksGetByIdArgs) MarshalCBOR() ([]byte, error)
func (*DisksGetByIdArgs) MarshalJSON ¶
func (v *DisksGetByIdArgs) MarshalJSON() ([]byte, error)
func (*DisksGetByIdArgs) UnmarshalCBOR ¶
func (v *DisksGetByIdArgs) UnmarshalCBOR(data []byte) error
func (*DisksGetByIdArgs) UnmarshalJSON ¶
func (v *DisksGetByIdArgs) UnmarshalJSON(data []byte) error
type DisksGetByIdResults ¶
type DisksGetByIdResults struct {
// contains filtered or unexported fields
}
func (*DisksGetByIdResults) MarshalCBOR ¶
func (v *DisksGetByIdResults) MarshalCBOR() ([]byte, error)
func (*DisksGetByIdResults) MarshalJSON ¶
func (v *DisksGetByIdResults) MarshalJSON() ([]byte, error)
func (*DisksGetByIdResults) SetConfig ¶
func (v *DisksGetByIdResults) SetConfig(config *DiskConfig)
func (*DisksGetByIdResults) UnmarshalCBOR ¶
func (v *DisksGetByIdResults) UnmarshalCBOR(data []byte) error
func (*DisksGetByIdResults) UnmarshalJSON ¶
func (v *DisksGetByIdResults) UnmarshalJSON(data []byte) error
type DisksGetByName ¶
func (*DisksGetByName) Args ¶
func (t *DisksGetByName) Args() *DisksGetByNameArgs
func (*DisksGetByName) Results ¶
func (t *DisksGetByName) Results() *DisksGetByNameResults
type DisksGetByNameArgs ¶
type DisksGetByNameArgs struct {
// contains filtered or unexported fields
}
func (*DisksGetByNameArgs) HasName ¶
func (v *DisksGetByNameArgs) HasName() bool
func (*DisksGetByNameArgs) MarshalCBOR ¶
func (v *DisksGetByNameArgs) MarshalCBOR() ([]byte, error)
func (*DisksGetByNameArgs) MarshalJSON ¶
func (v *DisksGetByNameArgs) MarshalJSON() ([]byte, error)
func (*DisksGetByNameArgs) Name ¶
func (v *DisksGetByNameArgs) Name() string
func (*DisksGetByNameArgs) UnmarshalCBOR ¶
func (v *DisksGetByNameArgs) UnmarshalCBOR(data []byte) error
func (*DisksGetByNameArgs) UnmarshalJSON ¶
func (v *DisksGetByNameArgs) UnmarshalJSON(data []byte) error
type DisksGetByNameResults ¶
type DisksGetByNameResults struct {
// contains filtered or unexported fields
}
func (*DisksGetByNameResults) MarshalCBOR ¶
func (v *DisksGetByNameResults) MarshalCBOR() ([]byte, error)
func (*DisksGetByNameResults) MarshalJSON ¶
func (v *DisksGetByNameResults) MarshalJSON() ([]byte, error)
func (*DisksGetByNameResults) SetConfig ¶
func (v *DisksGetByNameResults) SetConfig(config *DiskConfig)
func (*DisksGetByNameResults) UnmarshalCBOR ¶
func (v *DisksGetByNameResults) UnmarshalCBOR(data []byte) error
func (*DisksGetByNameResults) UnmarshalJSON ¶
func (v *DisksGetByNameResults) UnmarshalJSON(data []byte) error
type DisksList ¶
func (*DisksList) Args ¶
func (t *DisksList) Args() *DisksListArgs
func (*DisksList) Results ¶
func (t *DisksList) Results() *DisksListResults
type DisksListArgs ¶
type DisksListArgs struct {
// contains filtered or unexported fields
}
func (*DisksListArgs) MarshalCBOR ¶
func (v *DisksListArgs) MarshalCBOR() ([]byte, error)
func (*DisksListArgs) MarshalJSON ¶
func (v *DisksListArgs) MarshalJSON() ([]byte, error)
func (*DisksListArgs) UnmarshalCBOR ¶
func (v *DisksListArgs) UnmarshalCBOR(data []byte) error
func (*DisksListArgs) UnmarshalJSON ¶
func (v *DisksListArgs) UnmarshalJSON(data []byte) error
type DisksListResults ¶
type DisksListResults struct {
// contains filtered or unexported fields
}
func (*DisksListResults) MarshalCBOR ¶
func (v *DisksListResults) MarshalCBOR() ([]byte, error)
func (*DisksListResults) MarshalJSON ¶
func (v *DisksListResults) MarshalJSON() ([]byte, error)
func (*DisksListResults) SetDisks ¶
func (v *DisksListResults) SetDisks(disks []*DiskConfig)
func (*DisksListResults) UnmarshalCBOR ¶
func (v *DisksListResults) UnmarshalCBOR(data []byte) error
func (*DisksListResults) UnmarshalJSON ¶
func (v *DisksListResults) UnmarshalJSON(data []byte) error
type DisksNew ¶
func (*DisksNew) Args ¶
func (t *DisksNew) Args() *DisksNewArgs
func (*DisksNew) Results ¶
func (t *DisksNew) Results() *DisksNewResults
type DisksNewArgs ¶
type DisksNewArgs struct {
// contains filtered or unexported fields
}
func (*DisksNewArgs) Capacity ¶
func (v *DisksNewArgs) Capacity() int64
func (*DisksNewArgs) HasCapacity ¶
func (v *DisksNewArgs) HasCapacity() bool
func (*DisksNewArgs) HasName ¶
func (v *DisksNewArgs) HasName() bool
func (*DisksNewArgs) MarshalCBOR ¶
func (v *DisksNewArgs) MarshalCBOR() ([]byte, error)
func (*DisksNewArgs) MarshalJSON ¶
func (v *DisksNewArgs) MarshalJSON() ([]byte, error)
func (*DisksNewArgs) Name ¶
func (v *DisksNewArgs) Name() string
func (*DisksNewArgs) UnmarshalCBOR ¶
func (v *DisksNewArgs) UnmarshalCBOR(data []byte) error
func (*DisksNewArgs) UnmarshalJSON ¶
func (v *DisksNewArgs) UnmarshalJSON(data []byte) error
type DisksNewResults ¶
type DisksNewResults struct {
// contains filtered or unexported fields
}
func (*DisksNewResults) MarshalCBOR ¶
func (v *DisksNewResults) MarshalCBOR() ([]byte, error)
func (*DisksNewResults) MarshalJSON ¶
func (v *DisksNewResults) MarshalJSON() ([]byte, error)
func (*DisksNewResults) SetId ¶
func (v *DisksNewResults) SetId(id string)
func (*DisksNewResults) UnmarshalCBOR ¶
func (v *DisksNewResults) UnmarshalCBOR(data []byte) error
func (*DisksNewResults) UnmarshalJSON ¶
func (v *DisksNewResults) UnmarshalJSON(data []byte) error
type LogEntry ¶
type LogEntry struct {
// contains filtered or unexported fields
}
func (*LogEntry) HasTimestamp ¶
func (*LogEntry) MarshalCBOR ¶
func (*LogEntry) MarshalJSON ¶
func (*LogEntry) SetTimestamp ¶
func (*LogEntry) UnmarshalCBOR ¶
func (*LogEntry) UnmarshalJSON ¶
type LogsAppLogs ¶
func (*LogsAppLogs) Args ¶
func (t *LogsAppLogs) Args() *LogsAppLogsArgs
func (*LogsAppLogs) Results ¶
func (t *LogsAppLogs) Results() *LogsAppLogsResults
type LogsAppLogsArgs ¶
type LogsAppLogsArgs struct {
// contains filtered or unexported fields
}
func (*LogsAppLogsArgs) Application ¶
func (v *LogsAppLogsArgs) Application() string
func (*LogsAppLogsArgs) Follow ¶
func (v *LogsAppLogsArgs) Follow() bool
func (*LogsAppLogsArgs) From ¶
func (v *LogsAppLogsArgs) From() *standard.Timestamp
func (*LogsAppLogsArgs) HasApplication ¶
func (v *LogsAppLogsArgs) HasApplication() bool
func (*LogsAppLogsArgs) HasFollow ¶
func (v *LogsAppLogsArgs) HasFollow() bool
func (*LogsAppLogsArgs) HasFrom ¶
func (v *LogsAppLogsArgs) HasFrom() bool
func (*LogsAppLogsArgs) MarshalCBOR ¶
func (v *LogsAppLogsArgs) MarshalCBOR() ([]byte, error)
func (*LogsAppLogsArgs) MarshalJSON ¶
func (v *LogsAppLogsArgs) MarshalJSON() ([]byte, error)
func (*LogsAppLogsArgs) UnmarshalCBOR ¶
func (v *LogsAppLogsArgs) UnmarshalCBOR(data []byte) error
func (*LogsAppLogsArgs) UnmarshalJSON ¶
func (v *LogsAppLogsArgs) UnmarshalJSON(data []byte) error
type LogsAppLogsResults ¶
type LogsAppLogsResults struct {
// contains filtered or unexported fields
}
func (*LogsAppLogsResults) MarshalCBOR ¶
func (v *LogsAppLogsResults) MarshalCBOR() ([]byte, error)
func (*LogsAppLogsResults) MarshalJSON ¶
func (v *LogsAppLogsResults) MarshalJSON() ([]byte, error)
func (*LogsAppLogsResults) SetLogs ¶
func (v *LogsAppLogsResults) SetLogs(logs []*LogEntry)
func (*LogsAppLogsResults) UnmarshalCBOR ¶
func (v *LogsAppLogsResults) UnmarshalCBOR(data []byte) error
func (*LogsAppLogsResults) UnmarshalJSON ¶
func (v *LogsAppLogsResults) UnmarshalJSON(data []byte) error
type LogsClient ¶
func NewLogsClient ¶
func NewLogsClient(client rpc.Client) *LogsClient
func (LogsClient) AppLogs ¶
func (v LogsClient) AppLogs(ctx context.Context, application string, from *standard.Timestamp, follow bool) (*LogsClientAppLogsResults, error)
func (LogsClient) Export ¶
func (c LogsClient) Export() Logs
type LogsClientAppLogsResults ¶
type LogsClientAppLogsResults struct {
// contains filtered or unexported fields
}
func (*LogsClientAppLogsResults) HasLogs ¶
func (v *LogsClientAppLogsResults) HasLogs() bool
func (*LogsClientAppLogsResults) Logs ¶
func (v *LogsClientAppLogsResults) Logs() []*LogEntry
type MemoryUsage ¶
type MemoryUsage struct {
// contains filtered or unexported fields
}
func (*MemoryUsage) Bytes ¶
func (v *MemoryUsage) Bytes() int64
func (*MemoryUsage) HasBytes ¶
func (v *MemoryUsage) HasBytes() bool
func (*MemoryUsage) HasTimestamp ¶
func (v *MemoryUsage) HasTimestamp() bool
func (*MemoryUsage) MarshalCBOR ¶
func (v *MemoryUsage) MarshalCBOR() ([]byte, error)
func (*MemoryUsage) MarshalJSON ¶
func (v *MemoryUsage) MarshalJSON() ([]byte, error)
func (*MemoryUsage) SetBytes ¶
func (v *MemoryUsage) SetBytes(bytes int64)
func (*MemoryUsage) SetTimestamp ¶
func (v *MemoryUsage) SetTimestamp(timestamp *standard.Timestamp)
func (*MemoryUsage) Timestamp ¶
func (v *MemoryUsage) Timestamp() *standard.Timestamp
func (*MemoryUsage) UnmarshalCBOR ¶
func (v *MemoryUsage) UnmarshalCBOR(data []byte) error
func (*MemoryUsage) UnmarshalJSON ¶
func (v *MemoryUsage) UnmarshalJSON(data []byte) error
type PoolStatus ¶
type PoolStatus struct {
// contains filtered or unexported fields
}
func (*PoolStatus) HasIdle ¶
func (v *PoolStatus) HasIdle() bool
func (*PoolStatus) HasIdleUsage ¶
func (v *PoolStatus) HasIdleUsage() bool
func (*PoolStatus) HasName ¶
func (v *PoolStatus) HasName() bool
func (*PoolStatus) HasWindows ¶
func (v *PoolStatus) HasWindows() bool
func (*PoolStatus) Idle ¶
func (v *PoolStatus) Idle() int32
func (*PoolStatus) IdleUsage ¶
func (v *PoolStatus) IdleUsage() int64
func (*PoolStatus) MarshalCBOR ¶
func (v *PoolStatus) MarshalCBOR() ([]byte, error)
func (*PoolStatus) MarshalJSON ¶
func (v *PoolStatus) MarshalJSON() ([]byte, error)
func (*PoolStatus) Name ¶
func (v *PoolStatus) Name() string
func (*PoolStatus) SetIdle ¶
func (v *PoolStatus) SetIdle(idle int32)
func (*PoolStatus) SetIdleUsage ¶
func (v *PoolStatus) SetIdleUsage(idleUsage int64)
func (*PoolStatus) SetName ¶
func (v *PoolStatus) SetName(name string)
func (*PoolStatus) SetWindows ¶
func (v *PoolStatus) SetWindows(windows []*WindowStatus)
func (*PoolStatus) UnmarshalCBOR ¶
func (v *PoolStatus) UnmarshalCBOR(data []byte) error
func (*PoolStatus) UnmarshalJSON ¶
func (v *PoolStatus) UnmarshalJSON(data []byte) error
func (*PoolStatus) Windows ¶
func (v *PoolStatus) Windows() []*WindowStatus
type UserInfo ¶
type UserInfo struct {
// contains filtered or unexported fields
}
func (*UserInfo) HasSubject ¶
func (*UserInfo) MarshalCBOR ¶
func (*UserInfo) MarshalJSON ¶
func (*UserInfo) SetSubject ¶
func (*UserInfo) UnmarshalCBOR ¶
func (*UserInfo) UnmarshalJSON ¶
type UserQuery ¶
type UserQuery interface {
WhoAmI(ctx context.Context, state *UserQueryWhoAmI) error
}
type UserQueryClient ¶
func NewUserQueryClient ¶
func NewUserQueryClient(client rpc.Client) *UserQueryClient
func (UserQueryClient) Export ¶
func (c UserQueryClient) Export() UserQuery
func (UserQueryClient) WhoAmI ¶
func (v UserQueryClient) WhoAmI(ctx context.Context) (*UserQueryClientWhoAmIResults, error)
type UserQueryClientWhoAmIResults ¶
type UserQueryClientWhoAmIResults struct {
// contains filtered or unexported fields
}
func (*UserQueryClientWhoAmIResults) HasInfo ¶
func (v *UserQueryClientWhoAmIResults) HasInfo() bool
func (*UserQueryClientWhoAmIResults) Info ¶
func (v *UserQueryClientWhoAmIResults) Info() *UserInfo
type UserQueryWhoAmI ¶
func (*UserQueryWhoAmI) Args ¶
func (t *UserQueryWhoAmI) Args() *UserQueryWhoAmIArgs
func (*UserQueryWhoAmI) Results ¶
func (t *UserQueryWhoAmI) Results() *UserQueryWhoAmIResults
type UserQueryWhoAmIArgs ¶
type UserQueryWhoAmIArgs struct {
// contains filtered or unexported fields
}
func (*UserQueryWhoAmIArgs) MarshalCBOR ¶
func (v *UserQueryWhoAmIArgs) MarshalCBOR() ([]byte, error)
func (*UserQueryWhoAmIArgs) MarshalJSON ¶
func (v *UserQueryWhoAmIArgs) MarshalJSON() ([]byte, error)
func (*UserQueryWhoAmIArgs) UnmarshalCBOR ¶
func (v *UserQueryWhoAmIArgs) UnmarshalCBOR(data []byte) error
func (*UserQueryWhoAmIArgs) UnmarshalJSON ¶
func (v *UserQueryWhoAmIArgs) UnmarshalJSON(data []byte) error
type UserQueryWhoAmIResults ¶
type UserQueryWhoAmIResults struct {
// contains filtered or unexported fields
}
func (*UserQueryWhoAmIResults) MarshalCBOR ¶
func (v *UserQueryWhoAmIResults) MarshalCBOR() ([]byte, error)
func (*UserQueryWhoAmIResults) MarshalJSON ¶
func (v *UserQueryWhoAmIResults) MarshalJSON() ([]byte, error)
func (*UserQueryWhoAmIResults) SetInfo ¶
func (v *UserQueryWhoAmIResults) SetInfo(info *UserInfo)
func (*UserQueryWhoAmIResults) UnmarshalCBOR ¶
func (v *UserQueryWhoAmIResults) UnmarshalCBOR(data []byte) error
func (*UserQueryWhoAmIResults) UnmarshalJSON ¶
func (v *UserQueryWhoAmIResults) UnmarshalJSON(data []byte) error
type WindowStatus ¶
type WindowStatus struct {
// contains filtered or unexported fields
}
func (*WindowStatus) HasLeases ¶
func (v *WindowStatus) HasLeases() bool
func (*WindowStatus) HasUsage ¶
func (v *WindowStatus) HasUsage() bool
func (*WindowStatus) HasVersion ¶
func (v *WindowStatus) HasVersion() bool
func (*WindowStatus) Leases ¶
func (v *WindowStatus) Leases() int32
func (*WindowStatus) MarshalCBOR ¶
func (v *WindowStatus) MarshalCBOR() ([]byte, error)
func (*WindowStatus) MarshalJSON ¶
func (v *WindowStatus) MarshalJSON() ([]byte, error)
func (*WindowStatus) SetLeases ¶
func (v *WindowStatus) SetLeases(leases int32)
func (*WindowStatus) SetUsage ¶
func (v *WindowStatus) SetUsage(usage int64)
func (*WindowStatus) SetVersion ¶
func (v *WindowStatus) SetVersion(version string)
func (*WindowStatus) UnmarshalCBOR ¶
func (v *WindowStatus) UnmarshalCBOR(data []byte) error
func (*WindowStatus) UnmarshalJSON ¶
func (v *WindowStatus) UnmarshalJSON(data []byte) error
func (*WindowStatus) Usage ¶
func (v *WindowStatus) Usage() int64
func (*WindowStatus) Version ¶
func (v *WindowStatus) Version() string
Directories
¶
| Path | Synopsis |
|---|---|
|
Package storage provides entity definitions for disk provisioning and management.
|
Package storage provides entity definitions for disk provisioning and management. |
Click to show internal directories.
Click to hide internal directories.