Documentation ¶
Index ¶
- func Provider() terraform.ResourceProvider
- type ListServicesByFrameworkQuery
- type ListServicesByLanguageQuery
- type ListServicesByOwnerAliasQuery
- type ListServicesByTagQuery
- type ListServicesByTagValueQuery
- type Service
- func GetServiceWithAlias(client *opslevel.Client, alias string) (*Service, error)
- func GetServiceWithId(client *opslevel.Client, id string) (*Service, error)
- func ListServicesByFramework(client *opslevel.Client, framework string) ([]Service, error)
- func ListServicesByLanguage(client *opslevel.Client, framework string) ([]Service, error)
- func ListServicesByOwnerAlias(client *opslevel.Client, framework string) ([]Service, error)
- func ListServicesByTag(client *opslevel.Client, value string) ([]Service, error)
- type ServiceConnection
- type ServiceTagsConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Types ¶
type ListServicesByFrameworkQuery ¶
type ListServicesByFrameworkQuery struct { Account struct { Services ServiceConnection `graphql:"services(framework: $framework, after: $after, first: $first)"` } }
func (*ListServicesByFrameworkQuery) Query ¶
func (q *ListServicesByFrameworkQuery) Query(client *opslevel.Client, framework string) error
type ListServicesByLanguageQuery ¶
type ListServicesByLanguageQuery struct { Account struct { Services ServiceConnection `graphql:"services(language: $language, after: $after, first: $first)"` } }
func (*ListServicesByLanguageQuery) Query ¶
func (q *ListServicesByLanguageQuery) Query(client *opslevel.Client, language string) error
type ListServicesByOwnerAliasQuery ¶
type ListServicesByOwnerAliasQuery struct { Account struct { Services ServiceConnection `graphql:"services(ownerAlias: $ownerAlias, after: $after, first: $first)"` } }
func (*ListServicesByOwnerAliasQuery) Query ¶
func (q *ListServicesByOwnerAliasQuery) Query(client *opslevel.Client, ownerAlias string) error
type ListServicesByTagQuery ¶
type ListServicesByTagQuery struct { Account struct { Services ServiceConnection `graphql:"services(tag: {key:$key}, after: $after, first: $first)"` } }
func (*ListServicesByTagQuery) Query ¶
func (q *ListServicesByTagQuery) Query(client *opslevel.Client, key, value string) error
func (*ListServicesByTagQuery) Services ¶
func (q *ListServicesByTagQuery) Services() []Service
type ListServicesByTagValueQuery ¶
type ListServicesByTagValueQuery struct { Account struct { Services ServiceConnection `graphql:"services(tag: {key:$key, value:$value}, after: $after, first: $first)"` } }
func (*ListServicesByTagValueQuery) Query ¶
func (q *ListServicesByTagValueQuery) Query(client *opslevel.Client, key, value string) error
func (*ListServicesByTagValueQuery) Services ¶
func (q *ListServicesByTagValueQuery) Services() []Service
type Service ¶
type Service struct { opslevel.Service Tags ServiceTagsConnection `json:"tags"` HtmlURL string `json:"htmlUrl"` }
func GetServiceWithAlias ¶
func GetServiceWithId ¶
func ListServicesByFramework ¶
func ListServicesByLanguage ¶
func ListServicesByTag ¶
type ServiceConnection ¶
type ServiceConnection struct { Nodes []Service PageInfo opslevel.PageInfo }
type ServiceTagsConnection ¶
type ServiceTagsConnection struct {
Nodes []opslevel.Tag
}
Click to show internal directories.
Click to hide internal directories.