Documentation
¶
Index ¶
- type Metadata
- func (m *Metadata) HasBeenUpdated(app cfclient.App, space cfclient.Space, org cfclient.Org) bool
- func (m *Metadata) HasNewerLocally(app cfclient.App, space cfclient.Space, org cfclient.Org) bool
- func (m *Metadata) LoadMetadata(data io.Reader) error
- func (m *Metadata) RecordUpdate(app cfclient.App, space cfclient.Space, org cfclient.Org) error
- func (m *Metadata) SaveMetadata(data io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata defines a struct for storing app metadata Example of what ^^^ map looks like:
{ "pivot-dlohle": { // org "playground": { // space "HOSSEINS-APP": "2021-06-22T20:18:36Z", // app_name : last_updated_timestamp "java-app-test": "2021-06-22T21:16:44Z", "my-favorite-app": "2021-06-22T20:18:36Z", "pm": "2021-06-22T20:18:36Z", "test-nopush": "2021-06-22T20:18:36Z", "timeout-app-test": "2021-06-22T20:18:37Z" } } }
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata creates a new initialized metadata instance
func (*Metadata) HasBeenUpdated ¶
func (*Metadata) HasNewerLocally ¶
func (*Metadata) RecordUpdate ¶
Click to show internal directories.
Click to hide internal directories.