Documentation
¶
Index ¶
- type AppConfigProperties
- type Client
- func (c *Client) Address() string
- func (c *Client) HttpPOST(path string, jsonStr *bytes.Buffer) (*http.Response, error)
- func (c *Client) IngestTokens() *IngestTokens
- func (c *Client) Licenses() *Licenses
- func (c *Client) Mutate(mutation interface{}, variables map[string]interface{}) error
- func (c *Client) Parsers() *Parsers
- func (c *Client) Query(query interface{}, variables map[string]interface{}) error
- func (c *Client) Repositories() *Repositories
- func (c *Client) Status() (*StatusResponse, error)
- func (c *Client) Token() string
- func (c *Client) Users() *Users
- func (c *Client) Viewer() *Viewer
- func (c *Client) Views() *Views
- type Config
- type IngestToken
- type IngestTokens
- type License
- type Licenses
- type OnPremLicense
- type Parser
- type ParserListItem
- type ParserTestCase
- type Parsers
- func (p *Parsers) Add(reposistoryName string, parser *Parser, force bool) error
- func (p *Parsers) Get(reposistoryName string, parserName string) (*Parser, error)
- func (p *Parsers) List(reposistoryName string) ([]ParserListItem, error)
- func (p *Parsers) Remove(reposistoryName string, parserName string) error
- type RepoListItem
- type Repositories
- type Repository
- type Role
- type RolePermission
- type StatusResponse
- type TrialLicense
- type User
- type UserChangeSet
- type Users
- type View
- type ViewConnection
- type ViewListItem
- type ViewQueryData
- type Viewer
- type Views
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfigProperties ¶ added in v0.4.0
func ReadPropertiesFile ¶ added in v0.4.0
func ReadPropertiesFile(filename string) (AppConfigProperties, error)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) IngestTokens ¶
func (c *Client) IngestTokens() *IngestTokens
func (*Client) Repositories ¶ added in v0.13.0
func (c *Client) Repositories() *Repositories
func (*Client) Status ¶ added in v0.4.0
func (c *Client) Status() (*StatusResponse, error)
type Config ¶
func DefaultConfig ¶
func DefaultConfig() Config
type IngestToken ¶
type IngestTokens ¶
type IngestTokens struct {
// contains filtered or unexported fields
}
func (*IngestTokens) Add ¶
func (p *IngestTokens) Add(repo string, name string, parserName string) (*IngestToken, error)
func (*IngestTokens) List ¶
func (p *IngestTokens) List(repo string) ([]IngestToken, error)
type OnPremLicense ¶ added in v0.12.0
type OnPremLicense struct {
ID string
ExpiresAtVal string
IssuedAtVal string
IssuedTo string
NumberOfSeats int
}
func (OnPremLicense) ExpiresAt ¶ added in v0.12.0
func (l OnPremLicense) ExpiresAt() string
func (OnPremLicense) IssuedAt ¶ added in v0.12.0
func (l OnPremLicense) IssuedAt() string
func (OnPremLicense) LicenseType ¶ added in v0.12.0
func (l OnPremLicense) LicenseType() string
type ParserListItem ¶
type ParserTestCase ¶
type Parsers ¶
type Parsers struct {
// contains filtered or unexported fields
}
type RepoListItem ¶ added in v0.13.0
type Repositories ¶ added in v0.13.0
type Repositories struct {
// contains filtered or unexported fields
}
func (*Repositories) Create ¶ added in v0.24.0
func (c *Repositories) Create(name string) error
func (*Repositories) Get ¶ added in v0.13.0
func (c *Repositories) Get(name string) (Repository, error)
func (*Repositories) List ¶ added in v0.13.0
func (c *Repositories) List() ([]RepoListItem, error)
type Repository ¶ added in v0.13.0
type RolePermission ¶ added in v0.5.0
type StatusResponse ¶ added in v0.4.0
type TrialLicense ¶ added in v0.12.0
func (TrialLicense) ExpiresAt ¶ added in v0.12.0
func (l TrialLicense) ExpiresAt() string
func (TrialLicense) IssuedAt ¶ added in v0.12.0
func (l TrialLicense) IssuedAt() string
func (TrialLicense) LicenseType ¶ added in v0.12.0
func (l TrialLicense) LicenseType() string
type UserChangeSet ¶
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
type View ¶ added in v0.5.0
type View struct {
Name string
Roles []RolePermission
Connections []ViewConnection
}
type ViewConnection ¶ added in v0.15.0
type ViewListItem ¶ added in v0.11.0
type ViewListItem struct {
Name string
}
type ViewQueryData ¶ added in v0.15.0
type ViewQueryData struct {
Name string
Roles []RolePermission
ViewInfo struct {
Connections []struct {
Repository struct{ Name string }
Filter string
}
} `graphql:"... on View"`
}
Click to show internal directories.
Click to hide internal directories.