Documentation
¶
Index ¶
Constants ¶
View Source
const (
ENV_ID = "env_id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOptions ¶
type Environment ¶
type Environment struct {
ID string `json:"id,omitempty" graphql:"id,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty" graphql:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty" graphql:"updated_at,omitempty"`
Name string `json:"name,omitempty" graphql:"name,omitempty"`
ProjectID string `json:"project_id,omitempty" graphql:"project_id"`
UserID string `json:"user_id"`
}
func (*Environment) Marshal ¶
func (w *Environment) Marshal() ([]byte, error)
func (*Environment) Unmarshal ¶
func (w *Environment) Unmarshal(data []byte) error
type ListOptions ¶
type ListOptions struct {
ProjectID string `json:"project_id"`
}
type SyncOptions ¶
type SyncOptions struct {
EnvID string
IntegrationType intergrationCommons.IntegrationType
Secrets *keypayload.KPMap
}
type SyncRequestOptions ¶
type SyncRequestOptions struct {
IntegrationType intergrationCommons.IntegrationType `json:"integration_type,omitempty"`
Data *keypayload.KPMap `json:"data"`
}
type SyncWithPasswordRequestOptions ¶
type SyncWithPasswordRequestOptions struct {
IntegrationType intergrationCommons.IntegrationType `json:"integration_type,omitempty"`
Password string `json:"password" validate:"required"`
Version *int `json:"version,omitempty"`
// Name of the secret to sync.
Key string `json:"key,omitempty"`
}
type UpdateOptions ¶
type UpdateOptions struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.