types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOrgMemberRequest

type AddOrgMemberRequest struct {
	Role cstypes.MemberRole
}

type CreateUserLARequest

type CreateUserLARequest struct {
	RemoteSourceName           string    `json:"remote_source_name"`
	RemoteUserID               string    `json:"remote_user_id"`
	RemoteUserName             string    `json:"remote_user_name"`
	UserAccessToken            string    `json:"user_access_token"`
	Oauth2AccessToken          string    `json:"oauth2_access_token"`
	Oauth2RefreshToken         string    `json:"oauth2_refresh_token"`
	Oauth2AccessTokenExpiresAt time.Time `json:"oauth_2_access_token_expires_at"`
}

type CreateUserRequest

type CreateUserRequest struct {
	UserName string `json:"user_name"`

	CreateUserLARequest *CreateUserLARequest `json:"create_user_la_request"`
}

type CreateUserTokenRequest

type CreateUserTokenRequest struct {
	TokenName string `json:"token_name"`
}

type CreateUserTokenResponse

type CreateUserTokenResponse struct {
	Token string `json:"token"`
}

type OrgMemberResponse

type OrgMemberResponse struct {
	User *cstypes.User
	Role cstypes.MemberRole
}

type Project

type Project struct {
	*cstypes.Project

	// dynamic data
	OwnerType        cstypes.ConfigType
	OwnerID          string
	Path             string
	ParentPath       string
	GlobalVisibility cstypes.Visibility
}

Project augments cstypes.Project with dynamic data

type ProjectGroup

type ProjectGroup struct {
	*cstypes.ProjectGroup

	// dynamic data
	OwnerType        cstypes.ConfigType
	OwnerID          string
	Path             string
	ParentPath       string
	GlobalVisibility cstypes.Visibility
}

ProjectGroup augments cstypes.ProjectGroup with dynamic data

type Secret

type Secret struct {
	*cstypes.Secret

	// dynamic data
	ParentPath string
}

Secret augments cstypes.Secret with dynamic data

type UpdateUserLARequest

type UpdateUserLARequest struct {
	RemoteUserID               string    `json:"remote_user_id"`
	RemoteUserName             string    `json:"remote_user_name"`
	UserAccessToken            string    `json:"user_access_token"`
	Oauth2AccessToken          string    `json:"oauth2_access_token"`
	Oauth2RefreshToken         string    `json:"oauth2_refresh_token"`
	Oauth2AccessTokenExpiresAt time.Time `json:"oauth_2_access_token_expires_at"`
}

type UpdateUserRequest

type UpdateUserRequest struct {
	UserName string `json:"user_name"`
}

type UserOrgsResponse

type UserOrgsResponse struct {
	Organization *cstypes.Organization
	Role         cstypes.MemberRole
}

type Variable

type Variable struct {
	*cstypes.Variable

	// dynamic data
	ParentPath string
}

Variable augments cstypes.Variable with dynamic data

Jump to

Keyboard shortcuts

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