Documentation ¶
Index ¶
- type Store
- func (s *Store) Delete(namespace string, name string, version string) error
- func (s *Store) GetProfileInfo(filename string) (string, []byte, []byte, error)
- func (s *Store) InstallMarket(owner, name, version string) error
- func (s *Store) ListMarketProfilesMetadata(name string, sort string, order string) ([]inspec.Metadata, error)
- func (s *Store) ListProfiles() ([]inspec.Profile, error)
- func (s *Store) ListProfilesMetadata(namespace string, name string, sort string, order string) ([]inspec.Metadata, error)
- func (s *Store) LoadMarketProfiles(path string) error
- func (s *Store) Read(namespace string, name string, version string) (*inspec.Profile, error)
- func (s *Store) ReadMarket(name string, version string) (*inspec.Profile, error)
- func (s *Store) ReadMarketTar(name string, version string) ([]byte, error)
- func (s *Store) ReadTar(namespace string, name string, version string) ([]byte, error)
- func (s *Store) UploadProfile(sha256 string, namespace string, tar []byte, info []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (*Store) GetProfileInfo ¶
func (*Store) InstallMarket ¶
func (*Store) ListMarketProfilesMetadata ¶
func (s *Store) ListMarketProfilesMetadata(name string, sort string, order string) ([]inspec.Metadata, error)
returns array of profiles with info
func (*Store) ListProfilesMetadata ¶
func (s *Store) ListProfilesMetadata(namespace string, name string, sort string, order string) ([]inspec.Metadata, error)
retruns an array of all versions for a specific profile
func (*Store) LoadMarketProfiles ¶
func (*Store) ReadMarket ¶
returns data about an individual market profile
func (*Store) ReadMarketTar ¶
returns market tar
Click to show internal directories.
Click to hide internal directories.