Documentation
¶
Index ¶
- type Config
- func Delete(ctx context.Context, client *apiclient.Client, p Project) (Config, error)
- func Find(ctx context.Context, client *apiclient.Client, p Project) (Config, error)
- func SetChannel(ctx context.Context, client *apiclient.Client, p Project, channel string) (Config, error)
- func SetEnabled(ctx context.Context, client *apiclient.Client, p Project, enabled bool) (Config, error)
- type Preference
- type Project
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ChannelID string `json:"channel_id"`
ChannelName string `json:"channel_name"`
Enabled bool `json:"enabled"`
DisableReason string `json:"disable_reason,omitempty"`
}
func SetChannel ¶
type Preference ¶
Click to show internal directories.
Click to hide internal directories.