client_configurations

package
v0.0.0-...-61829c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchCreateConfigRequest

type BatchCreateConfigRequest struct {
	//
	Body []CreateConfigurationBody `fmt:"json" in:"body"`
}

type BatchCreateConfigResponse

type BatchCreateConfigResponse struct {
	Meta github_com_johnnyeven_libtools_courier.Metadata
	Body []byte
}

type ClientConfigurations

type ClientConfigurations struct {
	github_com_johnnyeven_libtools_courier_client.Client
}

func (ClientConfigurations) CheckService

func (c ClientConfigurations) CheckService()

func (ClientConfigurations) CreateConfig

func (ClientConfigurations) MarshalDefaults

func (ClientConfigurations) MarshalDefaults(v interface{})

func (ClientConfigurations) Swagger

type Configuration

type Configuration struct {
	//
	PrimaryID
	//
	OperateTime
	//
	SoftDelete
	// 业务ID
	ConfigurationID uint64 `json:"configurationID,string"`
	// Key
	Key string `json:"key"`
	// StackID
	StackID uint64 `json:"stackID,string"`
	// Value
	Value string `json:"value"`
}

type ConfigurationList

type ConfigurationList []Configuration

type CreateConfigRequest

type CreateConfigRequest struct {
	//
	Body CreateConfigurationBody `fmt:"json" in:"body"`
}

type CreateConfigResponse

type CreateConfigResponse struct {
	Meta github_com_johnnyeven_libtools_courier.Metadata
	Body []byte
}

type CreateConfigurationBody

type CreateConfigurationBody struct {
	// Key
	Key string `json:"key"`
	// StackID
	StackID uint64 `json:"stackID,string"`
	// Value
	Value string `json:"value"`
}

type GetConfigurationResult

type GetConfigurationResult struct {
	//
	Data ConfigurationList `json:"data"`
	//
	Total int32 `json:"total"`
}

type GetConfigurationsRequest

type GetConfigurationsRequest struct {
	// 分页偏移
	// 默认为 0
	Offset int32 `in:"query" name:"offset,omitempty"`
	// StackID
	StackID uint64 `in:"query" name:"stackID"`
	// 分页大小
	// 默认为 10,-1 为查询所有
	Size int32 `default:"10" in:"query" name:"size,omitempty"`
}

type SwaggerResponse

type SwaggerResponse struct {
	Meta github_com_johnnyeven_libtools_courier.Metadata
	Body JSONBytes
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL