oraclehelper

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditOption added in v0.4.0

type AuditOption struct {
	Option  string
	Success string
	Failure string
}

AuditOption ..

type Cfg

type Cfg struct {
	Username  string
	Password  string
	DbHost    string
	DbPort    string
	DbService string
	SysDBA    bool
}

Cfg bla bla

type Client

type Client struct {
	DBClient                   *sql.DB
	DBVersion                  *version.Version
	DBPluggable                bool
	ConName                    string
	ParameterService           *parameterService
	ProfileService             *profileService
	UserService                *userService
	RoleService                *roleService
	GrantService               *grantService
	StatsService               *statsService
	SchedulerWindowService     *schedulerWindowService
	AutoTaskService            *autoTaskService
	DatabaseService            *databaseService
	BlockChangeTrackingService *blockChangeTrackingService
	AuditUserService           *auditUserService
}

Client fkfkkf

func NewClient

func NewClient(cfg Cfg) (*Client, error)

NewClient fkfkf

type GrantObjectPrivs

type GrantObjectPrivs struct {
	Grantee    string
	Owner      string
	ObjectName string
	Privileges []string
}

GrantObjectPrivs ...

type GrantRolePrivs

type GrantRolePrivs struct {
	Grantee        string
	GrantedRole    string
	AdminOption    string
	DelegateOption string
	DefaultRole    string
	Common         string
	Inherited      string
}

GrantRolePrivs ...

type GrantSysPrivs

type GrantSysPrivs struct {
	Grantee     string
	Privilege   string
	AdminOption string
	Common      string
	Inherited   string
}

GrantSysPrivs ..

type GrantTable

type GrantTable struct {
	Grantee   string
	Owner     string
	TableName string
	Grantor   string
	Privilege string
	Grantable string
	Hierarchy string
	Common    string
	Type      string
	Inherited string
}

GrantTable ...

type ResourceAuditUser added in v0.4.0

type ResourceAuditUser struct {
	UserName    string
	AuditOption []AuditOption
	Proxy       string
}

ResourceAuditUser ..

type ResourceAutoTask added in v0.2.9

type ResourceAutoTask struct {
	ClientName string
	Status     string
}

ResourceAutoTask ...

type ResourceBlockChangeTracking added in v0.3.0

type ResourceBlockChangeTracking struct {
	Status   string
	FileName string
}

ResourceBlockChangeTracking ...

type ResourceDatabase added in v0.2.9

type ResourceDatabase struct {
	Name         string
	ForceLogging string
	FlashBackOn  string
}

ResourceDatabase ....

type ResourceGrantObjectPrivilege

type ResourceGrantObjectPrivilege struct {
	Grantee    string
	Privilege  []string
	Owner      string
	ObjectName string
}

ResourceGrantObjectPrivilege ...

type ResourceGrantRolePrivilege

type ResourceGrantRolePrivilege struct {
	Grantee string
	Role    string
}

ResourceGrantRolePrivilege ..

type ResourceGrantSystemPrivilege

type ResourceGrantSystemPrivilege struct {
	Grantee   string
	Privilege string
}

ResourceGrantSystemPrivilege ..

type ResourceParameter

type ResourceParameter struct {
	Name    string
	Value   string
	Comment string
	Scope   string
}

ResourceParameter ..

type ResourceProfile

type ResourceProfile struct {
	Profile      string
	ResourceName string
	Limit        string
}

ResourceProfile ...

type ResourceRole

type ResourceRole struct {
	Role string
}

ResourceRole ....

type ResourceSchedulerWindow added in v0.2.8

type ResourceSchedulerWindow struct {
	Owner          string
	WindowName     string
	ResourcePlan   string
	ScheduleType   string
	RepeatInterval string
	Duration       string
	Enabled        string
	StartDate      string
	Comments       string
	WindowPriority string
}

ResourceSchedulerWindow ....

type ResourceStats added in v0.2.5

type ResourceStats struct {
	Pname   string
	OwnName string
	TaBName string
	Pvalu   string
}

ResourceStats ....

type ResourceUser

type ResourceUser struct {
	Username            string
	DefaultTablespace   string
	TemporaryTablespace string
	Profile             string
	AccountStatus       string
	Quota               map[string]string
}

ResourceUser ..

type Role

type Role struct {
	Role               string
	PasswordRequired   string
	AuthenticationType string
	Common             string
	OracleMaintained   string
}

Role ..

type Stats added in v0.2.5

type Stats struct {
	Pname   string
	OwnName string
	TaBName string
	Pvalu   string
}

Stats ..

type User

type User struct {
	Username            string
	DefaultTablespace   string
	TemporaryTablespace string
	Profile             string
	AccountStatus       string
	Quota               map[string]string
}

User ..

Jump to

Keyboard shortcuts

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