subscribe_dto

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSubscriber

type AddSubscriber struct {
	Application string `json:"application" aocheck:"service"`
}

type Approval

type Approval struct {
	Id           string         `json:"id,omitempty"`
	Service      auto.Label     `json:"service" aolabel:"service"`
	Team         auto.Label     `json:"team" aolabel:"team"`
	Application  auto.Label     `json:"application" aolabel:"service"`
	ApplyTeam    auto.Label     `json:"apply_team" aolabel:"team"`
	ApplyTime    auto.TimeLabel `json:"apply_time"`
	Applier      auto.Label     `json:"applier" aolabel:"user"`
	Approver     auto.Label     `json:"approver" aolabel:"user"`
	ApprovalTime auto.TimeLabel `json:"approval_time"`
	Reason       string         `json:"reason"`
	Opinion      string         `json:"opinion"`
	Status       int            `json:"status"`
}

type ApprovalItem

type ApprovalItem struct {
	Id           string         `json:"id"`
	Service      auto.Label     `json:"service" aolabel:"service"`
	Team         auto.Label     `json:"team" aolabel:"team"`
	Application  auto.Label     `json:"application" aolabel:"service"`
	ApplyTeam    auto.Label     `json:"apply_team" aolabel:"team"`
	ApplyTime    auto.TimeLabel `json:"apply_time"`
	Applier      auto.Label     `json:"applier" aolabel:"user"`
	Approver     auto.Label     `json:"approver" aolabel:"user"`
	ApprovalTime auto.TimeLabel `json:"approval_time"`
	Status       int            `json:"status"`
}

type Approve

type Approve struct {
	//Cluster []string `json:"partition" aocheck:"partition"`
	Opinion string `json:"opinion"`
	Operate string `json:"operate"`
}

type Subscriber

type Subscriber struct {
	Id      string     `json:"id"`
	Service auto.Label `json:"service" aolabel:"service"`

	Subscriber auto.Label     `json:"subscriber"  aolabel:"service"`
	Team       auto.Label     `json:"team" aolabel:"team"`
	ApplyTime  auto.TimeLabel `json:"apply_time"`
	Applier    auto.Label     `json:"applier" aolabel:"user"`
	//Approver   auto.Label     `json:"approver" aolabel:"user"`
	From int `json:"from"`
}

type SubscriptionItem

type SubscriptionItem struct {
	Id      string     `json:"id"`
	Service auto.Label `json:"service" aolabel:"service"`
	//Cluster   auto.Label `json:"partition" aolabel:"partition"`
	ApplyStatus int        `json:"apply_status"`
	Team        auto.Label `json:"team" aolabel:"team"`
	//Applier     auto.Label     `json:"applier" aolabel:"user"`
	From       int            `json:"from"`
	CreateTime auto.TimeLabel `json:"create_time"`
}

Jump to

Keyboard shortcuts

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